Access control unlocking method and device
By using face image comparison technology in smart buildings, users can remote registration and on-site personal certificate pairing are realized, which solves the problem of time-consuming and laborious collection and retention of information in the existing access control system, and improves the convenience and security of the access control system , saving resources and costs.
Patent Information
- Application Number
- CN202310138094.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-20
- Publication Date
- 2024-11-12
- Estimated Expiration
- 2043-02-20
AI Technical Summary
In the field of smart buildings, existing access control systems need to collect and manually retain identity information in advance, resulting in waste of manpower, material resources and time, and lack of effective solutions.
By receiving the user's access control request, using facial image information to compare identity. If the match is successful, a door opening instruction will be sent and an access record will be generated. The user can register the information remotely in advance and pair the personal certificate on site to complete the registration of the access control by the ID card. , realize automatic background trace loss.
It saves manpower and material resources, reduces time and economic costs, improves the convenience and security of access control, and realizes the access control key production and automated trace-keeping functions without manual on-site entry.
Smart Images

Figure CN116168483B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present disclosure belong to the technical field of intelligent buildings, and particularly relate to a door unlocking method and device. Background Art
[0002] In the field of intelligent buildings, intelligent access control systems are an important part. Access control systems are usually composed of access card readers, access controllers, electric locks, door opening buttons and other devices. Doors can be opened by swiping cards, facial recognition and other methods. Users usually need to collect identity information in advance, send the identity information to the access control device, and then open the door after the person-document comparison; and when opening the door, it is often necessary to manually retain the access record.
[0003] Collecting information in advance and keeping access records is time-consuming and laborious, which will cause a waste of manpower, material resources and time for both the collector and the collected party. There is currently a lack of effective solutions to the above problems. Summary of the invention
[0004] The embodiments of the present disclosure aim to solve at least one of the technical problems existing in the prior art and provide a door unlocking method and system.
[0005] One aspect of the present disclosure provides a door unlocking method. The method comprises:
[0006] Receiving an access control request initiated by a user, wherein the access control request carries identity information of the user; wherein the identity information includes first facial image information;
[0007] According to the identity information of the user, determining whether corresponding registration information exists in a preset access control identity recognition library;
[0008] In response to the existence of corresponding registration information in the access control identity recognition database, obtaining second facial image information of the user;
[0009] The first facial image information of the user is compared with the second facial image information. If the comparison is consistent, a door opening instruction is sent and an access record is generated.
[0010] Optionally, after the comparison is consistent, the method further includes:
[0011] Generate association information based on the user's identity information and the second facial image information, and store the association information in the access control identity recognition library.
[0012] Optionally, after receiving the access control request initiated by the user, the method further includes:
[0013] According to the identity information of the user, determine whether there is corresponding association information in the preset access control identity recognition library;
[0014] In response to the existence of corresponding association information in the access control identity recognition library, a door opening instruction is sent and an access record is generated at the same time.
[0015] Optionally, judging whether corresponding association information exists in a preset access control identity recognition library according to the identity information of the user includes:
[0016] If the corresponding association information does not exist in the preset access control identity recognition library, determine whether the corresponding registration information exists in the preset access control identity recognition library;
[0017] In response to the existence of corresponding registration information in the access control identity recognition database, obtaining second facial image information of the user;
[0018] The first facial image information of the user is compared with the second facial image information. If the comparison is consistent, a door opening instruction is sent and an access record is generated.
[0019] Preferably, in response to the absence of corresponding registration information in the access control identity recognition database; or the comparison is inconsistent; then,
[0020] Initiate an alarm; and / or notify the access control manager.
[0021] Optionally, the identity information is the identity card information corresponding to the user.
[0022] Another aspect of the present disclosure provides a door unlocking device. The device comprises:
[0023] Reader: used to receive an access control request initiated by a user, wherein the access control request carries the user's identity information; wherein the identity information includes the first face image information;
[0024] Judgment module: used to judge whether there is corresponding registration information in the preset access control identity recognition library according to the identity information of the user;
[0025] Camera: used for obtaining the second face image information of the user in response to the corresponding registration information existing in the access control identity recognition library;
[0026] Comparison module: compares the first face image information of the user with the second face image information, and if the comparison is consistent, sends a door opening instruction and generates an access record.
[0027] Optionally, the device further includes an association module; the association module is used to:
[0028] Generate association information based on the user's identity information and the second facial image information, and store the association information in the access control identity recognition library.
[0029] Optionally, the judging module is further used for:
[0030] According to the identity information of the user, determine whether there is corresponding association information in the preset access control identity recognition library;
[0031] In response to the existence of corresponding association information in the access control identity recognition library, a door opening instruction is sent and an access record is generated at the same time.
[0032] Preferably, the device further comprises an alarm module; the alarm module is used for:
[0033] In response to the absence of corresponding registration information in the access control identity recognition database; or the comparison is inconsistent; then,
[0034] Initiate an alarm; and / or notify the access control manager.
[0035] A door unlocking method and device according to an embodiment of the present disclosure allows users to remotely register their personal information in advance, and then go to the site to match the person with the ID card, complete the registration of the ID card for the door unlocking, and leave a trace in the background each time the door is successfully opened, saving manpower, material resources and time for both parties involved in information collection. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] Figure 1 A schematic diagram of a flow chart of a door unlocking method according to an embodiment of the present disclosure;
[0037] Figure 2 The present invention is a schematic structural diagram of a door unlocking device according to another embodiment of the present invention. DETAILED DESCRIPTION
[0038] The embodiments of the present disclosure use a document with the user's identity information, especially a document carrying the user's facial image, as a door access key, such as an ID card or a mobile phone with NFC function that has registered personal information in advance using a mobile phone application (APP) and uploaded a portrait.
[0039] Before entering a specific area subject to access control (such as an office building or residential area), the user can register the passers-by by himself / herself through mobile phones, computers and other devices, and upload the registration information to the access control identity recognition database; the access control management party can also enter the registration information of the passers-by into the access control identity recognition database in advance, such as the company's managers entering the company's personnel information into the access control identity recognition database, and the property staff of the residential area entering the resident information of the residential area into the access control identity recognition database.
[0040] When the user uses the ID card to swipe the access control for the first time, if the user's registration information does not exist in the access control identity recognition library, the access control will not be unlocked; if the user's registration information exists in the access control identity recognition library, a second facial image of the user is taken on site, and the image is compared with the first facial image in the registration information. If the comparison is consistent, the access control will be unlocked, and the ID card used by the user will be associated with the registration information in the access control identity recognition library, and the associated information will be generated and then entered into the access control identity recognition library; otherwise, if the comparison is inconsistent, the access control will not be unlocked.
[0041] When the user successfully unlocks the access control by swiping the ID card for the first time and generates the associated information, the access control will be unlocked directly according to the associated information when the user swipes the ID card again. In this way, the access control key is made.
[0042] While most existing technologies use manual on-site entry of identity information and registration of access control cards, the embodiments of the present disclosure use ID cards or mobile phones and other personal belongings to directly register as access control keys, without the need to go to the site for manual entry, and without the need to arrange management personnel, venues, and registration equipment to register an additional access control card. It only needs to be equipped with the card reader and camera on the existing access control, and on this basis, the function of automatic background trace retention is added, which greatly reduces the economic cost and time cost, and increases the convenience and security of access control.
[0043] In order to enable those skilled in the art to better understand the technical solution of the present disclosure, the present disclosure is further described in detail below in conjunction with the accompanying drawings and specific implementation methods.
[0044] like Figure 1 As shown, a door unlocking method according to an embodiment of the present disclosure includes the following steps:
[0045] S1. Receive an access control request initiated by a user, where the access control request carries identity information of the user; wherein the identity information includes first facial image information.
[0046] Specifically, when a user uses an ID card to scan the access control system, an access control request is sent to the access control system. Taking the ID card as an example, the ID card contains various identity information of the user, including the face image. When the access control system receives the access control request, it reads the information in the user's ID card.
[0047] S2. According to the identity information of the user, determine whether there is corresponding association information in a preset access control identity recognition library.
[0048] The so-called association information is generated after the identity information in the user's ID card is successfully compared with the second face image. If the corresponding association information exists in the preset access control identity recognition library, execute:
[0049] S31, sending a door opening command and generating an access record at the same time;
[0050] If the corresponding association information does not exist in the preset access control identity library, execute:
[0051] S32: Determine whether corresponding registration information exists in the preset access control identity recognition library.
[0052] For example, when a user uses an ID card to scan the door, the door first detects whether there is any information associated with the ID card in the door identification library. If there is, the door is opened directly and a trace is left. If not, the next step is executed to detect whether there is any registration information in the door identification library that is consistent with the identity information in the ID card. If there is still no corresponding registration information, the following is executed: S41, do not unlock the door;
[0053] If the corresponding registration information exists in the access control identity database, execute:
[0054] S42: Obtain second facial image information of the user.
[0055] Specifically, the camera on the access control system will be activated at this time to capture the facial image of the user who swipes the card.
[0056] S5. Compare the first facial image information of the user with the second facial image information.
[0057] Specifically, the face image obtained by the access control from the user's ID card is compared with the face image taken on-site by the access control camera. If the comparison fails, the following steps are executed: S41: Do not unlock;
[0058] If the comparison is successful, execute:
[0059] S31, sending a door opening instruction and generating an access record; and,
[0060] S6. Generate association information based on the user's identity information and the second facial image information, and store the association information in the access control identity recognition library.
[0061] Specifically, when the face image in the ID card is successfully compared with the face image taken on site, the access control system will be unlocked and a trace will be left. The trace may include the identity information of the card swiping user and the current time, etc. At the same time, the ID card used by the user is associated with the registration information in the access control identity recognition database, and the generated associated information is entered into the access control identity recognition database, so that the next time the user swipes the access control system with the ID card, the access control system can detect the corresponding associated information and directly unlock and leave a trace.
[0062] Exemplarily, in response to the absence of corresponding registration information in the access control identity recognition database; or the comparison is inconsistent; then,
[0063] Initiate an alarm; and / or notify the access control manager.
[0064] Specifically, whenever the above step S41 is executed and the door is not unlocked, it means that the door has encountered a situation where the person who scans the card has not entered the registration information in advance or the person-card comparison fails. In order to feedback the situation to the person who scans the card and the door management personnel, the door can give an alarm or send a signal to the guard room to facilitate relevant personnel to go to the scene to handle it.
[0065] A door unlocking method according to an embodiment of the present disclosure allows users to remotely register their personal information in advance, and then go to the site to match the person with the ID card, complete the registration of the ID card for the door, and leave a trace in the background each time the door is successfully opened, saving manpower, material resources and time for both parties involved in information collection.
[0066] like Figure 2 As shown, a door unlocking device according to another embodiment of the present disclosure includes:
[0067] Reader 201: used to receive a door access request initiated by a user, wherein the door access request carries the user's identity information; wherein the identity information includes the first face image information;
[0068] Determination module 202: used to determine whether corresponding registration information exists in a preset access control identity recognition library according to the identity information of the user;
[0069] Camera 203: used to obtain the second facial image information of the user in response to the corresponding registration information existing in the access control identity recognition library;
[0070] Comparison module 204: compares the first facial image information of the user with the second facial image information, and sends a door opening instruction if the comparison is consistent, and generates an access record at the same time.
[0071] Specifically, first, taking the ID card as an example, the reader 201 is an ID card reader, which is used to read the identity information in the ID card of the user who swipes the card. The identity information includes the user's facial image, hereinafter referred to as the first facial image information. Then the judgment module 202 determines whether there is registration information corresponding to the identity information in the preset access control identity recognition library. The registration information is the information of the user who is allowed to pass the access control and entered in advance by the user or the access control management personnel. For example, the user enters the identity information himself through the APP connected to the access control identity recognition library, or the access control management personnel enters it uniformly according to the resident information library. If the judgment module 202 determines that there is corresponding registration information in the access control identity recognition library, the camera 203 is started to capture the second facial image information of the user. Finally, the comparison module 204 compares the above-mentioned first facial image information with the second facial image information. If the comparison is consistent, the door opening command is sent to unlock the access control, and the access record is generated to leave a trace in the background.
[0072] Exemplarily, the apparatus further includes an associating module 205; the associating module 205 is configured to:
[0073] Generate association information based on the user's identity information and the second facial image information, and store the association information in the access control identity recognition library.
[0074] Specifically, when the comparison module 204 compares the first face image information with the second face image information and finds them consistent, the association module 205 associates the user's identity information with the corresponding registration information in the access control identity recognition library, generates association information and stores it in the access control identity recognition library.
[0075] Exemplarily, the determining module 202 is further configured to:
[0076] According to the identity information of the user, determine whether there is corresponding association information in the preset access control identity recognition library;
[0077] In response to the existence of corresponding association information in the access control identity recognition library, a door opening instruction is sent and an access record is generated at the same time.
[0078] Specifically, when a user registers a document carrying identity information, such as an ID card, as an access card, he or she can directly pass through the access control with the ID card in the future. Before determining whether there is corresponding registration information in the preset access control identity recognition library, the judgment module 202 will first determine whether there is corresponding associated information. If there is corresponding associated information, the access control device will be directly unlocked and leave a trace.
[0079] In this embodiment, the ID card can be directly registered as an access card through the access control device, without the need to register with the access control management party or obtain an additional access card, which saves time and cost and increases convenience.
[0080] It should be noted that the judgment module, comparison module, association module and alarm module described in this embodiment can be integrated into a host computer, which is used to implement the functions of the above modules and control the reader, camera, door lock, alarm and other devices. Specifically, the host computer is installed with an Android system, and is connected to the above devices through a serial port to read and write data. The data of each device is encapsulated by JNI and then exchanged with Android.
[0081] Preferably, the device further comprises an alarm module 206; the alarm module 206 is used for:
[0082] In response to the absence of corresponding registration information in the access control identity recognition database; or the comparison is inconsistent; then,
[0083] Initiate an alarm; and / or notify the access control manager.
[0084] This embodiment provides an alarm module to provide feedback when the access control receives the access control request of the user but fails to unlock the door successfully, thereby improving the security and operability of the access control device.
[0085] A door unlocking device according to an embodiment of the present disclosure allows users to remotely register their personal information in advance, and then go to the site to match the person with the ID card to complete the registration of the door access control, and leave a trace in the background each time the door is successfully opened, saving manpower, material resources and time for both parties involved in information collection.
[0086] It is to be understood that the above embodiments are merely exemplary embodiments used to illustrate the principles of the present disclosure, but the present disclosure is not limited thereto. For those of ordinary skill in the art, various modifications and improvements can be made without departing from the spirit and substance of the present disclosure, and these modifications and improvements are also considered to be within the scope of protection of the present disclosure.
Claims
1. A door unlocking method, characterized in that: The method comprises: Receiving an access control request initiated by a user, wherein the access control request carries identity information of the user; wherein the identity information includes first facial image information; According to the identity information of the user, determining whether there is corresponding association information in a preset access control identity recognition library; in response to the existence of corresponding association information in the access control identity recognition library, sending a door opening instruction and generating an access record at the same time; If there is no corresponding association information in the preset access control identity recognition library, judging whether there is corresponding registration information in the preset access control identity recognition library according to the identity information of the user; in response to the presence of corresponding registration information in the access control identity recognition library, obtaining the second facial image information of the user; The first facial image information of the user is compared with the second facial image information. If the comparison is consistent, a door opening command is sent and an access record is generated. Association information is generated based on the user's identity information and the second facial image information, and the association information is stored in the access control identity recognition library.
2. The method according to claim 1, characterized in that In response to the absence of corresponding registration information in the access control identity recognition database; or the comparison is inconsistent; then, Initiate an alarm; and / or notify the access control manager.
3. The method according to claim 1, characterized in that The identity information is the ID card information corresponding to the user.
4. A door unlocking device, characterized in that: The device comprises: Reader: used to receive an access control request initiated by a user, wherein the access control request carries the user's identity information; wherein the identity information includes the first face image information; Judgment module: used to judge whether there is corresponding association information in the preset access control identity recognition library according to the identity information of the user; in response to the existence of corresponding association information in the access control identity recognition library, send a door opening instruction and generate an access record at the same time; if there is no corresponding association information in the preset access control identity recognition library, judge whether there is corresponding registration information in the preset access control identity recognition library; Camera: used for obtaining the second face image information of the user in response to the corresponding registration information existing in the access control identity recognition library; Comparison module: compares the first facial image information of the user with the second facial image information, sends a door opening command if the comparison is consistent, generates an access record at the same time, generates association information based on the user's identity information and the second facial image information, and stores the association information in the access control identity recognition library.
5. The device according to claim 4, characterized in that The device also includes an alarm module; the alarm module is used to: In response to the absence of corresponding registration information in the access control identity recognition database; or the comparison is inconsistent; then, Initiate an alarm; and / or notify the access control manager.
Citation Information
Patent Citations
Two-dimensional code based access control system and door opening method
CN106204866A
Access control device and fast face recognition authentication access method
CN107016755A
Door control system and door control method
CN107038776A
Construction site real-name information management system based on face recognition
CN107610301A
Worker real-name system information closed-loop management system at construction site based on mobile phone APP
CN107657388A
