Cross-lock door opening method and system of intelligent door lock

By selecting the neighbor smart lock as a replacement lock, face recognition comparison and delay unlocking is achieved, solving the problem that the face recognition comparison function of the smart lock is not unlocked due to failure, ensuring that the smart lock can be unlocked normally in the event of a failure.

CN120071485AActive Publication Date: 2025-05-30DESSMANN CHINA MACHINERY & ELECTRONICS +1

Patent Information

Application Number
CN202510543573.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-27
Publication Date
2025-05-30
Estimated Expiration
2045-04-27

AI Technical Summary

Technical Problem

The problem of the face recognition comparison function of the smart lock cannot be unlocked.

Method used

By selecting multiple neighbor smart locks closest to, generate a list of neighbor smart locks and determine a preselected alternative lock for the failed smart lock. The faulty smart lock sends an alternative unlock authorization request to the check-in registration personnel. After obtaining the authorization, it establishes a connection with the preselected replacement lock to perform alternative configuration of the faulty smart lock. When a person is detected by a preselected replacement lock that completes the replacement configuration, a face recognition comparison is performed. If the comparison is successful, the replacement lock sends an unlock message for the faulty smart lock, and the faulty smart lock uses a delay unlocking method to unlock.

Benefits of technology

A method of cross-door lock recognition has been built to solve the problem of unblocking due to facial recognition comparison failures, ensuring that the smart lock can be unlocked normally in the event of a failure.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120071485A_ABST
    Figure CN120071485A_ABST
Patent Text Reader

Abstract

The invention discloses a cross-lock door opening method and system for an intelligent door lock, and the method comprises the steps: selecting a plurality of nearest neighbor intelligent locks according to the geographic position of a fault intelligent lock, generating a neighbor intelligent lock list, and determining a pre-selected replacement lock of the fault intelligent lock from the neighbor intelligent lock list; the fault intelligent lock sends an alternative unlocking authorization request to the check-in registrant, and after authorization is obtained, connection with the pre-selected alternative lock is established, so that alternative configuration of the fault intelligent lock is carried out; when a person is detected by the pre-selected alternative lock completing the alternative configuration, face recognition comparison is carried out; and after the recognition comparison of the replacement lock succeeds, the replacement lock sends an unlocking message to the faulty intelligent lock, and the faulty intelligent lock adopts a delayed unlocking mode to unlock the faulty intelligent lock according to the recognition comparison message of the replacement lock. According to the embodiment of the invention, a cross-door-lock recognition method can be established to solve the problem of face recognition comparison faults, and the problem that the intelligent lock cannot be unlocked due to the face recognition comparison faults can be effectively solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of intelligent locks, and particularly relates to a cross-lock door opening method and system for an intelligent door lock. Background Art

[0002] Intelligent locks adopt a zero-trust mechanism, that is, unlocking can only be ensured when the accurately identified person's identity information is consistent with the registered one. Currently, the typical technology adopted by intelligent locks is face recognition comparison technology. In the actual operation of intelligent locks, the collection, recognition, and comparison functions of face video image collection, face detection and recognition, and face comparison are used frequently, and they are the functional components with the highest failure rate in intelligent locks. When the face collection, recognition, and comparison function of an intelligent lock fails, it brings great trouble to the entry and exit of the registered occupants, resulting in the problem of being unable to unlock and enter the house. Summary of the Invention

[0003] The purpose of the present invention is to provide a cross-lock door opening method and system for an intelligent door lock to solve the deficiencies in the prior art, be able to build a cross-door lock recognition method to solve the problem of face recognition comparison failure, and effectively solve the problem of being unable to unlock due to face recognition comparison failure of an intelligent lock.

[0004] An embodiment of the present application provides a cross-lock door opening method for an intelligent door lock, and the method includes: Selection of neighbor intelligent locks and determination of a preselected alternative lock: According to the geographical location of the faulty intelligent lock, select multiple neighbor intelligent locks that are the closest, generate a list of neighbor intelligent locks, and determine the preselected alternative lock for the faulty intelligent lock from the list of neighbor intelligent locks; Authorization and configuration of the alternative lock: The faulty intelligent lock sends a request for alternative unlocking authorization to the registered occupant. After obtaining the authorization, establish a connection with the preselected alternative lock to perform alternative configuration of the faulty intelligent lock; Face recognition comparison and response: When the preselected alternative lock that has completed the alternative configuration detects a person, perform face recognition comparison; Unlocking notification and delayed unlocking: When the alternative lock successfully identifies and compares, the alternative lock sends an unlocking message to the faulty intelligent lock, and the faulty intelligent lock uses a delayed unlocking method to unlock the faulty intelligent lock according to the identification and comparison message of the alternative lock.

[0005] Optionally, in the step of selection of neighbor intelligent locks and determination of a preselected alternative lock, when calculating the path length through a CAD map, import the geographical location data of the intelligent locks using the API interface of CAD software, calculate the path length from each intelligent lock to the faulty intelligent lock, and select the 3 neighbor intelligent locks with the shortest path lengths and write them into the list of neighbor intelligent locks.

[0006] Optionally, in the step of alternative lock authorization and configuration, when the preselected alternative lock stores the check-in personnel information of the faulty smart lock, it performs personnel duplicate checking; if there are the registration personnel information of multiple faulty smart locks in the gray list, it rejects subsequent alternative requests and prompts to select other alternative locks.

[0007] Optionally, in the step of face recognition comparison and response, when a person is the registered person of both the faulty smart lock and the preselected alternative lock, the preselected alternative lock determines the person's intention through a sound prompt and a delay mechanism; if the person leaves immediately after hearing the prompt sound, it unlocks the faulty smart lock; if the person does not leave, it unlocks the preselected alternative lock.

[0008] Optionally, in the step of unlocking notification and delayed unlocking, the calculation formula for the delayed unlocking time is: ; where T1 is the time point when the person leaves, L is the path length, V is the person's walking speed, and M is the preset walking time.

[0009] Another embodiment of the present application provides a cross-lock door opening system for a smart door lock, and the system includes: A determination module, configured to select multiple neighboring smart locks closest to the faulty smart lock according to the geographical location of the faulty smart lock, generate a list of neighboring smart locks, and determine a preselected alternative lock for the faulty smart lock from the list of neighboring smart locks; A configuration module, configured to send an alternative unlocking authorization request from the faulty smart lock to the check-in personnel, and after obtaining authorization, establish a connection with the preselected alternative lock to perform alternative configuration of the faulty smart lock; An identification module, configured to perform face recognition comparison when the preselected alternative lock that has completed the alternative configuration detects a person; An unlocking module, configured to when the alternative lock identification comparison is successful, the alternative lock sends an unlocking message to the faulty smart lock, and the faulty smart lock adopts a delayed unlocking method to unlock the faulty smart lock according to the identification comparison message of the alternative lock.

[0010] Another embodiment of the present application provides a storage medium, in which a computer program is stored, and wherein the computer program is set to execute the method described in any one of the above when running.

[0011] Another embodiment of the present application provides an electronic device, including a memory and a processor, a computer program is stored in the memory, and the processor is set to run the computer program to execute the method described in any one of the above.

[0012] Compared with the prior art, a cross-lock door opening method for an intelligent door lock provided by the present invention selects multiple neighboring intelligent door locks closest in distance according to the geographical location of a faulty intelligent door lock, generates a list of neighboring intelligent door locks, and determines a preselected alternative lock for the faulty intelligent door lock from the list of neighboring intelligent door locks; the faulty intelligent door lock sends a request for alternative unlocking authorization to the occupancy registration personnel, and after obtaining authorization, establishes a connection with the preselected alternative lock to perform alternative configuration of the faulty intelligent door lock; when the preselected alternative lock that has completed the alternative configuration detects a person, face recognition comparison is performed; when the recognition comparison by the alternative lock is successful, the alternative lock sends an unlocking message to the faulty intelligent door lock, and the faulty intelligent door lock uses a delayed unlocking method to unlock the faulty intelligent door lock according to the recognition comparison message of the alternative lock, so that a method for cross-door lock recognition can be established to solve the problem of face recognition comparison failure, and the problem of inability to unlock due to face recognition comparison failure of the intelligent door lock can be effectively solved. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] Figure 1 is a hardware structure block diagram of a computer terminal for a cross-lock door opening method of an intelligent door lock provided by an embodiment of the present invention; Figure 2 is a schematic flowchart of a cross-lock door opening method of an intelligent door lock provided by an embodiment of the present invention; Figure 3 is a schematic structural diagram of a cross-lock door opening system of an intelligent door lock provided by an embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0014] The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention and should not be construed as limiting the present invention.

[0015] An embodiment of the present invention first provides a cross-lock door opening method for an intelligent door lock, which can be applied to an electronic device, such as a computer terminal, specifically, a general computer, etc.

[0016] The following takes running on a computer terminal as an example to describe it in detail. Figure 1 is a hardware structure block diagram of a computer terminal for a cross-lock door opening method of an intelligent door lock provided by an embodiment of the present invention. As Figure 1 shown, the computer device includes a processor, a memory, and a network interface connected through a system bus. Among them, the memory may include a non-volatile storage medium and an internal memory.

[0017] The non-volatile storage medium can store an operating system and a computer program. The computer program includes program instructions, and when the program instructions are executed, the processor can execute any cross-lock door opening method for an intelligent door lock.

[0018] The processor is used to provide computing and control capabilities to support the operation of the entire computer device.

[0019] The internal memory provides an environment for the operation of a computer program in a non-volatile storage medium. When the computer program is executed by a processor, the processor can be made to execute any cross-lock door opening method for an intelligent door lock.

[0020] This network interface is used for network communication, such as sending assigned tasks, etc. Those skilled in the art can understand that Figure 1 The structure shown in is only a block diagram of some structures related to the solution of this application, and does not constitute a limitation on the computer device to which the solution of this application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine some components, or have different component arrangements.

[0021] It should be understood that the processor may be a central processing unit (CPU), and the processor may also be other general-purpose processors, digital signal processors (DSPs), application specific integrated circuits (ASICs), field programmable gate arrays (FPGAs) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0022] See Figure 2 , an embodiment of the present invention provides a cross-lock door opening method for an intelligent door lock, which may include the following steps: S201, Neighbor intelligent lock selection and preselected alternative lock determination: According to the geographical location of the faulty intelligent lock, select multiple nearest neighbor intelligent locks, generate a neighbor intelligent lock list, and determine the preselected alternative lock for the faulty intelligent lock from the neighbor intelligent lock list; Specifically, in the step of neighbor intelligent lock selection and preselected alternative lock determination, when calculating the path length through the CAD map, the API interface of the CAD software is used to import the geographical location data of the intelligent lock, calculate the path length from each intelligent lock to the faulty intelligent lock, and select the 3 neighbor intelligent locks with the shortest path length and write them into the neighbor intelligent lock list.

[0023] S202, Alternative lock authorization and configuration: The faulty intelligent lock sends a request for alternative unlocking authorization to the occupancy registration personnel. After obtaining the authorization, it establishes a connection with the preselected alternative lock to perform the alternative configuration of the faulty intelligent lock; Specifically, in the step of alternative lock authorization and configuration, when the preselected alternative lock stores the check-in personnel information of the faulty smart lock, it performs personnel duplicate checking; if there are multiple check-in personnel information of faulty smart locks in the gray list, subsequent alternative requests are rejected, and the user is prompted to select another alternative lock.

[0024] S203, face recognition comparison and response: When the preselected alternative lock that has completed the alternative configuration detects a person, it performs face recognition comparison; Specifically, in the step of face recognition comparison and response, when a person is a check-in personnel of both the faulty smart lock and the preselected alternative lock, the preselected alternative lock determines the person's intention through voice prompts and a delay mechanism; if the person leaves immediately after hearing the prompt sound, the faulty smart lock is unlocked; if the person does not leave, the preselected alternative lock is unlocked.

[0025] S204, unlocking notification and delayed unlocking: When the alternative lock successfully identifies and compares, the alternative lock sends an unlocking message to the faulty smart lock, and the faulty smart lock uses the delayed unlocking method to unlock the faulty smart lock according to the identification and comparison message of the alternative lock.

[0026] Specifically, in the step of unlocking notification and delayed unlocking, the calculation formula for the delayed unlocking time is: ; where T1 is the time point when the person leaves, L is the path length, V is the walking speed of the person, and M is the preset walking time.

[0027] In practical applications, this solution proposes a method for cross-door lock unlocking. The smart lock selects a preselected smart lock of a neighbor by scanning the WIFI connection strength of the surrounding neighbor smart locks and calculating the nearest path through the CAD map. After the neighbor smart lock is pre-authorized and the APP of the personnel of this smart lock is authorized, the face feature vectors of the check-in personnel of this smart lock are stored in the neighbor smart lock. The neighbor smart lock performs different pairing strategies through personnel duplicate checking. After the alternative lock pairing is completed, the neighbor smart lock performs face recognition comparison, and after informing the faulty lock of the comparison result, calculates the delayed unlocking time and unlocks with a delay.

[0028] The purpose of the present invention is to provide a method for using the smart lock of a nearby neighbor to perform face recognition comparison for this smart lock, so as to achieve alternative recognition and comparison when the face collection and comparison function of this smart lock fails, thereby realizing the unlocking of this lock. A complete technical implementation process is as follows: (1) Prerequisites: An intelligent lock is installed on each entrance door of the community (each intelligent lock has a unique intelligent lock ID, IP address, wifi-mac, geographical location, etc.), and it is connected to the intelligent lock management platform (hereinafter referred to as the platform), registered with the platform, and updates the list of occupants of this intelligent lock (including unique person serial numbers, names, ID card numbers, eigenvectors of face images, mobile APP-ID, etc.) and the list of neighbor intelligent locks in the platform through periodic access to the intelligent lock list of the platform (data items include: neighbor intelligent lock ID, IP address, door lock address, path length (meters), walking time (seconds), wifi-mac, etc.). Intelligent lock: It refers to a lock improved on the basis of traditional mechanical locks, which is more intelligent and simpler in terms of user security, identification, and management. The intelligent lock mentioned in this article has the function of opening the door by face recognition.

[0029] The mobile phones of the registered occupants all install the APP, and each APP has a unique APP-ID (ID card number + mobile phone number at the time of occupant information registration).

[0030] The platform records the intelligent lock list, including the ID, IP address, wifi-mac, geographical location of the intelligent lock, the intelligent lock IDs of 3 neighbor intelligent locks corresponding to the intelligent lock ID, distance length (meters), walking time (seconds); the platform manually enters and stores the CAD drawings indicating the locations of each entrance door, and the CAD drawings are pre-labeled with the geographical locations of the entrance doors of each household and the corresponding intelligent lock IDs; the platform collects the occupant registration information of each intelligent lock through manual entry.

[0031] (2) The platform calculates the neighbor intelligent locks corresponding to each door lock ID: selects the 3 nearest intelligent locks as neighbor intelligent locks through calculating the distances between the door lock positions on the CAD, and writes them into the intelligent lock list; The platform calls the distance calculation tool of the CAD software to calculate the list of neighbor intelligent locks corresponding to each door lock ID in the intelligent lock list of the platform one by one. The calculation steps are as follows: the platform operates the CAD software through the API interface of the CAD to import the intelligent lock ID and the door lock geographical location, the 2 data items in the intelligent lock list (note: since CAD and the platform are not the same system, the storage path of the platform intelligent lock list file needs to be preset), calculates the directly accessible path length between each door lock and the nearby door locks one by one, selects the 3 door locks with the shortest distance path length, and extracts their door lock IDs, distance length (meters), walking time (seconds) (walking time = distance length ÷ walking speed (1 m / s)) and writes them into the data items of neighbor intelligent lock ID, distance length (meters), walking time (seconds) corresponding to the intelligent lock ID in the intelligent lock list.

[0032] Example: When calculating the smart lock with ID 004, the geographical location of the smart lock with ID 004 is Room 104, Unit 1, Building 1. Retrieve the vector position of its CAD drawing on the CAD drawing (the coordinate point in the CAD drawing coordinate system, which is a vector coordinate value), and retrieve with this vector coordinate point as the center point, enumerate all the paths of the reachable smart locks, calculate the path lengths (in meters) from each reachable smart lock to the smart lock with ID 004 (the entrance door of Room 104, Unit 1, Building 1) and sort them. Extract the smallest 3 smart lock IDs in ascending order of path length, which are Smart Lock ID 003 (Room 103, Unit 1, Building 1) with a distance of 5 meters, Smart Lock ID 002 (Room 102, Unit 1, Building 1) with a distance of 10 meters, and Smart Lock ID 001 (Room 101, Unit 1, Building 1) with a distance of 15 meters). Calculate the walking times from these 3 smart locks to Smart Lock ID 001 (calculated according to the normal walking speed of an ordinary person at 1 meter per second), and obtain that Smart Lock ID 003 (Room 103, Unit 1, Building 1) is 5 seconds, Smart Lock ID 002 (Room 102, Unit 1, Building 1) is 10 seconds, and Smart Lock ID 001 (Room 101, Unit 1, Building 1) is 15 seconds. Write the neighbor smart lock information corresponding to these 3 smart locks (Smart Lock ID / Distance Length / Walking Time: 001 / 15 meters / 15 seconds, 002 / 10 meters / 10 seconds, 003 / 5 meters / 5 seconds) into the corresponding data items of the 3 neighbor smart lock IDs with ID 004 in the smart lock list corresponding to Smart Lock ID 001. Continue the above steps to complete the extraction of the neighbor smart lock information corresponding to all smart lock IDs one by one, and complete the smart lock list of the platform.

[0033] (3) After the smart lock self-checks and discovers a face recognition comparison failure, select a neighbor smart lock that is the closest and can be connected to the WIFI as the preselected replacement lock: Select the smart lock with a larger scanning result of the RSSI value of the smart lock WIFI signal connection strength and the highest ranking in the neighbor smart lock list as the preselected replacement lock; During the periodic status self-check of the smart lock (which can generally be set once per hour, and the detection items are preset, such as whether the face detection and recognition comparison functions of the smart lock are normal), when a face detection and recognition comparison failure is found, a fault alarm reminder message will be sent to the mobile APP of the household registration personnel through the APP, and the platform will prompt for timely repair. Example of the fault alarm message: XXX smart lock has a fault, please repair it in time! The intelligent lock scans the RSSI values (Received Signal Strength Indicator, connection signal strength) of the WIFI signals of neighboring intelligent locks through a WIFI signal connection strength scanning tool (such as WIFI Scan), extracts the scan results (including wifi-mac and RSSI values), sorts them in descending order according to the RSSI values, and queries whether they are in the neighboring intelligent lock list one by one according to the wifi-mac in this order (the data items include: the intelligent lock ID, IP address, door lock address, path length (meters), walking time (seconds), wifi-mac, etc.) of the neighbors. There are several cases for the query results: If the scanned wifi-mac is not in the neighboring intelligent lock list, it means that this wifi-mac may not be the wifi-mac of an intelligent lock or may not be within the range of the three nearest intelligent locks, and this wifi-mac is discarded; If this wifi-mac is in the neighboring intelligent lock list, then compare the sorting of this wifi-mac in the neighboring intelligent lock list, and select the intelligent lock with the highest sorting in the neighboring intelligent lock list as the preselected alternative lock.

[0034] For example: Suppose the wifi-mac sorting of the RSSI values of the WIFI signals of neighboring intelligent locks scanned through a WIFI signal connection strength scanning tool (such as WIFI Scan) is XXX2, XXX3, XXX4, XXX1, and the sorting in the neighboring intelligent lock list is XXX3 corresponding to C, XXX2 corresponding to D, and XXX1 corresponding to E. Then, after querying and comparing, first, XXX4 is discarded because it is not in the neighboring intelligent lock list, while XXX1, XXX2, and XXX3 are all in the neighboring intelligent lock list, indicating that these are all the wifi-macs of neighboring intelligent locks and are preferred intelligent locks that can be reached through CAD calculation. According to the principle of shortest path reachability and shortest path distance priority, select the intelligent lock corresponding to XXX3 as the preselected alternative lock (XXX2 can be an alternative to the preselected alternative lock and can be selected when XXX3 cannot be used as the alternative lock), and update the neighboring intelligent lock list (if the sorting changes, update this list according to the new sorting). At this time, the sorting in the neighboring intelligent lock list is C, D, E.

[0035] Note: For the sake of convenience of explanation, the intelligent lock with a fault is simply referred to as A (if there are other faulty locks, they are called B), and the preselected alternative lock is simply referred to as C (if there are others, they are called D, E).

[0036] (4)Automatic authorization and configuration of the preselected alternative lock: After A determines that C is the preselected alternative lock, obtain authorization and perform alternative configuration on C; A Sends a Substitute Authorization Request and Receives a Substitute Authorization Reply via the APP: A queries the mobile APP-ID of each occupant in the occupant information list (with unique occupant serial numbers, names, ID card numbers, eigenvectors of face images, mobile APP-IDs, etc.). (Note: Sending a request for authorization to each occupant simultaneously is to prevent some occupants from missing the APP message and being unable to authorize due to not bringing their mobile phones or not replying in time. As long as someone replies to the APP message for authorization, the purpose is achieved. If multiple people reply to the APP message for authorization, it is a duplicate authorization message, and the message is directly discarded.) A sends a substitute unlock authorization request message via the APP (such as: "Do you agree to use the door lock with ID number and address XXX as your substitute unlock identification device?"). The check-in registrant authorizes by confirming via the APP (the confirmation message is like: "ok"); After A receives the reply "ok" from the check-in registrant's APP, it means that A has obtained the authorization for substitute unlock identification of the check-in registrant. A Obtains the Login Authorization for C or D via the Platform: A accesses the platform to obtain the login password of C or D, and then connects to and logs in to WIFI with C or D based on the preselected substitute wifi-mac.

[0037] Note: Assume that the preselected substitute lock for this time is C. Then A establishes a WiFi connection with C and successfully logs in.

[0038] Substitute Configuration for C: A sends the check-in registrant information of A (intelligent lock ID, occupant serial number, name, face eigenvector, etc.) to C; After receiving it, C stores it in C's gray list (data items include: intelligent lock ID, occupant serial number, name, face eigenvector, etc.) as the face database data for substitute identification comparison. After C finishes writing the gray list, it checks for duplicate occupants in the gray list (checks if there are any cases where a person has multiple malfunctioning locks). If there are no cases where a person has multiple malfunctioning locks in the gray list, the substitute configuration setting between C and A is completed, and C replies to A with a successful substitute configuration setting message: "Completed". If there are cases where a person has multiple malfunctioning locks in the gray list, C replies to A with a substitute pairing failure message: "Please select another substitute lock".

[0039] Note: The gray list stores the check-in registrant information of malfunctioning locks. If C is simultaneously the substitute unlock for multiple other malfunctioning locks, for example, when it is the substitute lock for both A and B at the same time, there may be cases where a person has multiple malfunctioning locks and substitute locks in the gray list. Two cases are illustrated as follows: Example 1: Only lock A fails, and lock C is selected as the alternative lock. Then, the check-in registration information of lock A is saved in the gray list of lock C. However, if there is a person R1 in lock A who is also a family member of lock C (i.e., R1 is a family member of both A and C), when lock C recognizes R1, there may be a problem of not being able to determine whether the real purpose of R1 to unlock is for lock C or lock A. In this case, the method in step (6) is used for further optimization and processing.

[0040] Example 2: At this time, there are 2 faulty locks (A and B), and both select lock C as the alternative lock (A determines the alternative first, and then B wants to find C to replace it for unlocking). Then, the check-in registration information of both A and B is saved in the gray list of lock C. However, if there is the same person R2 among the check-in registration personnel of A and B (i.e., R2 is a family member of both A and B), when lock C recognizes R2, there may be a problem of not being able to determine whether the real lock that R2 wants to unlock is A or B. When this situation occurs, lock C should reject the alternative request of the second-arriving B, send a message indicating that the pairing fails, and prompt B to select other alternative locks.

[0041] (5) The faulty lock receives the configuration message of the alternative lock and makes different response processes: When A receives the feedback message of the alternative pairing with C, there are 2 cases for extracting and analyzing the alternative pairing result: C alternative pairing is successful: A publishes the message of the intelligent lock alternative unlocking. A queries the information of C corresponding to the intelligent lock list of A's neighbors (data items include: ID of the neighbor's intelligent lock, IP address, door lock address, path length (meters), walking time (seconds), wifi-mac, etc.): door lock address, path length (meters), walking time (seconds). By querying the mobile APP-ID in the list of A's check-in personnel information (with unique personnel serial number, name, ID card number, eigenvector of the face image, mobile APP-ID, etc.), and sends the message of "You have set the door lock with ID number and address XXX as your alternative unlocking recognition device, with an estimated walking distance of XX meters and a time of XX seconds" to the APP of each check-in person. (After that, it means that the alternative unlocking setting is successful and the notification is completed); C alternative configuration fails: According to the reply message of C "Please select other alternative locks", A selects the alternative intelligent lock D from the updated neighbor intelligent lock list in step (3) to make a new alternative request and configuration, and repeats steps (4) and (5) until the pairing is successful.

[0042] (6) When the check-in registration personnel in the faulty lock are also the check-in registration personnel of the alternative lock C, after C's comparison and successful recognition, it uses a voice prompt to indicate successful recognition. If the person immediately leaves the door lock of C, then unlock A. If the person does not leave immediately, open the door lock of C within the delay period (usually set to 3 seconds); Special processing is adopted for person R1 with dual identities of check-in personnel for A and C: When R1 appears at the door of C, face comparison is performed simultaneously on the list of check-in personnel information for C and the personnel on the gray list (Note: Before the comparison is successful, C does not know that R1 is a person with dual identities of check-in personnel for A and C). If the comparison is successful only in the list of check-in personnel information for C (the comparison in the gray list is unsuccessful), then C unlocks immediately; if the comparison is successful only in the gray list (the comparison in the list of check-in personnel information for C is unsuccessful), then it unlocks on behalf of A, and a comparison message is sent to A according to the method in step (7), and A unlocks by himself; if the comparison is successful in both the list of check-in personnel information for C and the gray list, a special sound set for substitute unlocking is issued to prompt R1 to make a choice, and then the camera of C tracks and identifies the behavior of R1 to judge. If R1 leaves C immediately after hearing the prompt sound, then a comparison message is sent to A according to the method in step (7), and A unlocks by himself. If R1 stays still after hearing the prompt sound, after a preset delay time (usually set to 3 seconds), if C judges that R1 has selected C, then C unlocks immediately.

[0043] Taking the perspective of R1 as an example: If R1 is only a person on the list of check-in personnel information for C, then after the face recognition comparison by C is successful, the door lock of C can be unlocked immediately; if R1 is only a person on the gray list (that is, R1 is a person on the list of check-in personnel information for A), then after the face recognition comparison by C is successful, he can immediately return to the door lock of A and wait to be unlocked; if R1 is a person with dual identities of check-in personnel for A and C, after the face recognition comparison by C is successful, he will hear a special prompt sound (such as 2 "beeps". Setting 2 beeps is to distinguish from the situation where many door locks set 1 "beep" for identification and unlocking). R1 himself judges whether he hopes to enter A or C. If R1 wants to enter the door of A, then he leaves immediately for A after hearing the prompt sound. If he wants to enter the door of C, then he waits patiently for 3 seconds, and C unlocks, and R1 can enter the door of C.

[0044] (7) When the substitute lock successfully identifies and compares, the substitute lock sends an unlocking message to the faulty lock: The faulty lock uses the method of delayed unlocking according to the identification and comparison message of the substitute lock to unlock the faulty lock.

[0045] When C successfully identifies and compares R1, according to step (6), there are 2 situations: R1 is only a check-in personnel for A, and R1 is a check-in personnel for both A and C and R1 has chosen to return to A. The processing procedures for these 2 situations are the same.

[0046] C performs personnel walking speed estimation and departure time acquisition: After C successfully identifies and matches R1, it continues to track R1 until R1 crosses the "two warning lines" in the video (the setting of the two warning lines is mainly to accurately determine the starting point for calculating the unlocking time and estimate the walking speed of R1. In the video area, two semi-circular warning lines (inner warning line, outer warning line) are drawn with the center of the circle as the center. When deploying the intelligent lock, the distance between the inner and outer warning lines is determined by the manual calibration method, such as the distance is L1 meters), which serves as the boundary of the area for video intelligent analysis / motion detection).

[0047] Method for determining the departure time of R1 (for convenience of explanation, this time point is denoted as T1): Through the motion detection algorithm of video intelligent analysis, when it is detected that the person crosses the outer warning line, an alarm is triggered to indicate that R1 has left. At this time point, it is used as the starting point of the unlocking time, and the clock information at this time point is extracted; Method for estimating the walking speed of R1: Use motion detection to extract the clock information when R1 crosses the warning line twice, calculate the time period length when the person crosses the warning line twice (for example, the time period length is S seconds), and combine the pre-calibrated warning line distance L1 of the intelligent lock to calculate the estimated walking speed of the person (for convenience of explanation, the estimated speed is denoted as V, calculation formula: V = L1 ÷ S).

[0048] Message release for successful identification and comparison by C: When C successfully identifies and matches R1 and confirms to notify A to unlock (judging from the behavior detection of R1 in step (6) that R1 is returning to the door of A), the information of R1 (personnel number, intelligent lock ID), departure time T1, and estimated speed V are extracted from the gray list to form a message replacing the successful lock identification (for convenience of description, this message is simply referred to as the unlocking notification message) and sent to the intelligent lock; (8) Delayed unlocking after the faulty lock receives the unlocking notification message from the replacement lock: Calculate the delayed unlocking time according to the time point T1 when R1 leaves C, the estimated speed V of R1, the path length from C to A, the walking time, etc. Among them, the calculation of the A unlocking delay time point T: T2 = T1 + L ÷ V + 5 seconds; T3 = T1 + M + 5 seconds; T = max(T2, T3). Parameter descriptions are as follows: T1: The time point when R1 leaves C; T2: The time point calculated according to the estimated speed V of C; T3: The time point calculated according to the walking time M queried from the neighbor intelligent lock list; L: The path distance from C to A queried from the neighbor intelligent lock list; V: The estimated speed calculated by C based on video analysis when R1 leaves; M: The walking time from C to A queried from the neighbor intelligent lock list; 5 seconds: The delayed increase time, which can be preset according to the walking speed of each person registered for accommodation. If there are family members with mobility difficulties, it can be appropriately extended, and generally can be set to 5 seconds; T=max(T2, T3): indicates the final unlocking time of A, which is the maximum value calculated based on the estimated speed of C and the normal walking speed. (Note: The main reason for taking the larger value is to fully consider that everyone's walking speed may not be 1 meter per second, especially when the person walks very slowly due to some injuries. If the unlocking time is calculated according to the normal speed, it will cause the person to unlock in advance before the person arrives, which brings greater risks; while the unlocking point is based on the time point that takes a long time, which fully considers the actual walking speed. Even if the person arrives early, he can wait a little longer before unlocking. This method is safer).

[0049] A unlocks: A determines based on the difference between the calculated unlocking time T and A's current clock. When the difference is 0, A triggers unlocking (according to theoretical calculations, R1 arrives at A after leaving C and waits for no more than 5 seconds before unlocking the door and entering the house); (9) Replacement cancellation after the smart lock fault is repaired: After A is repaired, it notifies C to cancel the replacement pairing relationship, and C no longer replaces A for identification and comparison.

[0050] A publishes a replacement release message: After A's fault is repaired, A starts the replacement unlocking process after self-checking, and A sends a "Release replacement unlocking" request message to C; A sends a replacement unlocking release message to each registered person of A through the APP (notification message example: "You have released the door lock with ID number and address XXX as your replacement unlocking identification device!" When A's registered person receives this message, he will no longer go to C, but will directly identify and unlock the door at A); C cancels substitution: After receiving the "cancel substitution unlock" request message issued by A, C deletes all data of all registered persons corresponding to A in the gray list; C resumes normal working status and no longer executes the substitution identification and comparison process for A.

[0051] When the smart lock fails due to facial recognition matching, you don’t need to worry about not being able to unlock. The smart lock can automatically start to solicit the neighbor’s smart lock as an alternative door lock, and build a cross-door lock recognition method to solve the problem of facial recognition matching failure, which can effectively solve the problem of being unable to unlock due to facial recognition matching failure of the smart lock.

[0052] It can be seen that, based on the geographical location of the faulty smart lock, multiple nearest neighbor smart locks are selected to generate a list of neighbor smart locks, and a preselected alternative lock for the faulty smart lock is determined from the list of neighbor smart locks; the faulty smart lock sends a request for alternative unlocking authorization to the occupancy registration personnel, and after obtaining authorization, establishes a connection with the preselected alternative lock to perform alternative configuration of the faulty smart lock; when the preselected alternative lock that has completed the alternative configuration detects a person, face recognition comparison is performed; when the recognition comparison by the alternative lock is successful, the alternative lock sends an unlocking message to the faulty smart lock, and the faulty smart lock uses a delayed unlocking method to unlock the faulty smart lock according to the recognition comparison message of the alternative lock, so that a cross-door lock recognition method can be established to solve the problem of face recognition comparison failure, and the problem that the smart lock cannot be unlocked due to face recognition comparison failure can be effectively solved.

[0053] Another embodiment of the present invention provides a cross-lock door opening system for a smart door lock. Refer to Figure 3 , the system may include: A determination module 301, configured to select multiple nearest neighbor smart locks according to the geographical location of the faulty smart lock, generate a list of neighbor smart locks, and determine a preselected alternative lock for the faulty smart lock from the list of neighbor smart locks; A configuration module 302, configured to send a request for alternative unlocking authorization to the occupancy registration personnel by the faulty smart lock, and after obtaining authorization, establish a connection with the preselected alternative lock to perform alternative configuration of the faulty smart lock; An identification module 303, configured to perform face recognition comparison when the preselected alternative lock that has completed the alternative configuration detects a person; An unlocking module 304, configured to, when the recognition comparison by the alternative lock is successful, the alternative lock sends an unlocking message to the faulty smart lock, and the faulty smart lock uses a delayed unlocking method to unlock the faulty smart lock according to the recognition comparison message of the alternative lock.

[0054] It can be seen that, based on the geographical location of the faulty smart lock, multiple nearest neighbor smart locks are selected to generate a list of neighbor smart locks, and a preselected alternative lock for the faulty smart lock is determined from the list of neighbor smart locks; the faulty smart lock sends a request for alternative unlocking authorization to the occupancy registration personnel, and after obtaining authorization, establishes a connection with the preselected alternative lock to perform alternative configuration of the faulty smart lock; when the preselected alternative lock that has completed the alternative configuration detects a person, face recognition comparison is performed; when the recognition comparison by the alternative lock is successful, the alternative lock sends an unlocking message to the faulty smart lock, and the faulty smart lock uses a delayed unlocking method to unlock the faulty smart lock according to the recognition comparison message of the alternative lock, so that a cross-door lock recognition method can be established to solve the problem of face recognition comparison failure, and the problem that the smart lock cannot be unlocked due to face recognition comparison failure can be effectively solved.

[0055] An embodiment of the present invention further provides a storage medium, in which a computer program is stored, and the computer program is configured to execute the steps in any one of the above method embodiments when running.

[0056] Specifically, in this embodiment, the above storage medium can be configured to store a computer program for executing the following steps: S201, Selection of neighbor intelligent locks and determination of preselected alternative locks: According to the geographical location of the faulty intelligent lock, select multiple neighbor intelligent locks that are the closest, generate a list of neighbor intelligent locks, and determine the preselected alternative lock for the faulty intelligent lock from the list of neighbor intelligent locks; S202, Authorization and configuration of alternative locks: The faulty intelligent lock sends a request for alternative unlocking authorization to the occupancy registration personnel. After obtaining authorization, it establishes a connection with the preselected alternative lock to perform the alternative configuration of the faulty intelligent lock; S203, Face recognition comparison and response: When the preselected alternative lock that has completed the alternative configuration detects a person, perform face recognition comparison; S204, Unlock notification and delayed unlocking: When the alternative lock successfully identifies and compares, the alternative lock sends an unlock message to the faulty intelligent lock, and the faulty intelligent lock uses the delayed unlocking method to unlock the faulty intelligent lock according to the identification and comparison message of the alternative lock.

[0057] It can be seen that according to the geographical location of the faulty intelligent lock, select multiple neighbor intelligent locks that are the closest, generate a list of neighbor intelligent locks, and determine the preselected alternative lock for the faulty intelligent lock from the list of neighbor intelligent locks; the faulty intelligent lock sends a request for alternative unlocking authorization to the occupancy registration personnel. After obtaining authorization, it establishes a connection with the preselected alternative lock to perform the alternative configuration of the faulty intelligent lock; when the preselected alternative lock that has completed the alternative configuration detects a person, perform face recognition comparison; when the alternative lock successfully identifies and compares, the alternative lock sends an unlock message to the faulty intelligent lock, and the faulty intelligent lock uses the delayed unlocking method to unlock the faulty intelligent lock according to the identification and comparison message of the alternative lock, so as to be able to build a cross-door lock recognition method to solve the problem of face recognition comparison failure, and can effectively solve the problem that the intelligent lock cannot be unlocked due to face recognition comparison failure.

[0058] An embodiment of the present invention further provides an electronic device, including a memory and a processor, where a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.

[0059] Specifically, the above electronic device may further include a transmission device and an input / output device, where the transmission device is connected to the above processor, and the input / output device is connected to the above processor.

[0060] Specifically, in this embodiment, the processor may be configured to perform the following steps through a computer program: S201, neighbor smart lock selection and pre-selected replacement lock determination: according to the geographical location of the faulty smart lock, multiple neighbor smart locks closest to the faulty smart lock are selected to generate a list of neighbor smart locks, and a pre-selected replacement lock for the faulty smart lock is determined from the list of neighbor smart locks; S202, replacement lock authorization and configuration: the faulty smart lock sends a replacement unlock authorization request to the check-in resident, and after obtaining the authorization, establishes a connection with the pre-selected replacement lock to perform replacement configuration of the faulty smart lock; S203, face recognition comparison and response: when the pre-selected replacement lock that has completed the replacement configuration detects a person, a face recognition comparison is performed; S204, unlock notification and delayed unlocking: when the replacement lock is successfully identified and compared, the replacement lock sends an unlock message to the faulty smart lock, and the faulty smart lock uses a delayed unlocking method to unlock the faulty smart lock based on the identification and comparison message of the replacement lock.

[0061] It can be seen that according to the geographical location of the faulty smart lock, multiple nearest neighbor smart locks are selected to generate a list of neighbor smart locks, and the pre-selected alternative lock of the faulty smart lock is determined from the list of neighbor smart locks; the faulty smart lock sends an alternative unlocking authorization request to the check-in registration person, and after obtaining the authorization, establishes a connection with the pre-selected alternative lock to perform alternative configuration of the faulty smart lock; when the pre-selected alternative lock that has completed the alternative configuration detects a person, a face recognition comparison is performed; when the alternative lock recognition comparison is successful, the alternative lock sends an unlocking message to the faulty smart lock, and the faulty smart lock uses a delayed unlocking method to unlock the faulty smart lock based on the recognition comparison message of the alternative lock, thereby being able to build a cross-door lock recognition method to solve the problem of face recognition comparison failure, which can effectively solve the problem of being unable to unlock due to face recognition comparison failure of the smart lock.

[0062] The above describes in detail the structure, features and effects of the present invention based on the embodiments shown in the drawings. The above is only a preferred embodiment of the present invention, but the present invention is not limited to the scope of implementation shown in the drawings. Any changes made according to the concept of the present invention, or modifications to equivalent embodiments with equivalent changes, which still do not exceed the spirit covered by the description and drawings, should be within the protection scope of the present invention.

Claims

1. A cross-lock door opening method for an intelligent door lock, characterized in that: The method comprises: Neighbor smart lock selection and pre-selected replacement lock determination: According to the geographical location of the faulty smart lock, multiple neighbor smart locks closest to the faulty smart lock are selected to generate a list of neighbor smart locks, and a pre-selected replacement lock for the faulty smart lock is determined from the list of neighbor smart locks; Alternative lock authorization and configuration: The faulty smart lock sends a replacement unlock authorization request to the check-in personnel. After obtaining the authorization, it establishes a connection with the pre-selected replacement lock to perform the replacement configuration of the faulty smart lock; Face recognition comparison and response: When the pre-selected replacement lock that has completed the replacement configuration detects a person, a face recognition comparison is performed; Unlock notification and delayed unlocking: When the replacement lock is successfully identified and compared, the replacement lock sends an unlocking message to the faulty smart lock. The faulty smart lock uses a delayed unlocking method to unlock the faulty smart lock based on the identification and comparison message of the replacement lock.

2. The method according to claim 1, characterized in that In the step of selecting neighbor smart locks and determining pre-selected alternative locks, when calculating the path length through the CAD map, the API interface of the CAD software is used to import the geographic location data of the smart locks, calculate the path length from each smart lock to the faulty smart lock, and select the three neighbor smart locks with the shortest path length and write them into the neighbor smart lock list.

3. The method according to claim 1, characterized in that In the step of alternative lock authorization and configuration, the pre-selected alternative lock performs a personnel duplicate check when storing the registered personnel information of the faulty smart lock; if there is registered personnel information of multiple faulty smart locks in the gray list, the subsequent replacement request will be rejected and a prompt will be given to select other alternative locks.

4. The method according to claim 1, characterized in that: In the face recognition comparison and response step, when the person is a registered person of both the faulty smart lock and the pre-selected replacement lock, the pre-selected replacement lock determines the person's intention through sound prompts and delay mechanisms; If the person leaves immediately after hearing the prompt tone, the faulty smart lock will be unlocked; if the person does not leave, the pre-selected alternative lock will be unlocked.

5. The method according to claim 1, characterized in that In the unlock notification and delayed unlocking steps, the calculation formula for the delayed unlocking time is: ; Among them, T1 is the departure time of the personnel, L is the path length, V is the walking speed of the personnel, and M is the preset walking time.

6. A cross-lock door opening system for an intelligent door lock, characterized in that: The system comprises: A determination module, used to select multiple neighboring smart locks that are closest to the faulty smart lock according to the geographical location of the faulty smart lock, generate a list of neighboring smart locks, and determine a pre-selected replacement lock for the faulty smart lock from the list of neighboring smart locks; The configuration module is used for the faulty smart lock to send an alternative unlocking authorization request to the check-in personnel, and after obtaining the authorization, establish a connection with the pre-selected alternative lock to perform alternative configuration of the faulty smart lock; A recognition module, used for performing face recognition comparison when a person is detected by a pre-selected replacement lock that has completed the replacement configuration; The unlocking module is used to send an unlocking message to the faulty smart lock when the replacement lock is successfully identified and compared. The faulty smart lock uses a delayed unlocking method to unlock the faulty smart lock based on the identification and comparison message of the replacement lock.

7. The system according to claim 6, characterized in that The determination module is specifically used to: when calculating the path length through the CAD map, use the API interface of the CAD software to import the smart lock geographic location data, calculate the path length from each smart lock to the faulty smart lock, and select the three neighboring smart locks with the shortest path length, and write them into the neighboring smart lock list.

8. The system according to claim 6, characterized in that The configuration module is specifically used to: perform duplicate personnel checking when storing the registered personnel information of the faulty smart lock when pre-selecting the replacement lock; if there is registered personnel information of multiple faulty smart locks in the gray list, reject subsequent replacement requests and prompt to select other replacement locks.

9. A storage medium, characterized in that: The storage medium stores a computer program, wherein the computer program is configured to execute the method according to any one of claims 1 to 5 when executed.

10. An electronic device comprising a memory and a processor, characterized in that: A computer program is stored in the memory, and the processor is configured to run the computer program to perform the method according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Intelligent device box and work method thereof

    CN107741739A

  • LOCK for providing redundant access channels

    CN108027992A

  • Intelligent lock based on passive standby lock, intelligent lock system and control method

    CN108661449A

  • Intelligent lock with one-key repair-reporting key and working method of intelligent lock

    CN110175685A

  • Identity verification method and device based on intelligent lock and intelligent lock

    CN115862196A

Cited By

  • Verification processing method and system based on intelligent lock and storage medium

    CN120260169A

  • Talkback method and system based on label door lock cooperation

    CN120343535A

  • Door lock and card cooperative processing method and system

    CN120853293A

  • Method and system for door lock and card cooperative processing

    CN120853293B

  • Door lock opening method and system

    CN122024364A