Intelligent lock visitor self-service door opening method and system
By setting the unlocking password independently and binding it to facial information, the problem of password leakage and management in the existing smart lock technology is solved, and the personalized and convenient unlocking process for visitors is realized, and security and traceability are improved.
Patent Information
- Application Number
- CN202510655888.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-21
- Publication Date
- 2025-06-20
- Estimated Expiration
- 2045-05-21
AI Technical Summary
The existing smart lock technology has problems such as password leakage and inconvenience in the process of guest identity binding and unlocking, especially when visitors need to frequently enter and exit.
The visitors set the unlock password independently, bind the password with face information, and record it in the personnel information table to realize the personalized unlocking of the visitors.
It improves the convenience and security of visitors' unlocking, avoids the problem of being easily forgotten and leaked by setting passwords in a unified manner, and enhances the management and traceability of smart locks for visitors' identities.
Smart Images

Figure CN120183069A_ABST
Abstract
Description
Technical Field
[0001] One or more embodiments of this specification relate to the technical field of intelligent locks, and in particular, to a method and system for self-service door opening for visitors of an intelligent lock. Background Art
[0002] When a visitor comes to visit and the host is not at home and cannot open the door for the visitor, and the visitor does not have a mobile communication tool for interaction, it will cause the phenomenon that the visitor cannot enter the house. Especially when the visitor needs to stay for a period of time and needs to go in and out frequently, how to bind the identity of the intelligent lock for the visitor becomes particularly important.
[0003] In the related art, the identity of the visitor can be confirmed through visual intercom between the mobile phone APP and the intelligent lock, and the unlocking password is shown to the visitor on the intelligent lock. The visitor unlocks and opens the door using the password displayed on the intelligent lock; or it can also be unlocked by detecting the unlocking of a temporary password and face matching.
[0004] The related art uses the form of sending or pre-giving a temporary password and combines it with face recognition to unlock and open the door. This password has the risk of leakage and being used by others, and cannot be effectively controlled. Summary of the Invention
[0005] In view of this, one or more embodiments of this specification provide the following technical solutions: According to the first aspect of one or more embodiments of this specification, a method for self-service door opening for visitors of an intelligent lock is proposed, which is applied to a first intelligent lock. The method includes: responding to a visitor's access operation, sending an authorization request corresponding to the access operation to a terminal; receiving authorization information from the terminal, where the authorization information includes an authorization method; if it is determined that the authorization method is used to indicate unlocking based on a password set by the visitor independently, performing a password setting operation to obtain the unlocking password input by the visitor and the face information of the visitor; binding the unlocking password, the face information, and the authorization information, and recording them in a personnel information table.
[0006] According to the second aspect of one or more embodiments of this specification, a method for self-service door opening for visitors of an intelligent lock is proposed, which is applied to a terminal. The method includes: receiving an authorization request corresponding to a visitor's access operation from a first intelligent lock; responding to a user's input operation on the authorization information, and sending the authorization information to the first intelligent lock; where the authorization information includes an authorization method; the authorization method is used to indicate unlocking based on a password set by the visitor independently, or is used to indicate authentication based on a second intelligent lock corresponding to the visitor.
[0007] According to a third aspect of one or more embodiments of this specification, a method for self-service door opening by visitors of an intelligent lock is proposed, which is applied to a second intelligent lock. The method includes: in response to receiving an authentication request from a first intelligent lock, matching the face image and input password of the visitor obtained by the first intelligent lock in the personnel information table of the second intelligent lock; and sending an authentication result to the first intelligent lock based on the matching result.
[0008] According to a fourth aspect of one or more embodiments of this specification, a self-service door opening system for visitors of an intelligent lock is proposed. The system includes: a first intelligent lock and a terminal; wherein, the first intelligent lock is used to implement the steps of the method as described in the first aspect; the terminal is used to implement the steps of the method as described in the second aspect.
[0009] According to a fifth aspect of one or more embodiments of this specification, an electronic device is proposed, including: a processor; a memory for storing processor-executable instructions; wherein, the processor runs the executable instructions to implement the steps of the method as described in the first aspect, the second aspect, or the third aspect.
[0010] According to a sixth aspect of one or more embodiments of this specification, a computer-readable storage medium is proposed, on which computer instructions are stored, and when the instructions are executed by a processor, the steps of the method as described in the first aspect, the second aspect, or the third aspect are implemented.
[0011] According to a seventh aspect of one or more embodiments of this specification, a computer program product is proposed, including a computer program / instructions, and when the computer program / instructions are executed by a processor, the steps of the method as described in the first aspect, the second aspect, or the third aspect are implemented.
[0012] As can be seen from the above embodiments, this specification realizes the function of self-setting passwords by visitors on the intelligent lock. Combined with the binding of face information, it makes the unlocking of visitors more personalized and convenient. At the same time, relevant information is recorded in the personnel information table, which is convenient for the intelligent lock to uniformly manage the identities of visitors, enhances security and traceability, and avoids the problems of easy forgetting and easy leakage of uniformly set passwords in the prior art. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] Figure 1 is one of the schematic flowcharts of a method for self-service door opening by visitors of an intelligent lock provided by an exemplary embodiment.
[0014] Figure 2 is the second of the schematic flowcharts of a method for self-service door opening by visitors of an intelligent lock provided by an exemplary embodiment.
[0015] Figure 3 is the third of the schematic flowcharts of a method for self-service door opening by visitors of an intelligent lock provided by an exemplary embodiment.
[0016] Figure 4 It is a schematic structural diagram of an electronic device provided by an exemplary embodiment.
[0017] Figure 5 It is one of the block diagrams of a self-service door-opening device for visitors of an intelligent lock provided by an exemplary embodiment.
[0018] Figure 6 It is the second block diagram of a self-service door-opening device for visitors of an intelligent lock provided by an exemplary embodiment.
[0019] Figure 7 It is the third block diagram of a self-service door-opening device for visitors of an intelligent lock provided by an exemplary embodiment.
[0020] Figure 8 It is a schematic structural diagram of a self-service door-opening system for visitors of an intelligent lock provided by an exemplary embodiment. Detailed implementation manners
[0021] The user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc.) involved in this specification are all information and data that have been authorized by the user or fully authorized by all parties. And the collection, use, and processing of relevant data need to comply with relevant laws, regulations, and standards in each region, and corresponding operation entrances are provided for users to choose to authorize or refuse.
[0022] When a visitor comes to visit and the host is not at home and cannot open the door for the visitor, and the visitor has no mobile communication tool for interaction, it will cause the phenomenon that the visitor cannot enter the house. Especially when the visitor needs to stay for a period of time and needs to come in and out frequently, how to bind the identity of the intelligent lock for the visitor becomes particularly important. In the related art, the identity of the visitor can be confirmed through the visual intercom between the mobile phone APP and the intelligent lock, and the unlocking password is shown to the visitor on the intelligent lock. The visitor unlocks and opens the door using the password displayed on the intelligent lock; or it can also be unlocked by detecting the temporary password unlocking and face matching. The related art uses the form of sending or pre-giving a temporary password and combines it with face recognition to unlock and open the door. This password has the risk of leakage and being used by others, and cannot be effectively controlled.
[0023] In view of this, this specification proposes a method for self-service door-opening of an intelligent lock for visitors. After obtaining the authorization information of the user (host) for the visitor, the visitor can set the unlocking password, and bind the unlocking password with the authorization information and record it in the personnel information table.
[0024] During 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, and the authorization information includes an authorization method; if the authorization method is of the first type, a password setting operation is performed to obtain the unlock password entered by the visitor and the face information of the visitor; wherein, the first type is used to indicate that the visitor is authorized to set the password independently; the unlock password, face information, and authorization information are bound and recorded in the personnel information table.
[0025] In the above technical solution, the function of independent password setting by visitors on the intelligent lock is realized. Combined with face information binding, it makes the unlocking of visitors more personalized and convenient. At the same time, the relevant information is recorded in the personnel information table, which is convenient for the intelligent lock to uniformly manage the identities of visitors, enhances security and traceability, and avoids the problems of easy forgetting and leakage of uniformly set passwords in the prior art.
[0026] In order 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 in conjunction with the accompanying drawings in the embodiments of this application.
[0027] Please refer to Figure 1 , Figure 1 which is a method for self-service door opening by visitors of an intelligent lock provided by an exemplary embodiment. The method may include the following steps: Step S101: Receive the access operation of the visitor.
[0028] In one implementation, when the user (owner) installs the first intelligent lock, the first intelligent lock can be set, and the personnel information table of the first intelligent lock is recorded. The personnel information table includes the personnel information corresponding to the authorized personnel. Each personnel information may include one or more of the following fields: name, identity, face information, unlock password, authorization method, authorization status, authorization validity period, authorization start / end time, user identification, etc.
[0029] Among them, the identity can be used to represent the type of personnel. For example, it can be divided into the owner, visitor, etc.
[0030] Among them, the face information may include a face image or a face feature vector, etc.
[0031] Among them, the authorization method can be used to indicate what authentication method the authorized visitor uses to unlock. For example, unlock based on a specified temporary password, or unlock based on a password set independently by the visitor, etc. The authorization method can be pre-configured; it can also be set by the user according to actual needs. For example, it can be selected from a drop-down list of authorization methods. The authorization method in the authorization information for visitors can include one or more.
[0032] Among them, the authorization status can be used to indicate the current authorized status, such as authorized, authorization frozen, authorization expired, and so on.
[0033] Among them, the authorization validity period can be used to indicate the number of authorizations (for example, once, multiple times, etc.), the length of the authorized time period (for example, one day, one week, etc.), and so on. For example, if the number of times of the authorization validity period is once, it means that the visitor's authorization to unlock will become invalid after this unlocking; if the authorization validity period is one day or one week, it means that unlocking can be authorized multiple times within a time period of one day or one week.
[0034] Among them, 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, and can be expressed as APP-ID.
[0035] In one implementation, when a visitor arrives at the user's doorstep, an access operation can be performed on the first smart lock. Among them, the access operation can include pressing the doorbell button of the first smart lock; it can also include attempting to enter a password or attempting face recognition and other unlocking operations.
[0036] Step S102, the first smart lock sends an authorization request corresponding to the access operation to the terminal.
[0037] In one implementation, 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 to request the user to authenticate the identity of the visitor and determine whether to authorize.
[0038] In one implementation, in response to the visitor's access operation, the first smart lock can first determine whether there is corresponding personnel information for the visitor in the personnel information table. For example, take a face image of the visitor and check whether there is matching face information in the personnel information table; or check whether there is an unlocking password in the personnel information table that is the same as the password entered by the visitor; if it is determined that there is no corresponding personnel information for the visitor in the personnel information table, an authorization request corresponding to the access operation can be sent to the user's terminal.
[0039] In one implementation, in response to the visitor's access operation, the first smart lock can send an authorization request to the user's terminal after determining that the user is not at home or after a delay of several seconds (such as 3 seconds, etc.).
[0040] In one embodiment, the form of sending an authorization request to the user's terminal can be set 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 identity of the visitor through video interaction and further determine whether to authorize; or, a face image of the visitor can be captured, the face image of the visitor can be sent to the user, and a voice access request can be initiated to request the user to confirm whether to authorize through the face image and voice interaction. For the sake of simplicity, in the following embodiments, the video authentication request is taken as an example for illustration.
[0041] In one embodiment, in response to the access operation of the visitor, the first smart lock can send an authorization request to the user's terminal after determining that the user is out.
[0042] In one embodiment, the authorization request can also be used to indicate the access operation taken by the visitor. For example, in response to the 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 can include: sending a video authentication request to the user and prompting the user on the terminal that a visitor has pressed the doorbell button; in response to the visitor entering a password on the first smart lock, a second authorization request is sent to the user's terminal. The second authorization request can include: sending a video authentication request to the user and prompting the user on the terminal that a visitor has entered a password.
[0043] In one embodiment, 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 (for example, 30 seconds or 1 minute), it is possible to prompt the visitor that the host is not at home or there is no answer. For example, if no response message from the terminal is received within 30 seconds after sending a video authentication request to the user's terminal, the video authentication request can be stopped, and the visitor can be prompted "no answer / no response" through voice or text. After hearing the voice or text prompt, the visitor can choose to leave or perform the access operation again.
[0044] Step S103: The terminal sends authorization information to the first smart lock, and the authorization information includes an authorization method.
[0045] In one embodiment, after receiving the authorization request, the terminal can prompt the user to perform an authorization operation. For example, a video connection can be established with the first smart lock, and the user can determine the identity of the visitor through the video and determine whether to authorize the visitor. If authorization is not agreed, a rejection message can be sent to the first smart lock through the terminal; if authorization is agreed, 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.
[0046] Among them, the authorization information can be pre-configured or input or selected by the user on the terminal after confirming the visitor's identity. Specifically, the authorization information can include one or more of the following: the visitor's name, the visitor's identity, the authorization method, the authorization validity period, the authorization start / end time, etc.
[0047] Step S104: If it is determined that the authorization method is used to indicate unlocking based on a password set by the visitor independently, perform a password setting operation to obtain the unlocking password entered by the visitor and the visitor's face information.
[0048] 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 indicate that the visitor sets a password independently (for example, the authorization method is "visitor's independent password"), the first smart lock can initiate a password setting operation.
[0049] Among them, the password setting operation can include: prompting the visitor to enter the unlocking password set by them through voice or text, and collecting the visitor's face information through an image acquisition device, such as a face image or a face feature vector.
[0050] In one implementation, the first smart lock can prompt the visitor to enter the password twice in a row through voice or text, and determine whether the passwords entered successively are the same; if they are not the same, it can prompt the visitor to re-enter; if they are the same, it can determine this password as the unlocking password set by the visitor.
[0051] Furthermore, the password entered by the visitor can also be matched with the passwords already recorded in the personnel information table to determine whether it is a recorded password; if it is, it can prompt the visitor that the password already exists and needs to be changed; if not, it can determine this password as the unlocking password set by the visitor.
[0052] Step S105: Bind the unlocking password, face information, and authorization information, and record them in the personnel information table.
[0053] In one implementation, after the first smart lock obtains the unlocking password set by the visitor and the visitor's face information through the password setting operation, it can bind the unlocking password and the face information with the authorization information, and record this visitor as an authorized person in the personnel information table, that is, add the personnel information of this visitor to the personnel information table. Among them, the personnel information of this visitor can include: name, identity (visitor or authorized visitor), face information, the unlocking password set independently by this visitor, authorization validity period, authorization start time (for example, the current moment, or the start moment specified by the authorization information), authorizer information (such as the user identifier corresponding to the user who confirmed the authorization), etc. From then on, within the authorization validity period, the visitor can perform an unlocking operation based on the unlocking password set by them independently.
[0054] In one implementation, after the above information binding and personnel information recording are completed, it is possible to prompt the visitor that the binding is successful or the setting is completed through voice or text, and directly unlock the door or prompt the visitor that they can perform the unlocking operation.
[0055] Among them, the unlocking operation may include: password matching and / or face matching. Among them, password matching includes: receiving the input password of the visitor and matching the input password with the unlocking password recorded in the personnel information table (for example, a bit-by-bit comparison method can be used); face matching includes: collecting the face image of the visitor and matching the collected face image with the face information recorded in the personnel information table (for example, by calculating whether the similarity between the collected face image and the recorded face image exceeds a threshold, and the threshold can be set to 80% or 90%, etc.). The unlocking operation can adopt double verification unlocking of password matching and face matching. Specifically, face matching can be performed first, and after successful face matching, password matching can be performed; or password matching can be performed first, and after successful password matching, face matching can be performed.
[0056] In one implementation, if the number of failed unlocking attempts of the visitor reaches a preset failure quantity threshold due to password matching failure or face matching failure, the authorization status of the visitor can be changed to authorization freeze. After the authorization freeze, if the visitor expects to lift the freeze or regain authorization, the visitor can access the first intelligent lock again; the first intelligent lock can send a re-authorization request (such as a video authentication request) to the user's terminal. For example, "Re-authorize (Yes / No)" is displayed and output on the user's terminal, and the user determines whether to lift the freeze or re-authorize.
[0057] In one implementation, for a visitor with authorization freeze, the first intelligent lock can delete the personnel information of the visitor from the personnel information table when it determines that the authorization freeze duration of the visitor exceeds a preset duration threshold (for example, one day, one week, or one month, etc.).
[0058] For example, assume that the personnel information table preset by the user includes the personnel information of user A with the identity of the host. If visitor A performs an access operation on the first intelligent lock (such as pressing the doorbell button), the first intelligent lock will send a video authentication request to the terminal of user A. After user A authenticates the identity of visitor A through the terminal and agrees to grant authorization, the following information is input or selected for visitor A on the terminal: name, identity (visitor), authorization validity period, etc., and "Visitor's Independent Password" is clicked. The terminal sends authorization information to the first intelligent lock, and the authorization information may include: name, identity (visitor), authorization validity period, authorization method (visitor's independent password), authorizer information (such as the user identifier corresponding to the user), etc. After receiving the authorization information from the terminal, the first intelligent lock can prompt visitor A to set a password by voice and obtain the unlock password input by visitor A and the face information of visitor A; bind the obtained unlock password and face information with the authorization information and record them as the personnel information of visitor A in the personnel information table. The personnel information of visitor A may include: name, identity (visitor), authorization validity period, authorization method (visitor's independent password), unlock password, face information, authorizer information (such as the user identifier corresponding to the user), etc. After that, within the authorization validity period, visitor A can perform an unlocking operation based on the independently set unlock password. The specific examples are as follows: The first intelligent lock can first collect the face image of visitor A and match it with each face information in the personnel information table for face matching. If visitor A is successfully identified and it is determined that his / her identity is an authorized visitor, it can prompt "Please enter the password" by voice or text to prompt visitor A to enter the password on the first intelligent lock. The first intelligent lock matches the detected input password with the unlock password in the personnel information of visitor A. After the password match is successful, it can unlock and open the door.
[0059] If the face match of visitor A is successful but the password match fails, the first intelligent lock can prompt "Please re-enter the password" by voice or text to prompt visitor A to re-enter the password. If the first intelligent lock matches successfully based on the new input password, it unlocks and opens the door. If the password match fails after multiple attempts and the number of failed attempts reaches the preset unlocking failure quantity threshold (such as 3 times), the authorization status of visitor A can be changed to authorization freeze, and it can prompt "Authorization Freeze" by voice or text.
[0060] If visitor A first enters a password on the first intelligent lock, the first intelligent lock can first match the detected input password with the unlocking password recorded in the personnel information table. After successfully matching the unlocking password of visitor A, it can prompt visitor A to cooperate with face collection through voice or text (such as "Please look at the camera"), and match the collected face image with the face information in the personnel information of visitor A. If the match fails, it can prompt the visitor with voice or text "Verification failed" and can request the visitor to re-collect the face image and / or re-enter the password. Similarly, if the number of verification failures reaches the preset unlocking failure quantity threshold, the authorization status of visitor A can be changed to authorization freeze, and voice or text prompt "Authorization freeze" can be given.
[0061] In the above embodiment, the autonomous password setting function of the visitor on the intelligent lock is realized. Combined with face information binding, it makes the visitor unlocking more personalized and convenient. At the same time, relevant information is recorded in the personnel information table, which is convenient for the intelligent lock to uniformly manage the visitor identity, enhances security and traceability, and avoids the problems of easy forgetting and leakage of the unified password setting in the prior art.
[0062] In one implementation, since there may be multiple users (masters) for the intelligent lock, 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 based on the priority levels among each user, the authorization request can be sent to the terminals of each user in sequence until a response is received.
[0063] In one implementation, the first intelligent lock in response to the visitor's access operation can search for the user with the identity of the master from the personnel information table. If there are multiple users with the identity of the master, they can be sorted based on the user's priority. Then, based on the user identifier in the user information, first send an authorization request corresponding to the access operation to the terminal of the first user with the highest priority. If it is determined that the terminal of the first user does not respond to the authorization request, send an authorization request to the terminal of the second user with a priority lower than that of the first user. If it is determined that the terminal of the second user does not respond to the authorization request and there is also a third user, an authorization request can be sent to the terminal of the third user... until a response is received or until authorization requests have been sent to all users.
[0064] For example, assume that the personnel information table includes the personnel information of User A and User B. Among them, the identity of User A is the first master, the identity of User B is the second master, and the priority of the first master is higher than that of the second master. In response to the access of Visitor A, the first intelligent lock can determine the user identifier corresponding to User A with the identity of the first master from the personnel information table, and send a video authentication request to the terminal of User A; if User A responds to the video authentication request within 30 seconds, then User A conducts video authentication on Visitor A to confirm whether to authorize Visitor A; if the terminal of User A does not respond to the video authentication request within 30 seconds, then the video authentication request is interrupted, and a video authentication request is sent to the terminal of User B with the identity of the second master, and User B conducts video authentication on Visitor A to determine whether to authorize Visitor A.
[0065] In the above embodiment, authorization requests are sent to users in sequence based on the 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 there is no response, improving the robustness of the system and the user experience, and also avoiding conflicts and anomalies caused by receiving authorization information from multiple users.
[0066] In one implementation, the first intelligent lock can periodically or in real time monitor the authorization validity period of each visitor in the personnel information table. If it is detected that the authorization validity period has expired or is about to expire (for example, there is still one day or half a day left for the authorization validity period, etc.), then it can actively send the authorization expiration information of the visitor to the user's terminal so that the user can determine through the terminal whether it is necessary to extend the authorization of the visitor. The authorization expiration information can include all or part of the personnel information of the visitor, such as name, face image, original authorization validity period, original authorization start / end time, etc. If the user selects authorization extension through the terminal, the terminal can send an extension confirmation message or new authorization information to the first intelligent lock. The extension confirmation message or new authorization information can include the new authorization validity period, new authorization start / end time, etc.; the first intelligent lock can update the authorization validity period and authorization start / end time, etc. of the visitor in the personnel information table according to the received extension confirmation message or new authorization information; if the user determines not to extend, a message to give up extension can be sent to the first intelligent lock; after receiving the message to give up extension, the first intelligent lock can, after determining that the authorization validity period has expired, change the authorization status of the visitor to authorization expired or modify the identity of the visitor to an unauthorized visitor, and can also delete the personnel information of the visitor from the personnel information table.
[0067] For example, the first intelligent lock periodically checks whether the authorization validity period of a visitor has expired. If it is detected that the authorization validity periods of visitors B and C have expired, it can send authorization expiration information of visitors B and C (including the names, face images, authorization validity periods, and authorization termination times of visitors B and C) to the user's terminal. The user can choose whether to authorize an extension or not on the terminal. If an extension is selected for visitor C, a new authorization validity period (such as 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 intelligent lock. If no extension is selected for visitor B, the user can click "Abandon Extension" on the terminal to send an abandon extension message to the first intelligent lock. The first intelligent lock can receive the extension confirmation message for C (such as an extension of one week) and modify the authorization validity period (such as one week) and authorization start time of visitor C to the current clock based on the extension confirmation message. Thus, visitor C can open the door through an unlocking operation within the new authorization validity period. Additionally, the first intelligent lock can receive the abandon extension message for visitor B and change the identity of visitor B to an unauthorized visitor. Thus, visitor B loses authorization and will not be able to open the door through an unlocking operation.
[0068] In one implementation, when the first intelligent lock detects that the authorization validity period of a visitor has expired, it can change the authorization status of that visitor to expired authorization.
[0069] In one implementation, in response to a visitor's unlocking operation, the first intelligent lock can determine whether the visitor exists in the personnel information table through password matching and / or face matching. If it exists, it determines to check the authorization validity period and authorization status of the visitor. If the authorization validity period has expired or the authorization status is expired authorization, it can prompt the visitor with "Authorization Expired" through voice or text.
[0070] After the authorization has expired, if a visitor expects to extend the authorization or regain authorization, the visitor can perform an access operation on the first intelligent lock again. The first intelligent lock can send an authorization extension request or a new authorization request (such as a video authentication request) to the user's terminal. Specifically, "Extend Authorization (Yes / No)" can be output and displayed on the user's terminal, and the user determines whether to extend the authorization or re-authorize.
[0071] In one implementation, for a visitor with expired authorization, when the first intelligent lock determines that the authorization expiration duration of the visitor exceeds a preset duration threshold (such as one day, one week, or one month, etc.), it can delete the personnel information of that visitor from the personnel information table.
[0072] For example, visitor B unlocks the first smart lock. The first smart lock can first collect the facial image of visitor B and match it with the facial information in the personnel information table to perform facial matching; if visitor B is successfully identified and determined to be an authorized visitor, visitor B is prompted to enter the password on the first smart lock; the first smart lock matches the input password detected with the unlocking password in the personnel information of visitor B; after the password is successfully matched, check whether the authorization validity period of visitor B has expired; if expired, the user can be prompted "authorization expired" through voice, and prompted that visitor B can re-authorize.
[0073] In the above embodiment, when authorization expiration is detected, the terminal is actively notified to extend or unbind. Through dynamic monitoring and reminders, intelligent management of the permission life cycle is achieved to prevent expired authorization from being maliciously exploited, while reducing manual maintenance costs and improving system security.
[0074] See also Figure 2 , Figure 2 This is a method for a smart lock visitor to open the door by himself, provided by an exemplary embodiment. Figure 1 After steps S101-S103, the method may include the following steps: Step S114: If it is determined that the authorization method is used to indicate unlocking based on the authentication of the second smart lock corresponding to the visitor, an authentication request is sent to the second smart lock so that the second smart lock can verify the visitor's input password and facial information.
[0075] In one embodiment, the second smart lock can be a visitor's own door lock.
[0076] In one embodiment, a visitor can perform an access operation on the first smart lock, and the visitor operation may include: entering a password in the first smart lock and / or pressing the doorbell button of the first smart lock; wherein the password entered by the visitor may be the unlock password set by the visitor in the second smart lock. In response to the visitor's access operation on the first smart lock, the first smart lock may send an authorization request corresponding to the access operation to the user's terminal. The user may receive a video authentication request through a terminal response, establish a video connection with the first smart lock, and the user may determine the visitor's identity through the video and determine whether to authorize the visitor. If the authorization is agreed, authorization information may be sent to the first smart lock through the terminal; wherein the authorization method included in the authorization information may be used to indicate unlocking based on the authentication of the second smart lock corresponding to the visitor (for example, the authorization method is "visitor's own door lock authentication").
[0077] In one embodiment, the first smart lock receives authorization information from a terminal. If it is determined that the authorization method of the authorization information is used for unlocking based on the authentication of a second smart lock corresponding to a visitor, the input password of the visitor at the first smart lock and the face image of the visitor can be obtained, and an authentication request can be sent to the second smart lock for the second smart lock to authenticate the input password and face image of the visitor.
[0078] Wherein, the authentication request may include: the input password and / or face image of the visitor, as well as the first IP address corresponding to the first smart lock, the door lock identifier, etc.
[0079] Step S115: Receive the authentication result from the second smart lock, and determine whether to unlock based on the authentication result.
[0080] In one embodiment, the second smart lock receives an authentication request from the first smart lock, and based on the input password and face image included in the authentication request, performs password matching and face matching with the unlocking password and face information in the personnel information table of the second smart lock respectively; if the password matching fails or the face matching fails, an authentication failure message can be sent to the first smart lock; if both the password matching and the face matching are successful, an authentication success message can be sent to the first smart lock.
[0081] In one embodiment, the first smart lock receives the authentication result for the visitor from the second smart lock; if the authentication result is authentication failure, it can prompt the visitor with "Incorrect input password" or "Unable to recognize" etc. through voice or text to prompt the visitor to re-enter the password; if the authentication result is authentication success, it can unlock the door.
[0082] Step S116: Bind the face information and the information of the second smart lock, and record them in the personnel information table.
[0083] In one embodiment, the first smart lock can bind the face information of the visitor and the information of the second smart lock, and record it in the personnel information table as the personnel information of the visitor. Wherein, the personnel information of the visitor may include: the personnel information corresponding to the visitor can be recorded in the personnel information table, and the personnel information may include: name, identity (visitor), face information, authorization method (authentication by the visitor's own door lock), authorization validity period, authorizer information (such as the user identifier corresponding to the user), the information of the second smart lock (such as IP address, door lock identifier ID), etc. Compared with the authorization method of "visitor's independent password", the personnel information of the visitor with the authorization method of "authentication by the visitor's own door lock" may not include the unlocking password or the unlocking password may be empty. After that, within the authorization validity period, the visitor can perform unlocking operations based on the unlocking password set by the visitor on the second smart lock.
[0084] In the above embodiments, by sending an authentication request to the second smart lock and verifying the legality of the password, the legality verification of the visitor's identity is realized, thus omitting the password setting process. Through cross-device collaborative verification, it is ensured that the password entered by the visitor comes from a legal door lock (such as the user's own door lock), preventing other people from misusing the password and improving confidentiality.
[0085] In one implementation, in step S114, the first smart lock can broadcast an authentication request including to all smart locks within a preset area. Each smart lock matches the input password and face image in the 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 is successful, an authentication success message can be unicast to the first smart lock based on the first IP address.
[0086] In one implementation, before the first smart lock sends an authentication request to the second smart lock in step S114, it can first determine the relevant information of the second smart lock, such as the second IP address corresponding to the second smart lock, the door lock ID, etc. The authentication request can be unicast to the second smart lock based on the second IP address. Among them, the relevant information of the second smart lock can be input by the visitor or the user, or can be obtained based on the visitor's user ID.
[0087] Please refer to Figure 3 , Figure 3 is a method for self-service door opening of smart lock visitors provided by an exemplary embodiment. Step S114 may include steps S1141 - S1143.
[0088] Step S1141: 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, broadcast a door lock confirmation request for determining the second smart lock. The door lock confirmation request includes the face image or face feature vector of the visitor.
[0089] 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 indicate unlocking based on authentication of the second smart lock corresponding to the visitor (such as "visitor's own door lock authentication"), it can collect the face image of the visitor and send a smart lock confirmation request to the smart locks within the preset area range; among them, the door lock determination request may include: the face image or the face feature vector extracted from the face image, as well as the first IP address and door lock ID corresponding to the first smart lock, etc.
[0090] In one implementation, the preset area range broadcast by the first smart lock can be set according to actual needs. For example, it can be the community, neighborhood, or city where the first smart lock is located, etc., or it can also be a list of smart locks allowed to use "visitor's own door lock authentication" set by the user.
[0091] In one embodiment, after each smart lock receives a door lock confirmation request, it can perform a face match 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 match is unsuccessful, the message can be ignored or an unmatched message can be unicast to the first smart lock based on the first IP address; if the match is successful, a confirmation message can be unicast to the first smart lock based on the first IP address.
[0092] Step S1142: Receive a confirmation message from the second smart lock corresponding to the visitor.
[0093] In one embodiment, for the second smart lock corresponding to the visitor, the second smart lock can successfully match the visitor from the personnel information table and unicast a confirmation message to the first smart lock based on the first IP address. The confirmation message can include the second IP address corresponding to the second smart lock, the door lock ID, and the face information of the visitor.
[0094] In one embodiment, after receiving the 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 can include: name, identity (visitor), face information, authorization method (authentication by the visitor's own door lock), authorization validity period, authorizer information (such as the user identifier corresponding to the user), information of the second smart lock (such as IP address, door lock identification ID), etc.
[0095] Step S1143: Send an authentication request to the second smart lock, and the authentication request includes an input password.
[0096] In one embodiment, after receiving the 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 can include the password entered by the visitor during the visitor operation.
[0097] In one embodiment, after receiving the confirmation message from the second smart lock, the user can be prompted to enter a password by voice or text; in response to receiving the user's input password, an authentication request including the input password is unicast to the second smart lock based on the second IP address.
[0098] In one embodiment, the second smart lock receives the authentication request and performs a password match between the input password and the unlock password of the visitor; if the match fails, an authentication failure message is unicast to the first smart lock based on the first IP address; if the match is successful, an authentication success message is unicast to the first smart lock based on the first IP address.
[0099] In one embodiment, the first smart lock receives the authentication result for the visitor from the second smart lock; if the authentication result is authentication failure, it can prompt the visitor with "Incorrect password entered" via voice or text to prompt the visitor to re-enter the password; if the authentication result is authentication success, it can unlock the door.
[0100] For example, visitor D enters the unlocking password of the second smart lock corresponding to visitor D on the first smart lock and presses the doorbell button of the first smart lock. The first smart lock can obtain the input password of visitor D and collect the face image of visitor D, and perform password matching and face matching in the recorded personnel information table based on the input password and the face image; at this time, since there is no personnel information of visitor D in the personnel information table, both password matching and face matching fail. In response to visitor D entering the password on the first smart lock and pressing the doorbell button of the first smart lock, the first smart lock can send a third authorization request to the terminal; wherein, the third authorization request can include: sending a video authentication request to the user, and prompting the user on the terminal that there is a visitor entering the password and pressing the doorbell button.
[0101] In response to the user's confirmation operation for the video authentication request, the terminal establishes a video connection with the first smart lock. The user determines the visitor's identity through the video and enters the following information on the terminal for visitor D: name, identity, authorization validity period (one-time, one day, one week, etc.), etc., and clicks the "Visitor's Own Door Lock Authentication" button. The terminal sends authorization information to the user, and the authorization information includes: name, identity (visitor), authorization method (visitor's own door lock authentication), authorization validity period, authorizer information (such as the user identifier corresponding to the user), etc.
[0102] After receiving the authorization information, if the first smart lock determines that the authorization method is "visitor's own door lock authentication", it collects the face image of visitor D and broadcasts a door lock confirmation request to each smart lock within the preset area range. 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.
[0103] The second smart lock corresponding to visitor D receives the door lock confirmation request, 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 can include: the second IP address and door lock ID corresponding to the second smart lock, and the face information of this visitor.
[0104] 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 password entered by the visitor. Additionally, 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), face information, authorization method (authentication by the visitor's own door lock), authorization validity period, authorizer information (such as the user identifier corresponding to the user), information of the second smart lock (such as IP address, door lock identification ID), etc.
[0105] The second smart lock receives the authentication request and matches the entered password with the unlocking password of visitor D in the personnel information table. If the match is successful, it unicasts an authentication success message to the first smart lock based on the first IP address. If the match fails, it sends an authentication failure message to the first smart lock.
[0106] After receiving the authentication success message, the first smart lock unlocks the door. After receiving the authentication failure message, it can prompt visitor D to re-enter the password via voice and send another authentication request to the second smart lock based on the newly entered password. If the number of authentication failures reaches the preset quantity threshold, authorization freezing can be performed.
[0107] Since the personnel information of visitor D has already been recorded in the personnel information table, visitor D can subsequently unlock the first smart lock to open the door. The first smart lock can first collect the face image of visitor D and match it with each face information in the personnel information table for face matching. If visitor D is successfully identified and it is determined that their identity is an authorized visitor, it prompts visitor D to enter the password on the first smart lock. The first smart lock sends the detected entered password to the second smart lock via the authentication request, and the second smart lock matches the entered password. If it receives the authentication success message from the second smart lock, it unlocks the door.
[0108] In the above embodiment, by broadcasting the face image or face feature vector of the visitor and unicasting the authentication request after receiving the confirmation message from the second smart lock, the target device is accurately located. Combining the broadcast and unicast communication mechanisms reduces redundant network transmissions, improves the efficiency and accuracy of cross-door lock verification, and simultaneously avoids the leakage risk caused by broadcasting the password in plaintext.
[0109] Figure 4 It is a schematic structural diagram of an electronic device provided by an exemplary embodiment. Please refer to Figure 4, at the hardware level, the device includes a processor 402, an internal bus 404, a network interface 406, a memory 408, and a non-volatile memory 410. Of course, it may also include other hardware required for other 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 the memory 408 and then runs it. Of course, in addition to the software implementation, one or more embodiments of this specification do not exclude other implementation methods, such as logic devices or a combination of software and hardware, etc. That is to say, the execution subject of the following processing flow is not limited to each logic unit, and can also be hardware or a logic device.
[0110] Please refer to Figure 5 , the intelligent lock visitor self-service door opening device corresponding to the first intelligent lock can be applied to a device as shown in Figure 4 to implement the technical solutions of this specification. Among them, the intelligent lock visitor self-service door opening device may include: an information sending module 501 for sending an authorization request corresponding to the access operation to the terminal in response to the access operation of the visitor; an information receiving module 502 for receiving authorization information from the terminal, where the authorization information includes an authorization method; a password setting module 503 for performing a password setting operation to obtain the unlocking password input by the visitor and the face information of the visitor if it is determined that the authorization method is used to indicate unlocking based on a password set by the visitor independently; an information recording module 504 for binding the unlocking password, the face information, and the authorization information and recording them in the personnel information table.
[0111] In one implementation, the information sending module 501 is further configured to send an authentication request to the second intelligent lock if it is determined that the authorization method is used to indicate unlocking based on the authentication of the second intelligent lock corresponding to the visitor, so that the second intelligent lock verifies the input password and face image of the visitor; the information receiving module 502 is further configured to receive an authentication result from the second intelligent lock and determine whether to unlock based on the authentication result; the information recording module 504 is further configured to bind the face information and the information of the second intelligent lock and record them in the personnel information table.
[0112] In one implementation, the information sending module 501 is configured to broadcast a door lock confirmation request for determining the second intelligent lock if it is determined that the authorization method is used to indicate unlocking based on the authentication of the second intelligent lock corresponding to the visitor, where the door lock confirmation request includes the face image of the visitor; the information receiving module 502 is configured to receive a confirmation message from the second intelligent lock corresponding to the visitor; the information sending module 501 is configured to send an authentication request to the second intelligent lock, where the authentication request includes the input password.
[0113] In one embodiment, the access operation includes: entering a password and pressing a doorbell button.
[0114] In one embodiment, the information sending module 501 is configured 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 priority of the first user is higher than that of the second user.
[0115] In one embodiment, the authorization information further includes an authorization validity period; the information sending module 501 is further configured 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 authorization expiration information of the visitor is sent to the terminal.
[0116] Please refer to Figure 6 , the intelligent lock visitor self-service door opening device corresponding to the terminal can be applied to devices as Figure 4 shown to implement the technical solutions of this specification. Wherein, the intelligent lock visitor self-service door opening device may include: a request receiving module 601 configured to receive an authorization request corresponding to the visitor's access operation from the first intelligent lock; an authorization confirmation module 602 configured to send the authorization information to the first intelligent lock in response to a user's input operation on the authorization information; wherein, the authorization information includes an authorization method; the authorization method is used to indicate unlocking based on a password set by the visitor independently, or is used to indicate unlocking based on the authentication of the second intelligent lock corresponding to the visitor.
[0117] Please refer to Figure 7 , the intelligent lock visitor self-service door opening device corresponding to the second intelligent lock can be applied to devices as Figure 4 shown to implement the technical solutions of this specification. Wherein, the intelligent lock visitor self-service door opening device may include: a request receiving module 701 configured to match the face image and input password of the visitor obtained by the first intelligent lock in the personnel information table of the second intelligent lock in response to receiving an authentication request from the first intelligent lock; a result sending module 702 configured to send an authentication result to the first intelligent lock based on the matching result.
[0118] In one embodiment, the request receiving module 701 is further configured to receive a door lock confirmation request from the first smart lock, where the door lock confirmation request includes a face image of a visitor; the result sending module 702 is further configured to match the face image with the face information in the personnel information table recorded by the second smart lock; if the match is successful, send a confirmation message to the first smart lock; the request receiving module 701 is further configured to receive an authentication request from the first smart lock, where the authentication request includes the input password of the visitor; the result sending module 702 is further configured to match the input password with the unlocking password of the visitor in the personnel information table.
[0119] Please refer to Figure 8 , the 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 configured to implement the steps of the method as described above; the terminal is configured to implement the steps of the method as described above. For example, the first smart lock 801 is configured to send an authorization request corresponding to the access operation to the terminal 802 in response to a visitor's access operation; the terminal 802 is configured to send authorization information including an authorization method to the first smart lock 801 in response to a user's input operation of the authorization information; the first smart lock 801 is further configured to, if it is determined that the authorization method is used to indicate unlocking based on a password set by the visitor, perform a password setting operation to obtain the unlocking password input by the visitor and the face information of the visitor; bind the unlocking password, the face information, and the authorization information, and record them in the personnel information table.
[0120] 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 as described above. For example, the second smart lock is configured to match the face image and the input password of the visitor obtained by the first smart lock in the personnel information table of the second smart lock in response to receiving an authentication request from the first smart lock; send an authentication result to the first smart lock based on the matching result.
[0121] Based on the same concept as the above method, this specification also provides an electronic device, including: a processor; a memory for storing processor-executable instructions; wherein, the processor runs the executable instructions to implement the steps of the method as described in any of the above embodiments.
[0122] Based on the same concept as the above method, this specification also provides a computer-readable storage medium, on which computer instructions are stored, and when the instructions are executed by a processor, the steps of the method as described in any of the above embodiments are implemented.
[0123] Based on the same concept as the above method, this specification also provides a computer program product, including computer programs / instructions, which, when executed by a processor, implement the steps of the method described in any of the above embodiments.
Claims
1. A method for self-service door opening by smart lock visitors, characterized in that: Applied to the first smart lock, the method includes: In response to an access operation by a visitor, sending an authorization request corresponding to the access operation to the 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, a password setting operation is performed to obtain the unlocking password entered by the visitor and the facial information of the visitor; The unlock password, the face information and the authorization information are bound and recorded in a personnel information table.
2. The method according to claim 1, characterized in that The method further comprises: If it is determined that the authorization method is used to indicate unlocking based on the authentication of the second smart lock corresponding to the visitor, an authentication request is sent to the second smart lock so that the second smart lock verifies the input password and facial image of the visitor; receiving an authentication result from the second smart lock, and determining whether to unlock based on the authentication result; Bind the facial information and the information of the second smart lock and record them in the personnel information table.
3. The method according to claim 2, characterized in that If it is determined that the authorization method is used to indicate unlocking based on the authentication of the second smart lock corresponding to the visitor, sending an authentication request to the second smart lock includes: If it is determined that the authorization method is used to indicate unlocking based on the authentication of the second smart lock corresponding to the visitor, broadcasting and sending a door lock confirmation request for determining the second smart lock, wherein the door lock confirmation request includes a facial image of the visitor; receiving a confirmation message from a second smart lock corresponding to the visitor; An authentication request is sent to the second smart lock, where the authentication request includes the input password.
4. The method according to claim 2, characterized in that: The access operation includes: inputting a password and pressing a doorbell button.
5. The method according to any one of claims 1 to 4, characterized in that: The sending an authorization request corresponding to the access operation to the terminal includes: Sending an authorization request corresponding to the access operation to a 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 priority of the first user is higher than that of the second user.
6. The method according to any one of claims 1 to 4, characterized in that: The authorization information also includes the authorization validity period; the method also includes: Periodically monitor the validity period of the visitor's authorization; If it is determined that the authorization validity period of the visitor has expired, the authorization expiration information of the visitor is sent to the terminal.
7. A method for a smart lock visitor to open the door by himself, characterized in that: Applied to a terminal, the method comprises: an authorization request corresponding to an access operation of a visitor received from the first smart lock; In response to the user's input operation of authorization information, the authorization information is sent to the first smart lock; wherein the authorization information includes an authorization method; the authorization method is used to indicate unlocking based on a password set by the visitor himself, or to indicate unlocking based on authentication of a second smart lock corresponding to the visitor.
8. A method for a visitor to open a door by himself using a smart lock, characterized in that: Applied to the second smart lock, the method includes: In response to receiving an authentication request from the first smart lock, matching the facial image and input password of the visitor obtained by the first smart lock with the personnel information table of the second smart lock; An authentication result is sent to the first smart lock based on the matching result.
9. The method according to claim 8, characterized in that In response to receiving an authentication request from the first smart lock, matching the facial image and input password of the visitor obtained by the first smart lock with the personnel information table of the second smart lock, including: receiving a door lock confirmation request from the first smart lock, wherein the door lock confirmation request includes a facial image of the visitor; Matching the facial image with the facial information in the personnel information table recorded by the second smart lock; if the match is successful, sending a confirmation message to the first smart lock; receiving an authentication request from the first smart lock, the authentication request including an input password of the visitor; The input password is matched with the visitor's unlock password in the personnel information table.
10. A smart lock visitor self-service door opening system, characterized in that: The system includes: a first smart lock and a terminal; wherein the first smart lock is used to implement the steps of the method described in any one of claims 1 to 6; and the terminal is used to implement the steps of the method described in claim 7.
11. The system according to claim 10, characterized in that: The system also includes a second smart lock; wherein, the second smart lock is used to implement the steps of any method described in claims 8-9.
12. An electronic device, characterized in that: include: processor; A memory for storing processor-executable instructions; wherein the processor implements the steps of the method according to any one of claims 1 to 9 by executing the executable instructions.
13. A computer-readable storage medium, characterized in that: Computer instructions are stored thereon, and when the instructions are executed by a processor, the steps of the method according to any one of claims 1 to 9 are implemented.
14. A computer program product, characterized in that The method comprises a computer program / instruction, which, when executed by a processor, implements the steps of the method according to any one of claims 1 to 9.
Citation Information
Patent Citations
Community entrance guard method and system
CN103839309A
Access authorization method and device capable of realizing temporary visits of visitors
CN108806025A
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
Cited By
Method and system for adding members to door lock
CN122369147A