Abstract: Implementation of Smart Door Lock System using PKE and IoT The present invention relates to a smart electronic door lock system with Passive Keyless Entry (PKE) wireless concept that unlock the door when authorize person comes nearer to the door. The system integrates biometric authentication, one-time password (OTP) generation, and Internet of Things (IoT) capabilities to revolutionize door access control. The smart door lock system solve challenges by employing advanced technologies to enhance security features, streamline access processes, and enable remote operation. Key components of the system include biometric scanner for identity verification, server for authentication and communication, a smart lock with PKE functionality, and IoT devices for remote monitoring and control. The operational workflow of the system involves biometric authentication, OTP generation and verification, server logging, and robust security measures. By combining these technologies, the smart door lock system offers a comprehensive solution for modern door access control needs, catering to both residential and commercial applications. Figure 1
DESC:FORM 2
THE PATENT ACT, 1970
(39 OF 1970)
&
THE PATENTS RULES, 2003
COMPLETE SPECIFICATION
(See section 10 and rule 13)
1. Title of the invention: “Implementation of Smart Door Lock System using PKE and IoT”
2. Applicant:
NAME NATIONALITY ADDRESS
1. Marwadi University INDIAN Marwadi University, Rajkot-Morbi Highway, At Gauridad, Rajkot – 360003, Gujarat, India
2.DR. ARJAV AMBARAM BAVARVA B-803, Aurum 1,Crystal city, Nageshwar,Near Green Leaf Resort, GhanteshwarRajkot-360005,Gujarat, INDIA
3. Preamble to the description
COMPLETE SPECIFICATION
The following complete specification particularly describes the invention and the manner in which it is performed.
Field of the Invention:
The present invention relates to the field of Electronics and Communication Engineering. More specifically, the present invention relates to a smart lock door system which works on Passive Keyless Entry (PKE) wireless concept that unlock the door when authorize person comes nearer to the door. The present invention has a capability to lock and unlock the door from remote place using Internet of Things (IoT).
Background of the Invention:
The existing door lock system have traditional key and there is a need to use both the hands to unlock the door. This creates a problem especially if someone is handicapped or holding baby/ carry bags, which is very obvious and frequent. It is even more tedious task when there is darkness and to insert the key one need to find the key hole to open the door.
Many a times when family members are not at home and if some relative or other family member come at home without key, they need to wait until authorized person with key comes at home. If there is prior information about arrival of relative or any other family member then we lock the door and give the key to our neighbors, which may create security issues.
The electronic door locks are available in the market but they are on key pad bases and costly. These locks don’t have key but users need to enter electronic passcode on key pad that is placed on the door, which means users hand will be occupied.
Hence, there is a need to develop a smart lock door system which solves all the above problems. The present invention solves these problems by operating the door lock wirelessly when authorized person comes near to the door lock. The proposed electronic home door lock will open the door automatically when user will come near to the door. Apart from that, door lock status can be monitored and controlled from remote place. This feature will also give permission to enter into home when close relatives/friends/family members arrive without key and there is no one at home. The proposed smart door system will give alert signal to the user at remote place if any unauthorized person operates the door.
Therefore, Passive Keyless Entry (PKE) is proposed with the home door lock system with intelligent encryption algorithm to provide more security. The lock will be monitored and controlled from remote place using Espressif Systems (ESP) module and Internet of Things (IoT), which reduce the cost and add more features in the present invention.
Object of the Invention:
The main objective of the present invention is to implement electronic door lock system which operates wirelessly without physical key connection.
Another objective of the present invention is to use Passive Keyless Entry (PKE) wireless concept that unlock the door when authorize person comes nearer to the door.
Yet another objective of the present invention is to interface electronic door lock system having capability to lock and unlock the door from remote place using ESP module and Internet of Things (IoT), which reduces the cost and add more features to the invention.
Yet another objective of the present invention is to develop an application in android to monitor and control the door from remote place.
Yet another objective of the present invention is to provide relief to the handicaps and people who want to unlock the door in darkness or while carrying baby/luggage.
Yet another objective of the present invention is to provide entry to the person not having key as authorize person can unlock the door from remote place.
Yet another objective of the present invention is to develop a smart door lock system with intelligent encryption algorithm to provide more security having strong passcode which can be changed from remote place.
Summary of the Invention:
The present invention is related to a smart home door lock system having Passive Keyless Entry (PKE) with intelligent encryption algorithm to provide more security. The lock system can be monitored and controlled from remote place using ESP module and Internet of Things (IoT), which unlock the door and gives the permission to enter into the home without key.
The smart door lock system presented in this invention introduces a new approach to door access control, combining biometric authentication, one-time password (OTP) generation, and IoT integration. Key components of the system include a biometric scanner for capturing guest biometric data, a server for authentication and communication, a smart lock with Passive Keyless Entry (PKE) functionality, and IoT devices for remote monitoring and control.
The operational workflow of the system involves several steps, including biometric authentication, OTP generation and verification, server logging, and comprehensive security measures. Biometric authentication ensures secure access by verifying guest identities through facial recognition or other biometric data. OTP generation and verification add an extra layer of security, while server logging maintains detailed records for auditing and reference purposes. Furthermore, the integration of IoT technology enables remote operation, allowing users to lock and unlock doors from anywhere via smartphones or tablets. This functionality provides convenience and accessibility, particularly for individuals with mobility issues or those needing to grant access remotely.
In conclusion, the smart door lock system represents a significant advancement in door access control technology, offering enhanced security, convenience, and accessibility. Its potential applications range from residential homes to commercial buildings, providing improved security and peace of mind for users.
Brief Description of drawings:
Figure 1 shows Block diagram of Smart Door Lock System
Figure 2 shows Smart Door Lock System
Figure 3 shows Smart Door Lock System Architecture
Figure 4 shows Smart Door Lock Authentication process
Figure 5 shows Smart Door Lock System Using PKE and IoT
Detailed Descriptionof the Invention:
The present invention relates to a smart door lock system which operates the door lock wirelessly when authorized person comes near to the door lock. The electronic home door lock will open the door automatically when user will come near to the door. The door lock system can be operated from local place and remote place.
Traditional door lock systems rely on physical keys or electronic keypads for access control, presenting challenges in terms of security, convenience, and accessibility. There is a need for a door lock system that offers enhanced security features, remote operation, and ease of use. The present invention introduces a novel smart door lock system that seamlessly integrates Passive Keyless Entry (PKE) technology and Internet of Things (IoT) capabilities to offer a robust and user-friendly solution for door access control. By combining these technologies, the system enhances security while providing convenience and accessibility to users.
Figure 1 shows the detail block diagram of the smartdoor lock system which can be operated from local place and remote place. The PKE works on the principle of short-range communication that unlock the door automatically when authorize person goes near to the door (approximately 1 meter). The PKE makes door lock system more secure using rolling passcode. The microcontroller attached with the PKE will check the authentication and operate the door lock using relay. The status of the door will be sent at remote place to the home owner via IoT. The said door lock system is made IoT based and by using ESP module. The android application will be prepared to monitor and control the door from remote place.
System Components:
The smart door lock system comprises several key components:
1. Biometric Scanner: This component captures guest biometric data, such as facial recognition or fingerprint scans, for authentication purposes. It serves as the initial step in verifying the identity of individuals seeking access to the secured area.
2. Server: The server plays a pivotal role in the authentication process. It is responsible for processing biometric data, generating one-time passwords (OTPs), and facilitating communication between devices. Additionally, the server stores and manages user credentials and access permissions.
3. Smart Lock with PKE Functionality: This component is the physical interface responsible for controlling the locking mechanism of the door. It incorporates PKE technology, enabling wireless operation and automatic unlocking when authorized individuals approach the door. The smart lock communicates with the server to receive authentication credentials and instructions for access control.
4. IoT Devices: These devices form part of the broader IoT ecosystem, enabling remote monitoring and control of the smart door lock system. Users can access the system via IoT-enabled devices such as smartphones or tablets, allowing them to remotely manage access permissions, receive real-time notifications, and monitor the status of the door lock.
Operational Overview:
Here's a reframed operational workflow of the smart door lock system, presented as a detailed step-by-step algorithm:
1. The guest approaches the smart door lock and initiates the authentication process by scanning their biometric data using the biometric scanner attached to the smart lock.
2. The smart lock captures the biometric data (facial recognition) and sends it to the server for authentication using a secure communication protocol (HTTPS).
3. The server receives the biometric data and extracts the relevant features from the data using a feature extraction algorithm.
4. The server compares the extracted features with the stored features of authorized guests in the database using a similarity measurement algorithm.
5. If the similarity score is above a predefined threshold, the server considers the biometric data as a match and proceeds to the next step. Otherwise, the server sends a rejection message to the smart lock, and the smart lock denies access to the guest.
6. If the biometric data matches with the stored data, the server generates a one-time password (OTP) using a secure random number generator.
7. The server encrypts the OTP using the public key of the smart lock's private key pair using PKE.
8. The server sends the encrypted OTP back to the smart lock and the guest's app securely using HTTPS.
9. The smart lock receives the encrypted OTP and decrypts it using its private key using PKE.
10. The smart lock prompts the guest to enter the OTP.
11. The server keeps a log of all authentication requests and responses for future reference and auditing purposes.
The present invention mainly involves below features:
1. Multi-Factor Authentication (MFA):
To implement MFA, we have added additional authentication factors beyond the user's credentials (username and password). This includes biometric factors like facial recognition and one-time passcode sent to their mobile device, included a third-party MFA service using libraries such as OAuth or OpenID Connect.
2. Encrypted Communication:
To ensure encrypted communication between the door lock, IoT devices, and the server, we have used modern encryption protocols like TLS and SSL. This would involve generating certificates for each device, configuring the devices to use the certificates for secure communication, and implementing the encryption algorithms in the firmware and software.
3. Secure Boot:
To implement secure boot, we have used digital signatures and a trusted bootloader. This would involve generating a digital signature for the firmware, storing the signature in a secure location, and verifying the signature during the boot process. We have also implemented a trusted bootloader that can verify the signature and prevent the firmware from executing if the signature is invalid
4. Intrusion Detection:
To implement intrusion detection, you would need to monitor the system for any unusual or suspicious behavior. This could include monitoring the network traffic, analyzing logs, or detecting anomalies in the system state. You would need to implement an IDS that can detect these anomalies and alert the system administrator.
5. Secure Key Management:
To implement secure key management, we have generated and managed the PKE keys securely. This has involved using hardware security modules (HSMs) and cloud-based key management services. We have implemented a key management mechanism in the firmware and software that can generate, store, and manage the keys securely.
In summary, the biometric authentication process ensures that only authorized individuals with matching biometric data are granted access, enhancing the security of the smart door lock system.
The detailed steps for each component of the algorithm:
A. Biometric Authentication:
In the operational workflow of the smart door lock system, biometric authentication plays a crucial role in ensuring secure access to the premises. This process involves the guest scanning their biometric data, which is then transmitted to the server for verification. Let's delve into the steps involved and summarize the process:
a) Biometric Scanning: Upon approaching the door, the guest utilizes the biometric scanner integrated into the smart lock to scan their biometric data, typically facial recognition.
b) Data Transmission: The smart lock captures the biometric data and securely transmits it to the server for authentication, utilizing a robust communication protocol such as HTTPS to ensure data integrity.
c) Feature Extraction: Upon receiving the biometric data, the server employs a feature extraction algorithm to identify and extract relevant features from the data.
d) Feature Comparison: The extracted features are then compared with the stored features of authorized guests in the database using a similarity measurement algorithm.
e) Authentication Decision: If the similarity score exceeds a predefined threshold, indicating a match, the server considers the biometric data authenticated and proceeds to grant access. However, if the similarity score falls below the threshold, the server sends a rejection message to the smart lock, which subsequently denies access to the guest.
B. One-Time Password Generation:
In the operational workflow of the smart door lock system, the generation of a one-time password (OTP) serves as an additional layer of security following successful biometric authentication. This OTP is generated by the server and transmitted securely to both the smart lock and the guest's app.
a) OTP Generation: After confirming the authenticity of the guest's biometric data, the server proceeds to generate a unique one-time password (OTP) using a secure random number generator. This OTP is dynamically created for each authentication session, adding an extra layer of security to the access control process.
b) Encryption: To ensure the confidentiality of the OTP during transmission, the server encrypts it using the public key of the smart lock's private key pair, leveraging Public Key Encryption (PKE) techniques. This encryption prevents unauthorized parties from intercepting and deciphering the OTP.
c) Secure Transmission: The encrypted OTP is securely transmitted back to both the smart lock and the guest's app via HTTPS, a secure communication protocol. This ensures that the OTP reaches its intended recipients without being compromised during transit, further safeguarding the access control process.
In summary, the generation and secure transmission of a one-time password following successful biometric authentication enhance the overall security of the smart door lock system, providing an additional authentication factor for access control.
C. One-Time Password Verification
Following the generation and transmission of the one-time password (OTP) from the server to the smart lock, the verification process commences to ensure the legitimacy of the OTP and grant access to the guest. This process involves decrypting the OTP, verifying its authenticity, and managing access accordingly.
a) OTP Decryption: Upon receipt of the encrypted OTP, the smart lock employs its private key, part of its Public Key Encryption (PKE) infrastructure, to decrypt the OTP securely. This step enables the smart lock to access and process the OTP for verification purposes.
b) Guest Prompt: Subsequently, the smart lock prompts the guest to input the OTP through its interface, typically a keypad or touchscreen. This interaction engages the guest directly in entering the OTP for verification, facilitating the access control process.
c) OTP Verification: The guest enters the OTP provided by the server, and the smart lock initiates the verification process. It compares the entered OTP with the decrypted OTP to ascertain its validity. If the entered OTP matches the decrypted OTP and falls within the valid timeframe, the verification is successful.
d) Access Grant: Upon successful verification, indicating the authenticity of the OTP, the smart lock grants access by unlocking the door. Access is permitted for a predetermined duration, typically 5 minutes, allowing the guest to enter the premises without the need for further authentication.
e) Expiration and Relocking: After the specified time period expires, typically 5 minutes, the OTP becomes invalid. As a security measure, the smart lock automatically relocks the door, reinstating access restrictions. This feature ensures that access is only permitted within the designated timeframe, enhancing overall security.
In summary, the one-time password verification process encompasses decrypting the OTP, validating its legitimacy, granting access if deemed valid, and automatically relocking the door after the allotted time to maintain security standards.
D. Server Logging
Server logging is a crucial aspect of the smart door lock system, providing a comprehensive record of all authentication activities for auditing and reference purposes. This process involves storing relevant information such as authentication requests, biometric data, OTPs, and authentication outcomes in a centralized log maintained by the server.
a) Logging Authentication Activities: The server systematically maintains a log of all authentication-related activities, including requests and responses, to ensure a detailed record of system interactions. This log serves as a valuable resource for monitoring and analyzing the system's performance and security.
b) Contents of the Log: Each entry in the server log contains essential details pertaining to the authentication process. This includes the date and time of the authentication request, ensuring a chronological record of events. Additionally, the log captures the biometric data associated with the authentication attempt, providing insight into the identity verification process.
Furthermore, the log includes the generated OTP associated with each authentication request, facilitating traceability and accountability. Importantly, the authentication result, whether success or failure, is documented for each entry, enabling administrators to assess the efficacy of the authentication mechanisms and detect any anomalies or security breaches.
In addition to authentication outcomes, the server log may include relevant error messages encountered during the authentication process. These messages provide valuable context for troubleshooting and identifying potential issues within the system, enhancing overall reliability and performance.
In summary, server logging in the smart door lock system ensures comprehensive documentation of authentication activities, facilitating auditing, troubleshooting, and analysis. By capturing key details such as authentication requests, biometric data, OTPs, authentication outcomes, and error messages, the server log enhances transparency, accountability, and security within the system.
E. Security Considerations
Ensuring robust security measures is paramount in the design and implementation of the smart door lock system. Several key considerations must be addressed to safeguard sensitive data and prevent unauthorized access or tampering. These security measures encompass encryption protocols, access controls, authentication mechanisms, and physical security measures.
a) Secure Communication Protocol: Communication between the smart lock and the server is encrypted using the HTTPS protocol. This encryption mitigates the risk of eavesdropping and tampering during data transmission, safeguarding sensitive information exchanged between the two entities.
b) Encryption of Biometric Data: Biometric data, such as facial recognition, is encrypted using advanced encryption algorithms like AES. This encryption ensures that biometric information remains protected from unauthorized access or tampering, maintaining the integrity and confidentiality of the data.
c) Encryption of OTP: The one-time password (OTP) generated for authentication purposes is produced using a secure random number generator and encrypted using Public Key Encryption (PKE). This dual-layered encryption approach adds an extra level of security, preventing unauthorized access or manipulation of the OTP.
d) Logging Authentication Activities: The server maintains a comprehensive log of all authentication requests and responses. This log includes critical details such as timestamps, biometric data, OTPs, authentication outcomes, and error messages. By recording these events, the server ensures transparency, accountability, and facilitates auditing for security purposes.
e) Access Controls and Authentication Mechanisms: The server implements robust access controls and authentication mechanisms to prevent unauthorized access or tampering. These measures include user authentication protocols, role-based access controls, and stringent verification procedures, ensuring that only authorized entities can interact with the system.
f) Smart Lock Security Measures: Similarly, the smart lock is equipped with appropriate access controls and authentication mechanisms to thwart unauthorized access or tampering attempts. These mechanisms may include password protection, biometric verification, and encryption keys, reinforcing the security posture of the smart lock.
g) Physical Security Mechanisms: To mitigate the risk of physical attacks, the smart lock incorporates tamper-resistant hardware and physical security measures. These measures may include reinforced casing, anti-tamper sensors, and secure mounting options, deterring unauthorized manipulation or intrusion attempts.
In summary, the security considerations outlined above collectively contribute to the robustness and resilience of the smart door lock system, safeguarding sensitive data, preventing unauthorized access, and ensuring the integrity of the overall system.
Algorithm for implementing a one-time password system for guests:
1. Guest Requests Access:
a. Guest approaches the smart door lock and requests access.
b. Smart door lock prompts the guest to provide a one-time password.
c. Guest indicates that they don't have a one-time password.
d. Smart door lock initiates the one-time password generation process.
This algorithm outlines the initial steps taken by a guest to request access to the smart door lock system, including the initiation of the one-time password generation process if the guest does not possess an OTP. Subsequent steps of the algorithm would cover the generation, transmission, and verification of the OTP to grant access to the guest.
2. Biometric Scanning Process:
a. Smart Door Lock Activation: The smart door lock activates its biometric scanner in preparation for guest authentication.
b. Guest Biometric Data Input: Guests provide their biometric data, typically in the form of facial recognition, to the activated biometric scanner.
c. Biometric Data Transmission to Server: The smart door lock captures the provided biometric data and securely transmits it to the server for authentication purposes.
This process initiates with the activation of the biometric scanner by the smart door lock, followed by guests providing their biometric data. Subsequently, the smart door lock captures this data and sends it to the server for further authentication steps.
3. Admin Verification Process:
a. Reception of Biometric Data: The server receives the biometric data transmitted from the smart door lock, captured during the guest's authentication attempt.
b. Admin Notification: An administrative user, typically designated as an administrator, receives a notification on their dedicated application. This notification includes the guest's biometric data for verification purposes.
c. Admin Verification: The administrator verifies the guest's identity by comparing the received biometric data with known records or visual confirmation, ensuring the authenticity of the guest's identity.
d. One-Time Password Generation: Upon successful verification, the administrator generates a one-time password (OTP) specifically for the guest's authentication process.
e. OTP Transmission to Guest: The administrator sends the generated one-time password to the guest's designated mobile number, providing them with the necessary credentials for accessing the smart door lock.
f. OTP Transmission to Server: Additionally, the administrator sends the one-time password to the server, completing the authentication process and enabling the server to synchronize the OTP with the guest's authentication attempt.
This process involves the reception and verification of biometric data by the server and administrator, followed by the generation and transmission of a one-time password for guest authentication.
4. Guest One-Time Password Entry Process:
a. OTP Reception by Guest: Guests receive the one-time password (OTP) on their designated mobile number, sent by the administrator or server as part of the authentication process.
b. OTP Entry on Smart Door Lock: Using the received OTP, the guest inputs the one-time password into the smart door lock interface, typically via a keypad or touchscreen.
c. OTP Verification by Smart Door Lock: The smart door lock verifies the entered one-time password by communicating with the server. It sends the OTP for validation, ensuring its authenticity and validity.
d. Access Grant if OTP is Valid: If the one-time password is deemed valid by the server, indicating successful authentication, the smart door lock grants access to the guest. Access is typically provided for a predefined duration, allowing the guest to enter the premises securely.
Main embodiment of the present invention is a process for implementation of Smart Door Lock System using Passive Keyless Entry and Internet of Things comprising of:
a. Biometric scanner for capturing guest biometric data such as facial recognition or fingerprint scans for authentication and initial identity verification;
b. Server for processing, store and manage biometric data, generating one-time passwords, and facilitating communication between devices;
c. Smart lock with Passive Keyless Entry functionality for wireless operation and automatic unlocking of door and communicates with the server to receive authentication credentials and instructions for access control; and
d. Internet of Things devices enabling remote monitoring and control of smart door lock system;
Wherein said device operates wirelessly without physical key and unlock the door.
Another embodiment of the present invention is the server employs a feature extraction algorithm for processing biometric data.
Another embodiment of the present invention is physical security measures such as reinforced casing and anti-tamper sensors are implemented to prevent tampering or unauthorized access.
Another embodiment of the present invention is biometric data of guest captured by using a biometric scanner; transmitting the biometric data to a server for authentication; generating and encrypting OTPs by the server for access verification; transmitting the encrypted OTPs to the smart lock and guest's app securely; and decrypting and verifying OTPs by the smart lock for granting access.
Code for generating a one-time password using a random number generator:
This process involves the reception and entry of the one-time password by the guest, followed by verification and access grant by the smart door lock in coordination with the server.
functiongenerateOTP($length = 6) {
$characters= '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ';
$otp = '';
for ($i = 0; $i< $length; $i++) {
$otp .= $characters[mt_rand(0, strlen($characters) - 1)];
}
return $otp;
}
This function generates a random string of length $length using a set of characters.
For storing the data in the smart lock through the server, the database will store the one-time passwords and their corresponding biometric data. When the guest requests access, the smart door lock sends the biometric data to the server, which searches the database for a matching record. If a match is found, the server generates a one-time password and sends it to the guest and the smart door lock. The smart door lock then verifies the one-time password with the server before granting access to the guest.
Storing the data in a MySQL database using PHP:
Create a table for storing the one-time passwords and their corresponding biometric data:
CREATE TABLE otp (
id INT AUTO_INCREMENT PRIMARY KEY,
biometric_data BLOB NOT NULL,
otp VARCHAR(20) NOT NULL,
used BOOLEAN DEFAULT FALSE,
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
);
Insert a new one-time password and its corresponding biometric data into the database:
$biometric_data = file_get_contents('biometric_data.bin'); // Replace with actual biometric data
$otp = generateOTP();
$stmt = $conn->prepare('INSERT INTO otp (biometric_data, otp) VALUES (?, ?)');
$stmt->bind_param('bv', $biometric_data, $otp);
$stmt->execute();
Search for a matching one-time password and its corresponding biometric data in the database:
$biometric_data = file_get_contents('biometric_data.bin'); // Replace with actual biometric data
$stmt = $conn->prepare('SELECT otp FROM otp WHERE biometric_data = ? AND used = FALSE LIMIT 1');
$stmt->bind_param('b', $biometric_data);
$stmt->execute();
$result = $stmt->get_result();
$otp = $result->fetch_assoc()['otp'] ?? null;
Mark the one-time password as used in the database:
$stmt = $conn->prepare('UPDATE otp SET used = TRUE WHERE otp = ?');
$stmt->bind_param('s', $otp);
$stmt->execute();
Implement an API endpoint for receiving the encrypted biometric data from the smart door lock:
header('Content-Type: application/json');
$biometric_data = file_get_contents('php://input'); // Replace with actual biometric data
$secret_key = 'your_secret_key'; // Replace with actual secret key
$decrypted_data = openssl_decrypt($biometric_data, 'aes-256-cbc', $secret_key);
$stmt = $conn->prepare('SELECT otp FROM otp WHERE biometric_data = ? AND used = FALSE LIMIT 1');
$stmt->bind_param('b', $decrypted_data);
$stmt->execute();
$result = $stmt->get_result();
$otp = $result->fetch_assoc()['otp'] ?? null;
if ($otp) {
// Generate a one-time password
$otp = generateOTP();
$stmt = $conn->prepare('UPDATE otp SET used = TRUE WHERE otp = ?');
$stmt->bind_param('s', $otp);
$stmt->execute();
// Send the one-time password to the smart door lock
$response = [
'otp' => $otp
];
echojson_encode($response);
} else {
// Biometric data not found or already used
$response = [
'error' => 'Biometric data not found or already used'
];
http_response_code(404);
echojson_encode($response);
}
Implement an API endpoint for sending the one-time password to the smart door lock:
header('Content-Type: application/json');
$otp = $_POST['otp']; // Replace with actual one-time password
$stmt = $conn->prepare('SELECT id FROM otp WHERE otp = ? AND used = FALSE LIMIT 1');
$stmt->bind_param('s', $otp);
$stmt->execute();
$result = $stmt->get_result();
$otp_id = $result->fetch_assoc()['id'] ?? null;
if ($otp_id) {
// Mark the one-time password as used
$stmt = $conn->prepare('UPDATE otp SET used = TRUE WHERE id = ?');
$stmt->bind_param('i', $otp_id);
$stmt->execute();
// Send the one-time password to the smart door lock
$response = [
'otp' => $otp
];
echojson_encode($response);
} else {
// One-time password not found or already used
$response = [
'error' => 'One-time password not found or already used'
];
http_response_code(404);
echojson_encode($response);
}
Implement an API endpoint for granting or denying access to a guest:
header('Content-Type: application/json');
$guest_id = $_POST['guest_id']; // Replace with actual guest ID
$access = $_POST['access']; // Replace with actual access status
$stmt = $conn->prepare('UPDATE guests SET access = ? WHERE id = ?');
$stmt->bind_param('bi', $access, $guest_id);
$stmt->execute();
$response = [
'access' => $access
];
echojson_encode($response);
Implement an API endpoint for retrieving a list of guests and their access status:
header('Content-Type: application/json');
$stmt = $conn->prepare('SELECT id, name, access FROM guests');
$stmt->execute();
$result = $stmt->get_result();
$guests = $result->fetch_all(MYSQLI_ASSOC);
echojson_encode($guests);
The present invention of the smart door lock system brings numerous benefits to users. Firstly, it significantly enhances security through its integration of advanced authentication mechanisms such as biometric scanning and one-time passwords (OTPs), coupled with robust encryption protocols. This multi-layered approach ensures that only authorized individuals gain access, effectively preventing unauthorized entry and intrusions. Secondly, the system offers unparalleled convenience by eliminating the need for physical keys or memorized codes. Users can effortlessly unlock doors using their biometric data or OTPs, streamlining the access process and eliminating the hassle of carrying keys. Moreover, with IoT integration, users can remotely monitor and control the door lock system from anywhere using their smartphones or other connected devices. This remote access capability provides unparalleled flexibility and convenience, allowing users to grant access to guests or service providers even when they are away from home. Additionally, the system's accessibility features cater to individuals with disabilities or mobility issues, offering a hands-free and automated way to unlock doors. Real-time monitoring, customizable access control, audit trails, and an improved overall user experience further underscore the manifold benefits of this innovative smart door lock system.
In conclusion, the smart door lock system presented in this invention represents a significant advancement in door access control technology. By integrating Passive Keyless Entry (PKE) technology and Internet of Things (IoT) capabilities, the system offers a robust solution that addresses the limitations of traditional door lock systems.
The system's key features include biometric authentication, one-time password (OTP) generation and verification, server logging, and comprehensive security measures. Biometric authentication ensures secure access by verifying guest identities through facial recognition or other biometric data. OTP generation and verification add an extra layer of security, while server logging maintains detailed records for auditing and reference purposes.
Moreover, the system's integration with IoT enables remote operation, allowing users to lock and unlock doors from anywhere via smartphones or tablets. This functionality provides convenience and accessibility, particularly for individuals with mobility issues or those needing to grant access remotely.
Overall, the smart door lock system enhances security, convenience, and accessibility, making it an innovative solution for modern door access control needs. Its potential applications range from residential homes to commercial buildings, offering improved security and peace of mind for users. ,CLAIMS:We claim,
1. A process for implementation of Smart Door Lock System using Passive Keyless Entry and Internet of Things comprising of:
a. Biometric scanner for capturing guest biometric data such as facial recognition or fingerprint scans for authentication and initial identity verification;
b. Server for processing, store and manage biometric data, generating one-time passwords, and facilitating communication between devices;
c. Smart lock with Passive Keyless Entry functionality for wireless operation and automatic unlocking of door and communicates with the server to receive authentication credentials and instructions for access control; and
d. Internet of Things devices enabling remote monitoring and control of smart door lock system;
Wherein said device operates wirelessly without physical key and unlock the door.
2. The process for implementation of Smart Door Lock System as claimed in claim 1, wherein the server employs a feature extraction algorithm for processing biometric data.
3. The process for implementation of Smart Door Lock System as claimed in claim 1, wherein physical security measures such as reinforced casing and anti-tamper sensors are implemented to prevent tampering or unauthorized access.
4. The process for implementation of Smart Door Lock System as claimed in claim 1, wherein biometric data of guest captured by using a biometric scanner; transmitting the biometric data to a server for authentication; generating and encrypting OTPs by the server for access verification; transmitting the encrypted OTPs to the smart lock and guest's app securely; and decrypting and verifying OTPs by the smart lock for granting access.
| # | Name | Date |
|---|---|---|
| 1 | 202321030209-PROVISIONAL SPECIFICATION [26-04-2023(online)].pdf | 2023-04-26 |
| 2 | 202321030209-FORM 1 [26-04-2023(online)].pdf | 2023-04-26 |
| 3 | 202321030209-DRAWINGS [26-04-2023(online)].pdf | 2023-04-26 |
| 4 | 202321030209-FORM-26 [24-10-2023(online)].pdf | 2023-10-24 |
| 5 | 202321030209-ENDORSEMENT BY INVENTORS [24-10-2023(online)].pdf | 2023-10-24 |
| 6 | 202321030209-FORM-9 [24-04-2024(online)].pdf | 2024-04-24 |
| 7 | 202321030209-FORM 3 [24-04-2024(online)].pdf | 2024-04-24 |
| 8 | 202321030209-FORM 18 [24-04-2024(online)].pdf | 2024-04-24 |
| 9 | 202321030209-DRAWING [24-04-2024(online)].pdf | 2024-04-24 |
| 10 | 202321030209-COMPLETE SPECIFICATION [24-04-2024(online)].pdf | 2024-04-24 |
| 11 | Abstract1.jpg | 2024-05-27 |
| 12 | 202321030209-RELEVANT DOCUMENTS [01-10-2024(online)].pdf | 2024-10-01 |
| 13 | 202321030209-POA [01-10-2024(online)].pdf | 2024-10-01 |
| 14 | 202321030209-FORM 13 [01-10-2024(online)].pdf | 2024-10-01 |
| 15 | 202321030209-EVIDENCE FOR REGISTRATION UNDER SSI [07-10-2024(online)].pdf | 2024-10-07 |
| 16 | 202321030209-EDUCATIONAL INSTITUTION(S) [07-10-2024(online)].pdf | 2024-10-07 |
| 17 | 202321030209-FER.pdf | 2025-07-10 |
| 18 | 202321030209-FORM-8 [28-10-2025(online)].pdf | 2025-10-28 |
| 19 | 202321030209-FORM-5 [28-10-2025(online)].pdf | 2025-10-28 |
| 20 | 202321030209-FER_SER_REPLY [28-10-2025(online)].pdf | 2025-10-28 |
| 21 | 202321030209-DRAWING [28-10-2025(online)].pdf | 2025-10-28 |
| 22 | 202321030209-CORRESPONDENCE [28-10-2025(online)].pdf | 2025-10-28 |
| 23 | 202321030209-CLAIMS [28-10-2025(online)].pdf | 2025-10-28 |
| 1 | SearchHistory(2)E_11-06-2024.pdf |