Professional Documents
Culture Documents
Report
Report
Students Details
Name ID
PUJA BARMAN 212902053
ANIK HASAN 212902050
[For teachers use only: Don’t write anything inside this box]
Marks: Signature:
Comments: Date:
Contents
1 Introduction 3
1.1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.2 Motivation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.3 Problem Definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.4 Design Goals/Objectives . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.5 Application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
3 Performance Evaluation 13
3.1 Software Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
1
3.2 Results Analysis/Testing . . . . . . . . . . . . . . . . . . . . . . . . . 14
3.3 Home page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
3.4 Reserve page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
3.5 Simulation page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
3.6 Locker page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
3.7 Results Overall Discussion . . . . . . . . . . . . . . . . . . . . . . . . 17
3.8 Security Measures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
3.9 Testing and Deployment . . . . . . . . . . . . . . . . . . . . . . . . . 18
4 Conclusion 19
4.1 Discussion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
4.2 Limitations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
4.3 Scope of Future Work . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
4.3.1 Mobile Application . . . . . . . . . . . . . . . . . . . . . . . . 20
4.3.2 Advanced Security Features . . . . . . . . . . . . . . . . . . . 20
4.3.3 User Interface Improvements . . . . . . . . . . . . . . . . . . . 20
4.3.4 Offline Functionality . . . . . . . . . . . . . . . . . . . . . . . 20
4.3.5 Enhanced Error Handling . . . . . . . . . . . . . . . . . . . . 20
4.3.6 Integration with Existing Systems . . . . . . . . . . . . . . . . 21
2
Chapter 1
Introduction
1.1 Overview
"The GUB Automated Library Locker Security System", intended to meet all the needs
of the students, staff, and the online students, is aimed at facilitating a smooth study
room. These students and personnel can make online table advance reservations, re-
ceive the information about reservations at their e-mail and get access to their goods by
individual codes. This implies that a person does not need physical keys anymore and
has a less stressful situation because this way it is not possible to get lost or to be bro-
ken. Also, the system has real-time booking management, which frequently is not used,
lockers can be used for its benefit and the whole library efficiency will be improved.
Using mobile app or website students can book lockers which could be very much
smooth . By using the app, a user can conveniently check whether a locker is avail-
able for use, reserve a locker for a specific time period which he or she can access
conveniently, and receive notifications on the app about bookings for lockers. The sys-
tem is an opportunity to secure students and staff’s bags and personal items with their
valuables while they study and use related materials.
1.2 Motivation
Sometimes, the private lockers in libraries give people this same feeling of being frus-
trated. Because they may don’t remember where they leave their item. It is a common
case from the point of view of the students and employees of the Green University,
but we experience it all the time. Therefore, we adopted the development of GUB
Automated Library Locker Security System which eases the process of check-out and
returns.
3
1.3 Problem Definition
Our project revolves around locker security, allowing students to easily book lockers
as needed. We primarily utilized JavaScript, PHP, HTML, and CSS to address this
challenge. When a student requests to book a locker, access is granted only if the
locker is available. The request is then sent to the database, granting access if any
locker is free; otherwise, the student can reserve a locker and use it once it’s available.
Each locker is assigned a unique QR code or key value generated randomly by the
database. Students receive this code via mobile phone message, ensuring secure access.
Additionally, there’s a maximum usage time for each locker. Once exceeded, students
are automatically notified, preventing extensions if the locker is pre-booked.
Set up a MySQL or similar database to store all vital information about lockers such
as reservation status, user authentication, and reservation management. Establish ways
of connecting the database through PHP and execute the queries essential for these data
as needed.
PHP language to create the back-end logic of the system, this functionality includes
verification of users, submitting booking request and managing the database.
1.5 Application
Green University library: As our project is based on solving real-life problems, the
initial application will be implemented at the prestigious Green University library.
Green University Common Room : Common rooms at universities serve as
shared spaces for students.These areas often lack secure storage facilities, making it
challenging for students to store their personal belongings safely.
Fitness centers and gyms: Numerous people appreciate their gear such as head-
phones, phones, keys and wallets around them in the gym while engaged in workouts.
The locked system may be an automatized alternative providing secure keeping of what-
4
ever assets a gym member might leave during his workout with this option the client
can completely focus on their training program.
Shopping malls and retail centers: Large shopping centers and shops located in
the malls may offer locker facilities for the customers to place their belongings in while
they shop. Automatic management of these lockers is achievable and can ease the
processes, making it more efficient and convenient for customers.
Airports and train stations: High-traffic areas like airports and train stations can
benefit from automated locker systems. Travelers often need secure places to store lug-
gage or personal items for short periods. Implementing automated lockers can provide
a convenient and secure solution.
Concerts and large events: Venues hosting concerts, festivals, and other large
events can offer automated locker systems for attendees to store their personal items.
This can enhance security and convenience, allowing attendees to enjoy the event with-
out worrying about their belongings.
Office buildings and coworking spaces: In professional environments, automated
lockers can be used by employees and visitors to store personal items securely. This is
especially useful in coworking spaces where individuals may not have a dedicated desk
or storage area.
Schools and educational institutions: Schools can use automated lockers for
students to securely store their books, laptops, and personal items. This reduces the risk
of theft and ensures that students have a secure place for their belongings throughout
the school day.
Public libraries: Public libraries can implement automated locker systems for pa-
trons to store personal items while they study or browse the collection. This enhances
the user experience and provides an added layer of security for library users.
Theme parks and amusement parks: Visitors to theme parks often need a secure
place to store their personal items while enjoying rides and attractions. Automated
locker systems can offer a convenient and safe solution, allowing visitors to have a
worry-free experience.
Sports arenas and stadiums: Fans attending sports events can use automated
lockers to store personal items, making it easier to navigate security checks and enjoy
the event without carrying bulky bags.
5
Chapter 2
Design/Development/Implementation
of the Project
2.1 Introductions
The GUB Automated Library Locker Security System", intended to meet all the needs
of the students, staff, and the online students, is aimed at facilitating a smooth study
room. These students and personnel can make online table advance reservations, re-
ceive the information about reservations at their e-mail and get access to their goods
by individual codes. This implies that a person does not need physical keys anymore
and has a less stressful situation because this way it is not possible to get lost or to be
broken. Also, the system has real-time booking management, which frequently is not
used, lockers can be used for its benefit and the whole library efficiency will be im-
proved. Using mobile app or website students can book lockers which could be very
much smooth. By using the app, a user can conveniently check whether a locker is
available for use, reserve a locker for a specific time period which he or she can access
conveniently, and receive notifications on the app about bookings for lockers. The sys-
tem is an opportunity to secure students and staff’s bags and personal items with their
valuables while they study and use related materials.
6
2.3 System Architecture
The system architecture is based on a client-server model where the web application
serves as the client interface and the server-side handles business logic and database
interactions.
• Server-Side: PHP
• Database: MySQL
• lockers: Contains details about each locker, including locker_id, status (avail-
able, booked), and other relevant details.
2.5 Functionalities
3. Generating a unique QR code or key for the user to access the locker.
7
2.5.3 Real-Time Locker Status
The system provides real-time updates on locker availability using a color-coded LED
system:
function get_author_count() {
$connection = mysqli_connect("localhost", "root", "");
$db = mysqli_select_db($connection, "lms");
$author_count = 0;
$query = "SELECT COUNT(*) as author_count FROM authors";
$query_run = mysqli_query($connection, $query);
while ($row = mysqli_fetch_assoc($query_run)) {
$author_count = $row[’author_count’];
}
return $author_count;
}
8
2.7 Neccesary Codes
The implementation of the GUB Automated Library Locker Security System involves
several critical components to ensure a seamless and secure user experience.
The backend logic is developed using PHP, with key functions for user authenti-
cation, booking management, and database interactions. For example, functions are
designed to retrieve author counts or manage locker bookings by inserting booking de-
tails into the database and updating the locker status.
Security is a top priority in this system. Measures include user authentication and
authorization, secure communication through HTTPS, encryption of sensitive data, and
regular security audits and updates to protect against vulnerabilities.
Finally, deployment involves setting up the web application on a secure server, con-
figuring the database, and ensuring all components are properly integrated. The project
is known as the "GUB Automated Library Locker Security System."
9
Function.php The functions that significantly contribute to the administration and
management of the GUB Automated Library Locker Security System:
• get_book_count(): Counts the total number of books in the library. This function
assists the admin in keeping track of the library’s inventory.
2.7.2 lockerhistory.php:
This code enables users to book library lockers by providing their details and selecting
an available locker. It handles user verification, booking management, and dynami-
cally displays locker statuses, providing a user-friendly interface for managing locker
reservations.
10
2.7.3 Simulation Php code
Simulation code refer to the locker simulations,and can booked by the student.
• Locker Booking: If the user exists, the script attempts to book a locker using the
book_locker function, which updates the database and locker status. It generates
a success or error message based on the outcome.
11
2.7.4 Reserve.php
Collects user information and booking details. It dynamically populates locker options
from the database and submits data via POST.
• Reserve Status Display: Shows the current status of lockers with color-coded
indicators (white for available, red for booked) based on real-time data from the
database.
12
Chapter 3
Performance Evaluation
Database Configuration
A MySQL database is set up with tables to store user information, locker details, book-
ing records, and access logs. Proper indexing and relational design ensure efficient
query performance.
Web Interface
The web interface is developed using HTML, CSS, JavaScript, and PHP. It provides
functionalities for users to book lockers, view locker status, and manage their bookings.
Simulation Scripts
Python or PHP scripts are created to simulate various user interactions, such as booking
lockers, entering access codes, and releasing lockers. These scripts help in automating
the testing process.
13
3.2 Results Analysis/Testing
This section provides a detailed analysis of the testing results of different aspects of the
system.
This test simulates a user booking a locker. The system checks for available lockers,
updates the locker status, and sends a unique access code to the user.
14
3.4 Reserve page
This features for the booking purpose .Student can booked the locker by id and its book
by its type like bag or laptop.
15
Book Locker
The output shows the successful booking status and the time-stamped entry in the
database. The system performed as expected, with all steps completed without errors.
16
3.6 Locker page
Expected Outcome
The system should verify the code, unlock the corresponding locker, and update the
locker status.
17
• Data encryption for sensitive information.
• User Acceptance Testing (UAT): Gathering feedback from actual users to refine
the system.
18
Chapter 4
Conclusion
4.1 Discussion
The GUB Automated Library Locker Security System successfully addresses the need
for a secure and efficient locker management system in the library environment. The
system’s real-time booking, user-friendly interface, and robust security measures en-
hance the overall user experience. The project demonstrates the integration of hardware
and software to solve a practical problem, providing a scalable solution that can be im-
plemented in various environments. The system was tested thoroughly under different
scenarios, and the results indicate that it performs reliably in booking lockers, control-
ling access, and updating statuses in real-time. The error handling mechanisms worked
effectively, preventing unauthorized actions and maintaining system integrity.
The implementation of this system has the potential to significantly improve the
management of library lockers, reducing administrative overhead and increasing user
satisfaction. It also highlights the importance of integrating IoT technologies in every-
day applications, demonstrating how such systems can enhance operational efficiency
and security. Throughout the development and testing phases, several valuable lessons
were learned, such as the importance of thorough testing to identify and fix potential
issues before deployment, the need for user feedback to improve system design and
functionality, and the benefits of modular design, allowing for easier updates and scal-
ability.
4.2 Limitations
While the system performs well under test conditions, several limitations were identi-
fied. The current system is designed for a small number of lockers and may require
significant modifications to handle a larger scale. The system relies heavily on network
connectivity, which could be a point of failure in environments with unstable internet
access. Some users reported difficulty navigating the web interface, indicating a need
for further refinement and user testing. Additionally, the hardware components used
are basic and may need upgrading for a more robust, long-term solution. Finally, while
basic security measures are in place, there is always the risk of potential vulnerabilities
19
that could be exploited.
20
4.3.6 Integration with Existing Systems
Exploring the possibility of integrating the locker system with existing library manage-
ment systems for a seamless user experience. This could involve synchronizing user
data and borrowing records between the two systems.Exploring the possibility of inte-
grating the locker system with existing library management systems for a seamless user
experience could involve synchronizing user data and borrowing records between the
two systems.
By addressing these areas, the GUB Automated Library Locker Security System
can be further refined and enhanced to provide even greater benefits to library users and
administrators. The project’s success demonstrates the potential for IoT technologies to
revolutionize everyday operations, paving the way for future innovations in this field.
21
References
22