A method and system for coordinated door opening by front and rear door locks

By using a coordinated opening method for the front and rear door locks, biometric verification and status detection are used to generate a linkage trigger signal, enabling coordinated response and dynamic notification between the front and rear door locks. This solves the problems of low efficiency and security risks caused by the independent operation of the front and rear door locks in existing technologies, and improves user experience and security.

CN121096052BActive Publication Date: 2026-01-30DESSMANN CHINA MACHINERY & ELECTRONICS
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202511596221.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-11-04
Publication Date
2026-01-30
Estimated Expiration
2045-11-04

AI Technical Summary

Technical Problem

The lack of a coordination mechanism between the front and rear locks in existing smart door lock systems results in users having to repeatedly verify their identity when entering and exiting, which is inefficient and creates a disjointed experience. In particular, when no one responds at the front door in visitor reception scenarios, the rear door cannot proactively intervene to assist, increasing security risks and operational complexity.

Method used

By using a coordinated door opening method between the front and rear door locks, a linkage trigger signal is generated by biometric verification, door closing action, and indoor and outdoor status detection. The rear door lock performs multi-level identity verification and security decision-making, reverse guidance control, and dynamic addressing collaborative processing to achieve coordinated response and dynamic notification between the front and rear door locks.

Benefits of technology

It improves the collaborative response efficiency and user experience of smart door locks, reduces redundant verification and operational complexity, and enhances security and convenience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121096052B_ABST
    Figure CN121096052B_ABST
Patent Text Reader

Abstract

This invention discloses a method and system for coordinated unlocking of front and rear door locks. The method includes: front door linkage triggering processing: generating an entry record based on the complete behavior sequence detected by the front door lock to obtain a linkage trigger signal; rear door security decision processing: performing rear door status detection and multi-level personnel identity verification based on the unlocking request message received by the rear door lock to obtain an unlocking decision result; reverse guidance control processing: establishing a cross-lock audio and video channel based on a doorbell event that the front door lock does not respond to, to obtain a reverse unlocking command; schedule comparison guidance processing: automatically unlocking and providing spatial guidance when the front door lock rings by comparing visitor arrival schedule information; and dynamic addressing coordination processing: performing target rear door lock positioning processing based on the mobile terminal location information detected by the door lock within the multicast network to obtain a targeted notification strategy. Using this invention, the coordinated response efficiency and user experience of smart door locks can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of smart lock technology, specifically a method and system for coordinated opening of front and rear door locks. Background Technology

[0002] Existing smart lock systems typically operate independently, lacking a coordination mechanism between the front and rear locks. This results in repeated identity verification for users entering and exiting, leading to inefficiency and a fragmented user experience. Particularly in visitor reception scenarios, the rear door cannot proactively intervene if the front door remains unresponsive, causing communication delays. Furthermore, traditional locks have limited network addressing capabilities, making it difficult to dynamically identify user locations to optimize notification paths, increasing security risks and operational complexity. Current technologies do not yet provide systematic solutions for the needs of multi-door linkage, including biometric verification, cross-lock guidance, and dynamic addressing. Summary of the Invention

[0003] The purpose of this invention is to provide a method and system for coordinated opening of front and rear door locks, in order to overcome the shortcomings of the prior art and improve the coordinated response efficiency and user experience of smart door locks.

[0004] One embodiment of this application provides a method for coordinated opening of front and rear door locks, the method comprising:

[0005] Front door linkage trigger processing: Based on the complete behavioral sequence detected by the front door lock, including biometric verification, door closing action, indoor occupancy status and outdoor occupancy status, an entry record is generated to obtain a linkage trigger signal; if the linkage function is enabled, an opening request message is sent to the rear door lock.

[0006] Backdoor security decision processing: Based on the door opening request message received by the backdoor lock, backdoor status detection and multi-level personnel identity verification are performed to obtain the unlocking decision result; among them, the verification methods include biometric matching and entry and exit record correlation analysis;

[0007] Reverse guidance control processing: Based on the doorbell event that the front door lock does not respond, cross-lock audio and video channel establishment processing is performed to obtain the reverse unlocking command; among them, the rear door lock triggers the front door unlocking and generates spatial guidance prompts;

[0008] Schedule comparison and guidance processing: When the front door lock rings, it compares the visitor's visit schedule information. If the comparison is successful, it will automatically unlock and provide spatial guidance based on the location information of the mobile terminal detected by the rear door lock.

[0009] Dynamic addressing and collaborative processing: Based on the location information of mobile terminals monitored by door locks within the multicast network, target back door lock positioning processing is performed to obtain a targeted notification strategy; among which, visitor notifications are unicasted to the most recently active back door locks first.

[0010] Optionally, the front door linkage triggering process includes:

[0011] Behavior sequence verification: Based on the door closing signal output by the door magnetic sensor, the presence detection signal from the indoor human body sensor, and the absence detection signal from the outdoor camera, time sequence alignment processing is performed to obtain a valid entry behavior determination;

[0012] Linkage enable judgment: Based on the locally stored linkage function flag status, the enable condition is checked and processed to obtain the linkage activation signal; where the flag is 1 when activated.

[0013] Request message construction: Based on the linkage activation signal, the message is encapsulated to obtain the door opening request message; the message type is linkage request, and the receiver ID is bound to the door lock identifier.

[0014] Optionally, the backdoor security decision processing includes:

[0015] Dual identity verification: Based on the facial image captured by the back door camera, feature extraction is performed and compared with the template library to obtain the biometric verification result; if the match fails, the most recent entry and exit record type field is queried.

[0016] Suspicious Response Execution: Based on the result of failed biometric verification and no exit record, video stream push processing is performed to obtain suspicious alarm instructions; among them, video encoding data is synchronized to the front door lock and mobile APP;

[0017] Secondary unlocking trigger: Based on the confirmation command received by the front door lock, digital signature verification is performed to obtain a secure unlocking signal; among which, the electric unlocking mechanism of the rear door is driven to perform the door opening action.

[0018] Optionally, the reverse boot control process includes:

[0019] Doorbell event forwarding: Based on the no-response status recorded by the front door lock timer within 5 seconds, the event message is encapsulated and processed to obtain the doorbell forwarding instruction; where the destination address points to the bound rear door lock;

[0020] Video channel establishment: Based on the forwarding instruction received by the rear door lock, RTP streaming media request processing is performed to obtain real-time monitoring images; among them, the front door lock transmits video streams to lock B.

[0021] Guidance command generation: Based on the "unlock and guide" button signal on the rear door lock touch screen, the voice template is called and processed to obtain navigation voice data; among them, the prompts for going straight from the living room to the rear door are generated by combining the door lock coordinates.

[0022] Optionally, the dynamic addressing cooperative processing includes:

[0023] Network registration execution: Based on the power-on initialization command of each door lock, a multicast member list containing door lock ID and door lock type information is obtained by sending a door lock listening group join message. The router maintains the forwarding interface table of group 228.1.1.1 and marks the door lock ID and door lock type information carried in the message on the interface that receives the door lock listening group join message.

[0024] Addressing database update: Based on the MAC addresses of family members' mobile phones detected by the front door lock WiFi module, multicast announcement processing is performed to obtain dynamic addressing records; among them, the rear door lock receives and overwrites the original location information, and the multicast message from the rear door lock to the front door lock is updated, and the router forwards the message according to the multicast forwarding table entry containing door lock type information.

[0025] Tiered notification decision: Based on visitor ringing events and the latest addressing records, target lock selection is performed, and a unicast notification instruction is obtained; if there is no response within 5 seconds, it is used to exclude all front door locks and rear door locks that do not respond to unicast.

[0026] Optionally, the method further includes:

[0027] Privacy-priority control: Based on the Do Not Disturb flag stored locally on the back door lock, the linkage request is intercepted and processed to obtain a privacy protection response; the protection response includes: blocking the unlocking action when the flag is 1; sending a response message with the status field value of prohibiting linkage to lock A; and displaying the Do Not Disturb text prompt on the touch screen.

[0028] Another embodiment of this application provides a system for coordinated opening of front and rear door locks, the system comprising:

[0029] The trigger module is used for front door linkage triggering: based on the complete behavioral sequence detected by the front door lock, including biometric verification, door closing action, indoor occupancy status and outdoor occupancy status, it performs entry record generation processing to obtain linkage trigger signal; if the linkage function is enabled, it sends an opening request message to the rear door lock.

[0030] The decision module is used for backdoor security decision processing: based on the door opening request message received by the backdoor lock, it performs backdoor status detection and multi-level personnel identity verification to obtain the unlocking decision result; among which, the verification methods include biometric matching and entry and exit record correlation analysis;

[0031] The control module is used for reverse guidance control processing: based on the doorbell event that the front door lock does not respond, it performs cross-lock audio and video channel establishment processing to obtain the reverse unlocking command; among them, the rear door lock triggers the front door unlocking and generates spatial guidance prompts;

[0032] The guidance module is used for schedule comparison and guidance processing: when the front door lock rings, it compares the visitor's visit schedule information. If the comparison is successful, it will automatically unlock and provide spatial guidance based on the location information of the mobile terminal detected by the rear door lock.

[0033] The collaboration module is used for dynamic addressing and collaborative processing: based on the location information of the mobile terminal monitored by the door lock in the multicast network, the target back door is locked and a targeted notification strategy is obtained; among them, visitor notifications are unicasted to the most recently active back door lock.

[0034] Another embodiment of this application provides a storage medium storing a computer program, wherein the computer program is configured to execute the method described in any of the preceding claims when running.

[0035] Another embodiment of this application provides an electronic device including a memory and a processor, wherein the memory stores a computer program and the processor is configured to run the computer program to perform the method described in any of the preceding claims.

[0036] Compared with existing technologies, this invention provides a method for coordinated unlocking of front and rear door locks. The method includes: front door linkage triggering processing: based on the complete behavioral sequence detected by the front door lock, including biometric verification, door closing action, indoor occupancy status, and outdoor occupancy status, an entry record is generated to obtain a linkage trigger signal; rear door security decision processing: based on the unlocking request message received by the rear door lock, rear door status detection and multi-level personnel identity verification are performed to obtain an unlocking decision result; reverse guidance control processing: based on a doorbell event that the front door lock does not respond to, a cross-lock audio / video channel is established to obtain a reverse unlocking command; dynamic addressing coordination processing: based on the location information of the mobile terminal monitored by the door lock within the multicast network, target rear door lock positioning processing is performed to obtain a targeted notification strategy, thereby improving the collaborative response efficiency and user experience of smart door locks. Attached Figure Description

[0037] Figure 1 Hardware structure block diagram of a computer terminal for a method of coordinated opening of front and rear door locks provided in an embodiment of the present invention;

[0038] Figure 2 This is a flowchart illustrating a method for coordinated opening of front and rear door locks according to an embodiment of the present invention.

[0039] Figure 3 This is a schematic diagram of a system for coordinated opening of front and rear door locks, provided as an embodiment of the present invention. Detailed Implementation

[0040] 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.

[0041] This invention first provides a method for coordinated opening of front and rear door locks, which can be applied to electronic devices, such as computer terminals, specifically ordinary computers.

[0042] The following detailed explanation uses a computer terminal as an example. Figure 1 This is a hardware structure block diagram of a computer terminal for a method of coordinated opening of front and rear door locks provided in an embodiment of the present invention. Figure 1 As shown, the computer device includes a processor, memory, and network interface connected via a system bus, wherein the memory may include non-volatile storage media and internal memory.

[0043] Non-volatile storage media can store operating systems and computer programs. These computer programs include program instructions that, when executed, cause the processor to perform any method of coordinated front and rear door unlocking.

[0044] The processor provides computing and control capabilities, supporting the operation of the entire computer device.

[0045] Internal memory provides an environment for the execution of computer programs in non-volatile storage media. When the computer program is executed by the processor, it enables the processor to execute any method of coordinating the opening of the front and rear door locks.

[0046] This network interface is used for network communication, such as sending assigned tasks. Those skilled in the art will understand that... Figure 1 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0047] It should be understood that the processor can be a Central Processing Unit (CPU), but it can 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 these, a general-purpose processor can be a microprocessor or any conventional processor.

[0048] See Figure 2The present invention provides a method for coordinating front and rear door locks to open a door, which may include the following steps:

[0049] S201, Front door linkage triggering process: Based on the complete behavioral sequence detected by the front door lock, including biometric verification, door closing action, indoor occupancy status, and outdoor occupancy status, an entry record is generated to obtain a linkage trigger signal; wherein, if the linkage function is activated, an opening request message is sent to the rear door lock; specifically, the front door linkage triggering process includes:

[0050] Behavior sequence verification: Based on the door closing signal output by the door magnetic sensor, the presence detection signal from the indoor human body sensor, and the absence detection signal from the outdoor camera, time sequence alignment processing is performed to obtain a valid entry behavior determination;

[0051] Linkage enable judgment: Based on the locally stored linkage function flag status, the enable condition is checked and processed to obtain the linkage activation signal; where the flag is 1 when activated.

[0052] Request message construction: Based on the linkage activation signal, the message is encapsulated to obtain the door opening request message; the message type is linkage request, and the receiver ID is bound to the door lock identifier.

[0053] S202, Backdoor security decision processing: Based on the door opening request message received by the backdoor lock, perform backdoor status detection and multi-level personnel identity verification to obtain an unlocking decision result; wherein, the verification methods include biometric matching and entry / exit record correlation analysis; specifically, the backdoor security decision processing includes:

[0054] Dual identity verification: Based on the facial image captured by the back door camera, feature extraction is performed and compared with the template library to obtain the biometric verification result; if the match fails, the most recent entry and exit record type field is queried.

[0055] Suspicious Response Execution: Based on the result of failed biometric verification and no exit record, video stream push processing is performed to obtain suspicious alarm instructions; among them, video encoding data is synchronized to the front door lock and mobile APP;

[0056] Secondary unlocking trigger: Based on the confirmation command received by the front door lock, digital signature verification is performed to obtain a secure unlocking signal; among which, the electric unlocking mechanism of the rear door is driven to perform the door opening action.

[0057] S203, Reverse Guidance Control Processing: Based on the doorbell event that the front door lock does not respond, a cross-lock audio / video channel establishment process is performed to obtain a reverse unlocking command; wherein, the rear door lock triggers the front door unlocking and generates a spatial guidance prompt; specifically, the reverse guidance control processing includes:

[0058] Doorbell event forwarding: Based on the no-response status recorded by the front door lock timer within 5 seconds, the event message is encapsulated and processed to obtain the doorbell forwarding instruction; where the destination address points to the bound rear door lock;

[0059] Video channel establishment: Based on the forwarding instruction received by the rear door lock, RTP streaming media request processing is performed to obtain real-time monitoring images; among them, the front door lock transmits video streams to lock B.

[0060] Guidance command generation: Based on the "unlock and guide" button signal on the rear door lock touch screen, the voice template is called and processed to obtain navigation voice data; among them, the prompts for going straight from the living room to the rear door are generated by combining the door lock coordinates.

[0061] S204, Schedule Comparison and Guidance Processing: When the front door lock rings, it compares the visitor's schedule information. If the comparison is successful, it automatically unlocks and provides spatial guidance based on the location information of the mobile terminal detected by the rear door lock.

[0062] S205, Dynamic Addressing Coordination Processing: Based on the mobile terminal location information detected by door locks within the multicast network, target backdoor locking is performed to obtain a targeted notification strategy; wherein, visitor notifications are preferentially sent unicast to the most recently active backdoor lock. Specifically, the dynamic addressing coordination processing includes:

[0063] Network registration execution: Based on the power-on initialization command of each door lock, a multicast member list containing door lock ID and door lock type information is obtained by sending a door lock listening group join message. The router maintains the forwarding interface table of group 228.1.1.1 and marks the door lock ID and door lock type information carried in the message on the interface that receives the door lock listening group join message.

[0064] Addressing database update: Based on the MAC addresses of family members' mobile phones detected by the front door lock WiFi module, multicast announcement processing is performed to obtain dynamic addressing records; among them, the rear door lock receives and overwrites the original location information, and the multicast message from the rear door lock to the front door lock is updated, and the router forwards the message according to the multicast forwarding table entry containing door lock type information.

[0065] Tiered notification decision: Based on visitor ringing events and the latest addressing records, target lock selection is performed, and a unicast notification instruction is obtained; if there is no response within 5 seconds, it is used to exclude all front door locks and rear door locks that do not respond to unicast.

[0066] Furthermore, the method also includes: privacy status priority control: based on the do-not-disturb flag stored locally on the back door lock, the linkage request is intercepted to obtain a privacy protection response; wherein, the protection response includes: blocking the unlocking action when the flag is 1; sending a response message with a status field value of prohibiting linkage to lock A; and displaying a do-not-disturb text prompt on the touch screen.

[0067] In practical applications, some houses (such as villas) have front and back doors, both equipped with smart locks. After family members open the front door upon returning home, they still need to walk to the back door and manually open it (e.g., for ventilation), which is inconvenient. This application addresses houses with front and back doors (such as villas), aiming to enable coordinated locking of both doors, allowing the back door to be opened or closed depending on the situation, thus improving both convenience and security.

[0068] (I) Core Idea:

[0069] For houses with front and back doors (such as villas), smart door locks (front door lock A and back door lock B) are installed on both doors. Locks A and B are linked; when a family member enters through the front door, the back door may automatically open or remain closed depending on the situation. The back door lock can also be set to "Do Not Disturb," in which case it will not trigger the linked door opening. When a family member is in the back door area, if a visitor arrives, they can confirm the visitor's presence and unlock the front door, or the visitor can synchronize their schedule through a mobile calendar app to automatically unlock the front door.

[0070] In villas with multiple front and rear door locks, the front and rear door locks maintain the MAC addresses of recently detected family members' mobile phones via multicast information. When a visitor rings the doorbell of any front door lock, that front door lock only calls the corresponding rear door lock to confirm and unlock it, minimizing disturbance to the other rear door locks.

[0071] The design is as follows:

[0072] The door lock supports detailed recording of entry and exit activities. It identifies an entry activity as a sequence of sequential unlocking records (external unlocking), closing records, indoor occupant detection information (detected as occupied), and outdoor occupant detection information (detected as unoccupied), and generates an entry record locally. Similarly, it identifies an exit activity as a sequence of sequential unlocking records (internal unlocking), closing records, outdoor occupant detection information (detected as occupied), and indoor occupant detection information (detected as unoccupied), and generates an exit record locally.

[0073] The front door lock A and the rear door lock B can be linked to open the door. When family member P1 successfully enters the room through the face recognition authentication function of the front door lock A, after A forms a complete entry record, it sends a linked door opening request message to B. After receiving the request, B first checks whether the rear door is closed. If it is closed, it further uses B's camera to determine whether there is anyone in the area outside the rear door. The following situations apply: (1) If B detects that there is no one in the area outside the rear door, B unlocks and opens the rear door directly, and sends a response message (the rear door has been opened) to A. (2) If B detects that there is someone in the area outside the rear door, and finds that the most recent record is an exit record through face recognition or local query, it confirms that the person is a family member. B then unlocks and opens the rear door, and sends a response message (the rear door has been opened) to A. (3) If B detects a person in the back door area, but the face recognition does not match or the most recent record is not an exit record, then B is confirmed as a suspicious person. B will not unlock the door, but will send a response message to A (There is a suspicious person at the back door, please verify) and push the B camera image to A's screen and P1's mobile door lock APP. P1 can check the video to confirm the situation. If there is no abnormality, P1 can open the door on A's touch screen or mobile door lock APP. A sends a second request message to B. After receiving it, B unlocks the door and opens the back door.

[0074] Improvement 1: The rear door lock B can also be set to a "Do Not Disturb" indicator, ensuring that B will not unlock automatically when in "Do Not Disturb" mode, protecting the privacy of family members. Family member P2 opens the rear door lock B and presses the "Do Not Disturb" button on the rear panel touchscreen of B to set the "Do Not Disturb" mode. After family member P1 successfully enters the room via facial recognition on the front door lock A, A sends a request to B to unlock the door. Upon receiving the request, if the rear door is closed and in "Do Not Disturb" mode, B will not unlock but will send a response message to A indicating that the rear door is in "Do Not Disturb" mode. After receiving the response message, A will give a voice prompt to P1, "The rear door is set to 'Do Not Disturb,' and the linkage function is paused." Subsequently, family members can press the "Cancel Do Not Disturb" button on the rear panel touchscreen of B to cancel the "Do Not Disturb" setting.

[0075] Improvement 2: The rear door lock B can also be linked with the front door lock A to enable A to unlock. When a visitor rings the doorbell of the front door lock A, and A does not respond (not unlocked) within a set time, A will send a visitor notification message to the rear door lock B. Upon receiving the message, B will ring its bell. Family member P2 can view the camera footage from lock A through the touchscreen on the rear panel of B, conduct a voice call, and click the "Unlock and Guide Front Door" button. B will then send an "Unlock and Guide Request Message" to A to unlock lock A and provide voice guidance to the visitor to the rear door, eliminating the need for P2 to walk to the front door to open it.

[0076] Improvement 3: Family members can set visitor information via their mobile phone calendars and allow the door lock app to access it, sending a temporary password to the visitor in advance. The door lock app reads the next day's schedule daily, sending a notification to the cloud platform if there is a visitor. Before the preset time, the app rechecks the schedule and sends the latest information. The cloud platform notifies both the front and back door locks before the preset time. Afterward, the door lock periodically scans surrounding devices to confirm whether family members' phones are nearby. When the visitor arrives around the agreed time, they enter the temporary password, the door lock verifies and retrieves the schedule information, and determines the unlocking prompt based on the phone's location (e.g., unlocking only or unlocking with voice guidance to the back door), without waiting for manual confirmation from the homeowner.

[0077] Improvement 4: In scenarios with multiple front and rear door locks, all front and rear door locks join the multicast group by sending a "Door Lock Listening Group Join Message." The home gateway (router) is responsible for maintaining the multicast forwarding table entries, including marking the door lock ID and door lock type information on the interface receiving the message upon receiving it, and forwarding relevant multicast information according to the multicast forwarding table entries. When a family member enters, the corresponding front door lock records and multicasts the family member's WiFi MAC address it has been listening to to all other door locks. When a family member appears near a rear door lock, the corresponding rear door lock updates its record and multicasts the listening message to all front door locks. When a visitor rings the doorbell on a front door lock, the corresponding front door lock unicasts a notification message to the rear door lock that last sent the family member's mobile phone MAC address listening message and rings the doorbell. If the rear door lock does not respond, it multicasts the message to other rear door locks and rings the doorbell.

[0078] (II) Complete technical implementation process:

[0079] 1. Prerequisites:

[0080] Houses with front and back doors (such as villas) are equipped with smart door locks on both doors (let's say the front door lock is A and the back door lock is B). Both locks are equipped with cameras that support facial recognition and other modes, and are connected to the same home Wi-Fi network to support network communication.

[0081] A and B register with the cloud platform, set A as the front door lock and B as the back door lock, and bind them together to enable the "linked door opening" function. Facial information of family members is entered through either door lock. The cloud platform uniformly creates user information (person ID, facial template, etc., where the facial template refers to the encrypted facial feature vector information of an authenticated person) for each family member and shares this user information between A and B through the cloud platform. Both A and B also store the user information locally for authentication and recording purposes.

[0082] Human body sensors are installed on the interior sides of both the front and rear doors to detect whether anyone is inside the door and to communicate with doors A and B. The rear door lock B is equipped with an automatic door opening device or a linked automatic door opening system, so that the rear door can open automatically after door B is unlocked.

[0083] The area outside the back door is a closed area (such as a villa with its own garden), meaning that people who leave through the back door must return to the house through the back door again.

[0084] 2. Front and rear door locks' handling of personnel entry and exit records:

[0085] Both front and rear door locks support entry and exit recording. Taking front door lock A as an example:

[0086] (1) Judgment and recording of entry behavior:

[0087] A person authenticates in front of A (e.g., through facial recognition). A obtains the person's facial feature vector and compares it with a locally stored facial template. If the comparison is successful (i.e., the similarity exceeds a threshold), A unlocks the door. A generates an unlock record locally, including the unlocking time, unlocking direction (external unlocking), unlocking method (e.g., facial recognition), and operator (e.g., the ID of the person performing facial authentication).

[0088] When a person enters and closes the door, A detects the closing action (e.g., by using a door magnetic sensor to detect changes in the distance between the door and the door frame), then checks the door's closing status (closed or not closed). A then generates a door closing record locally, including the closing time and the closing status (closed or not closed).

[0089] Then, within a reasonable time (e.g., 2 seconds), A interfaces with the human body sensor installed on the interior side of the front door to confirm whether anyone has entered the indoor area. The human body sensor sends feedback to A regarding the presence of anyone inside. A then generates an indoor occupant detection record locally, including the detection time and detection status (occupied or unoccupied). The reasonable time can be set based on factors such as the actual scenario and the device's response speed.

[0090] Next, within a reasonable time (e.g., 2 seconds), camera A detects whether there is anyone in front of the door, confirms whether the person performing facial recognition has left the area outside the door, and then camera A generates an outdoor person detection record locally, including the detection time and detection status (someone or no one).

[0091] A, based on the above sequence of unlocking records (external unlocking), closing records, indoor occupant detection information (detection status: occupied), and outdoor occupant detection information (detection status: unoccupied), collectively confirms this as an entry behavior and generates an entry record locally. This entry record includes the behavior type (entry behavior), operator (the ID of the person performing facial recognition), behavior time (entry time, i.e., the closing time in the closing record), unlocking direction (external unlocking), unlocking method (e.g., facial recognition), closing status (closed, not closed), indoor detection status (occupied), and outdoor detection status (unoccupied). If A's unlocking records (external unlocking), closing records, indoor occupant detection information (detection status: occupied), and outdoor occupant detection information (detection status: unoccupied) are incomplete or invalid, no entry record is generated. All entry records are uniformly stored locally in the "Entry / Exit Record Information Table" and synchronized to the cloud platform in real time.

[0092] (2) Judgment and recording of going out behavior:

[0093] When a person manually unlocks lock A from inside, a lock unlocking record is generated locally on lock A, including the unlocking time, unlocking direction (internal unlocking), unlocking method (manual unlocking), and operator (unknown; because it was a manual operation, the specific operator cannot be identified).

[0094] When a person leaves and closes the door, A detects the closing action and then checks the door's closing status (closed or not closed). A generates a door closing record locally, including the closing time and the closing status (closed or not closed).

[0095] Then, within a reasonable time (e.g., 2 seconds), camera A detects whether there is anyone in front of the door and generates an outdoor personnel detection record locally, including the detection time and detection status (someone or no one).

[0096] Next, within a reasonable time (e.g., 2 seconds), A interfaces with the human body sensor installed on the inside of the front door to confirm whether there are any people inside the door. The human body sensor sends feedback to A regarding the presence of people inside. A then generates a record of indoor occupant detection information, including the detection time and detection status (occupied or unoccupied).

[0097] For the above set of sequentially generated unlocking records (internal unlocking), closing records, outdoor personnel detection information (detection status: occupied), and indoor personnel detection information (detection status: unoccupied), A confirms this as a person leaving the premises and generates a local exit record. This record includes the behavior type (exit behavior), operator (unknown), behavior time (exit time, i.e., the closing time in the closing record), unlocking direction (internal unlocking), unlocking method (manual unlocking), closing status (closed, not closed), indoor detection status (unoccupied), and outdoor detection status (occupied). If A's unlocking records (internal unlocking), closing records, outdoor personnel detection information (detection status: occupied), and indoor personnel detection information (detection status: unoccupied) are incomplete or invalid, no exit record is generated. All exit records are uniformly stored locally in the "Entry / Exit Record Information Table" and synchronized to the cloud platform in real time.

[0098] 3. Coordinated unlocking of the front door lock and rear door lock:

[0099] When a family member (referred to as P1) arrives at the front door, as described in “(1) Entry behavior judgment and recording” in process 2, the front door lock A passes P1’s face authentication (result is pass), the front door lock A unlocks, A detects the door closing, indoor personnel detection (someone is there), and outdoor personnel detection (no one is there), forming an entry record.

[0100] If A checks the configuration information locally and confirms that the "linked door opening" function is enabled, then A sends a "linked door opening request message" to the back door lock B, which includes message ID, message type (linked door opening request message), sender ID (A), receiver ID (B), and message timestamp.

[0101] Upon receiving the message, B first checks the back door status. If it is not closed, it maintains that status and sends a "linkage door opening request response message" to A, including message ID, message type (linkage door opening request response message), associated request message ID, sender ID (B), receiver ID (A), response status (back door is currently not closed), and message timestamp. Front door lock A receives this response message and provides a voice prompt: "Back door is currently not closed; linkage function paused." If the back door is closed, B further activates its camera to determine if there are people outside, depending on the following scenarios:

[0102] (1) B judges that there are no people.

[0103] B uses its camera to detect the outdoor area outside the back door. If no one is present, B unlocks the door and then automatically opens it via its equipped automatic door opening device or a linked automatic door opening system. B then sends a "linked door opening request response message" to A, containing the message ID, message type (linked door opening request response message), associated request message ID, sender ID (B), receiver ID (A), response status (back door is open), and message timestamp. The front door lock A receives this response message and provides a voice prompt, "Back door is open." B can also push notifications to P1's mobile phone (or / and the mobile door lock app) via a cloud platform, depending on the settings, to ensure that P1 hears the voice prompt even if it has left the front door area.

[0104] (2) B judges that there are people and they can be identified as family members.

[0105] B uses its camera to detect the outdoor area outside the back door. If someone is present, it further uses the camera to perform facial recognition to obtain facial feature vectors and compares them with local facial templates for confirmation. If the comparison is successful, it is confirmed as another family member. If B cannot confirm through facial recognition, it further reads the local "Entry and Exit Record Information Table." If the most recent record is an exit record (i.e., the behavior type of the most recent record is "exit behavior"), it is determined that another family member has left the back door, and the person detected in the back door area is that other family member. At this time, B can unlock the door, and B will give a voice prompt, "Front door requests linkage to open, back door will open." Then B unlocks and opens the back door. B then sends a "linkage to open door request response message" to A, which includes message ID, message type (linkage to open door request response message), associated request message ID, sender ID (B), receiver ID (A), response status (back door is open), and message timestamp. Front door lock A receives this response message and gives a voice prompt, "Back door is open." Similarly, B can synchronously push notification information to P1's mobile phone (or / and the mobile door lock APP) through the cloud platform according to the settings.

[0106] (3) B judged that there were people and confirmed that they were suspicious.

[0107] B uses its camera to detect the area outside the back door. If someone is present, B further uses the camera to perform facial recognition to obtain a facial feature vector, which is then compared with a local facial template for confirmation. If the comparison fails, the person is suspected of being suspicious. If B cannot obtain a facial feature vector through facial recognition (e.g., due to angle issues, the camera cannot capture a clear face), B further reads the local "Entry and Exit Record Information Table." If the most recent entry is not an exit record, it is determined that no other family members have left the back door, and the person detected in the back door area is suspected of being an intruder. Once B confirms a suspicious person, B does not unlock the door but instead sends a "Linked Door Opening Request Response Message" to A, containing the message ID, message type (Linked Door Opening Request Response Message), associated request message ID, sender ID (B), receiver ID (A), response status (Suspicious person at the back door, please verify), and message timestamp. B simultaneously pushes the B camera's image to A, which displays it on the rear panel screen and simultaneously provides a voice prompt: "Suspicious person at the back door, please verify." B can synchronously push notification messages and B's camera footage to P1's mobile phone (or / with the mobile door lock APP) through the cloud platform according to the settings.

[0108] Personnel P1 can check the video content via the rear panel screen of A or the mobile door lock APP. If they deem it normal, they can continue to open the door by operating the touch screen on the rear panel of A or through the mobile door lock APP (e.g., pressing the "Unlock Rear Door Lock" button). If the confirmation time is within the set timeout threshold (e.g., 20 seconds), A will continue to send a "Secondary Request Message for Linked Door Opening" to B, including message ID, message type (Secondary Request Message for Linked Door Opening), sender ID (A), receiver ID (B), request content (confirmation that the door can be opened), and message timestamp. After receiving the message, B can perform the unlocking and opening operations. If the confirmation operation time exceeds the set timeout threshold, the linkage is canceled, and A will announce in a voice message, "Due to the confirmation time exceeding the timeout, this linked door opening has been canceled." (Note: After reviewing the video, if personnel P1 confirms that it is an intruder, they can press the "One-Click Alarm" button on the rear panel touch screen of the front door lock or the mobile door lock APP.)

[0109] 4. Improvement Point 1: Handling of the "Do Not Disturb" sign on the rear door lock:

[0110] In process 3 above, after family member P1 unlocks and enters, if B determines that the back door is closed and determines that there is someone outside who can be identified as a family member, B will unlock and open the back door. Sometimes, family members outside the back door (denoted as P2) may wish not to have the back door opened (e.g., when entertaining guests in the outdoor garden), in which case a "Do Not Disturb" sign can be placed on the back door. The specific process is as follows:

[0111] Family member P2 opens the back door and presses the "Do Not Disturb" button on the touchscreen of the back door lock B, putting B into Do Not Disturb mode. As described in process 3, after P1 unlocks the front door A and enters, A sends a "Linked Door Opening Request Message" to B. Upon receiving this message, if B determines that the back door is closed, it further checks whether it is in Do Not Disturb mode. If so, B does not unlock the door and displays "Do Not Disturb" on the touchscreen of the back door. Simultaneously, B sends a "Linked Door Opening Request Response Message" to A, containing the message ID, message type (Linked Door Opening Request Response Message), associated request message ID, sender ID (B), receiver ID (A), response status (back door set to Do Not Disturb), and message timestamp. A receives this response message and a voice prompt reads "Back door set to Do Not Disturb, linked function paused." P1 can then walk to the back door and manually open B.

[0112] Any member can also press the "Cancel Do Not Disturb" button on the rear panel touchscreen of B to cancel the Do Not Disturb setting for B.

[0113] 5. Improvement Point 2: Linkage processing for the rear door lock to coordinate with the front door lock for unlocking and guidance:

[0114] Family member P2 is outside or near the back door (i.e., near back door lock B). If a visitor (invited by P2) rings the doorbell of front door lock A at this time, A sends a "visitor notification message" to back door lock B, causing lock B to ring. P2 can view the camera footage from lock A via the touchscreen on the back panel of lock B, make a voice call, and click a button to unlock lock A. In this case, P2 does not need to go to the front door to open it; the unlocking is achieved through the coordination of the back door lock and the front door lock, improving convenience. The specific process is as follows:

[0115] When a visitor rings the doorbell of the front door lock A, if lock A does not respond (does not unlock) within a set time (e.g., 5 seconds), A sends a "visitor notification message" to the back door lock B, containing a message ID, message type (visitor notification message), sender ID (A), receiver ID (B), and message timestamp. Upon receiving this message, lock B rings, effectively forwarding the message from lock A to lock B. Family member P2 can view the camera feed from lock A (video feed pushed from A to B) via the touchscreen on the back panel of lock B, and can also make voice calls. After confirming the visitor is an invited guest, P2 clicks the "Unlock and Guide Front Door" button on the touchscreen on the back panel of lock B. Lock B then sends an "Unlock and Guide Request Message" to lock A, containing a message ID, message type (unlock and guide request message), sender ID (B), receiver ID (A), and message timestamp. Upon receiving this message, lock A unlocks the door directly and provides a voice prompt stating "Door unlocked" and "Please proceed straight to the back door from the living room" (the guide message can be pre-set via the cloud platform or a default prompt can be used), facilitating visitor entry and guidance.

[0116] 6. Improvement Point 3: Optimization of the automatic unlocking and guidance of the rear door lock in coordination with the front door lock:

[0117] In the above process 5 (Improvement 2), if a visitor arrives, P2 needs to manually perform operations such as viewing the camera, making voice calls, and confirming clicks on the touchscreen of the B rear panel, which is inconvenient. This improvement synchronizes visitor schedule information from family members' mobile calendar applications with the mobile door lock app. The door lock app then links with the cloud platform and the front and rear door locks to further achieve automatic unlocking and voice guidance when a visitor arrives. The specific process is as follows:

[0118] P2 pre-sets visitor information in the phone's calendar app's schedule, including schedule details (e.g., friend's visit), date (e.g., May 22nd), and start time (e.g., 2:00 PM), and allows the phone's door lock app to read the schedule information. P2 also sends a temporary password to the visitor in advance.

[0119] The P2 door lock app periodically reads the next day's schedule information. If there are any scheduled visits from friends, the app records them locally and sends a "Visitor Schedule Notification" to the cloud platform. This notification includes the message ID, message type (Visitor Schedule Notification), sender ID (door lock app), receiver ID (cloud platform), the ID of the member to whom the schedule belongs (i.e., the P2 door lock app user ID, assigned during user registration), the member's mobile phone MAC address (i.e., the P2 mobile phone MAC address, obtained by the app and bound to the app user ID), operation type (add), message content (including schedule information, date, and start time), and message timestamp. Upon receiving this message, the cloud platform saves the visitor schedule information in the cloud, including the ID of the member to whom the schedule belongs, the member's mobile phone MAC address, schedule information, schedule date, and schedule start time.

[0120] Before the scheduled time (e.g., 1 hour before), the door lock app will read the schedule information on the phone again and compare it with the information recorded locally in the app. If there are any modifications or deletions, it will send a "Visit Schedule Notification" to the cloud platform again, this time with the operation type "modification" or "deletion" in the message to ensure that it is the latest schedule. The cloud platform will then send a "Visit Schedule Notification" to both front door lock A and rear door lock B before the scheduled time (e.g., 50 minutes before but less than 1 hour before), including message ID, message type (visit schedule notification), sender ID (cloud platform), receiver ID (A, B), message content (including the schedule member ID, the member's mobile phone MAC address, schedule information, schedule date, schedule start time), and message timestamp. A and B save the visit schedule information locally, including the schedule member ID, the member's mobile phone MAC address, schedule information, schedule date, and schedule start time. Afterwards, A and B will scan the surrounding WiFi signals through the door lock's WiFi module every set time (e.g., 10 minutes) to obtain the MAC addresses of surrounding mobile devices and compare them to confirm whether the mobile phone of the schedule member P2 is nearby. If A and B detect P2's MAC address, they add or update the local MAC detection record, including P2's MAC address, the listener ID (A or B), and the detection time. If they don't detect it, they clear the record corresponding to P2's MAC address locally (if any). If B detects it, it also needs to send a "User Mobile Location Notification Message" to A, including the message ID, message type (User Mobile Location Notification Message), sender ID (B), receiver ID (A), user's mobile MAC information, and message timestamp. After receiving this message, A updates the local MAC detection record, including P2's MAC address, the listener ID (in this case, B), and the detection time.

[0121] The visitor arrives at the front door within a certain range before and after the appointed time (e.g., within 30 minutes before and after, as the visitor may arrive early or late) and enters the temporary password. A verifies the temporary password. If it passes, A retrieves the local arrival schedule information saved at the same time (Note: If not retrieved, only the door is opened in the normal way, without linkage). If there is an arrival schedule during this period, it is judged that the person is very likely to be a visitor (the time period matches, and there is temporary password authorization). At this time, A retrieves the mobile phone MAC address corresponding to the user of this arrival schedule again. If no record is retrieved or the listener in the record is A when the record is retrieved, A only automatically unlocks the door and gives a voice prompt "The door lock has been opened"; if A retrieves the record and the listener in the record is B, A automatically unlocks the door and gives voice prompts "The door lock has been opened" and "Please go straight through the living room to the back door, and the host is in the back door area" for voice guidance. A synchronously sends a "Visitor Entering Door Notification Message" to B and the P2 mobile phone APP, including the message ID, message type (Visitor Entering Door Notification Message), sender ID (A), recipient ID (B, P2 mobile phone APP), and message timestamp. After receiving this message, B gives a voice prompt "The visitor has entered the door"; the P2 mobile phone APP also has a prompt message.

[0122] 7. Improvement Point 4: Linkage processing for the rear door lock to cooperate with the front door lock to unlock in the case of multiple front door locks and multiple rear door locks:

[0123] In the above Process 5 (Improvement Point 2), the assumption is that the house (such as a villa) has only 1 front door and 1 rear door. If a villa has multiple front doors (the corresponding front door locks are denoted as An, such as A1, A2, A3) and multiple rear doors (the corresponding rear door locks are denoted as Bn, such as B1, B2, B3), if a visitor presses the doorbell of any front door lock, that front door lock will send a "Visitor Notification Message" to all rear door locks and call all rear door locks to ring, which will affect other people in the house and will make invalid calls with other unrelated rear door locks. This improvement point is that all front door locks and rear door locks join the multicast group by sending a "Door Lock Listening Group Joining Message", and the home gateway is responsible for maintaining the multicast forwarding table entries and forwarding relevant multicast information. When a family member enters the door, the corresponding front door lock records and multicasts to notify all other door locks of the WiFi MAC address of the family member it has listened to; when a family member appears near a certain rear door lock, the corresponding rear door lock updates the record and multicasts to notify all front door locks of its listening message. When a visitor presses the doorbell at a certain front door lock, the corresponding front door lock unicasts a notification message to the rear door lock that sent the family member's mobile phone MAC address listening message most recently and makes a ringing call. If this rear door lock does not respond, it multicasts to notify other rear door locks and makes a ringing call. The specific process is as follows:

[0124] All front door locks and multiple rear door locks use multicast to send a "Door Lock Listening Group Join Message" to the home gateway (i.e., the router). This message includes the multicast address (using a unified multicast group address, such as 228.1.1.1), the door lock ID (e.g., A1, A2, A3, B1, B2, B3), and the door lock type ("Front_Door" for front door locks and "Back_Door" for rear door locks). Upon receiving this message, the router creates a (*,G) multicast forwarding table entry, for example, (*, 228.1.1.1), where * represents "any source" and G represents the multicast group address. This means that for data packets sent to the 228.1.1.1 multicast group address, if they were received from a certain interface, they will be forwarded from other interfaces connected to that multicast group member. The router also marks the door lock ID (such as A1, A2, A3, B1, B2, B3) and door lock type ("Front_Door" or "Back_Door") of each front and rear door lock on the interface that receives the "door lock listening group join message".

[0125] When family member P1 enters through the front door (assuming the corresponding front door lock is A1) (i.e., a complete entry record is formed according to process 2), A1 scans the surrounding WiFi signals through the door lock's WiFi module, detects the WiFi MAC address (P1_MAC) of P1's mobile phone, and updates the family member mobile phone MAC listening record table locally, adding a listening record corresponding to P1_MAC, including the latest listened family member mobile phone MAC address (P1_MAC), listener ID (A1), listener type (Front_Door), and listening timestamp. Then, A1 sends a "member discovery notification message" to the router via multicast, including the multicast address (i.e., 228.1.1.1), the message sending door lock ID (i.e., A1), the message sending door lock type (A1 is "Front_Door"), the target door lock type ("ALL", i.e., all front and back door locks), the latest listened family member mobile phone MAC address (P1_MAC), and the listening timestamp. The router receives and parses the message, discovers that the target door lock type is "ALL," and forwards the message to all interfaces except A1 according to the (*,G) multicast forwarding table entry. All door locks other than A1, upon receiving the multicast message, update their local family member mobile phone MAC address monitoring record table. Specifically, they search for P1_MAC; if not found, they add a new record; if found, they update the record with the following information: the latest monitored family member mobile phone MAC address (P1_MAC), the monitor ID (A1), the monitor type (Front_Door), and the monitoring timestamp. Each door lock maintains at most one record for each MAC address in its locally stored family member mobile phone MAC address monitoring record table.

[0126] When family member P1 enters a back door (e.g., the back door corresponding to lock B1), B1 detects P1's MAC address through the door lock's WiFi module. B1 also finds this MAC address in its local family member phone MAC address monitoring record table (indicating it's a family member and has entered the house). B1 then updates the corresponding record locally (monitor ID, monitor type, monitoring timestamp) and sends a "member discovery notification message" to the router via multicast. This message includes the multicast address (228.1.1.1), the sending door lock ID (B1), the target door lock type ("Front_Door", i.e., all front door locks), the latest monitored family member's phone MAC address (P1_MAC), and the monitoring timestamp. The router receives and parses this message, discovers the target door lock type is "Front_Door," and forwards the message to all interfaces marked "Front_Door" according to the (*,G) multicast forwarding table entry, thus sending the message to all front door locks (e.g., A1, A2, A3). After receiving the message, all front door locks update the family member mobile phone MAC listening record table locally. Specifically, they search for P1_MAC and update the record with the following information: the latest family member mobile phone MAC address (P1_MAC), listener ID (B1), listener type (Back_Door), and listening timestamp.

[0127] When family member P1 moves to another back door (such as the back door corresponding to back door lock B2), the above process is executed similarly. Finally, all front door locks update the association record of P1's mobile phone MAC address (P1_MAC) locally, that is, P1's mobile phone MAC address (P1_MAC), listener ID (B2), listener type (Back_Door), and listening timestamp.

[0128] When a visitor rings the doorbell of any front door lock (e.g., A2), and if A2 does not respond (does not unlock) within a set time (e.g., 5 seconds), A2 checks the most recent record in the locally saved family member mobile phone MAC address eavesdropping log table. Based on the eavesdropper information in that record, it performs the following classification and processing:

[0129] (1) If the listener type in the most recent record is “Front_Door”, it means that the family member detected most recently entered through the front door but did not go to the back door area. In this case, A2 will not do any other processing (traditional processing method).

[0130] (2) If the listener type in the most recent record is "Back_Door", and A2 checks the listener ID (e.g., B2), it indicates that the most recently detected family member was (or was) near the back door B2. A2 then unicasts a "Visitor Notification Message" to B2, containing the message ID, message type (Visitor Notification Message), sender ID (A2), receiver ID (B2), and message timestamp. Afterwards, the process of B2 ringing, family member P1 clicking on the touch screen on the back panel of B2 to view the camera footage and make a voice call, P1 clicking the "Unlock and Guide Front Door" button, B2 sending an "Unlock and Guide Request Message" to A2, and A2 unlocking and providing voice guidance is similar to the corresponding description in improvement point 2, and will not be repeated here.

[0131] In the above process (2), if B2 does not respond within a set time (e.g., 5 seconds) after ringing (it is possible that a family member has left the vicinity of B2), A2 further sends a "Visitor Expansion Notification Message" to the router via multicast, containing the multicast address (i.e., 228.1.1.1), the door lock ID (A2) to which the message was sent, and the target door lock type ("except for "Front_Door+B2", i.e., excluding all front door locks and rear door lock B2). The router receives and parses the message, and according to the target door lock type information, forwards the message to all interfaces not marked as "Front_Door" or B2 according to the (*,G) multicast forwarding table entry, that is, sends the message to the rear door locks B1 and B3. After that, the ringing of B1 and B3 and the subsequent process are similar to the corresponding description in improvement point 2, and will not be repeated.

[0132] If family member P1 leaves through any front door (e.g., A3) (i.e., a complete exit record is formed according to process 2), and A3 detects the disappearance of the WiFi MAC address (P1_MAC) of P1's mobile phone (i.e., after detecting P1_MAC and generating the exit record, a scan and comparison of the detected MAC addresses is performed within a preset time (e.g., 10 seconds), and P1_MAC is not found), A3 deletes the corresponding record in the local family member mobile phone MAC monitoring record table and sends a "member departure notification message" to the router via multicast. This message includes the multicast address (i.e., 228.1.1.1), the door lock ID (i.e., A3), the door lock type ("Front_Door"), the target door lock type ("ALL", i.e., all front and back door locks), the departing member's mobile phone MAC address (P1_MAC), and the monitoring timestamp. The router receives and parses this message and forwards it to all interfaces except those marked A3 according to the (*,G) multicast forwarding table entry. All other door locks, upon receiving this multicast message, also delete their corresponding records.

[0133] Beneficial effects:

[0134] 1. After family members enter through the front door, the back door can open automatically, saving the trouble of manually opening the back door; at the same time, the back door can also open the front door in conjunction with the back door, making it convenient for family members at the back door to receive visitors.

[0135] 2. Through multi-factor authentication (such as facial recognition and exit records) and identification of suspicious persons during linkage, it prevents non-family members from entering at will; in case of suspicious situations, it can also push video to the person entering for secondary confirmation.

[0136] 3. The "Do Not Disturb" function of the rear door lock allows family members to prevent intruders from automatically opening the rear door when needed, providing family members with independent space and privacy protection.

[0137] 4. Link the schedule information of family members' mobile phone calendar applications with the front and rear door locks to achieve intelligent and convenient visitor reception and guidance.

[0138] 5. In the case of multiple front door locks and multiple rear door locks, when there is a visitor, the front door lock will only send a notification and ring the call bell to the relevant rear door lock, without disturbing the other door locks.

[0139] As can be seen, the front door linkage triggering process involves: generating an entry record based on the complete behavioral sequence detected by the front door lock, including biometric verification, door closing action, indoor occupancy status, and outdoor vacancy status, thus obtaining the linkage trigger signal; the back door security decision processing involves performing back door status detection and multi-level personnel identity verification based on the door opening request message received by the back door lock, thus obtaining the unlocking decision result; the reverse guidance control processing involves establishing a cross-lock audio and video channel based on the doorbell event that the front door lock does not respond, thus obtaining a reverse unlocking command; and the dynamic addressing coordination processing involves positioning the target back door lock based on the location information of the mobile terminal monitored by the door lock within the multicast network, thus obtaining a targeted notification strategy, thereby improving the collaborative response efficiency and user experience of the smart door lock.

[0140] Another embodiment of the present invention provides a system for coordinated opening of front and rear door locks, see [link to relevant documentation]. Figure 3 The system may include:

[0141] Trigger module 301 is used for front door linkage triggering processing: based on the complete behavioral sequence detected by the front door lock, including biometric verification, door closing action, indoor occupancy status and outdoor occupancy status, it performs entry record generation processing to obtain linkage trigger signal; if the linkage function is enabled, it sends an opening request message to the rear door lock.

[0142] Decision module 302 is used for backdoor security decision processing: based on the door opening request message received by the backdoor lock, it performs backdoor status detection and multi-level personnel identity verification processing to obtain the unlocking decision result; among which, the verification methods include biometric matching and entry and exit record correlation analysis;

[0143] Control module 303 is used for reverse guidance control processing: based on the doorbell event that the front door lock does not respond, it performs cross-lock audio and video channel establishment processing to obtain a reverse unlocking command; among which, the rear door lock triggers the front door unlocking and generates a spatial guidance prompt;

[0144] The guidance module 304 is used for schedule comparison and guidance processing: when the front door lock rings, it compares the visitor's visit schedule information. After successful comparison, it automatically unlocks and provides spatial guidance based on the location information of the mobile terminal detected by the rear door lock.

[0145] The collaboration module 305 is used for dynamic addressing and collaborative processing: based on the location information of the mobile terminal monitored by the door lock in the multicast network, the target back door is locked and a targeted notification strategy is obtained; among them, visitor notifications are unicasted to the most recently active back door lock.

[0146] This invention also provides a storage medium storing a computer program, wherein the computer program is configured to execute the steps in any of the above method embodiments when running.

[0147] Specifically, in this embodiment, the storage medium can be configured to store a computer program for performing the following steps:

[0148] S201, Front door linkage triggering processing: Based on the complete behavioral sequence detected by the front door lock, including biometric verification, door closing action, indoor occupancy status and outdoor occupancy status, an entry record is generated to obtain a linkage triggering signal; if the linkage function is enabled, an opening request message is sent to the rear door lock.

[0149] S202, Backdoor security decision processing: Based on the door opening request message received by the backdoor lock, perform backdoor status detection and multi-level personnel identity verification to obtain the unlocking decision result; among which, the verification methods include biometric matching and entry and exit record correlation analysis;

[0150] S203, Reverse guidance control processing: Based on the doorbell event that the front door lock does not respond, cross-door lock audio and video channel establishment processing is performed to obtain the reverse unlocking command; among them, the rear door lock triggers the front door unlocking and generates a spatial guidance prompt;

[0151] S204, Schedule Comparison and Guidance Processing: When the front door lock rings, it compares the visitor's schedule information. If the comparison is successful, it automatically unlocks and provides spatial guidance based on the location information of the mobile terminal detected by the rear door lock.

[0152] S205, Dynamic Addressing Cooperative Processing: Based on the location information of the mobile terminal monitored by the door lock in the multicast network, target back door lock positioning processing is performed to obtain a targeted notification strategy; among which, visitor notifications are unicasted to the most recently active back door lock first.

[0153] This invention also provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to perform the steps in any of the above method embodiments.

[0154] Specifically, the aforementioned electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the aforementioned processor, and the input / output device is connected to the aforementioned processor.

[0155] Specifically, in this embodiment, the processor can be configured to perform the following steps via a computer program:

[0156] S201, Front door linkage triggering processing: Based on the complete behavioral sequence detected by the front door lock, including biometric verification, door closing action, indoor occupancy status and outdoor occupancy status, an entry record is generated to obtain a linkage triggering signal; if the linkage function is enabled, an opening request message is sent to the rear door lock.

[0157] S202, Backdoor security decision processing: Based on the door opening request message received by the backdoor lock, perform backdoor status detection and multi-level personnel identity verification to obtain the unlocking decision result; among which, the verification methods include biometric matching and entry and exit record correlation analysis;

[0158] S203, Reverse guidance control processing: Based on the doorbell event that the front door lock does not respond, cross-door lock audio and video channel establishment processing is performed to obtain the reverse unlocking command; among them, the rear door lock triggers the front door unlocking and generates a spatial guidance prompt;

[0159] S204, Schedule Comparison and Guidance Processing: When the front door lock rings, it compares the visitor's schedule information. If the comparison is successful, it automatically unlocks and provides spatial guidance based on the location information of the mobile terminal detected by the rear door lock.

[0160] S205, Dynamic Addressing Cooperative Processing: Based on the location information of the mobile terminal monitored by the door lock in the multicast network, target back door lock positioning processing is performed to obtain a targeted notification strategy; among which, visitor notifications are unicasted to the most recently active back door lock first.

[0161] The above description, based on the embodiments shown in the figures, details the structure, features, and effects of the present invention. The above description is only a preferred embodiment of the present invention, but the present invention is not limited to the scope of implementation shown in the figures. Any changes made in accordance with the concept of the present invention, or equivalent embodiments modified to have equivalent changes, that do not exceed the spirit covered by the specification and figures, should be within the protection scope of the present invention.

Claims

1. A method of opening a door in cooperation with a front and rear door lock, characterized by, The method comprises: Front door linkage trigger processing: according to the complete behavior sequence detected by the front door lock, including biometric verification, door closing action, indoor person state and outdoor no one state, door entry record generation processing is carried out to obtain linkage trigger signal; wherein, if the linkage function is opened, the door opening request message is sent to the back door lock; Back door security decision processing: according to the door opening request message received by the back door lock, back door state detection and personnel identity multi-level verification processing are carried out to obtain the opening decision result; wherein, the verification method includes biometric feature matching and entry record correlation analysis; Reverse guidance control processing: according to the doorbell event not responded by the front door lock, cross door lock audio and video channel establishment processing is carried out to obtain the reverse opening instruction; wherein, the back door lock triggers the front door to open and generates a space guidance prompt; Schedule comparison guidance processing: the front door lock compares the visitor visit schedule information when the bell rings, and automatically opens the lock and guides the space according to the mobile terminal position information listened by the back door lock after successful comparison; Dynamic addressing coordination processing: according to the mobile terminal position information listened by the door lock in the multicast network, target back door lock positioning processing is carried out to obtain the directional notification strategy; wherein, the visitor notification is preferentially unicast to the nearest active back door lock.

2. The method of claim 1, wherein, The front door linkage trigger processing comprises: Behavior sequence verification: according to the door closing signal output by the door magnetic sensor, the person detection signal of the indoor human body sensor and the no one detection signal of the outdoor camera, time sequence alignment processing is carried out to obtain effective entry behavior judgment; Linkage enablement judgment: according to the linkage function flag bit state stored locally, enablement condition checking processing is carried out to obtain linkage activation signal; wherein, the flag bit is 1 when activated; Request message construction: according to the linkage activation signal, message encapsulation processing is carried out to obtain the door opening request message; wherein, the message type is linkage request, and the receiver ID is bound to the back door lock identifier.

3. The method of claim 2, wherein, The back door security decision processing comprises: Identity double verification: according to the face image captured by the back door camera, feature extraction and template library comparison processing are carried out to obtain the biological verification result; if the matching fails, the nearest entry and exit record type field is queried; Suspicious disposal execution: according to the result of biological verification failure and no exit record, video stream pushing processing is carried out to obtain suspicious alarm instruction; wherein, the video encoding data is synchronized to the front door lock and mobile APP; Secondary opening trigger: according to the confirmation instruction received by the front door lock, digital signature verification processing is carried out to obtain the safe opening signal; wherein, the back door electric opening mechanism is driven to execute the door opening action.

4. The method of claim 3, wherein, The reverse guidance control processing comprises: Doorbell event forwarding: according to the non-response state recorded by the front door lock timer within 5 seconds, event message encapsulation processing is carried out to obtain doorbell forwarding instruction; wherein, the destination address points to the bound back door lock; Video channel establishment: according to the forwarding instruction received by the back door lock, RTP stream media request processing is carried out to obtain real-time monitoring picture; wherein, the front door lock transmits video stream to B lock; Guidance instruction generation: according to the "open and guide" button signal of the back door lock touch screen, voice template calling processing is carried out to obtain navigation voice data; wherein, the straight hall to back door prompt is generated in combination with the door lock coordinates.

5. The method of claim 4, wherein, The dynamic addressing cooperative processing comprises: Networking registration execution: according to the power-on initialization instruction of each door lock, a door lock listening group joining message carrying the door lock ID and the door lock type information is sent to obtain a multicast member list containing the door lock ID and the door lock type information; wherein, the router maintains a forwarding interface table of the 228.1.1.1 group, and marks the door lock ID and the door lock type information carried in the message on the interface receiving the door lock listening group joining message; Addressing database update: according to the mobile phone MAC address of the family member listened by the front door lock WiFi module, multicast announcement processing is performed to obtain dynamic addressing records; wherein, the rear door lock covers the original position information, and the multicast message facing the front door lock is updated, and the router forwards the message according to the multicast forwarding table item containing the door lock type information; Hierarchical notification decision: according to the visitor ringing event and the latest addressing record, target lock selection processing is performed to obtain a unicast notification instruction; if there is no response for 5 seconds, a multicast expanded notification for excluding all front door locks and unicast non-responding rear door locks is triggered.

6. The method of claim 5, wherein, The method further comprises: Privacy state priority control: according to the do-not-disturb flag bit stored locally by the rear door lock, a linkage request interception processing is performed to obtain a privacy protection response; wherein, the protection response includes: when the flag bit is 1, the unlocking action is blocked; a response message with a state field value of prohibited linkage is sent to the A lock; and the touch screen displays a do-not-disturb text prompt.

7. A system for coordinated opening of a front and rear door lock, characterized in that The system comprises: A trigger module for front door linkage trigger processing: according to the complete behavior sequence containing biological feature verification, door closing action, indoor person state and outdoor no one state detected by the front door lock, an entry record generation processing is performed to obtain a linkage trigger signal; wherein, if the linkage function is turned on, an open door request message is sent to the rear door lock; A decision module for rear door safety decision processing: according to the open door request message received by the rear door lock, a rear door state detection and personnel identity multi-level verification processing is performed to obtain an unlocking decision result; wherein, the verification method includes biological feature matching and entry record correlation analysis; A control module for reverse guidance control processing: according to the doorbell event not responded by the front door lock, a cross-door lock audio and video channel establishment processing is performed to obtain a reverse unlocking instruction; wherein, the rear door lock triggers the front door to unlock and generates a space guidance prompt; A guidance module for schedule comparison guidance processing: the front door lock compares the visitor visit schedule information when the bell rings, and after the comparison is successful, the rear door lock listens to the mobile terminal position information to automatically unlock and perform space guidance; A cooperative module for dynamic addressing cooperative processing: according to the mobile terminal position information listened by the door lock in the multicast network, a target rear door lock positioning processing is performed to obtain a directional notification strategy; wherein, the visitor notification is preferentially sent to the nearest active rear door lock by unicast.

8. The system of claim 7, wherein, The trigger module is specifically configured to: Behavior sequence verification: according to the door closing signal output by the door magnetic sensor, the person detection signal of the indoor human body sensor and the no one detection signal of the outdoor camera, a time sequence alignment processing is performed to obtain an effective entry behavior judgment; Linkage enabling judgment: according to the linkage function flag bit state stored locally, the enabling condition checking process is carried out to obtain the linkage activation signal; wherein the flag bit is 1 when activated; Request message construction: according to the linkage activation signal, message encapsulation processing is carried out to obtain the door opening request message; wherein the message type is linkage request, and the receiver ID is bound to the door lock identifier.

9. A storage medium, characterized by The storage medium has a computer program stored therein, wherein the computer program is configured to execute the method of any one of claims 1-6 when running.

10. An electronic device comprising a memory and a processor, characterized in that, The memory has a computer program stored therein, and the processor is configured to execute the computer program to execute the method of any one of claims 1-6.

Citation Information

Patent Citations

  • Cloud-lock-based method and system for judging person entering and exiting

    CN107016762A

  • Multi-door lock interconnection processing method and equipment, control device and storage medium

    CN116824740A