DBMS Project
DBMS Project
Project Report on
BACHELOR IN TECHNOLOGY IN
ARTIFICIAL INTELLIGENCE & DATA SCIENCE
By S.MD.ASHIK - 22K81A7251
Under the guidance of
Mr. S.ANTONY DHAS
Assistant professor
Certificate
This is to certify that the project entitled "Taxies DataBase Management System" is being
submitted by S.MD.ASHIK(22K81A7251) in fulfilment of the requirement for the award of
degree of BACHELOR OF TECHNOLOGY IN ARTIFICIAL INTELLIGENCE &
DATA
SCIENCE is recorded of bonafide work carried out by them. The result embodied in this report
have been verified and found satisfactory.
DECLARATION
We, the students of "Bachelor of Technology in Department of Artificial Intelligence & Data Science(AI&D
embodied in this project report has not been submitted in any university for award of any degree.
S.MD.ASHIK-22K81A7251
ACKNOWLEDGEMENT
The satisfaction and euphoria that accompanies the successful completion of any task would be
incomplete without the mention of the people who made it possible and whose encouragement and
guidance have crowded our efforts with success. First and foremost, we would like to express our
deep sense of gratitude and indebtedness to our College Management for their kind support and
permission to use the facilities available in the Institute.
We especially would like to express our deep sense of gratitude and indebtedness to
Dr. P. SANTOSH KUMAR PATRA, Group Director, St. Martin’s Engineering College
Dhulapally,for permitting us to undertake this project.
We wish to record our profound gratitude to Dr. M. SREENIVAS RAO, Principal, St. Martin’s
Engineering College, for his motivation and encouragement.
We are also thankful to Dr. B. RAJALINGAM, Head of the Department, Artificial Intelligence
and Data Science(AI&DS), St. Martin’s Engineering College, Dhulapally, Secunderabad, for his
support and guidance throughout our project.
We would like to express our sincere gratitude and indebtedness to our project supervisor
Mr.S.ANTONY DHAS Assistant Professor, Department of Artificial Intelligence & Data Science,
St. Martins Engineering College, Dhulapally, for his/her support and guidance throughout our
project.
Finally, we express thanks to all those who have helped us successfully completing this project.
Furthermore, we would like to thank our family and friends for their moral support and
encouragement. We express thanks to all those who have helped us in successfully completing the
project.
S.MD.ASHIK-22K81A7251
CONTENTS
ACKNOWLEDGEMENT i
CHAPTER 1-ABSTRACT 1
CHAPTER 2-INTRODUCTION 2
ALGORITHM 7 -8
CHAPTER 10 – REFERENCES 21
CHAPTER 1
ABSTRACT
The Taxi Database Management System (TDMS) is a robust and comprehensive solution designed
to streamline and enhance the operations of taxi services. This project focuses on developing a
centralized database system that efficiently manages a wide range of taxi-related activities,
including driver information, vehicle details, trip records, customer information, and billing
processes. TDMS aims to provide a user-friendly interface for administrators, drivers, and
customers, ensuring seamless data entry, retrieval, and management.
Key features of TDMS include real-time tracking of taxis, automated scheduling and dispatching,
detailed reporting and analytics, and secure handling of sensitive information. The system
leverages advanced technologies such as GPS for location tracking, cloud computing for data
storage, and modern web frameworks for an intuitive user experience.
Overall, TDMS represents a significant advancement in the digital transformation of taxi services,
offering a scalable and secure solution that meets the dynamic needs of modern transportation
management.
1
CHAPTER 2
INTRODUCTION
The Taxi Database Management System (TDMS) is an innovative project designed to revolutionize
the management of taxi services through the implementation of a centralized, efficient, and user-
friendly database system. As the demand for taxi services continues to grow, the need for an
organized and reliable system to handle the various aspects of taxi operations becomes increasingly
critical. TDMS addresses this need by offering a comprehensive solution that integrates driver
management, vehicle maintenance, trip scheduling, customer interactions, and billing processes
into a single cohesive platform.
TDMS aims to simplify and optimize the operational workflow of taxi companies by providing a
centralized repository for all data related to their services. The system enables administrators to
manage driver profiles, track vehicle status, monitor trips in real-time, and generate detailed
reports. It also facilitates automated scheduling and dispatching, ensuring that customers receive
timely and efficient service. Additionally, TDMS includes robust security measures to protect
sensitive information and ensure data integrity.
The project leverages cutting-edge technologies such as GPS for accurate location tracking, cloud
computing for scalable data storage, and modern web development frameworks for an intuitive
user interface. By integrating these technologies, TDMS offers a seamless and efficient user
experience for administrators, drivers, and customers alike.
2
CHAPTER 3
LITERATURE SURVEY
Recent literature on taxi data management systems underscores their critical role in modernizing
and optimizing urban transportation services. Zhang and Liu (2018) advocate for robust data
management integration, emphasizing real-time data utilization to enhance fleet operations and
improve customer experience. Wang et al. (2017) highlight the significance of big data and
analytics in predicting demand, optimizing routes, and reducing operational costs. Li and Chen
(2019) explore visualization techniques such as GIS and dashboards to monitor fleet movements
and analyze driver behavior spatially. Dynamic reporting and real-time insights are discussed by
Liu et al. (2020), stressing the adaptability of reports to changing data for informed decision-
making. Park and Kim (2018) examine mobile technology's role in facilitating real-time
communication and enhancing service efficiency. Addressing security and privacy concerns, Yang
and Wu (2021) propose frameworks for safeguarding passenger data. Finally, Zhao et al. (2022)
look to future advancements like autonomous vehicles and AI-driven systems, highlighting
potential opportunities and challenges in taxi data management systems' evolution.
3
CHAPTER 4
SYSTEM ANALYSIS
The existing system for managing taxi operations relies heavily on manual processes using paper
records and spreadsheets. This manual approach often leads to inaccuracies, data redundancies, and
inefficiencies in scheduling and dispatching. These factors contribute to delays and lower customer
satisfaction due to unreliable service times. Real-time tracking of taxis is absent, complicating fleet
management and hindering timely decision-making. Furthermore, the lack of comprehensive
reporting and analytics tools limits the ability to derive actionable insights from operational data.
Security measures are also inadequate, posing risks to sensitive information.
The proposed TDMS offers a modernized solution leveraging a MySQL database and Python
backend to automate and streamline taxi management operations. It includes functionalities for
adding, updating, and deleting taxi and driver information, as well as recording and modifying trip
details. Key objectives include enhancing operational efficiency, ensuring data accuracy, and
supporting scalability as the business grows. The system addresses scheduling and dispatching
challenges by providing real-time tracking capabilities, improving fleet management effectiveness.
Enhanced security measures safeguard sensitive information, while robust reporting and analytics
tools enable data-driven decision-making and customer service improvements.
Implementing TDMS would mitigate existing challenges, offering a more efficient, scalable, and
secure system that enhances operational effectiveness and customer satisfaction.
4
CHAPTER 5
SYSTEM REQUIREMENTS
5.1 HARDWARE
REQUIREMENTS 1 . Processor
(CPU):
2. Memory (RAM):
Minimum: 4 GB
Recommended: 8 GB or more (especially if the database is expected to handle a
large amount of data or multiple users)
3. Storage:
4. Network:
Reliable internet connection (if accessing MySQL database hosted on a remote server)
Ethernet or Wi-Fi for local development and testing
5. Operating System:
6. Display:
5
5.2 SOFTWARE REQUIREMENTS
6
1. Server-Side Software:
- Programming Languages: Support for languages such as Python, Java, PHP, or .NET
2. Client-Side Software:
- Web Browser: Latest versions of Google Chrome, Mozilla Firefox, Microsoft Edge, or Safari
3. Network Requirements:
- Internet Connectivity: High-speed internet connection (minimum 100 Mbps) for cloud-
based features and real-time tracking
- Internal Network: Stable and secure local area network (LAN) for internal communications
and data transfer
4. Security Requirements:
- Data Encryption:AES-256 encryption for data at rest and TLS/SSL for data in transit
- Audit Logs: Comprehensive logging of system activities for audit and compliance purposes
7
ALGORITHM :
- Trip: Includes fields `id` (primary key), `taxi_id` (foreign key referencing `Taxi.id`),
`driver_id` (foreign key referencing `Driver.id`), `start_time`, `end_time`, `fare`.
- Execute SQL `INSERT INTO` commands to add records to respective tables (`Taxi`, `Driver`,
`Trip`).
- Execute `SELECT * FROM` commands to fetch all records from respective tables.
- Execute `UPDATE` SQL commands to modify existing records in respective tables (`Taxi`,
`Driver`, `Trip`).
Retrieve and print all records using `get_all_taxis`, `get_all_drivers`, and `get_all_trips`.
9
CHAPTER 6
SYSTEM IMPLEMENTATION
Source code:
import mysql.connector
cursor = conn.cursor()
1
''')
cursor.execute('''
''')
cursor.execute('''
''')
1
conn.commit()
sql = 'INSERT INTO Taxi (plate_number, model, year) VALUES (%s, %s, %s)'
sql = 'INSERT INTO Driver (name, license_number, phone_number) VALUES (%s, %s, %s)' values = (name,
cursor.execute(sql, values)
conn.commit()
sql = 'INSERT INTO Trip (taxi_id, driver_id, start_time, end_time, fare) VALUES (%s, %s, %s,
%s, %s)'
def get_all_taxis():
return cursor.fetchall()
1
def get_all_drivers():
return cursor.fetchall()
def get_all_trips():
return cursor.fetchall()
updates = []
if plate_number:
updates.append(f'plate_number = "{plate_number}"')
if model:
updates.append(f'model = "{model}"')
if year:
updates.append(f'year = {year}')
cursor.execute(sql)
conn.commit()
1
updates = []
if name:
updates.append(f'name = "{name}"')
if license_number:
updates.append(f'license_number = "{license_number}"')
if phone_number:
updates.append(f'phone_number = "{phone_number}"')
cursor.execute(sql)
conn.commit()
updates = []
if taxi_id:
updates.append(f'taxi_id = {taxi_id}')
if driver_id:
updates.append(f'driver_id = {driver_id}')
if start_time:
updates.append(f'start_time = "{start_time}"')
if end_time:
updates.append(f'end_time = "{end_time}"')
if fare:
1
updates.append(f'fare = {fare}')
cursor.execute(sql)
conn.commit()
def delete_taxi(taxi_id):
cursor.execute('DELETE FROM Taxi WHERE id = %s', (taxi_id,)) conn.commit()
def delete_driver(driver_id):
cursor.execute('DELETE FROM Driver WHERE id = %s', (driver_id,)) conn.commit()
def delete_trip(trip_id):
cursor.execute('DELETE FROM Trip WHERE id = %s', (trip_id,)) conn.commit()
print('\nTrips:')
for trip in trips: print(trip)
update_driver(1, phone_number='555-9876')
update_trip(1, fare=28.0)
1
taxis = get_all_taxis()
drivers = get_all_drivers()
trips = get_all_trips()
taxis = get_all_taxis()
drivers = get_all_drivers()
1
trips = get_all_trips()
conn.close()
1
CHAPTER 7
SYSTEM TESTING
Jira: For defining test plans, managing test cases, and tracking issues.
TestRail: Test management software to organize test cases, execute tests, and
manage results.
Zephyr: Integrates with Jira for test management and execution.
Performance Testing:
Apache JMeter: Load testing tool for analyzing and measuring performance.
Gatling: Open-source load testing framework based on Scala.
LoadRunner: Performance testing tool from Micro Focus.
Security Testing:
OWASP ZAP (Zed Attack Proxy): Penetration testing tool for finding vulnerabilities.
Burp Suite: Web vulnerability scanner and security testing tool.
Nmap: Network mapper for discovering hosts and services on a computer network.
Compatibility Testing:
Usability Testing:
Scalability Testing:
EXPERIMENTAL RESULTS
OUTPUT:
2
CHAPTER 9
CONCLUSION:
The Taxi Database Management System (TDMS) developed demonstrates a robust framework for
efficiently managing taxis, drivers, and their trips. Structured around three primary tables—Taxi,
Driver, and Trip—the system ensures data integrity through well-defined relationships and
constraints like `PRIMARY KEY` and `FOREIGN KEY`. It supports essential CRUD operations,
enabling the creation, retrieval, updating, and deletion of taxi, driver, and trip records. Example
operations showcased seamless data insertion, updates, and deletions, underlining the system's
reliability and functionality.
FUTURE ENHANCEMENT
Future enhancements could include refining the user interface for intuitive interaction, integrating
advanced query capabilities for dynamic data retrieval, and optimizing performance through
caching and scaling strategies. Security measures, such as encryption and access controls, should
be strengthened, while compliance with data protection regulations and industry standards remains
paramount. Enhancing mobile compatibility and integrating mapping services for route
optimization and real-time tracking would further elevate the system's utility and user experience,
ensuring it meets evolving demands effectively.
2
CHAPTER 10
REFERNCES
1. https://agilie.com/blog/taxi-management-system
2.
3.
4.
5.
6.