A method and system for visitor self-service door opening of an intelligent lock

By allowing visitors to set their own unlock passwords and bind their facial information, the problem of visitors being unable to unlock the door when the homeowner is not home is solved, enabling a personalized and convenient unlocking process while enhancing security and management capabilities.

CN120183069BActive Publication Date: 2026-02-17HANGZHOU DIANZI UNIV +2
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202510655888.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-05-21
Publication Date
2026-02-17
Estimated Expiration
2045-05-21

AI Technical Summary

Technical Problem

Visitors cannot unlock the door themselves when the owner is not home, and temporary passwords are easily leaked in existing technologies, making effective management impossible and resulting in insufficient security and convenience.

Method used

Visitors can set their own unlock password and bind their facial information, which is then recorded in a personnel information table. The password and facial recognition are combined to unlock the device, enhancing both security and convenience.

Benefits of technology

It enables personalized and convenient self-unlocking by visitors, enhances the management and security of visitor identities by smart locks, and avoids the problems of passwords being easily forgotten or leaked.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120183069B_ABST
    Figure CN120183069B_ABST
Patent Text Reader

Abstract

This specification provides one or more embodiments of a method and system for self-service visitor unlocking of a smart lock. The method includes: responding to a visitor's access operation by sending an authorization request corresponding to the access operation to a terminal; receiving authorization information from the terminal, the authorization information including an authorization method; if it is determined that the authorization method instructs unlocking based on a password set by the visitor, then performing a password setting operation to obtain the unlock password entered by the visitor and the visitor's facial information; binding the unlock password, the facial information, and the authorization information, and recording them in a personnel information table. This enhances security and traceability, avoiding the problems of easily forgotten and leaked passwords in existing technologies.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This specification relates to the field of smart lock technology, and more particularly to a method and system for self-service visitor unlocking of a smart lock. Background Technology

[0002] When visitors arrive but the homeowner is not home and cannot open the door, and the visitors do not have mobile communication tools to interact, they may be unable to enter the house. This is especially true when visitors need to stay for a period of time and need to come and go frequently. Therefore, it is particularly important to bind the smart lock to the visitor's identity.

[0003] In related technologies, a visitor's identity can be confirmed through a video intercom between a mobile app and the smart lock, and the visitor can show the unlocking password on the smart lock. The visitor can then use the password displayed on the smart lock to unlock the door. Alternatively, the door can be unlocked by detecting temporary passwords and facial recognition.

[0004] The technology uses a temporary password sent or given in advance, combined with facial recognition, to unlock doors. This password is at risk of being leaked and used by others, and cannot be effectively controlled. Summary of the Invention

[0005] In view of the above, one or more embodiments of this specification provide the following technical solutions:

[0006] According to a first aspect of one or more embodiments of this specification, a method for self-service visitor unlocking of a smart lock is provided, applied to a first smart lock. The method includes: in response to a visitor's access operation, sending an authorization request corresponding to the access operation to a terminal; receiving authorization information from the terminal, the authorization information including an authorization method; if it is determined that the authorization method is used to instruct unlocking based on a password set by the visitor, then performing a password setting operation to obtain the unlock password entered by the visitor and the visitor's facial information; binding the unlock password, the facial information, and the authorization information, and recording them in a personnel information table.

[0007] According to a second aspect of one or more embodiments of this specification, a method for self-service visitor unlocking of a smart lock is provided, applied to a terminal. The method includes: receiving an authorization request corresponding to a visitor's access operation from a first smart lock; and sending the authorization information to the first smart lock in response to a user's input operation of authorization information; wherein the authorization information includes an authorization method; the authorization method is used to instruct unlocking based on a password set by the visitor, or to instruct unlocking based on authentication by a second smart lock corresponding to the visitor.

[0008] According to a third aspect of one or more embodiments of this specification, a method for self-service visitor access to a smart lock is provided, applied to a second smart lock. The method includes: in response to receiving an authentication request from a first smart lock, matching a visitor's facial image and input password obtained by the first smart lock with a personnel information table of the second smart lock; and sending an authentication result to the first smart lock based on the matching result.

[0009] According to a fourth aspect of one or more embodiments of this specification, a smart lock visitor self-service door opening system is provided, the system comprising: a first smart lock and a terminal; wherein the first smart lock is configured to implement the steps of the method described in the first aspect; and the terminal is configured to implement the steps of the method described in the second aspect.

[0010] According to a fifth aspect of one or more embodiments of this specification, an electronic device is provided, comprising: a processor; a memory for storing processor-executable instructions; wherein the processor performs the executable instructions to implement the steps of the method as described in the first, second, or third aspect.

[0011] According to a sixth aspect of one or more embodiments of this specification, a computer-readable storage medium is provided that stores computer instructions thereon, which, when executed by a processor, implement the steps of the method as described in the first, second, or third aspect.

[0012] According to a seventh aspect of one or more embodiments of this specification, a computer program product is provided, comprising a computer program / instructions that, when executed by a processor, implement the steps of the method as described in the first, second, or third aspect.

[0013] As can be seen from the above embodiments, this specification enables visitors to set their own passwords on the smart lock. Combined with facial recognition data binding, this makes unlocking more personalized and convenient. Simultaneously, recording relevant information in a personnel information table facilitates unified management of visitor identities by the smart lock, enhancing security and traceability, and avoiding the problems of easily forgotten or leaked passwords in existing technologies. Attached Figure Description

[0014] Figure 1 This is one of the flowcharts illustrating a method for self-service visitor unlocking of a smart lock, provided as an exemplary embodiment.

[0015] Figure 2 This is a second flowchart illustrating a method for self-service visitor unlocking of a smart lock, provided as an exemplary embodiment.

[0016] Figure 3 This is a schematic diagram of the third step in an exemplary embodiment of a method for visitors to open a smart lock independently.

[0017] Figure 4 This is a schematic diagram of the structure of an electronic device provided in an exemplary embodiment.

[0018] Figure 5 This is one of the block diagrams of a smart lock visitor self-service door opening device provided in an exemplary embodiment.

[0019] Figure 6 This is a second block diagram of a smart lock visitor self-service door opening device provided in an exemplary embodiment.

[0020] Figure 7 This is a block diagram of a smart lock visitor self-service door opening device provided in an exemplary embodiment.

[0021] Figure 8 This is a schematic diagram of the structure of a smart lock visitor self-service door opening system provided in an exemplary embodiment. Detailed Implementation

[0022] The user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this manual are all information and data authorized by the user or fully authorized by all parties. Furthermore, the collection, use and processing of related data must comply with the relevant laws, regulations and standards of each region, and corresponding operation portals are provided for users to choose to authorize or refuse.

[0023] When visitors arrive but the homeowner is not home, they cannot open the door, and the visitors lack mobile communication tools for interaction, leading to situations where they cannot enter the house. This is especially true if the visitor intends to stay for an extended period and needs to frequently enter and exit. Therefore, it is crucial to have a smart lock that can identify the visitor. One technology involves using a mobile app and a video intercom between the smart lock to verify the visitor's identity, then displaying the unlocking code on the smart lock. The visitor can then use this displayed code to unlock the door. Alternatively, unlocking can be achieved through temporary password detection and facial recognition. However, this technology, which uses a pre-issued temporary password combined with facial recognition, carries the risk of password leakage and misuse by others, making effective control difficult.

[0024] In view of this, this specification proposes a method for self-service access control of smart locks for visitors. After obtaining the user's (owner's) authorization information for the visitor, the visitor can set an unlock password, and this unlock password, along with the authorization information, can be recorded in the personnel information table.

[0025] In implementation, in response to a visitor's access operation, an authorization request corresponding to the access operation is sent to the terminal; authorization information is received from the terminal, including the authorization method; if the authorization method is the first type, a password setting operation is performed to obtain the unlock password entered by the visitor and the visitor's facial information; wherein, the first type is used to instruct the authorized visitor to set the password independently; the unlock password, facial information and authorization information are bound and recorded in the personnel information table.

[0026] The above technical solution enables visitors to set their own passwords on the smart lock. Combined with facial recognition data binding, this makes unlocking more personalized and convenient. Simultaneously, relevant information is recorded in a personnel information table, facilitating unified management of visitor identities by the smart lock, enhancing security and traceability, and avoiding the problems of easily forgotten or leaked passwords associated with standardized password settings in existing technologies.

[0027] To enable those skilled in the art to better understand the technical solutions in this application, the technical solutions in this specification will be clearly and completely described below with reference to the accompanying drawings in the embodiments of this application.

[0028] Please see Figure 1 , Figure 1 This is an exemplary embodiment of a method for self-service visitor unlocking of a smart lock. The method may include the following steps:

[0029] Step S101: Receive visitor access requests.

[0030] In one implementation, when installing the first smart lock, the user (owner) can configure the first smart lock and record the personnel information table of the first smart lock. The personnel information table includes personnel information corresponding to authorized personnel. Each piece of personnel information may include one or more of the following fields: name, identity, facial information, unlock password, authorization method, authorization status, authorization validity period, authorization start / end time, user identifier, etc.

[0031] Among them, identity can be used to indicate the type of person, such as being divided into host, visitor, etc.

[0032] Facial information can include facial images or facial feature vectors.

[0033] The authorization method can be used to instruct authorized visitors which authentication method to use for unlocking, such as unlocking based on a specified temporary password or unlocking based on a password set by the visitor. The authorization method can be pre-configured or set by the user according to actual needs, for example, by selecting from a drop-down list of authorization methods. The authorization information for visitors can include one or more authorization methods.

[0034] The authorization status can be used to indicate the current authorization status, such as authorized, authorization frozen, authorization expired, etc.

[0035] The authorization validity period can be used to indicate the number of times authorization can be granted (e.g., once, multiple times) or the length of the authorization period (e.g., one day, one week). For example, if the authorization validity period is for once, it means that the visitor's authorization will expire after this unlock; if the authorization validity period is one day or one week, it means that multiple authorizations can be granted within the time period of one day or one week.

[0036] The user identifier can be the ID used by the user when using the application APP corresponding to the first smart lock on the terminal, which can be represented as APP-ID.

[0037] In one implementation, when a visitor arrives at the user's door, they can access the first smart lock. This access operation may include pressing the doorbell button on the first smart lock; it may also include attempting to enter a password or attempting to unlock the lock using facial recognition.

[0038] In step S102, the first smart lock sends an authorization request corresponding to the access operation to the terminal.

[0039] In one implementation, in response to a visitor's access operation, the first smart lock can send an authorization request corresponding to the access operation to the user's terminal to request the user to authenticate the visitor's identity and determine whether to authorize it.

[0040] In one implementation, in response to a visitor's access operation, the first smart lock can first determine whether the visitor has searched for personnel information in the personnel information table to see if there is any personnel information corresponding to the visitor. For example, it can take a picture of the visitor's face and search for facial information in the personnel information table to see if there is any facial information matching the face image; or it can search for an unlocking password in the personnel information table that is the same as the visitor's input password. If it is determined that there is no personnel information corresponding to the visitor in the personnel information table, an authorization request corresponding to the access operation can be sent to the user's terminal.

[0041] In one implementation, the first smart lock, in response to a visitor's access operation, may send an authorization request to the user's terminal after determining that the user is not at home or after a delay of a certain period of time (such as 3 seconds).

[0042] In one implementation, the form of sending the authorization request to the user's terminal can be configured according to actual needs. For example, a video image of the visitor can be captured by an image acquisition device, and a video authentication request can be sent to the user's terminal to request the user to confirm the visitor's identity through video interaction and further determine whether authorization is granted. Alternatively, a facial image of the visitor can be captured, sent to the user, and a voice access request can be initiated to request the user to confirm authorization through facial image and voice interaction. For simplicity, the following embodiments will use a video authentication request as an example for illustration.

[0043] In one implementation, the first smart lock, in response to a visitor's access operation, can send an authorization request to the user's terminal after determining that the user has left the premises.

[0044] In one implementation, the authorization request can also be used to instruct the visitor on the access action taken. For example, in response to a visitor pressing the doorbell button of the first smart lock, a first authorization request is sent to the user's terminal. The first authorization request may include: sending a video authentication request to the user and notifying the user on the terminal that a visitor has pressed the doorbell button; in response to a visitor entering a password on the first smart lock, a second authorization request is sent to the user's terminal. The second authorization request may include: sending a video authentication request to the user and notifying the user on the terminal that a visitor has entered a password.

[0045] In one implementation, after sending an authorization request to the user's terminal, if no response message is received from the user's terminal within a preset time period (e.g., 30 seconds or 1 minute), the visitor can be notified that the homeowner is not home or that no one is answering. For example, if no response message is received from the terminal within 30 seconds after sending a video authentication request, the video authentication request can be stopped, and the visitor can be notified via voice or text that "no one is answering / no one is responding." After hearing this voice or text prompt, the visitor can choose to leave or try accessing the device again.

[0046] Step S103: The terminal sends authorization information to the first smart lock, including the authorization method.

[0047] In one implementation, after receiving an authorization request, the terminal can prompt the user to perform an authorization operation. For example, it can establish a video connection with the first smart lock, allowing the user to verify the visitor's identity via video and determine whether to authorize the visitor. If authorization is denied, the terminal can send a rejection message to the first smart lock; if authorization is granted, authorization information can be sent to the first smart lock. For example, in response to the user clicking "Visitor Authorization Confirmation" on the terminal, the terminal sends authorization information to the first smart lock.

[0048] The authorization information can be pre-configured, or it can be entered or selected by the user on the terminal after confirming the visitor's identity. Specifically, the authorization information may include one or more of the following: visitor's name, visitor's identity, authorization method, authorization validity period, and authorization start / end time.

[0049] Step S104: If the authorization method is determined to be used to instruct unlocking based on the password set by the visitor, then perform the password setting operation to obtain the unlock password entered by the visitor and the visitor's facial information.

[0050] In one implementation, the first smart lock receives authorization information from the terminal. If it is determined that the authorization method of the authorization information is used to instruct the visitor to set the password independently (for example, the authorization method is "visitor self-password"), then the first smart lock can initiate the password setting operation.

[0051] The password setting operation may include: prompting visitors to enter their set unlock password via voice or text, and collecting visitors' facial information, such as facial images or facial feature vectors, via an image acquisition device.

[0052] In one implementation, the first smart lock can prompt the visitor to enter the password twice consecutively via voice or text, and determine whether the two passwords are the same; if they are different, the visitor can be prompted to re-enter the password; if they are the same, the password can be identified as the unlock password set by the visitor.

[0053] Furthermore, the password entered by the visitor can be matched with the passwords already recorded in the personnel information table to determine if it is a recorded password; if so, the visitor can be prompted that the password already exists and needs to be changed; if not, the password can be identified as the unlock password set by the visitor.

[0054] Step S105: Bind the unlock password, facial information and authorization information, and record them in the personnel information table.

[0055] In one implementation, after obtaining the visitor's unlock password and facial information through a password setting operation, the first smart lock can bind the unlock password and facial information with authorization information and record the visitor as an authorized person in the personnel information table, that is, add the visitor's personnel information to the personnel information table. The visitor's personnel information may include: name, identity (visitor or authorized visitor), facial information, unlock password set by the visitor, authorization validity period, authorization start time (e.g., the current time, or the start time specified in the authorization information), authorizing person information (such as the user identifier corresponding to the user confirming authorization), etc. From then on, within the authorization validity period, the visitor can unlock the door based on their self-set unlock password.

[0056] In one implementation, after the above information binding and personnel information recording are completed, the visitor can be prompted by voice or text that the binding is successful or the setup is complete, and the door can be unlocked directly or the visitor can be prompted to unlock the door.

[0057] The unlocking process can include password matching and / or facial matching. Password matching includes receiving the visitor's input password and matching it with the unlocking password recorded in the personnel information table (e.g., a digit-by-digit comparison method can be used). Facial matching includes capturing the visitor's facial image and matching the captured facial image with the facial information recorded in the personnel information table (e.g., calculating whether the similarity between the captured facial image and the recorded facial image exceeds a threshold, which can be set to 80% or 90%). The unlocking process can employ dual verification of password matching and facial matching. Specifically, facial matching can be performed first, followed by password matching after successful facial matching; or password matching can be performed first, followed by facial matching after successful password matching.

[0058] In one implementation, if a visitor's unlocking attempts fail a preset number of times due to password or facial recognition failures, the visitor's authorization status can be changed to authorization freeze. After authorization freeze, if the visitor wishes to unfreeze or regain authorization, they can attempt to access the first smart lock again. The first smart lock can send a re-authorization request (such as a video authentication request) to the user's terminal, for example, displaying "Re-authorize (Yes / No)" on the user's terminal, allowing the user to determine whether to unfreeze or re-authorize.

[0059] In one implementation, for visitors whose authorization is frozen, the first smart lock can delete the visitor's personnel information from the personnel information table when it is determined that the duration of the visitor's authorization freeze exceeds a preset duration threshold (e.g., one day, one week, or one month).

[0060] For example, suppose a user's pre-set personnel information table includes information about user A, who is identified as the owner. If visitor A accesses the first smart lock (e.g., presses the doorbell button), the first smart lock will send a video authentication request to user A's terminal. After user A authenticates visitor A's identity through the terminal, if user A agrees to the authorization, visitor A will enter or select the following information on the terminal: name, identity (visitor), authorization validity period, etc., and click "Visitor Self-Password". The terminal sends authorization information to the first smart lock, which may include: name, identity (visitor), authorization validity period, authorization method (visitor self-password), and authorizing person information (such as the user's corresponding user ID), etc. The first smart lock receives authorization information from the terminal and can provide voice prompts to visitor A to set a password. It then obtains the unlock password and facial information entered by visitor A. This unlock password and facial information are bound to the authorization information and recorded as visitor A's personal information in a personnel information table. Visitor A's personnel information may include: name, identity (visitor), authorization validity period, authorization method (visitor's self-set password), unlock password, facial information, and authorizing person information (such as the user's corresponding user identifier). From then on, within the authorization validity period, visitor A can unlock the door using the self-set unlock password. A specific example is as follows:

[0061] The first smart lock can first capture the facial image of visitor A and match it with the facial information of each person in the personnel information table to perform facial matching; if visitor A is successfully identified and his / her identity is confirmed as an authorized visitor, it can prompt "Please enter the password" with voice or text to prompt visitor A to enter the password on the first smart lock; the first smart lock will match the detected entered password with the unlock password in visitor A's personnel information, and can unlock the door after the password match is successful.

[0062] If visitor A's face is successfully matched but the password fails, the first smart lock can prompt "Please re-enter the password" via voice or text to prompt visitor A to re-enter the password; if the first smart lock successfully matches the new password, it will unlock the door; if multiple password attempts fail and the number of failures reaches a preset unlocking failure threshold (e.g., 3 times), visitor A's authorization status can be changed to authorization frozen, and "Authorization frozen" can be prompted via voice or text.

[0063] If visitor A first enters a password on the first smart lock, the first smart lock can first match the detected entered password with the unlock password recorded in the personnel information table. After a successful match, the lock can prompt visitor A to cooperate with facial recognition via voice or text (such as "Please look at the camera"), and then match the captured facial image with the facial information in visitor A's personnel information. If the match fails, the lock can prompt the visitor with "Verification failed" via voice or text, and can ask the visitor to re-capture the facial image and / or re-enter the password. Similarly, if the number of verification failures reaches a preset threshold for the number of unlock failures, the lock can change visitor A's authorization status to authorization frozen, and prompt "Authorization frozen" via voice or text.

[0064] In the above embodiments, the visitor's self-set password function on the smart lock is realized. Combined with facial recognition information binding, visitor unlocking becomes more personalized and convenient. At the same time, relevant information is recorded in the personnel information table, which facilitates unified management of visitor identities by the smart lock, enhancing security and traceability, and avoiding the problems of easily forgotten and leaked unified passwords in existing technologies.

[0065] In one implementation, since the smart lock may have multiple users (owners), in step S101, when sending an authorization request corresponding to the access operation to the user's terminal, the authorization request can be sent to the terminals of multiple users simultaneously, or the authorization request can be sent to the terminals of each user in turn based on the priority of each user, until a response is received.

[0066] In one implementation, in response to a visitor's access operation, the first smart lock can search for a user identified as the owner from a personnel information table. If multiple users are identified as owners, they can be sorted according to their priority. Then, based on the user identifier in the user information, an authorization request corresponding to the access operation is first sent to the terminal of the first user with the highest priority. If it is determined that the first user's terminal does not respond to the authorization request, an authorization request is sent to the terminal of the second user with a lower priority than the first user. If it is determined that the second user's terminal does not respond to the authorization request, and there is a third user, an authorization request is sent to the terminal of the third user, and so on, until a response is received or until authorization requests are sent to all users.

[0067] For example, suppose the personnel information table includes information on user A and user B, where user A is the first owner and user B is the second owner, with the first owner having higher priority than the second owner. In response to visitor A's access, the first smart lock can determine the user identifier corresponding to user A (the first owner) from the personnel information table and send a video authentication request to user A's terminal. If user A responds to the video authentication request within 30 seconds, user A performs video authentication on visitor A to confirm authorization. If user A's terminal does not respond to the video authentication request within 30 seconds, the video authentication request is interrupted, and a video authentication request is sent to user B's terminal (the second owner), who then performs video authentication on visitor A to determine authorization.

[0068] In the above embodiments, authorization requests are sent to users sequentially based on priority, optimizing the distribution logic of authorization requests, avoiding process interruption caused by the unavailability of a single user, ensuring that visitors can still complete authorization through secondary users when no one responds, improving the robustness of the system and user experience, and also avoiding conflicts and anomalies caused by receiving authorization information from multiple users.

[0069] In one implementation, the first smart lock can periodically or in real time monitor the authorization validity period of each visitor in the personnel information table. If it detects that the authorization validity period has expired or is about to expire (for example, the authorization validity period has one day or half a day left), it can proactively send the visitor's authorization expiration information to the user's terminal, so that the user can determine through the terminal whether the authorization of the visitor needs to be extended. The authorization expiration information may include all or part of the visitor's personnel information, such as name, facial image, original authorization validity period, original authorization start / end time, etc. If a user chooses to extend their authorization via the terminal, the terminal can send an extension confirmation message or new authorization information to the first smart lock. The extension confirmation message or new authorization information may include a new authorization validity period, a new authorization start / end time, etc. The first smart lock can update the authorization validity period and authorization start / end time of the visitor in the personnel information table based on the received extension confirmation message or new authorization information. If the user decides not to extend, they can send a waiver of extension message to the first smart lock. After receiving the waiver of extension message, the first smart lock can change the visitor's authorization status to expired or change the visitor's identity to unauthorized visitor after determining that the authorization validity period has expired, and can also delete the visitor's personnel information from the personnel information table.

[0070] For example, the first smart lock periodically checks whether the authorization validity period of visitors has expired. If it detects that the authorization validity period of visitors B and C has expired, it can send the expiration information of visitors B and C (including the names, facial images, authorization validity period, and authorization termination time) to the user's terminal. The user can choose whether to extend the authorization or not on the terminal. If extension is selected for visitor C, a new authorization validity period (e.g., once, one day, one week, etc.) can be selected on the terminal, and "Visitor Authorization Confirmation" can be clicked to send an extension confirmation message to the first smart lock. If no extension is selected for visitor B, the user can click "Cancel Extension" on the terminal to send a cancel extension message to the first smart lock. The first smart lock can receive the extension confirmation message for C (e.g., one week extension) and modify the authorization validity period (e.g., one week) and authorization start time of visitor C to the current clock based on the extension confirmation message. At this point, visitor C can unlock the door within the new authorization validity period. In addition, the first smart lock can receive a message from visitor B that indicates the cancellation of the extension, changing visitor B's identity to an unauthorized visitor; at this point, visitor B loses authorization and will be unable to open the door through the unlocking operation.

[0071] In one implementation, when the first smart lock detects that a visitor's authorization validity period has expired, it can change the visitor's authorization status to expired.

[0072] In one implementation, in response to a visitor's unlocking operation, the first smart lock can determine whether the visitor exists in the personnel information table by matching a password and / or a face; if the visitor exists, it can check the visitor's authorization validity period and authorization status; if the authorization validity period has expired or the authorization status is "authorization expired", it can prompt the visitor with "authorization expired" via voice or text.

[0073] If a visitor wishes to extend or re-authorize their authorization after the authorization expires, they can re-access the smart lock. The smart lock can send an authorization extension request or a new authorization request (such as a video authentication request) to the user's terminal. Specifically, the user's terminal can display "Extend Authorization (Yes / No)" for the user to decide whether to extend or re-authorize.

[0074] In one implementation, for visitors whose authorization has expired, the first smart lock can delete the visitor's information from the personnel information table when it is determined that the visitor's authorization has expired for a period exceeding a preset time threshold (e.g., one day, one week, or one month).

[0075] For example, visitor B attempts to unlock the first smart lock. The first smart lock can first capture visitor B's facial image and match it with facial information from various people in the personnel information table for facial recognition. If visitor B is successfully identified and confirmed as an authorized visitor, visitor B is prompted to enter a password on the first smart lock. The first smart lock then matches the entered password with the unlock password in visitor B's personnel information. After a successful password match, it checks whether visitor B's authorization has expired. If expired, it can verbally prompt the user "Authorization expired" and suggest that visitor B re-authorize.

[0076] In the above embodiments, when an expired authorization is detected, the terminal is proactively notified to extend or unbind the authorization. Through dynamic monitoring and reminders, intelligent management of the permission lifecycle is achieved, preventing expired authorizations from being maliciously exploited, while reducing manual maintenance costs and improving system security.

[0077] Please see Figure 2 , Figure 2 This is an exemplary embodiment providing a method for self-service visitor unlocking of a smart lock. Figure 1 After steps S101-S103, the method may include the following steps:

[0078] Step S114: If the authorization method is determined to be used to instruct unlocking based on the authentication of the second smart lock corresponding to the visitor, then send an authentication request to the second smart lock so that the second smart lock can verify the visitor's input password and facial information.

[0079] In one implementation, the second smart lock can be the visitor's own door lock.

[0080] In one implementation, a visitor can access the first smart lock by entering a password and / or pressing the doorbell button on the first smart lock; wherein the password entered by the visitor can be an unlock password set on the second smart lock. In response to the visitor's access operation, the first smart lock can send an authorization request corresponding to the access operation to the user's terminal. Upon receiving a video authentication request, the user can establish a video connection with the first smart lock via the terminal, verify the visitor's identity through the video, and determine whether to authorize the visitor. If authorization is granted, authorization information can be sent to the first smart lock via the terminal; wherein the authorization information includes an authorization method that can instruct unlocking based on authentication by the second smart lock corresponding to the visitor (e.g., the authorization method is "visitor's own door lock authentication").

[0081] In one implementation, the first smart lock receives authorization information from the terminal. If it is determined that the authorization method of the authorization information is used to unlock the device based on the authentication of the second smart lock corresponding to the visitor, the first smart lock can obtain the visitor's input password and facial image from the first smart lock and send an authentication request to the second smart lock so that the second smart lock can authenticate the visitor's input password and facial image.

[0082] The authentication request may include: the visitor's input password and / or facial image, as well as the first IP address and door lock identifier corresponding to the first smart lock.

[0083] Step S115: Receive the authentication result from the second smart lock and determine whether to unlock based on the authentication result.

[0084] In one implementation, the second smart lock receives an authentication request from the first smart lock. Based on the input password and facial image included in the authentication request, it performs password matching and facial matching with the unlock password and facial information in the personnel information table of the second smart lock, respectively. If the password matching fails or the facial matching fails, it can send an authentication failure message to the first smart lock. If both the password matching and facial matching are successful, it can send an authentication success message to the first smart lock.

[0085] In one implementation, the first smart lock receives the authentication result for the visitor from the second smart lock; if the authentication result is authentication failure, the first smart lock can prompt the visitor with "incorrect password" or "cannot be recognized" via voice or text, so that the visitor can re-enter the password; if the authentication result is authentication success, the door can be unlocked.

[0086] Step S116: Bind the facial information and the information of the second smart lock, and record them in the personnel information table.

[0087] In one implementation, the first smart lock can bind the visitor's facial information and the information of the second smart lock, recording the visitor's personnel information in a personnel information table. This personnel information can include: name, identity (visitor), facial information, authorization method (visitor's own door lock authentication), authorization validity period, authorizing person information (such as the user's corresponding user identifier), and information of the second smart lock (such as IP address, door lock ID), etc. Compared to authorization method "visitor's self-password," the personnel information of a visitor using "visitor's own door lock authentication" may not include an unlock password or may have an empty unlock password. From then on, within the authorization validity period, the visitor can unlock the door using the unlock password set on the second smart lock.

[0088] In the above embodiment, the visitor's identity is verified by sending an authentication request to the second smart lock and verifying the password's validity, thus omitting the password setting process. Through cross-device collaborative verification, it is ensured that the password entered by the visitor comes from a legitimate door lock (such as their own door lock), preventing other people from impersonating the password and improving confidentiality.

[0089] In one implementation, in step S114, the first smart lock can broadcast an authentication request to all smart locks within a preset area. Each smart lock will match the entered password and facial image against a recorded personnel information table; if the match fails, the authentication request can be ignored or an authentication failure message can be unicast to the first smart lock based on the first IP address; if the match succeeds, an authentication success message can be unicast to the first smart lock based on the first IP address.

[0090] In one implementation, in step S114, before sending an authentication request to the second smart lock, the first smart lock can first determine relevant information about the second smart lock, such as the second IP address corresponding to the second smart lock and the door lock ID. The authentication request can be unicasted to the second smart lock based on the second IP address. The relevant information about the second smart lock can be input by the visitor or user, or it can be obtained based on the visitor's user ID.

[0091] Please see Figure 3 , Figure 3 This is an exemplary embodiment of a method for self-service visitor access to a smart lock. Step S114 may include steps S1141-S1143.

[0092] Step S1141: If the authorization method is determined to be used to instruct unlocking based on the authentication of the second smart lock corresponding to the visitor, then a door lock confirmation request for determining the second smart lock is broadcast. The door lock confirmation request includes the visitor's face image or face feature vector.

[0093] In one implementation, the first smart lock receives authorization information from the terminal. If it is determined that the authorization method of the authorization information is used to instruct unlocking based on the authentication of the second smart lock corresponding to the visitor (e.g., "visitor's own door lock authentication"), the first smart lock can collect the visitor's facial image and send a smart lock confirmation request to the smart locks within a preset area. The door lock confirmation request may include: a facial image or a facial feature vector extracted from the facial image, as well as a first IP address and door lock ID corresponding to the first smart lock.

[0094] In one implementation, the preset area range for the first smart lock's broadcast can be set according to actual needs. For example, it can be the residential area, community, or city where the first smart lock is located, or it can be a list of smart locks that the user sets to allow "visitor home lock authentication".

[0095] In one implementation, after receiving a door lock confirmation request, each smart lock can perform a face matching between the face image or face feature vector in the door lock confirmation request and the face information in the personnel information table of the smart lock; if the matching is unsuccessful, the message can be ignored or a failure to match message can be unicast to the first smart lock based on the first IP address; if the matching is successful, a confirmation message can be unicast to the first smart lock based on the first IP address.

[0096] Step S1142: Receive a confirmation message from the second smart lock corresponding to the visitor.

[0097] In one implementation, for the second smart lock corresponding to the visitor, the second smart lock can successfully match the visitor from the personnel information table and send a confirmation message to the first smart lock based on the first IP address. The confirmation message may include the second IP address and door lock ID corresponding to the second smart lock, as well as the visitor's facial information.

[0098] In one implementation, after receiving a confirmation message from the second smart lock, the first smart lock can record the personnel information corresponding to the visitor in the personnel information table. The personnel information may include: name, identity (visitor), facial information, authorization method (visitor's own door lock authentication), authorization validity period, authorizing person information (such as the user's corresponding user identifier), and information of the second smart lock (such as IP address, door lock identifier ID), etc.

[0099] Step S1143: Send an authentication request to the second smart lock. The authentication request includes entering a password.

[0100] In one implementation, after receiving a confirmation message from the second smart lock, the first smart lock can unicast an authentication request to the second smart lock based on the second IP address. The authentication request may include the password entered by the visitor during the visitor's operation.

[0101] In one implementation, after receiving a confirmation message from the second smart lock, the user can be prompted to enter a password via voice or text; in response to receiving the user's entered password, an authentication request containing the entered password is unicast to the second smart lock based on the second IP address.

[0102] In one implementation, the second smart lock receives an authentication request and matches the entered password with the visitor's unlock password. If the match fails, it unicasts an authentication failure message to the first smart lock based on the first IP address. If the match succeeds, it unicasts an authentication success message to the first smart lock based on the first IP address.

[0103] In one implementation, the first smart lock receives the authentication result for the visitor from the second smart lock; if the authentication result is authentication failure, the first smart lock can prompt the visitor with "Incorrect password" via voice or text, so that the visitor can re-enter the password; if the authentication result is authentication success, the door can be unlocked.

[0104] For example, visitor D enters the unlock password for the second smart lock corresponding to visitor D on the first smart lock and presses the doorbell button on the first smart lock. The first smart lock can obtain visitor D's entered password and capture visitor D's facial image. Based on the entered password and facial image, it performs password matching and facial matching in the recorded personnel information table. At this time, since there is no personnel information matching visitor D in the personnel information table, both password matching and facial matching fail. In response to visitor D entering the password on the first smart lock and pressing the doorbell button, the first smart lock can send a third authorization request to the terminal. The third authorization request may include: sending a video authentication request to the user and prompting the user on the terminal that a visitor has entered a password and pressed the doorbell button.

[0105] The terminal responds to the user's confirmation of the video authentication request and establishes a video connection with the first smart lock. The user verifies the visitor's identity via video and enters the following information into the terminal for visitor D: name, identity, authorization validity period (one-time, one day, one week, etc.), and clicks the "Visitor's Home Lock Authentication" button. The terminal sends authorization information to the user, including: name, identity (visitor), authorization method (visitor's home lock authentication), authorization validity period, and authorizing person information (such as the user's corresponding user identifier).

[0106] Upon receiving the authorization information, if the authorization method is determined to be "visitor's own door lock authentication", the first smart lock collects the face image of visitor D and broadcasts a door lock confirmation request to each smart lock within a preset area. The door lock confirmation request includes: the face image of visitor D or the face feature vector extracted from the face image, and the first IP address corresponding to the first smart lock.

[0107] The second smart lock corresponding to visitor D receives the door lock confirmation request and matches the face image with the face information in the recorded personnel information table. After matching visitor D, the second smart lock unicasts a confirmation message to the first smart lock based on the first IP address. The confirmation message may include: the second IP address and door lock ID corresponding to the second smart lock, as well as the visitor's face information.

[0108] The first smart lock receives the confirmation message and unicasts an authentication request to the second smart lock based on the second IP address. The authentication request includes the visitor's input password. Additionally, the first smart lock can record the visitor's information in a personnel information table. This information may include: name, identity (visitor), facial recognition data, authorization method (visitor's own door lock authentication), authorization validity period, authorizing person information (such as the user's corresponding user identifier), and information about the second smart lock (such as IP address and door lock ID).

[0109] The second smart lock receives the authentication request and matches the entered password with the unlock password of visitor D in the personnel information table. If the match is successful, it sends an authentication success message to the first smart lock via unicast based on the first IP address. If the match fails, it sends an authentication failure message to the first smart lock.

[0110] Upon receiving a successful authentication message, the first smart lock unlocks the door. Upon receiving a failed authentication message, it prompts visitor D via voice to re-enter the password and sends another authentication request to the second smart lock based on the newly entered password. If the number of failed authentication attempts reaches a preset threshold, the authorization can be frozen.

[0111] Since visitor D's information has already been recorded in the personnel information table, visitor D can subsequently unlock the door by performing an unlocking operation on the first smart lock. The first smart lock can first capture visitor D's facial image and match it with the facial information in the personnel information table to perform facial matching; if visitor D is successfully identified and his / her identity is confirmed as an authorized visitor, visitor D is prompted to enter a password on the first smart lock; the first smart lock sends the detected entered password to the second smart lock through an authentication request, and the second smart lock matches the entered password; if it receives a successful authentication message from the second smart lock, the door is unlocked.

[0112] In the above embodiments, the target device is accurately located by broadcasting the visitor's facial image or facial feature vector and unicasting an authentication request after receiving a confirmation message from the second smart lock. This combination of broadcast and unicast communication mechanisms reduces redundant network transmission, improves the efficiency and accuracy of cross-lock verification, and avoids the risk of password leakage caused by broadcasting plaintext passwords.

[0113] Figure 4 This is a schematic structural diagram of an electronic device provided in an exemplary embodiment. Please refer to... Figure 4At the hardware level, the device includes a processor 402, an internal bus 404, a network interface 406, memory 408, and non-volatile memory 410, and may also include other hardware required for its functions. One or more embodiments of this specification can be implemented in software, for example, the processor 402 reads the corresponding computer program from the non-volatile memory 410 into memory 408 and then runs it. Of course, in addition to software implementation, one or more embodiments of this specification do not exclude other implementation methods, such as logic devices or a combination of hardware and software, etc. That is to say, the execution subject of the following processing flow is not limited to each logic unit, but can also be hardware or logic devices.

[0114] Please refer to Figure 5 The smart lock visitor self-service door opening device corresponding to the first smart lock can be applied to, for example... Figure 4 The device shown implements the technical solution of this specification. The smart lock visitor self-service door opening device may include: an information sending module 501 for responding to a visitor's access operation by sending an authorization request corresponding to the access operation to a terminal; an information receiving module 502 for receiving authorization information from the terminal, the authorization information including an authorization method; a password setting module 503 for performing a password setting operation if it is determined that the authorization method is used to instruct unlocking based on a password set by the visitor, thereby obtaining the unlock password entered by the visitor and the visitor's facial information; and an information recording module 504 for binding the unlock password, the facial information, and the authorization information, and recording them in a personnel information table.

[0115] In one embodiment, the information sending module 501 is further configured to, if it is determined that the authorization method is used to instruct unlocking based on the authentication of the second smart lock corresponding to the visitor, send an authentication request to the second smart lock so that the second smart lock can verify the visitor's input password and facial image; the information receiving module 502 is further configured to receive the authentication result from the second smart lock and determine whether to unlock based on the authentication result; the information recording module 504 is further configured to bind the facial information and the information of the second smart lock and record it in the personnel information table.

[0116] In one embodiment, the information sending module 501 is configured to broadcast a door lock confirmation request for determining the second smart lock if it is determined that the authorization method is used to indicate unlocking based on authentication of the second smart lock corresponding to the visitor. The door lock confirmation request includes the visitor's facial image. The information receiving module 502 is configured to receive a confirmation message from the second smart lock corresponding to the visitor. The information sending module 501 is configured to send an authentication request to the second smart lock, the authentication request including the input password.

[0117] In one implementation, the access operation includes: entering a password and pressing the doorbell button.

[0118] In one embodiment, the information sending module 501 is used to send an authorization request corresponding to the access operation to the terminal of the first user; if it is determined that the terminal of the first user does not respond to the authorization request, the authorization request is sent to the terminal of the second user; wherein, the first user has a higher priority than the second user.

[0119] In one embodiment, the authorization information further includes an authorization validity period; the information sending module 501 is also used to periodically monitor the authorization validity period of the visitor; if it is determined that the authorization validity period of the visitor has expired, the information of the expired authorization of the visitor is sent to the terminal.

[0120] Please refer to Figure 6 The smart lock visitor self-service door opening device corresponding to the terminal can be applied to, for example... Figure 4 The device shown implements the technical solution of this specification. The smart lock visitor self-service door opening device may include: a request receiving module 601 for receiving an authorization request corresponding to a visitor's access operation from a first smart lock; and an authorization confirmation module 602 for sending the authorization information to the first smart lock in response to the user's input of authorization information; wherein the authorization information includes an authorization method; the authorization method is used to instruct unlocking based on a password set by the visitor, or to instruct unlocking based on authentication by a second smart lock corresponding to the visitor.

[0121] Please refer to Figure 7 The smart lock visitor self-service door opening device corresponding to the second smart lock can be applied to, for example... Figure 4 The device shown implements the technical solution of this specification. The smart lock visitor self-service door opening device may include: a request receiving module 701, used to, in response to receiving an authentication request from a first smart lock, match the visitor's facial image and input password obtained by the first smart lock against the personnel information table of a second smart lock; and a result sending module 702, used to send an authentication result to the first smart lock based on the matching result.

[0122] In one embodiment, the request receiving module 701 is further configured to receive a door lock confirmation request from the first smart lock, the door lock confirmation request including a visitor's facial image; the result sending module 702 is further configured to match the facial image with facial information in the personnel information table recorded by the second smart lock; if the match is successful, a confirmation message is sent to the first smart lock; the request receiving module 701 is further configured to receive an authentication request from the first smart lock, the authentication request including the visitor's input password; the result sending module 702 is further configured to match the input password with the visitor's unlock password in the personnel information table.

[0123] Please refer to Figure 8 A smart lock visitor self-service door opening system may include: a first smart lock 801 and a terminal 802; wherein, the first smart lock 801 is used to implement the steps of the method described above; the terminal is used to implement the steps of the method described above. For example, the first smart lock 801 is used to send an authorization request corresponding to the visitor's access operation to the terminal 802 in response to the visitor's access operation; the terminal 802 is used to send authorization information to the first smart lock 801 in response to the user's input operation of authorization information, the authorization information including the authorization method; the first smart lock 801 is also used to perform a password setting operation if it is determined that the authorization method is used to instruct unlocking based on a password set by the visitor, so as to obtain the unlock password entered by the visitor and the visitor's facial information; and bind the unlock password, the facial information and the authorization information and record them in a personnel information table.

[0124] In one embodiment, the smart lock visitor self-service door opening system may further include: a second smart lock; wherein the second smart lock can implement the steps of the method described above. For example, in response to receiving an authentication request from the first smart lock, the second smart lock matches the visitor's facial image and input password obtained by the first smart lock in the personnel information table of the second smart lock; and sends an authentication result to the first smart lock based on the matching result.

[0125] Based on the same concept as the methods described above, this specification also provides an electronic device, including: a processor; a memory for storing processor-executable instructions; wherein the processor performs the steps of the method as described in any of the above embodiments by executing the executable instructions.

[0126] Based on the same concept as the methods described above, this specification also provides a computer-readable storage medium having computer instructions stored thereon that, when executed by a processor, implement the steps of the methods as described in any of the above embodiments.

[0127] Based on the same concept as the methods described above, this specification also provides a computer program product, including a computer program / instructions that, when executed by a processor, implement the steps of the methods as described in any of the above embodiments.

Claims

1. A method for self-service visitor unlocking of a smart lock, characterized in that, Applied to a first smart lock, the method includes: In response to a visitor's access operation, an authorization request corresponding to the access operation is sent to the terminal; Receive authorization information from the terminal, the authorization information including the authorization method; If it is determined that the authorization method is used to instruct unlocking based on a password set by the visitor, then the password setting operation is performed to obtain the unlock password entered by the visitor and the visitor's facial image; The unlock password, the facial image, and the authorization information are bound together and recorded in the personnel information table; The method further includes: if it is determined that the authorization method is used to instruct unlocking based on authentication of a second smart lock corresponding to the visitor, then broadcasting a door lock confirmation request for determining the second smart lock, the door lock confirmation request including a facial image of the visitor; receiving a confirmation message from the second smart lock corresponding to the visitor; sending an authentication request to the second smart lock so that the second smart lock can verify the visitor's input password and facial image; the authentication request including the input password; Receive the authentication result from the second smart lock, and determine whether to unlock based on the authentication result; The facial image is bound to the information of the second smart lock and recorded in the personnel information table.

2. The method according to claim 1, characterized in that, The access operation includes: entering a password and pressing the doorbell button.

3. The method according to any one of claims 1-2, characterized in that, Sending the authorization request corresponding to the access operation to the terminal includes: Send an authorization request corresponding to the access operation to the first user's terminal; If it is determined that the first user's terminal does not respond to the authorization request, then the authorization request is sent to the second user's terminal; wherein the first user's priority is higher than that of the second user.

4. The method according to claim 3, characterized in that, The authorization information also includes an authorization validity period; the method further includes: The validity period of the visitor's authorization should be monitored periodically; If it is determined that the visitor's authorization has expired, then the visitor's authorization expiration information is sent to the terminal.

5. A method for self-service visitor unlocking of a smart lock, characterized in that, Applied to a terminal, the method includes: The authorization request received from the first smart lock corresponding to the visitor's access operation; In response to a user's input of authorization information, the first smart lock sends the authorization information to the first smart lock. This authorization information includes two authorization methods: one instructing unlocking based on a password set by the visitor, and the other instructing unlocking based on authentication by the second smart lock corresponding to the visitor. If the authorization method is determined to instruct unlocking based on authentication by the second smart lock corresponding to the visitor, the first smart lock broadcasts a door lock confirmation request to confirm the second smart lock, the door lock confirmation request including the visitor's facial image. It receives a confirmation message from the second smart lock corresponding to the visitor; sends an authentication request to the second smart lock to verify the visitor's input password and facial image; the authentication request includes the input password; the first smart lock receives the authentication result from the second smart lock and determines whether to unlock based on the authentication result; and binds the facial image and the information of the second smart lock, recording it in a personnel information table.

6. A method for self-service visitor unlocking of a smart lock, characterized in that, The method, applied to a second smart lock corresponding to a visitor, includes: In response to receiving an authentication request from the first smart lock, the facial image of the visitor obtained by the first smart lock and the input password are matched against the personnel information table of the second smart lock; the authentication request includes the input password; Based on the matching result, an authentication result is sent to the first smart lock so that the first smart lock can determine whether to unlock based on the authentication result; and the face image and the information of the second smart lock are bound and recorded in the personnel information table; The step of responding to receiving an authentication request from the first smart lock by matching the visitor's facial image and input password obtained by the first smart lock against the personnel information table of the second smart lock includes: Receive a door lock confirmation request from the first smart lock, the door lock confirmation request including the visitor's facial image; The face image is matched with the face images in the personnel information table recorded by the second smart lock; if the match is successful, a confirmation message is sent to the first smart lock. Receive an authentication request from the first smart lock, the authentication request including the visitor's input password; The input password is matched with the visitor's unlock password in the personnel information table.

7. A smart lock visitor self-service door opening system, characterized in that, The system includes: a first smart lock, a terminal, and a second smart lock; wherein the first smart lock is used to implement the steps of the method as described in any one of claims 1-4; and the terminal is used to implement the steps of the method as described in claim 5. The second smart lock is used to implement the steps of the method as described in claim 6.

8. An electronic device, characterized in that, include: processor; A memory for storing processor-executable instructions; wherein the processor implements the steps of the method as described in any one of claims 1-6 by executing the executable instructions.

9. A computer-readable storage medium, characterized in that, It stores computer instructions that, when executed by a processor, implement the steps of the method as described in any one of claims 1-6.

10. A computer program product, characterized in that, Includes a computer program / instructions that, when executed by a processor, implement the steps of the method as described in any one of claims 1-6.

Citation Information

Patent Citations

  • Method and device for sharing control authorities of intelligent lock

    CN109191649A

  • Method for intelligently registering community visitor

    CN109741498A

  • Password storage method of intelligent lock

    CN110517377A

  • Password generation method, device and system and electronic equipment

    CN114821860A