An access control method, system and storage medium based on multi-type intelligent locks
Through the interconnection of community mobile smart locks and community access control, and the verification of short-distance communication and lock management platform is used, the problem of user face information leakage in the existing technology is solved, and convenient access control and privacy protection is achieved.
Patent Information
- Application Number
- CN202510363927.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-26
- Publication Date
- 2025-07-18
- Estimated Expiration
- 2045-03-26
AI Technical Summary
The existing technology access control system requires family members to enter information such as faces or fingerprints in advance, resulting in security issues in the leakage of user face information.
Through the interconnection of community mobile smart locks, smart door locks and community access control, the ID and face images of the mobile smart lock are obtained by using close-range communication, and through the lock management platform verification, the access control is automatically turned on, avoiding storing the facial features of family members.
It facilitates the entry and exit of community members, protects privacy, and avoids the storage of facial feature information of each family member.
Smart Images

Figure CN119888902B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of intelligent door locks, and in particular, to an access control method, system and storage medium based on multi-type intelligent locks. Background Art
[0002] Intelligent locks that can be carried and moved, such as suitcases and backpacks, are equipped with built-in batteries and can be configured with intelligent functions such as SIM cards, Wi-Fi chips, and NFC. Each carriage of a train is equipped with a Wi-Fi listening function. Cameras in the city are also equipped with Wi-Fi listening functions.
[0003] New-style suitcases generally come with built-in intelligent locks. When left at home for a long time (e.g., one week), they usually belong to family members. If left for a short time, they may belong to neighbors or friends passing by temporarily.
[0004] Existing access control systems generally require property owners to enter face or fingerprint information in advance at the community front desk, which is prone to security problems such as the leakage of user face information. Summary of the Invention
[0005] The purpose of the embodiments of the present invention is to facilitate the matching and verification of the information of door lock members for the personnel at the access control site through the interconnection of community mobile intelligent locks, intelligent door locks, and community access controls, so that the access control system does not need to retain the face feature vectors of each family member, protecting privacy.
[0006] The first aspect of the present invention provides an access control method based on multi-type intelligent locks. The multi-type intelligent locks include intelligent door locks and mobile intelligent locks. The method includes:
[0007] In response to the close contact between the mobile intelligent lock and the community access control, the mobile intelligent lock sends the intelligent door lock ID to the community access control; wherein, the intelligent door lock and the community access control are both registered on the lock management platform; the mobile intelligent lock records the corresponding intelligent door lock ID.
[0008] According to the community access control, send a door lock IP address request message to the lock management platform; the request message includes the intelligent door lock ID.
[0009] The lock management platform determines the intelligent door lock IP address according to the door lock IP address request message and returns it to the community access control.
[0010] Obtain the face image of the person carrying the mobile intelligent lock through the community access control, send a verification message to the intelligent door lock IP address, and control the opening of the community access control according to the verification result.
[0011] Further, the verification message includes face image feature information and the intelligent door lock IP address.
[0012] Obtaining a face image carrying the mobile intelligent lock through the community access control, sending a verification message to the IP address of the intelligent door lock, and controlling the opening of the community access control according to the verification result, includes:
[0013] The intelligent door lock matches the face image feature information with the personnel feature vectors maintained locally. If there is a personnel feature vector with a similarity exceeding a preset threshold, the verification is passed and the community access control is controlled to open.
[0014] Furthermore, the method further includes:
[0015] The intelligent door lock and the community access control respectively send a door lock IGMP join message and an access control IGMP join message to the multicast router periodically; the door lock IGMP join message includes the intelligent door lock ID, and the access control IGMP join message includes the access control ID;
[0016] The multicast router generates a multicast forwarding entry according to the door lock IGMP join message and the access control IGMP join message. The multicast router marks the corresponding intelligent door lock ID and access control ID on the interface where the IGMP message is received, forms a door lock ID set and an access control ID set, and sends a PIM join message to the upstream group router; the multicast forwarding entry includes the multicast group address;
[0017] The upstream group router marks the door lock ID set and the access control ID set on the outgoing interface of the entry of the received PIM join message.
[0018] Furthermore, obtaining a face image carrying the mobile intelligent lock through the community access control and sending a verification message to the IP address of the intelligent door lock includes:
[0019] The access control sends the verification message to the upstream group router in a multicast manner; the verification message includes face image feature information, access control ID, multicast group address, and intelligent door lock ID;
[0020] After each upstream group router receives the verification message, it determines whether the outgoing interface is marked with the intelligent door lock ID. If so, it forwards the verification message from this outgoing interface to the corresponding multicast router, and the multicast router forwards it to the intelligent door lock.
[0021] Furthermore, the method further includes the step of the mobile intelligent lock recording the corresponding intelligent door lock ID; the step of the mobile intelligent lock recording the corresponding intelligent door lock ID includes:
[0022] When the mobile intelligent lock enters the entrance door corresponding to the intelligent door lock ID, the intelligent door lock obtains the mobile intelligent lock ID through short-range NFC communication, and records the mobile intelligent lock ID and the entry time point; when the mobile intelligent lock exits the entrance door corresponding to the intelligent door lock ID, the intelligent door lock records the mobile intelligent lock ID and the exit time point;
[0023] Compare the entry time point and the exit time point. If the difference exceeds a preset time value, it is determined that the mobile intelligent lock is owned by a member of the intelligent door lock; then the intelligent door lock ID is sent to the mobile intelligent lock, and the mobile intelligent lock records the intelligent door lock ID.
[0024] In addition, a second aspect of the present invention provides an access control system based on multiple types of intelligent locks. The multiple types of intelligent locks include an intelligent door lock and a mobile intelligent lock. The system includes a sending module, a request module, a determination module, and a verification and control module, where:
[0025] The sending module is used to, in response to the short-range contact between the mobile intelligent lock and the community access control, the mobile intelligent lock sends the intelligent door lock ID to the community access control; wherein, the intelligent door lock and the community access control are both registered on the lock management platform; the mobile intelligent lock records the corresponding intelligent door lock ID;
[0026] The request module is used to send a door lock IP address request message to the lock management platform according to the community access control; the request message includes the intelligent door lock ID;
[0027] The determination module is used to enable the lock management platform to determine the intelligent door lock IP address according to the door lock IP address request message and return it to the community access control;
[0028] The verification and control module is used to obtain the face image carrying the mobile intelligent lock through the community access control, send a verification message to the intelligent door lock IP address, and control the opening of the community access control according to the verification result.
[0029] Furthermore, the verification message includes face image feature information and the intelligent door lock IP address;
[0030] The obtaining the face image carrying the mobile intelligent lock through the community access control, sending a verification message to the intelligent door lock IP address, and controlling the opening of the community access control according to the verification result includes:
[0031] The intelligent door lock matches the face image feature information with the personnel feature vectors maintained locally. If there is a personnel feature vector with a similarity exceeding a preset threshold, the verification is passed and the community access control is controlled to open.
[0032] Further, the system further includes a routing networking module; the routing networking module is used to control the intelligent door lock and the community access control to periodically send a door lock IGMP join message and an access control IGMP join message to the multicast router respectively; the door lock IGMP join message includes the intelligent door lock ID, and the access control IGMP join message includes the access control ID;
[0033] The multicast router generates a multicast forwarding table entry according to the door lock IGMP join message and the access control IGMP join message, marks the corresponding intelligent door lock ID and access control ID on the interface where the IGMP message is received, forms a door lock ID set and an access control ID set, and sends a PIM join message to the upstream group router; the multicast forwarding table entry includes the multicast group address;
[0034] The upstream group router marks the door lock ID set and the access control ID set on the outgoing interface of the entry of the received PIM join message.
[0035] Further, the verification and control module is further used to control the access control to send a verification message to the upstream group router in a multicast manner; the verification message includes face image feature information, access control ID, multicast group address and intelligent door lock ID; after each upstream group router receives the verification message, it judges whether the intelligent door lock ID is marked on the outgoing interface. If so, it forwards the verification message from the outgoing interface to the corresponding multicast router, and the multicast router forwards it to the intelligent door lock.
[0036] In addition, a third aspect of the present invention provides a storage medium, which stores a computer program; the program is loaded and executed by a processor to implement the steps of the access control method based on multiple types of intelligent locks as described in the first aspect above.
[0037] In the solution of the present invention, in response to the close contact between the mobile intelligent lock and the community access control, the mobile intelligent lock sends the intelligent door lock ID to the community access control; wherein, the intelligent door lock and the community access control are both registered in the lock management platform; the mobile intelligent lock records the corresponding intelligent door lock ID; according to the community access control sending a door lock IP address request message to the lock management platform; the request message includes the intelligent door lock ID; the lock management platform determines the intelligent door lock IP address according to the door lock IP address request message and returns it to the community access control; the community access control obtains the face image carrying the mobile intelligent lock, sends a verification message to the intelligent door lock IP address, and controls the opening of the community access control according to the verification result. Compared with the prior art, the embodiments of the present application mainly have the following beneficial effects: it facilitates the entry and exit of community members, and at the same time, the access control system does not have to retain the face features of each family member, protecting privacy. Description of the Drawings
[0038] To more clearly illustrate the technical solutions of the embodiments of the present invention, the following will briefly introduce the accompanying drawings required for the embodiments. It should be understood that the following drawings only show some embodiments of the present invention, and therefore should not be regarded as limiting the scope. For those of ordinary skill in the art, without creative efforts, other related drawings can also be obtained based on these drawings.
[0039] Figure 1 is a schematic flowchart of the steps of the access control method based on multi-type intelligent locks disclosed in the embodiments of the present invention;
[0040] Figure 2 is a schematic structural diagram of the access control system based on multi-type intelligent locks disclosed in the embodiments of the present invention;
[0041] Figure 3 is a schematic structural diagram of the electronic device disclosed in the embodiments of the present invention. Specific Embodiments
[0042] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those of ordinary skill in the technical field to which this application belongs; the terms used in the specification of this application are only for the purpose of describing specific embodiments and are not intended to limit this application; the terms "including" and "having" and any variations thereof in the specification and claims of this application and the above drawings are intended to cover non-exclusive inclusion. The terms "first", "second", etc. in the specification and claims of this application or the above drawings are used to distinguish different objects and not to describe a specific order.
[0043] Referring to "embodiment" herein means that the specific features, structures, or characteristics described in connection with the embodiment can be included in at least one embodiment of this application. The phrase appearing at various positions in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment mutually exclusive with other embodiments. Those skilled in the art will explicitly and implicitly understand that the embodiments described herein can be combined with other embodiments.
[0044] It should be noted that: "a plurality" mentioned herein refers to two or more.
[0045] The following elaborates in detail on the implementation details of the technical solutions of the embodiments of this application:
[0046] In the prior art, smart door locks are used in families. With the update and iteration of product intelligence, many smart door locks have face recognition functions. On the other hand, smart locks that can be carried, such as suitcases and backpacks, are equipped with their own batteries and can be configured with SIM cards, Wi-Fi chips, NFC functions, etc. In smart door locks, the face feature vectors of family members are recorded for each family's smart door lock. Family members or maintenance personnel input face images through the door lock, and the lock extracts the face feature vectors, so as to facilitate family members to enter the house through face verification.
[0047] In this embodiment, the door locks of each family can be registered on the lock management platform of the community, including the door lock ID, door lock IP address, etc. Each access control in the community is also registered on the lock management platform.
[0048] In the first aspect of this embodiment, an access control method based on multiple types of smart locks is implemented. Please refer to Figure 1 , Figure 1 which is a schematic flowchart of an access control method based on multiple types of smart locks disclosed in an embodiment of the present invention. The multiple types of smart locks include smart door locks and mobile smart locks. The method includes:
[0049] S101, in response to the close contact between the mobile smart lock and the community access control, the mobile smart lock sends the smart door lock ID to the community access control; wherein, the smart door lock and the community access control are both registered on the lock management platform; the mobile smart lock records the corresponding smart door lock ID;
[0050] Before S101 of the method, it further includes the step of the mobile smart lock recording the corresponding smart door lock ID; the step of the mobile smart lock recording the corresponding smart door lock ID includes:
[0051] When the user performs an operation of opening the outer door and closing the inner door of the smart door lock with the mobile smart lock, the smart door lock obtains the mobile smart lock ID through short-range communication and records the entry time of the mobile smart lock; when the user performs an operation of opening the inner door and closing the outer door of the smart door lock with the mobile smart lock, the smart door lock obtains the mobile smart lock ID through short-range communication and records the exit time of the mobile smart lock;
[0052] Compare the entry time point and the exit time point. If the difference exceeds a preset time value, it is determined that the mobile smart lock is owned by a member of the smart door lock; then the smart door lock ID is sent to the mobile smart lock, and the mobile smart lock records the smart door lock ID.
[0053] Specifically, in this embodiment, suitcase A is equipped with a smart lock. If it is placed at home for a long time (for example, one week), it is usually the suitcase of a family member. If the time is short, it may be a neighbor or a friend passing by temporarily. Based on this, an interaction method between the door lock and the suitcase is constructed in this embodiment.
[0054] For example, when family member A pulls suitcase A (equipped with a mobile intelligent lock) through the gate and enters the home, the gate lock B of this home (i.e., the intelligent door lock) obtains the lock ID of the intelligent lock A of the suitcase through short-range NFC communication. The gate lock B records the ID of lock A and its entry time point. When suitcase A is pulled out by a family member and passes through the gate, the lock B records the exit time point of lock A. By comparing the exit time point and the entry time point of lock A, if the difference is greater than a threshold (such as 1 day or 3 days or one week, which can be managed and configured according to the actual situation), it is considered to be the suitcase of a family member. Then, lock B sends its own lock ID to suitcase lock A. Lock A records the gate lock ID.
[0055] Based on this, when family member A arrives at the community access control with big and small bags and pulls suitcase A, it is not very convenient to take out the card to swipe. At this time, the intelligent lock A of suitcase A makes close contact with the access control, and lock A sends the lock ID of the home gate (i.e., lock B) to the access control.
[0056] S102, sending a door lock IP address request message to the lock management platform according to the community access control; the request message includes the intelligent door lock ID.
[0057] S103, the lock management platform determines the intelligent door lock IP address according to the door lock IP address request message and returns it to the community access control.
[0058] Specifically, in this embodiment, the access control obtains the lock ID of the home gate from the intelligent lock A and sends a "door lock IP address request" message to the management platform. The management platform extracts the IP address of lock B from the door lock information maintained locally and replies to the access control. The access control obtains the face image of member A through the on-site camera, extracts its face feature vector, and sends a "face authentication" message to lock B, including the feature vector of member A and its own IP.
[0059] S104, obtaining the face image of the person carrying the mobile intelligent lock through the community access control, sending a verification message to the intelligent door lock IP address, and controlling the opening of the community access control according to the verification result.
[0060] Furthermore, the verification message includes face image feature information and the intelligent door lock IP address;
[0061] The obtaining the face image of the person carrying the mobile intelligent lock through the community access control, sending a verification message to the intelligent door lock IP address, and controlling the opening of the community access control according to the verification result includes:
[0062] The intelligent door lock matches the face image feature information with the personnel feature vectors maintained locally. If there is a personnel feature vector with a similarity exceeding a preset threshold, the verification passes, and the community access control is controlled to open.
[0063] Specifically, in this embodiment, after receiving it, door lock B compares it with the personnel feature vectors maintained locally. If the similarity is higher than a threshold, it is considered a successful match; otherwise, it fails. Whether it is successful or failed, a message will be replied to the access control. If the match fails, "rejected" will be replied, and the access control will not let it through; if the match is successful, "agreed" will be replied, and the access control will let it through.
[0064] Preferably, the method further includes:
[0065] The intelligent door lock and the community access control respectively send door lock IGMP join messages and access control IGMP join messages to the multicast router periodically; the door lock IGMP join message includes the intelligent door lock ID, and the access control IGMP join message includes the access control ID;
[0066] The multicast router generates multicast forwarding table entries according to the door lock IGMP join messages and the access control IGMP join messages. The multicast router marks the corresponding intelligent door lock ID and access control ID on the interface where the IGMP message is received, forms a door lock ID set and an access control ID set, and sends a PIM join message to the upstream group router; the multicast forwarding table entry includes the multicast group address;
[0067] The upstream group router marks the door lock ID set and the access control ID set on the outgoing interface of the entry of the received PIM join message.
[0068] Specifically, as a preferred solution in this embodiment, it is avoided that each time the access control needs to disturb the platform to obtain the IP address of the door lock. The entire system can be set to use a unified multicast group address, such as 226.1.1.1. Furthermore, each door lock sends an IGMP join message periodically, which contains the door lock ID. Each community access control also sends an IGMP join message periodically, which contains the access control ID. After receiving the IGMP message, the multicast router generates a (*,G) multicast forwarding table entry, that is, (*, 226.1.1.1), and the multicast router marks the corresponding door lock ID and access control ID on the interface where the IGMP message is received.
[0069] It should be noted that when the multicast router sends a PIM join message to the upstream router, it first aggregates the door lock IDs and access control IDs marked on all its outgoing interfaces to form a door lock / access control ID set. The door lock ID / access control ID set is stuffed into the PIM join message and sent to the upstream multicast router. The upstream multicast router marks these door lock IDs / access control IDs on the outgoing interface of the (*,G) entry of the received PIM join message.
[0070] Further, obtaining the face image of the person carrying the mobile intelligent lock through the community access control and sending a verification message to the IP address of the intelligent door lock includes: the access control sends the verification message to the upstream group router in a multicast manner; the verification message includes face image feature information, access control ID, multicast group address, and intelligent door lock ID; after each upstream group router receives the verification message, it determines whether the outgoing interface is marked with the intelligent door lock ID. If so, it forwards the verification message from this outgoing interface to the corresponding multicast router, and the multicast router forwards it to the intelligent door lock.
[0071] Specifically, in this embodiment, the access control sends a "face authentication" message in a multicast manner, which contains the face feature vector of on-site member A, its own IP and access control ID, and the door lock ID (i.e., door lock B). After each multicast router receives it, it determines which outgoing interface is marked with the door lock ID, and then forwards the above message from this outgoing interface. After layers of processing, the message will reach door lock B.
[0072] It should be noted that after door lock B receives it, it compares it with the personnel feature vector maintained locally. If the similarity is higher than a threshold, it is considered a successful match. If the match fails, it replies with a "reject" message to the access control, and the destination IP address is the own IP of the access control in the "face authentication" message, and the access control does not allow passage; if the match is successful, it replies with an "agree" message to the access control, and the access control allows passage.
[0073] Preferably, for a community with strict management, member A will also be restricted by the access control when going out. The processing flow can refer to the above. However, the above processing flow will cause the door lock to be frequently awakened. Therefore, in this embodiment, the following further steps are proposed:
[0074] Each time the intelligent door lock receives a "face authentication" message (i.e., the above verification message) from the access control, it records these access control IDs. When the suitcase A carrying the mobile intelligent lock is pulled away by member A, it usually means that member A is going to leave the community and go out. The intelligent door lock detects that suitcase A goes out and sends a "gate release" message, the destination address is the unified multicast group address, which contains the set of family member face feature vectors, its own door lock ID, all the access control IDs it records, and the information survival time (for example, 1 hour, which will expire after 1 hour).
[0075] Further, after receiving the "gate access permitted" message, the multicast router extracts all the access control IDs therefrom and forwards the above message from the outgoing interface marked with any one of the above access control IDs. Obviously, multiple outgoing interfaces are usually matched. As a result, all the above access controls will receive the "gate access permitted" message. The access control saves the set of face feature vectors, the door lock ID, and the effective survival time in the message. When a certain access control sees member A preparing to go out, it extracts the door lock ID saved by the suitcase lock he is pulling, and determines whether there is a face feature vector in the set of face feature vectors corresponding to the door lock ID that is similar to the face feature vector of member A on the spot and the information is still within the effective survival period. If so, it releases; otherwise, it rejects.
[0076] It should be noted that each of the above access controls periodically determines whether the saved set of face feature vectors is within the effective survival period. If it exceeds the effective survival period, it is deleted.
[0077] In summary, in this embodiment, the following technical innovation points are designed: 1. The main door lock uses short-range communication to obtain the entry and exit times of the suitcase, and judges whether it is the suitcase of a family member according to the duration. If so, it sends its own lock ID to the door lock of the suitcase. 2. When the suitcase arrives at the access control, the access control obtains the door lock ID from the suitcase and sends the feature vector of the on-site personnel to the door lock for confirmation. If it is OK, it passes; otherwise, it rejects. 3. When the door lock detects that suitcase A goes out, it sends a "gate access permitted" message. The destination address is the unified multicast group address, which includes the set of face feature vectors of family members, its own door lock ID, all the access control IDs it records, and the information survival time (for example, 1 hour, which expires after 1 hour). 4. After receiving the "gate access permitted" message, the multicast router extracts all the access control IDs therefrom and forwards the above message from the outgoing interface marked with any one of the above access control IDs. Obviously, multiple outgoing interfaces are usually matched. 5. When a certain access control sees member A preparing to go out, it extracts the door lock ID saved by the suitcase lock he is pulling, and determines whether there is a face feature vector in the set of face feature vectors corresponding to the door lock ID that is similar to the face feature vector of member A on the spot and the information is still within the effective survival period. If so, it releases; otherwise, it rejects.
[0078] This facilitates the entry and exit of community members. At the same time, the access control system does not have to retain the face features of each family member, protecting privacy.
[0079] In addition, in the second aspect of this embodiment, an access control system based on multi-type intelligent locks is provided. The multi-type intelligent locks include intelligent door locks and mobile intelligent locks. The system includes a sending module 201, a request module 202, a determination module 203, and a verification and control module 204, where:
[0080] A sending module 201, which is configured to, in response to the close contact between the mobile intelligent lock and the community access control, the mobile intelligent lock sends the intelligent door lock ID to the community access control; wherein, both the intelligent door lock and the community access control are registered in the lock management platform; the mobile intelligent lock records the corresponding intelligent door lock ID.
[0081] A request module 202, which is configured to send a door lock IP address request message to the lock management platform according to the community access control; the request message includes the intelligent door lock ID.
[0082] A determination module 203, which is configured to enable the lock management platform to determine the intelligent door lock IP address according to the door lock IP address request message and return it to the community access control.
[0083] A verification and control module 204, which is configured to obtain the face image carrying the mobile intelligent lock through the community access control, send a verification message to the intelligent door lock IP address, and control the opening of the community access control according to the verification result.
[0084] Further, the verification message includes face image feature information and the intelligent door lock IP address.
[0085] The obtaining the face image carrying the mobile intelligent lock through the community access control, sending a verification message to the intelligent door lock IP address, and controlling the opening of the community access control according to the verification result includes:
[0086] The intelligent door lock matches the face image feature information with the personnel feature vectors maintained locally. If there are personnel feature vectors with a similarity exceeding a preset threshold, the verification is passed, and the community access control is controlled to open.
[0087] Further, the system further includes a routing networking module 205; wherein the routing networking module 204 is configured to control the intelligent door lock and the community access control to respectively send a door lock IGMP join message and an access control IGMP join message to the multicast router periodically; the door lock IGMP join message includes the intelligent door lock ID, and the access control IGMP join message includes the access control ID.
[0088] The multicast router generates a multicast forwarding table entry according to the door lock IGMP join message and the access control IGMP join message. The multicast router marks the corresponding intelligent door lock ID and access control ID on the interface where the IGMP message is received, forms a door lock ID set and an access control ID set, and sends a PIM join message to the upstream group router; the multicast forwarding table entry includes the multicast group address.
[0089] The upstream group router marks the door lock ID set and the access control ID set on the outgoing interface of the entry of the received PIM join message.
[0090] Further, the verification and control module 204 is further configured to control the access control to send a verification message to the upstream group router in a multicast manner; the verification message includes face image feature information, an access control ID, a multicast group address, and an intelligent door lock ID; after each upstream group router receives the verification message, it determines whether the outgoing interface is marked with the intelligent door lock ID, and if so, forwards the verification message from the outgoing interface to the corresponding multicast router, and the multicast router forwards it to the intelligent door lock.
[0091] Further, the mobile intelligent lock further has a function of recording the corresponding intelligent door lock ID; the implementation of the function of the mobile intelligent lock recording the corresponding intelligent door lock ID includes:
[0092] When the user performs an operation of opening the intelligent door lock of the mobile intelligent lock from the outside and closing it from the inside, the intelligent door lock obtains the mobile intelligent lock ID through short-range communication and records the entry time of the mobile intelligent lock; when the user performs an operation of opening the intelligent door lock of the mobile intelligent lock from the inside and closing it from the outside, the intelligent door lock obtains the mobile intelligent lock ID through short-range communication and records the exit time of the mobile intelligent lock;
[0093] Compare the entry time point and the exit time point. If the difference exceeds a preset time value, it is determined that the mobile intelligent lock is owned by a member of the intelligent door lock; then the intelligent door lock ID is sent to the mobile intelligent lock, and the mobile intelligent lock records the intelligent door lock ID.
[0094] In addition, a third aspect of the present invention provides a storage medium, which stores a computer program; the program is loaded and executed by a processor to implement the steps of the access control method based on multiple types of intelligent locks as described in the first aspect above.
[0095] In addition, an embodiment of the present application also discloses an electronic device, as Figure 3 shown, the electronic device includes: one or more processors, a memory, and the memory is used to store one or more computer programs; characterized in that the computer program is configured to be executed by the one or more processors, and the program includes steps for executing the access control method based on multiple types of intelligent locks as described in the first aspect above.
[0096] Those of ordinary skill in the art can realize that the units and algorithm steps of the examples described in combination with the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of the two. To clearly illustrate the interchangeability of hardware and software, the composition and steps of the examples have been generally described according to functions in the above description. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present invention.
[0097] In several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the units is only a logical function division, and there can be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the displayed or discussed couplings or direct couplings or communication connections to each other can be indirect couplings or communication connections through some interfaces, devices or units, and can also be electrical, mechanical or other forms of connection.
[0098] The units described as separate components may or may not be physically separated. As units, those of ordinary skill in the art can realize that the units and algorithm steps of the examples described in combination with the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of the two. To clearly illustrate the interchangeability of hardware and software, the composition and steps of the examples have been generally described according to functions in the above description. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present invention.
[0099] In addition, the functional units in various embodiments of the present invention can be integrated in a processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit. The above integrated units can be implemented in the form of hardware or in the form of software functional units.
[0100] When the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a grid device, etc.) to execute all or part of the steps of the methods described in various embodiments of the present invention. The foregoing storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memories (ROM, Read-Only Memory), random access memories (RAM, Random Access Memory), magnetic disks, or optical discs that can store program codes.
[0101] The specific embodiments described above further elaborate on the purpose, technical solution, and beneficial effects of the present invention. It should be understood that the above are only specific embodiments of the present invention and are not used to limit the protection scope of the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. An access control method based on multi-type intelligent locks, characterized in that, The multi-type intelligent lock includes an intelligent door lock and a mobile intelligent lock. The method includes: In response to the close contact between the mobile intelligent lock and the community access control, the mobile intelligent lock sends the intelligent door lock ID to the community access control; wherein, both the intelligent door lock and the community access control are registered on the lock management platform; the mobile intelligent lock records the corresponding intelligent door lock ID; Send a door lock IP address request message to the lock management platform according to the community access control; the request message includes the intelligent door lock ID; The lock management platform determines the intelligent door lock IP address according to the door lock IP address request message and returns it to the community access control; Obtain the face image carrying the mobile intelligent lock through the community access control, send a verification message to the intelligent door lock IP address, and control the opening of the community access control according to the verification result; The method further includes: the intelligent door lock and the community access control respectively send a door lock IGMP join message and an access control IGMP join message to the multicast router periodically; the door lock IGMP join message includes the intelligent door lock ID, and the access control IGMP join message includes the access control ID; The multicast router generates a multicast forwarding table entry according to the door lock IGMP join message and the access control IGMP join message. The multicast router marks the corresponding intelligent door lock ID and access control ID on the interface that receives the IGMP message, forms a door lock ID set and an access control ID set, and sends a PIM join message to the upstream group router; the multicast forwarding table entry includes the multicast group address; The upstream group router marks the door lock ID set and the access control ID set on the outgoing interface of the entry of the received PIM join message.
2. The access control method based on multi-type intelligent locks according to claim 1, characterized in that, The verification message includes face image feature information and the intelligent door lock IP address; The step of obtaining the face image carrying the mobile intelligent lock through the community access control, sending a verification message to the intelligent door lock IP address, and controlling the opening of the community access control according to the verification result includes: The intelligent door lock matches the face image feature information with the personnel feature vectors maintained locally. If there is a personnel feature vector with a similarity exceeding a preset threshold, the verification is passed and the opening of the community access control is controlled.
3. The access control method based on multi-type intelligent locks according to claim 2, wherein The step of obtaining the face image carrying the mobile intelligent lock through the community access control and sending a verification message to the intelligent door lock IP address includes: The access control sends the verification message to the upstream group router in a multicast manner; the verification message includes face image feature information, access control ID, multicast group address, and intelligent door lock ID; After each upstream group router receives the verification message, it determines whether the outgoing interface is marked with the intelligent door lock ID. If so, it forwards the verification message from the outgoing interface to the corresponding multicast router, and the multicast router forwards it to the intelligent door lock.
4. The access control method based on multi-type intelligent locks according to claim 3, characterized in that, The method further includes the step of the mobile intelligent lock recording the corresponding intelligent door lock ID; the step of the mobile intelligent lock recording the corresponding intelligent door lock ID includes: When the user performs an operation of opening the smart door lock of the mobile smart lock from the outside and closing it from the inside, the smart door lock obtains the mobile smart lock ID through short-range communication and records the entry time of the mobile smart lock; when the user performs an operation of opening the smart door lock of the mobile smart lock from the inside and closing it from the outside, the smart door lock obtains the mobile smart lock ID through short-range communication and records the exit time of the mobile smart lock. Compare the entry time point and the exit time point. If the difference exceeds a preset time value, it is determined that the mobile smart lock is owned by a member of the smart door lock; then the smart door lock ID is sent to the mobile smart lock, and the mobile smart lock records the smart door lock ID.
5. An access control system based on multi-type intelligent locks, characterized in that, The multi-type smart locks include smart door locks and mobile smart locks. The system includes a sending module, a requesting module, a determining module, and a verification and control module, where: The sending module is used to respond to the short-range contact between the mobile smart lock and the community access control. The mobile smart lock sends the smart door lock ID to the community access control; among them, the smart door lock and the community access control are both registered on the lock management platform; the mobile smart lock records the corresponding smart door lock ID. The requesting module is used to send a door lock IP address request message to the lock management platform according to the community access control; the request message includes the smart door lock ID. The determining module is used to enable the lock management platform to determine the smart door lock IP address according to the door lock IP address request message and return it to the community access control. The verification and control module is used to obtain the face image of the user carrying the mobile smart lock through the community access control, send a verification message to the smart door lock IP address, and control the opening of the community access control according to the verification result. The routing networking module is used to control the smart door lock and the community access control to periodically send a door lock IGMP join message and an access control IGMP join message to the multicast router respectively; the door lock IGMP join message includes the smart door lock ID, and the access control IGMP join message includes the access control ID; the multicast router generates a multicast forwarding entry according to the door lock IGMP join message and the access control IGMP join message. The multicast router marks the corresponding smart door lock ID and access control ID on the interface that receives the IGMP message, forms a door lock ID set and an access control ID set, and sends a PIM join message to the upstream group router; the multicast forwarding entry includes the multicast group address; the upstream group router marks the door lock ID set and the access control ID set on the outgoing interface of the entry of the received PIM join message.
6. The access control system based on multi-type intelligent locks according to claim 5, characterized in that, The verification message includes face image feature information and the smart door lock IP address. The process of obtaining the face image of the user carrying the mobile smart lock through the community access control, sending a verification message to the smart door lock IP address, and controlling the opening of the community access control according to the verification result includes: The smart door lock matches the face image feature information with the personnel feature vectors maintained locally. If there is a personnel feature vector with a similarity exceeding a preset threshold, the verification is passed, and the community access control is controlled to open.
7. The access control system based on multi-type intelligent locks according to claim 6, characterized in that, The verification and control module is further configured to control the access control to send verification messages to the upstream group router in a multicast manner; the verification messages include face image feature information, access control ID, multicast group address, and intelligent door lock ID; after each upstream group router receives the verification message, it determines whether the outgoing interface is marked with the intelligent door lock ID, and if so, forwards the verification message from the outgoing interface to the corresponding multicast router, and the multicast router forwards it to the intelligent door lock.
8. A storage medium storing a computer program; the program is loaded and executed by a processor to implement the steps of the access control method based on multiple types of intelligent locks according to any one of claims 1-4.
Citation Information
Patent Citations
Business management and control method based on biological recognition, acquisition equipment and recognition equipment
CN111768534A