Smart Partking System (Database Management) Report
Smart Partking System (Database Management) Report
MANAGEMENT SYSTEM
E-R Diagram - 6
2
SMART PARKING
Introduction
Smart Parking Database management system helps to manage the records of the incoming and
outgoing vehicles in a particular parking area.
Nowadays public places like malls, multiplex system, hospitals, offices, market areas etc have
crucial problem of vehicle parking. The parking area has many lanes for car parking which
involves lot of manual labor and investment.
Parking control system has been generated in such a way that it has access to all the devices
such as parking control gates, toll gates, time and attendance machine, car counting system etc.
These features are hereby necessary to secure a vehicle and also to evaluate the fee structure
for every vehicle’s entry and exit.
The objective of this project is to build a Vehicle Parking System that enables time management
and control of vehicles using number plate recognition. The system will track the entry and exit
of cars, maintaining a list of cars within the parking lot, and determine whether the parking lot
is full or not. It will further determine the cost per vehicle according to the time consumption.
In this project, we have incorporated a user-friendly login page which asks for your username
and password, which then leads to the Admin’s Dashboard Page. The Admin’s Dashboard Page
contains all the necessary data stored and visible in it, namely, today’s vehicle entries,
yesterday’s vehicle entries, last seven day’s vehicle entries and finally the total number of
vehicle entries.
To make the database more user-friendly, the “Add Category” page has been included which
lets the user make a more goal-determined search, thus making it less time-consuming. The
categories, being, “four-wheeler vehicles”, “two-wheeler vehicles” and “bicycles” where it lets
you edit the information with a link provided.
The next page, in continuation of the “Add Category” page is the “Manage Incoming Vehicles”
page which displays the serial number, parking number, vehicle owner’s name and allows an
action to be performed, it allows the user to either view or print the information. It also
provides a “Manage Outgoing Vehicles” page in continuation of the previous page.
3
It provides an input page for the admin/computer to fill the information about new vehicles to
be added. It displays the following categories “Select”, “Vehicle Company”, “Registration
Number”, “Owner Name” and “Owner Contact Number”, where the information entered gets
stored in the database and made visible for the further use.
The project also provides an option of “Between Dates Reports” for owners who want to park
their vehicles for more than a day.
And finally, the project provides an option for the admin to search for any vehicle registered at
any point of time.
Hence, we can conclude and spread the message through our project that this is the future of
car parking systems which supports and minimizes the excess costs of physical labor and
money, in exchange of providing more advanced and developed facilities and services in
comparatively lower costs which is a profitable situation for the firm.
4
Technology
Front End: Asp.net with C#
Microsoft Visual Studio is an integrated development environment (IDE) from Microsoft. It is
used to develop computer programs for Microsoft Windows as well as websites, web
applications and web services. Visual Studio uses forms, windows presentation foundation,
windows store and Microsoft silverlight. It can produce both native code and managed code.
Visual studio includes a code editor supporting IntelliSense (the code completion component)
as well as code refactoring. The integrated debugger works both as a source-level debugger and
a machine level debugger. Other built in tools include a forms designer for building GUI
applications, web designer, class designer and database schema designer. It accepts plug ins
that enhance the functionality at almost every level including adding support for source control
systems(like Subversion) and adding new toolsets like editors and visual designers for domain
specific languages or toolsets like editors and visual designers for domain specific languages or
toolsets for other aspects of the software development lifecycle.
Microsoft markets at least a dozen different editions of Microsoft SQL server, aimed at different
audiences and for workloads ranging from small single machine applications to large internet
facing applications with many concurrent users.
5
ER Diagram
Entities: User, login, permission, car, parking, parking fees, parking slot
6
ER Diagram to Relational Model
Admin
Login
User
Car
Permission
Per_id Per_role_id
Parking
Parking_fees
Parking_slot
7
Has
User_id Login_id
Manage
Has_slot
Pf_id Ps_id
1. Entity gets converted into Table, with all the attributes becoming fields(columns) in the
table.
2. Relationship between entities is also converted into table with primary keys of the related
entities also stored in it as foreign keys.
3. Primary Keys should be properly set.
4. For any relationship of Weak Entity, if primary key of any other entity is included in a
table, foreign key constraint must be defined.
8
Tables After Normalization
Admin
The “Admin” table has the following attributes: A_name for the admin’s name, Password as the
admin’s login credential (password), A_mobile for the admin’s contact, dob for the date of birth
of the admin, email as the admin’s details and finally, A_id for the admin’s unique id. It demands
and stores the information about the admin.
Login
The “Login” table has the following attributes: Login_id for the admin/user’s login credential(id),
Login_username for the admin/user’s login information, that is, a unique username, a
user_password for the admin’s/user’s login credential(password) and finally a User_id for user’s
access. This table is a gateway for the access to the database.
User
The “User” table demands and stores data about the user. User_name stores the name of the
particular user, User_mobile stores the mobile number of the user, User_address stores the
permanent address of the user, User_email is for the email address, User_id for the user’s
unique id and Car_id for the user’s car’s id which is unique.
Car
9
The “Car” table stores the information about the car in the database. Car_id stores the id’s of
cars which are unique, Car_num stores the number plates of the cars, Car_type has the model of
the car in it, Car_category defines whether the car is a sedan, a suv or a compact suv and finally,
the Car_owner_id is the unique id for the car’s owner.
Permission
Per_id Per_role_id
It basically has the Permission control and information for the cars to be registered. Its
attributes are Per_id and Per_role_id.
Parking
The “Parking” table has the data stored for the parking details for the registered cars. Its
attributes include Par_car_id, Par_id which is unique, Par_fees which is based on the vehicle and
the time, Par_type ad Pf_id.
Parking_fees
The “Parking_fees” table has the following attributes, Pf_id, Pf_type, Pf_date, Pf_amt
and Ps_id.
Parking_slot
The “Parking_slot” has the information about all the parking slots and has attributes including,
Ps_id, Ps_car_id and finally Ps_type.
10
Description Of Web pages
1) Login Page
User-friendly login page which asks for your username and password
The Admin’s Dashboard Page contains all the necessary data stored and visible in it, namely,
today’s vehicle entries, yesterday’s vehicle entries, last seven day’s vehicle entries and finally
the total number of vehicle entries.
11
Fig:1.2 Admin Dashboard
To make the database more user-friendly, the “Add Category” page has been included which
lets the user make a more goal-determined search, thus making it less time-consuming. The
categories, being, “four-wheeler vehicles”, “two-wheeler vehicles” and “bicycles” where it lets
you edit the information with a link provided.
12
Fig:1.3 Category Page
13
Fig:1.4 Manages the vehicle category
14
Fig: 1.6 Displays all the outgoing vehicles
It provides an input page for the admin/computer to fill the information about new vehicles to
be added. It displays the following categories “Select”, “Vehicle Company”, “Registration
Number”, “Owner Name” and “Owner Contact Number”, where the information entered gets
stored in the database and made visible for the further use.
15
Fig 1.7 Helps to add a vehicle
6) Reports Page
Fig: 1.8 Displays the report of vehicles parked according to the dates
16
Fig: 1.9 Searches vehicle by Parking number
17
18