Professional Documents
Culture Documents
A Project Work
Submitted in Partial fulfillment for the award of
Graduate Degree of Bachelor of Engineering (B.E.)
In
Computer Science & Engineering
(Session: 2018-19)
Submitted By
Deepak Kumar Kesharwani
Enroll No: 0205ME151041
Rishabh Gupta
Enroll No: 0205CS151074
Rohit Agrawal
Enroll No: 0205CS151077
Sakshi Agrawal
Enroll No: 0205CS151082
Shubham Pawaiya
Enroll No: 0205CS151101
students of 8th semester, Computer Sc. & Engg. S.R.I.T., Jabalpur have
duly completed their final year project entitled “Vehicle No Retrieval System”
for the partial fulfillment of the requirement for the degree of Bachelor of
Engineering as per R.G.P.V., Bhopal.
They have successfully implemented and tested this project, which meets
all the requirements specified under my guidance.
students of 8th semester, Computer Sc. &Engg. S.R.I.T., Jabalpur have duly
completed their final year project entitled “Vehicle No Retrieval System” for
the partial fulfillment of the requirement for the degree of Bachelor of
Engineering as per R.G.P.V., Bhopal.
They have successfully implemented and tested this project, which meets
all the requirements specified.
Date: Date:
PREFACE
Major Project is an integral part of B.E and each and every student has to
create the Major Project in the 8th Semester while studying in Institute.
This record is concerned about our practical Major Project during 8th
Semester i.e. Fourth year of B.E. course. We have taken our Practical Major
Project. During this Major Project, we got to learn many new things about the
technology and its practical implementation. This Major Project proved to be a
milestone in our knowledge of present environment. Every say and every
moment was an experience in itself, an experience which theoretical study can’t
provide.
ACKNOWLEDGEMENT
We are the student of B.E (Semester- VIII) of the Shri Ram Institute of
Technology, Jabalpur hereby declare that the Major Project Report
entitled “Vehicle No Retrieval System” is an original work and data
provided in the study is authentic to the best of my knowledge.This report
has not been submitted to any other Institute for the award of any other
degree.
Place: Jabalpur
Date:
Approved by:
1. Introduction………………………………………….……..…5-6
2.Analysis………………………………………….………..8-18
2.1 Objective of Project
2.2 Requirement Gathering
2.3 Hardware Requirement
2.4 Software Requirement
2.5 Feasibility Study
2.6 Software Model
2.7 Software Development Life Cycle
2.8 Cost Estimation
3.Design.. . . . . . . . . . . . . . . . . . . . . . . . . . .. . . . . .. … . .. . .. 19
3.1. Input Requirement …………………………………………….
3.2 Design of Data Base (If
Required)…………………………….
3.3 ER Diagram (If Required)…………………………………….
3.4 Data Flow Diagram / Object
diagram…………………………
3.5 Control Flow Diagram………………………………………..
3.6 System Flow Diagram………………………………………..
4. Tools Used……………………………………………………..
5. Coding………………………………………………………….
6. Testing…………………………………………………………
7. Output…………………………………………………………
8. SWOT Analysis……………………………………………….
9. Conclusion………………………………………………….….22
10. References………………………………….………………….23
Vehicle No Retrieval System
Introduction
Our SMS and Internet based E-Sewa gives convenient access to authentic
record about the ownership and year of make of vehicle.
Citizens are advised to check the record, verify and meet the owne before
purchasing the old vehicle. This will protect them from forgery and
purchasing stolen vehicles.
Madhya Pradesh has the following Regional Transport Offices. Choose any
of the following cities to get all the necessary details of the respective
Regional Transport Offices. You can get details such as the Regional
Transport Office Address, Phone Number & Email ID. If you wish to
instantly get the details of any other registration, enter the vehicle
number in the search box below.
Choose any of the following cities to get all the necessary details of the
respective Regional Transport Offices. You can get details such as the
Regional Transport Office Address, Phone Number & Email ID. If you wish
to instantly get the details of any other registration, enter the vehicle
number in the search box below.
Analysis
The six stages of the SDLC are designed to build on one another, taking the outputs
from vthe previous stage, adding additional effort, and producing results that
leverage the previous effort and are directly traceable to the previous stages. This
top-down approach is intended to result in a quality product that satisfies the
original intentions of the customer.
Project
Planning
Requirement
Definition
Design
Development
Integration
&Test
Installation&
Acceptance
Too many software development efforts go awry when the development team and
customer personnel get caught up in the possivilities of automation. Instead of
focusing on high priority features, the team can become mired in a sea of nice to.
INITIATION/PLANNING
The goal of systems analysis is to determine where the problem is in attempt to fix
the system. This step involves breaking down the system in different pieces aand
drawing diagrams to analyze the situation. Analysts project ghoals, break down
functions that need to be created, and attempt to engage users so that definite
requirements can be defined.
DESIGN
In systems design functions and operations are described in detal, including screen
layouts, business rules, process diagrams and other documentation. The output of
this stage will describe the new system as a collection of modules of subsystems.
BULID OR CODING
Modular and subsystem programming code will be accomplished during this stage.
Unit testing and odule testing are done in this stage by the developer . this stage is
intermingled with the next in that individual modules will need testing before
integration to the main project. Planning in software life cycle involves setting
hgoals, defining targets , establishing schedules, ad estimating budgets for an entire
software project.
TESTING
The code is tested at various levels in software testing . unit, system and user
acceptance testing are oftem performed. This is a grey area as many different
opinions exist as to what the stages of testing are and how much if any iteration
occurs. Iteration is not generally part of the waterfall model, but usually some occurs
at this stage.
COCOMO MODEL:
The name COCOMO, for Constructive Cost Model. The original COCOMO model
became one of the most widely used and discussed software cost estimation
models in the industry. It has evolved into a more comprehensive estimation
model, called COCOMO II. Like its predecessor, COCOMO II is actually a
hierarchy of estimation models that address the following areas:
Early design stage model:Used once requirements have been stabilized and
basic software architecture has been established.
E = a(KLOC)^b
D = c*E^d
N = E/D
Mode A B C D
ORGANIC MODE:
It is relatively simple , small software project with a small teal size and good
application expierence.
D = c * (E)d
D = 2.5 * (E)0.38
D = 2.5 * (15.750)0.38
D = 7.127 month
N = E/D
Cost Estimation For Our Project :-
No.OF 4 person
Rs100/hr 1000/-
PERSON 30 days /14hrs
HARDWARE
1 systems Rs.1000/system 200/-
COST
COSTOF 300/-
TESTING
TOTAL COST
2500/-
(approx)
Design:
Tools Required:
Front end:
Html
CSS
JavaScript
Anjular 6
Back End:
Java
Spring
WEB Cloud
CODING:-
Vehicle Controller.java-
package com.example.demo;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.net.HttpURLConnection;
import java.net.URL;
import org.apache.http.HttpResponse;
import org.apache.http.client.HttpClient;
import org.apache.http.client.methods.HttpGet;
import org.apache.http.client.methods.HttpUriRequest;
import org.apache.http.impl.client.DefaultHttpClient;
import org.apache.http.impl.client.HttpClientBuilder;
import org.json.simple.JSONObject;
import org.json.simple.parser.JSONParser;
import org.json.simple.parser.ParseException;
import org.jsoup.Connection;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
import org.jsoup.nodes.FormElement;
import org.jsoup.select.Elements;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.client.RestTemplate;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.ObjectWriter;
import java.util.Properties;
importjavax.mail.*;
importjavax.mail.internet.*;
@RestController
public class VehicleController {
@Autowired
private VehicleServicevehicalService;
@CrossOrigin(origins ="http://localhost:4200")
@RequestMapping("/MIS/{id}") // takes the parameter in which url it is
used to
public String sayHi(@PathVariable String id) throws IOException {
String url =
"http://mis.mptransport.org/MPLogin/eSewa/VehicleSearch.aspx";
Connection.Responseresp = Jsoup.connect(url) //
.timeout(10000) //
.method(Connection.Method.GET) //
.execute();
// * Find the form
Document responseDocument = resp.parse();
Element potentialForm =
responseDocument.select("form#aspnetForm").first();
checkElement("form element", potentialForm);
FormElement form = (FormElement) potentialForm;
/*
* // * Fill in the form and submit it // ** Search Type
Element
* radioButtonListSearchType =
* form.select("[name$=RadioButtonList_SearchType]").first();
* checkElement("search type radio button list",
radioButtonListSearchType);
* radioButtonListSearchType.attr("checked", "checked");
*/
// ** Name search
Element textBoxNameSearch =
form.select("[name$=ctl00$ContentPlaceHolder1$txtRegNo]").first();
checkElement("name search text box", textBoxNameSearch);
textBoxNameSearch.val(id);
String imageSearch="";
System.out.println("https://api.qwant.com/api/search/images?count=1
&offset=0&q="+s[14].replaceAll("\\s","").substring(0,8)+"&t=images&uiv=1
");
URL url1 = new
URL("https://api.qwant.com/api/search/images?count=1&offset=0&q="+
s[14].replaceAll("\\s","").substring(0,8)+"&t=images&uiv=1");//your urli.e
fetch data from .
HttpURLConnection conn = (HttpURLConnection) url1.openConnection();
conn.setRequestMethod("GET");
conn.setRequestProperty("Accept", "application/json");
String output="";
if (conn.getResponseCode() != 200) {
}
else{
InputStreamReader in = new
InputStreamReader(conn.getInputStream());
BufferedReaderbr = new BufferedReader(in);
}
imageSearch=media.substring(j+7,temp-1);
System.out.println(media.substring(j+7,temp-1));
break;
}
}
}
}
}
}
conn.disconnect();
//
//conn.data.result.items[0].media
ObjectWriterow = new
ObjectMapper().writer().withDefaultPrettyPrinter();
String json =
ow.writeValueAsString(vehicalService.GetVehicalInfo(s,imageSearch));
System.out.println(json);
return json;
}
private void checkElement(String name, Element elem) {
if (elem == null) {
throw new RuntimeException("Unable to find " + name);
}
Pom.Xml
<properties>
<java.version>1.8</java.version>
</properties>
<dependencies>
<!-- https://mvnrepository.com/artifact/com.googlecode.json-
simple/json-simple -->
<dependency>
<groupId>com.googlecode.json-simple</groupId>
<artifactId>json-simple</artifactId>
<version>1.1</version>
</dependency>
<dependency>
<groupId>com.googlecode.json-simple</groupId>
<artifactId>json-simple</artifactId>
<version>1.1</version>
</dependency>
<!--
https://mvnrepository.com/artifact/org.apache.httpcomponents/httpmi
me -->
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpmime</artifactId>
<version>4.5.1</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<!-- jsoup HTML parser library @ https://jsoup.org/ -->
<groupId>org.jsoup</groupId>
<artifactId>jsoup</artifactId>
<version>1.11.3</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.12</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-core</artifactId>
<version>1.3</version>
<scope>test</scope>
</dependency>
<!-- https://mvnrepository.com/artifact/com.googlecode.json-
simple/json-simple -->
<!-- https://mvnrepository.com/artifact/com.squareup.okhttp3/okhttp --
>
<dependency>
<groupId>com.squareup.okhttp3</groupId>
<artifactId>okhttp</artifactId>
<version>3.10.0</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-
plugin</artifactId>
</plugin>
</plugins>
</build>
</project>
OUTPUT-
SWOT ANALYSIS
Strengths
• Attractive interface.
• Easy operation.
Weaknesses
• Low security.
• Limited database capacity.
Opportunities
• Developer gives it in many shortcut facilities that are frequently
used.
Threats
• Virus
• Database can be easily transferable.
CONCLUSION:
Qourahttps://www.quora.com/What-is-an-api-call
Google Maps
https://developers.google.com/maps/documentation/javascript/adding-
a-google-map
Githubhttps://github.com/rishab1788/vehiclesearch
Thank
you