CN105447928B - Access control method and control system - Google Patents
Access control method and control system Download PDFInfo
- Publication number
- CN105447928B CN105447928B CN201410434161.1A CN201410434161A CN105447928B CN 105447928 B CN105447928 B CN 105447928B CN 201410434161 A CN201410434161 A CN 201410434161A CN 105447928 B CN105447928 B CN 105447928B
- Authority
- CN
- China
- Prior art keywords
- mobile terminal
- data
- visitor
- owner
- administrator
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 40
- 238000013475 authorization Methods 0.000 claims description 79
- 238000012545 processing Methods 0.000 claims description 11
- 230000005540 biological transmission Effects 0.000 claims description 4
- 238000013480 data collection Methods 0.000 claims description 3
- 230000005764 inhibitory process Effects 0.000 claims 31
- 241001269238 Data Species 0.000 claims 1
- 238000012795 verification Methods 0.000 description 61
- 238000010586 diagram Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 238000007726 management method Methods 0.000 description 4
- 230000004044 response Effects 0.000 description 4
- 230000008569 process Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 238000013500 data storage Methods 0.000 description 2
- 230000002427 irreversible effect Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000008092 positive effect Effects 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Landscapes
- Lock And Its Accessories (AREA)
- Mobile Radio Communication Systems (AREA)
- Collating Specific Patterns (AREA)
- Telephone Function (AREA)
Abstract
本发明公开了一种门禁控制方法及控制系统,所述方法包括:获取移动终端的连接请求消息,判断所述连接请求消息中携带的终端标识与预先存储的预置标识是否匹配;若是,判定所述移动终端为业主移动终端或管理员移动终端;判断该移动终端采集的指纹数据与预先存储的、对应于所述预置标识的预置指纹数据是否匹配;若是,则解锁门禁。本发明提供的方法具有高安全性和极大的便利性,而且无需将指纹留在公共区域,避免了指纹被盗用的风险。
The invention discloses an access control method and a control system. The method includes: acquiring a connection request message of a mobile terminal, and judging whether the terminal identifier carried in the connection request message matches a pre-stored preset identifier; if so, judging The mobile terminal is an owner's mobile terminal or an administrator's mobile terminal; judging whether the fingerprint data collected by the mobile terminal matches the pre-stored fingerprint data corresponding to the preset identification; if so, unlocking the access control. The method provided by the invention has high security and great convenience, and does not need to leave fingerprints in public areas, avoiding the risk of fingerprints being stolen.
Description
技术领域technical field
本发明涉及智能社区控制技术,具体地说,是涉及一种门禁控制方法及控制系统。The invention relates to intelligent community control technology, in particular to an access control method and control system.
背景技术Background technique
近年来,智能社区发展迅速,很多社区都配备了高级门禁,其中指纹锁被广泛使用,由于指纹锁不需要钥匙,因此避免了老式锁钥匙丢失就要换锁的麻烦;且由于指纹具有唯一性,因而能够在一定程度上保证安全性。In recent years, smart communities have developed rapidly, and many communities are equipped with advanced access control. Among them, fingerprint locks are widely used. Since fingerprint locks do not require keys, it avoids the trouble of changing locks when the old lock key is lost; and because fingerprints are unique. , thus ensuring security to a certain extent.
目前的指纹锁虽然无需使用钥匙,但用户需要将指纹按在公共区域的指纹识别器上(大多数都安装在门禁上),指纹识别器才能识别和解锁,这种方式使得指纹痕迹会留在指纹识别器上,存在被复制盗用的可能,因此采用指纹锁仍然具有一定风险。Although the current fingerprint lock does not need to use a key, the user needs to press the fingerprint on the fingerprint reader in the public area (most of them are installed on the access control), and the fingerprint reader can recognize and unlock. On the fingerprint reader, there is the possibility of being copied and stolen, so there is still a certain risk in using a fingerprint lock.
发明内容Contents of the invention
本发明的目的之一是提供一种门禁控制方法,以解决现有技术需要将指纹留在公共区域的指纹识别器上而存在指纹被复制盗用风险的问题。One of the objectives of the present invention is to provide an access control method to solve the problem in the prior art that fingerprints need to be left on fingerprint readers in public areas and there is a risk of fingerprints being copied and embezzled.
为实现上述目的,本发明提供的方法采用下述技术方案来实现:In order to achieve the above object, the method provided by the invention adopts the following technical solutions to realize:
一种门禁控制方法,所述方法包括:An access control method, the method comprising:
获取移动终端的连接请求消息,判断所述连接请求消息中携带的终端标识与预先存储的预置标识是否匹配;Obtaining a connection request message of the mobile terminal, and judging whether the terminal identifier carried in the connection request message matches a pre-stored preset identifier;
若是,判定所述移动终端为业主移动终端或管理员移动终端;If so, determine that the mobile terminal is the owner's mobile terminal or the administrator's mobile terminal;
判断该移动终端采集的指纹数据与预先存储的、对应于所述预置标识的预置指纹数据是否匹配;judging whether the fingerprint data collected by the mobile terminal matches the pre-stored fingerprint data corresponding to the preset identifier;
若是,则解锁门禁。If so, unlock the access control.
本发明的目的之二是提供一种应用于门禁的控制系统,使得门禁能够受移动终端控制进行解锁。The second object of the present invention is to provide a control system applied to access control, so that the access control can be unlocked under the control of a mobile terminal.
为实现上述技术目的,本发明提供的控制系统采用下述技术方案来实现:In order to achieve the above-mentioned technical purpose, the control system provided by the present invention adopts the following technical solutions to realize:
一种应用于门禁的控制系统,所述控制系统包括:A control system applied to access control, the control system comprising:
连接请求消息获取与判定模块,用于获取移动终端的连接请求消息,并判断所述连接请求消息中携带的终端标识与预先存储的预置标识是否匹配;A connection request message acquisition and determination module, configured to obtain a connection request message of a mobile terminal, and determine whether the terminal identifier carried in the connection request message matches a pre-stored preset identifier;
指纹数据接收模块,用于在所述连接请求消息获取与判定模块判定所述移动终端为业主移动终端或管理员移动终端时,接收该移动终端采集的指纹数据;The fingerprint data receiving module is used to receive the fingerprint data collected by the mobile terminal when the connection request message acquisition and determination module determines that the mobile terminal is the owner's mobile terminal or the administrator's mobile terminal;
指纹数据判定模块,用于判断接收的指纹数据与预先存储的、对应于所述预置标识的预置指纹数据是否匹配;A fingerprint data judging module, configured to judge whether the received fingerprint data matches the pre-stored preset fingerprint data corresponding to the preset identifier;
解锁门禁模块,用于在所述指纹数据解密与判定模块判定解密后的指纹数据与所述预置指纹数据匹配时解锁门禁;An unlocking access control module, configured to unlock the access control when the fingerprint data decryption and determination module determines that the decrypted fingerprint data matches the preset fingerprint data;
其中,若所述连接请求消息中携带的终端标识与预先存储的预置标识相匹配,所述连接请求消息获取与判定模块判定所述移动终端为业主移动终端或管理员移动终端。Wherein, if the terminal identifier carried in the connection request message matches a pre-stored preset identifier, the connection request message acquiring and judging module judges that the mobile terminal is an owner's mobile terminal or an administrator's mobile terminal.
本发明的目的之三是提供一种应用于控制门禁的移动终端的门禁控制系统,利用移动终端采集指纹并控制门禁,避免现有技术需要将指纹留在公共区域的指纹识别器上而存在指纹被复制盗用风险的问题。The third object of the present invention is to provide an access control system applied to mobile terminals for controlling access control, which uses mobile terminals to collect fingerprints and control access control, so as to avoid fingerprints that need to be left on fingerprint readers in public areas in the prior art The problem of the risk of being copied and misappropriated.
为实现上述技术目的,本发明提供的门禁控制系统采用下述技术方案来实现:In order to achieve the above-mentioned technical purpose, the access control system provided by the present invention adopts the following technical solutions to realize:
一种应用于控制门禁的移动终端的门禁控制系统,所述门禁控制系统包括:An access control system applied to a mobile terminal for controlling access control, the access control system comprising:
连接请求消息发送模块,用于向要控制的门禁发送连接请求消息,所述连接请求消息中携带有移动终端的终端标识;A connection request message sending module, configured to send a connection request message to the gate to be controlled, wherein the connection request message carries the terminal identification of the mobile terminal;
指纹数据采集模块,用于在所述要控制的门禁判定该移动终端为业主移动终端或管理员移动终端时采集指纹数据;A fingerprint data collection module, used to collect fingerprint data when the access control to be controlled determines that the mobile terminal is the owner's mobile terminal or the administrator's mobile terminal;
指纹数据发送模块,用于将采集的指纹数据发送至所述要控制的门禁;A fingerprint data sending module, configured to send the collected fingerprint data to the gate to be controlled;
其中,所述要控制的门禁在判定所述连接请求消息中携带的终端标识与该门禁中预先存储的预置标识相匹配时,判定该移动终端为业主移动终端或管理员移动终端。Wherein, the access control to be controlled determines that the mobile terminal is the owner's mobile terminal or the administrator's mobile terminal when determining that the terminal identifier carried in the connection request message matches the preset identifier stored in the access control.
与现有技术相比,本发明的优点和积极效果是:本发明通过移动终端采集用户的指纹并发送给门禁,门禁对指纹进行验证并结合对移动终端的验证来控制门禁解锁,指纹验证的方式无需用户携带钥匙,方便、安全;通过移动终端扫描采集指纹,无需用户在门禁上进行触摸操作,避免了将指纹留在公共区域而被盗用的风险;而且,将移动终端的唯一标识和用户的指纹数据进行双重验证的方式提高了验证的安全性。Compared with the prior art, the advantages and positive effects of the present invention are: the present invention collects the user's fingerprint through the mobile terminal and sends it to the access control, the access control verifies the fingerprint and controls the unlocking of the access control in combination with the verification of the mobile terminal, and the fingerprint verification The method does not require the user to carry a key, which is convenient and safe; the fingerprint is scanned and collected by the mobile terminal, and the user does not need to touch the access control, which avoids the risk of being stolen by leaving the fingerprint in a public area; moreover, the unique identification of the mobile terminal and the user The way of double verification of fingerprint data improves the security of verification.
结合附图阅读本发明的具体实施方式后,本发明的其他特点和优点将变得更加清楚。Other characteristics and advantages of the present invention will become clearer after reading the detailed description of the present invention in conjunction with the accompanying drawings.
附图说明Description of drawings
图1是本发明门禁控制方法第一个实施例的流程图;Fig. 1 is the flowchart of the first embodiment of the access control method of the present invention;
图2是本发明门禁控制方法另一个实施例的流程图;Fig. 2 is a flowchart of another embodiment of the access control method of the present invention;
图3是本发明中的移动终端与门禁进行绑定的流程图;Fig. 3 is the flow chart that mobile terminal among the present invention binds with access control;
图4是本发明中增加绑定移动终端的流程图;Fig. 4 is a flow chart of adding a bound mobile terminal in the present invention;
图5是本发明应用于门禁的控制系统一个实施例的结构框图;Fig. 5 is the structural block diagram of an embodiment of the control system that the present invention is applied to access control;
图6是本发明应用于控制门禁的移动终端的门禁控制系统一个实施例的结构框图。FIG. 6 is a structural block diagram of an embodiment of an access control system applied to a mobile terminal controlling access according to the present invention.
具体实施方式Detailed ways
下面结合附图对本发明的具体实施方式进行详细的描述。Specific embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings.
请参见图1,该图所示为本发明门禁控制方法第一个实施例的流程图。Please refer to FIG. 1 , which is a flow chart of the first embodiment of the access control method of the present invention.
如图1所示,该实施例对门禁进行控制的方法如下:As shown in Figure 1, the method for controlling access control in this embodiment is as follows:
步骤S001:获取移动终端的连接请求消息。Step S001: Obtain a connection request message of a mobile terminal.
门禁能够获取移动终端发送的连接请求消息,且,根据设定,该连接请求消息中携带有移动终端的终端标识。门禁获取到连接请求消息,读取出其中的终端标识,并与门禁预先存储的预置标识进行匹配。The access control can obtain the connection request message sent by the mobile terminal, and, according to setting, the connection request message carries the terminal identifier of the mobile terminal. The access control obtains the connection request message, reads out the terminal identification in it, and matches it with the preset identification stored in advance by the access control.
步骤S002:判断标识匹配是否成功。若成功,执行步骤S003;否则,转至步骤S006。Step S002: Determine whether the identifier matching is successful. If successful, execute step S003; otherwise, go to step S006.
步骤S003:如果标识匹配成功,也即连接请求消息中的终端标识与预置标识一致,则判定发送该连接请求消息的移动终端为业主移动终端或管理员移动终端,并接收该移动终端采集的指纹数据。Step S003: If the ID matching is successful, that is, the terminal ID in the connection request message is consistent with the preset ID, determine that the mobile terminal sending the connection request message is the owner's mobile terminal or the administrator's mobile terminal, and receive the information collected by the mobile terminal. fingerprint data.
而且,接收到移动终端采集发送来的指纹数据后,与门禁中预先存储的、与该预置标识对应的预置指纹数据进行匹配。Moreover, after receiving the fingerprint data collected and sent by the mobile terminal, it is matched with the preset fingerprint data stored in the access control and corresponding to the preset identifier.
步骤S004:判断指纹匹配是否成功。若成功,执行步骤S005;否则,转至步骤S006。Step S004: Determine whether the fingerprint matching is successful. If successful, execute step S005; otherwise, go to step S006.
步骤S005:在指纹匹配成功后,解锁门禁。Step S005: After the fingerprint matching is successful, unlock the access control.
步骤S006:若标识匹配不成功或指纹匹配不成功,执行其他处理。Step S006: If the identification matching or fingerprint matching is unsuccessful, perform other processing.
应用该实施例的控制方法,实现了利用指纹对门禁进行解锁控制。而且,指纹是通过移动终端发送,无需在门禁上进行指纹的采集,避免了将指纹留在公共区域而被盗用的风险。加之,指纹是在移动终端通过验证之后才采集和接收判断的,将移动终端的唯一标识和用户的指纹数据进行双重验证的方式提高了验证的安全性。Applying the control method of this embodiment realizes unlocking control of access control by using fingerprints. Moreover, the fingerprint is sent through the mobile terminal, and there is no need to collect the fingerprint on the access control, avoiding the risk of being stolen by leaving the fingerprint in a public area. In addition, fingerprints are collected and judged only after the mobile terminal passes verification, and the way of double verification of the unique identifier of the mobile terminal and the fingerprint data of the user improves the security of verification.
图2至图4示出了本发明门禁控制方法另一个实施例的流程图。下面将结合图2至4具体描述该实施例门禁控制方法的具体工作流程。2 to 4 show the flow charts of another embodiment of the access control method of the present invention. The specific workflow of the access control method of this embodiment will be described in detail below with reference to FIGS. 2 to 4 .
如图2所示,为本发明门禁控制方法的另一个实施例的流程图,该方法包括以下步骤:As shown in Figure 2, it is a flow chart of another embodiment of the access control method of the present invention, the method includes the following steps:
步骤S11、移动终端向门禁发送连接请求消息,该连接请求消息中携带有终端标识,且该终端标识为移动终端的唯一标识。Step S11, the mobile terminal sends a connection request message to the access control, the connection request message carries a terminal identifier, and the terminal identifier is a unique identifier of the mobile terminal.
本实施例中,用户通过移动终端例如手机、iPad等进行连接门禁的操作,连接方式可以但不局限为蓝牙。作为唯一标识的终端标识包括:手机的MAC地址、蓝牙地址或串值IMEI中的一个或多个。In this embodiment, the user performs the operation of connecting to the access control through a mobile terminal such as a mobile phone or an iPad, and the connection method may be but not limited to Bluetooth. The terminal identifier as the unique identifier includes: one or more of the mobile phone's MAC address, bluetooth address or string value IMEI.
本实施例优选的,移动终端向门禁发送连接请求,是当门禁和移动终端的距离接近到一定值时,自动触发该移动终端发送连接请求,而不用用户控制发送。Preferably in this embodiment, when the mobile terminal sends a connection request to the access control, when the distance between the access control and the mobile terminal is close to a certain value, the mobile terminal is automatically triggered to send the connection request without user control.
步骤S12、门禁接收到移动终端发送的连接请求消息,判断该连接请求消息中的终端标识和预先存储的预置标识是否匹配。预置标识,是指预先存储在门禁的、成功绑定后的终端标识。如果匹配成功,则判定该移动终端为业主移动终端或管理员移动终端,门禁向移动终端发送连接成功消息,进入步骤S13;如果匹配不成功,则执行步骤S21。Step S12, the access control receives the connection request message sent by the mobile terminal, and judges whether the terminal identifier in the connection request message matches the pre-stored preset identifier. The preset ID refers to the terminal ID that is pre-stored in the access control and successfully bound. If the matching is successful, it is determined that the mobile terminal is the owner's mobile terminal or the administrator's mobile terminal, and the access control sends a connection success message to the mobile terminal, and enters step S13; if the matching is unsuccessful, then executes step S21.
具体地,门禁的存储器中存储有该门禁作用范围内的用户的移动终端的终端标识,当移动终端与门禁进行连接时,门禁将该连接请求消息中的终端标识与预先存储的预置标识进行匹配。如果匹配成功,则说明该移动终端是已经绑定认证的业主移动终端或管理员移动终端,该用户是合法用户,则门禁发送连接成功消息给移动终端,以进行下一步的指纹认证。Specifically, the terminal identification of the mobile terminal of the user within the scope of the access control is stored in the memory of the access control. When the mobile terminal is connected to the access control, the access control compares the terminal identification in the connection request message with the pre-stored preset identification. match. If the match is successful, it means that the mobile terminal is the owner's mobile terminal or administrator's mobile terminal that has been bound and authenticated, and the user is a legal user, then the access control will send a successful connection message to the mobile terminal for the next step of fingerprint authentication.
步骤S13、移动终端接收到连接成功消息,启动扫描指纹的功能,采集用户的指纹数据。Step S13, the mobile terminal receives the connection success message, starts the fingerprint scanning function, and collects the user's fingerprint data.
该步骤,才是第一个与用户有直接关系的步骤,移动终端提示客户输入指纹信息,采集其指纹。This step is the first step directly related to the user. The mobile terminal prompts the customer to input fingerprint information and collects his fingerprint.
步骤S14、移动终端对采集到的指纹数据进行加密,并将加密后的指纹数据发送给门禁。Step S14, the mobile terminal encrypts the collected fingerprint data, and sends the encrypted fingerprint data to the access control.
本实施例优选的,移动终端将加密后的指纹数据发送给门禁之后,会将该指纹数据删除。Preferably in this embodiment, after the mobile terminal sends the encrypted fingerprint data to the access control, the fingerprint data will be deleted.
换言之,移动终端不会保存该指纹数据,以免移动终端丢失使指纹被盗用。In other words, the mobile terminal will not save the fingerprint data, so as to prevent the fingerprint from being stolen due to the loss of the mobile terminal.
步骤S15、门禁对接收到的指纹数据进行解密和识别,判断该指纹数据和预存储的、对应预置标识的预置指纹数据是否匹配。如果匹配成功,则执行步骤S16;如果匹配不成功,则执行步骤S31。Step S15, the access control decrypts and identifies the received fingerprint data, and judges whether the fingerprint data matches the pre-stored preset fingerprint data corresponding to the preset identifier. If the matching is successful, execute step S16; if the matching is unsuccessful, execute step S31.
步骤S16、门禁解锁门禁;Step S16, the access control unlocks the access control;
具体地,在门禁的存储器中,移动终端的预置标识与该移动终端所属的用户的预置指纹数据是一一对应的,门禁在接收到的指纹数据能够与该预置指纹数据对应的情况下才判断为可以解锁门禁。Specifically, in the memory of the access control, there is a one-to-one correspondence between the preset identification of the mobile terminal and the preset fingerprint data of the user to which the mobile terminal belongs. It is only judged that the access control can be unlocked.
步骤S21、若步骤S12判定终端标识和预置标识匹配不成功,则判定移动终端为访客移动终端,门禁向移动终端发送连接失败消息,并随机生成访客验证数据,例如二维码,存储该二维码并向访客移动终端发送该二维码。Step S21, if it is determined in step S12 that the match between the terminal identification and the preset identification is unsuccessful, then it is determined that the mobile terminal is a visitor mobile terminal, and the access control sends a connection failure message to the mobile terminal, and randomly generates visitor verification data, such as a two-dimensional code, and stores the two QR code and send the QR code to the visitor's mobile terminal.
如果移动终端的标识在门禁的存储器中并没有预先存储,门禁系统判断该移动终端为访客移动终端,表示该移动终端的持有者可能是业主的亲友访客,这个时候需要判断是否能临时授予亲友访客解锁门禁的权限。因此门禁随机生成访客验证数据,用于进一步确认该访客的身份,以及访客的访问是否能够得到业主的允许。而且门禁自身也会临时存储该访客验证数据,以用于访客下一步的身份验证。If the identification of the mobile terminal is not pre-stored in the memory of the access control, the access control system judges that the mobile terminal is a visitor mobile terminal, indicating that the owner of the mobile terminal may be a relative or visitor of the owner. The visitor's permission to unlock the door. Therefore, the access control randomly generates visitor verification data, which is used to further confirm the identity of the visitor and whether the visitor's access can be allowed by the owner. Moreover, the access control itself will also temporarily store the visitor verification data for the next step of the visitor's identity verification.
步骤S22、访客移动终端收到二维码后,通过彩信、微信或飞信等方式将此二维码发送到要访问的业主的移动终端上。Step S22: After receiving the QR code, the visitor's mobile terminal sends the QR code to the mobile terminal of the owner to be visited by MMS, WeChat or Fetion.
当该访客确实为业主的亲友时,会将该二维码发送给业主移动终端。如果该访客为陌生人,由于没有业主的联系方式,自然不会进行该步骤的动作,门禁也会在预设时间段之后进入待机或休眠状态。When the visitor is indeed a relative or friend of the owner, the QR code will be sent to the owner's mobile terminal. If the visitor is a stranger, since there is no contact information of the owner, the action of this step will not be performed naturally, and the access control will also enter the standby or dormant state after a preset period of time.
步骤S23、业主移动终端接收到二维码后,将该二维码与自身的业主绑定信息例如终端标识和/或指纹数据进行组合加密,并将加密组合后得到的访客授权信息发送给访客移动终端。Step S23: After receiving the QR code, the owner's mobile terminal combines and encrypts the QR code with its owner's binding information, such as terminal identification and/or fingerprint data, and sends the visitor authorization information obtained after the encrypted combination to the visitor mobile terminal.
具体地,业主移动终端可以先将二维码与其终端标识加密组合为访客标识码,再将该访客标识码与业主的指纹数据加密组合为访客授权信息。Specifically, the owner's mobile terminal can first encrypt and combine the two-dimensional code and its terminal identification into a visitor identification code, and then encrypt and combine the visitor identification code and the owner's fingerprint data into visitor authorization information.
步骤S24、访客移动终端将接收到的访客授权信息发送给门禁。Step S24, the visitor mobile terminal sends the received visitor authorization information to the access control.
步骤S25、门禁解析该访客授权信息,得到业主移动终端的终端标识和/或业主的指纹数据,以及先前随机生成的二维码。门禁将解析得到的信息分别与存储的信息进行匹配。如果匹配成功,则执行步骤S16,解锁门禁;如果匹配不成功,则执行步骤S26。Step S25, the access control parses the visitor authorization information, and obtains the terminal identification of the owner's mobile terminal and/or the owner's fingerprint data, as well as the previously randomly generated QR code. The access control will match the parsed information with the stored information respectively. If the matching is successful, execute step S16 to unlock the access control; if the matching is unsuccessful, execute step S26.
步骤S26、门禁不予解锁,并向访客移动终端发送不予解锁的提醒消息。Step S26, the access control is not unlocked, and a reminder message of not unlocking is sent to the visitor's mobile terminal.
而且,无论匹配是否成功,该随机生成的二维码以及访客授权信息都将失效,即该二维码只能使用一次,以提高验证的安全性和有效性。Moreover, no matter whether the matching is successful, the randomly generated two-dimensional code and visitor authorization information will be invalid, that is, the two-dimensional code can only be used once, so as to improve the security and effectiveness of verification.
更优选的,为进一步提高对访客临时授予解锁门禁权限的安全性,在步骤23中,业主移动终端对接收自访客的二维码与自身终端标识加密组合为访客标识码时,限定该加密为不可逆的加密,也即,不能通过对访客标识码进行解密而还原出原数据。这样,能够避免恶意解密而获取到业主移动终端的终端标识。More preferably, in order to further improve the security of temporarily granting unlocking access control authority to visitors, in step 23, when the owner's mobile terminal encrypts and combines the two-dimensional code received from the visitor with its own terminal identification into the visitor identification code, the encryption is limited to Irreversible encryption, that is, the original data cannot be recovered by decrypting the visitor identification code. In this way, malicious decryption can be avoided to obtain the terminal identification of the owner's mobile terminal.
如果业主移动终端采用不可逆加密生成临时标识码,则在步骤S25中,门禁解析访客授权信息,只能得到访客标识码和业主的指纹数据。然后,门禁采用预先设置的、与业主移动终端生成访客标识码相同的加密方法,对先前随机生成并存储的二维码与预先存储的预置终端标识进行加密,生成预置标识码。门禁将预置标识码与接收到的访客标识码进行匹配,将访客授权信息中的业主指纹数据与门禁自身存储的预置指纹数据进行匹配。如果匹配成功,执行步骤S16,解锁门禁;如果匹配不成功,则执行步骤S26,不予解锁,并向访客移动终端发送不予解锁的提醒消息。If the owner's mobile terminal uses irreversible encryption to generate a temporary identification code, then in step S25, the access control can only obtain the visitor identification code and the owner's fingerprint data by analyzing the visitor's authorization information. Then, the access control adopts the preset encryption method that is the same as the visitor ID code generated by the owner's mobile terminal to encrypt the previously randomly generated and stored QR code and the pre-stored preset terminal ID to generate a preset ID code. The access control will match the preset identification code with the received visitor identification code, and match the owner's fingerprint data in the visitor authorization information with the preset fingerprint data stored in the access control itself. If the matching is successful, perform step S16 to unlock the access control; if the matching is unsuccessful, perform step S26 to not unlock, and send a reminder message not to unlock to the visitor's mobile terminal.
更进一步的,如果业主移动终端与门禁之间可以通讯,则在业主移动终端生成访客授权信息后,直接将该访客授权信息传输至门禁,而无需再经访客移动终端进行转发。Furthermore, if the owner's mobile terminal can communicate with the access control, after the owner's mobile terminal generates visitor authorization information, the visitor authorization information is directly transmitted to the access control without forwarding it through the visitor's mobile terminal.
步骤S31、门禁判断在第一预设时间段内,对应该移动终端的匹配失败次数是否超出预设阈值,是则执行步骤S32,否则执行步骤S33。Step S31 , the access control judges whether the number of match failures corresponding to the mobile terminal exceeds a preset threshold within the first preset time period, if yes, execute step S32 , otherwise execute step S33 .
步骤S32、门禁启动临时保护模式,在第二预设时间段内不再予以解锁门禁和响应该移动终端的连接请求消息,向该移动终端发送失败次数超出预设阈值或匹配时间超出预设时间的提醒消息,并断开与该移动终端的连接。Step S32, the access control starts the temporary protection mode, no longer unlocks the access control and responds to the connection request message of the mobile terminal within the second preset time period, and sends the mobile terminal the failure times exceeding the preset threshold or the matching time exceeding the preset time and disconnect the mobile terminal.
如果在设定的时间段内,例如,5分钟之内同一移动终端的指纹匹配失败次数超出设定值,例如5次,则门禁默认为当前移动终端的持有者不是合法用户,因此启动临时保护模式,以防止有访客持业主的移动终端恶意尝试。If within a set period of time, for example, within 5 minutes, the number of fingerprint matching failures of the same mobile terminal exceeds the set value, such as 5 times, the access control defaults to the fact that the current mobile terminal holder is not a legitimate user, so a temporary Protection mode to prevent malicious attempts by visitors to host mobile terminals of the owner.
步骤S33、门禁向移动终端发送再次输入指纹的提醒消息,记录指纹数据匹配不成功的次数,并在收到指纹数据之后执行步骤S15。Step S33, the access control sends a reminder message to re-enter the fingerprint to the mobile terminal, records the number of unsuccessful fingerprint data matching, and executes step S15 after receiving the fingerprint data.
实际应用中,需要移动终端与门禁预先进行绑定,只有绑定后的移动终端才能与门禁进行无线数据传输和身份验证。本实施例中,通过图3的方式进行移动终端与门禁的绑定及初始化。In practical applications, the mobile terminal needs to be bound with the access control in advance, and only the bound mobile terminal can perform wireless data transmission and identity verification with the access control. In this embodiment, the binding and initialization of the mobile terminal and the access control are performed through the manner shown in FIG. 3 .
具体来说,移动终端与门禁进行绑定及初始化的过程如下:Specifically, the process of binding and initializing the mobile terminal with the access control is as follows:
步骤S01、移动终端向门禁发送绑定请求消息,该绑定请求消息中携带有移动终端的终端标识。Step S01, the mobile terminal sends a binding request message to the access control, and the binding request message carries the terminal identifier of the mobile terminal.
步骤S02、门禁接收到绑定请求消息,将终端标识存储为预置标识,并返回允许绑定响应给移动终端。Step S02, the access control receives the binding request message, stores the terminal ID as a preset ID, and returns a binding permission response to the mobile terminal.
步骤S03、移动终端扫描并采集指纹数据,将采集到的指纹数据发送给门禁系统。Step S03, the mobile terminal scans and collects fingerprint data, and sends the collected fingerprint data to the access control system.
优选地,移动终端将该指纹数据进行加密之后再发送给门禁,以进一步提高安全性。Preferably, the mobile terminal encrypts the fingerprint data before sending it to the access control, so as to further improve security.
步骤S04、门禁将指纹数据作为预置指纹数据与上述预置标识对应存储,并向移动终端返回绑定成功的消息。Step S04, the access control stores the fingerprint data as preset fingerprint data corresponding to the above-mentioned preset identifier, and returns a message of successful binding to the mobile terminal.
本实施例中,移动终端与门禁可以通过蓝牙或其它通讯方式进行通讯。In this embodiment, the mobile terminal and the access control can communicate through bluetooth or other communication methods.
上述绑定过程是业主移动终端与门禁进行绑定的过程。此外,为了便于管理门禁中所绑定认证的移动终端的信息,在初次使用门禁的时候,可以设置管理员移动终端,赋予该移动终端管理权限,对增加绑定和删除绑定的业主移动终端进行管理。在进行管理操作时,除了验证管理员移动终端的终端标识和管理员指纹数据之外,还需要进一步确认管理员身份信息,比如,通过密码来确定其管理员身份。那么,为实现管理员移动终端的绑定,在上述步骤S04之后,还包括下述各步的处理:The above binding process is the process of binding the owner's mobile terminal with the access control. In addition, in order to facilitate the management of the information of the mobile terminals bound and authenticated in the access control, when using the access control for the first time, you can set up the administrator mobile terminal, grant the mobile terminal management authority, and add and delete the bound mobile terminal of the owner. to manage. When performing management operations, in addition to verifying the terminal identification of the administrator's mobile terminal and the administrator's fingerprint data, it is also necessary to further confirm the administrator's identity information, for example, to determine the administrator's identity through a password. Then, in order to realize the binding of the administrator's mobile terminal, after the above step S04, the following steps are also included:
步骤S05、移动终端向门禁发送密码输入请求。Step S05, the mobile terminal sends a password input request to the access control.
步骤S06、门禁返回密码输入响应。Step S06, the access control returns a password input response.
步骤S07、移动终端将用户输入的密码发送至系统。Step S07, the mobile terminal sends the password input by the user to the system.
步骤S08、门禁系统将密码、移动终端的终端标识以及指纹数据对应存储为预置身份信息、预置标识及预置指纹数据,并将该移动终端标识为管理员移动终端。Step S08 , the access control system stores the password, the terminal ID of the mobile terminal, and the fingerprint data correspondingly as preset identity information, preset ID, and preset fingerprint data, and identifies the mobile terminal as an administrator mobile terminal.
由此,门禁将所存储的一一对应的预置标识、预置指纹数据以及预置身份信息标识为管理员移动终端的信息,该管理员移动终端具有增加和删除门禁中存储的信息的权限,还具有增加和删除绑定业主移动终端的权限,实现方式可以包括:Thus, the access control will identify the stored one-to-one corresponding preset identification, preset fingerprint data and preset identity information as the information of the administrator's mobile terminal, and the administrator's mobile terminal has the authority to add and delete the information stored in the access control , also has the authority to add and delete the bound owner’s mobile terminal, and the implementation methods may include:
方式一、具有管理员权限的管理员移动终端发送增加绑定设备请求给门禁,门禁验证管理员身份之后,回复允许增加响应,然后新的业主移动终端执行步骤S01-S04。Method 1: The administrator’s mobile terminal with administrator authority sends a request to add a binding device to the access control. After the access control verifies the identity of the administrator, it replies with a response of allowing the addition, and then the new owner’s mobile terminal performs steps S01-S04.
方式二、如图4所示,包括以下步骤:Method 2, as shown in Figure 4, includes the following steps:
步骤S41、业主移动终端发送增加绑定设备请求给门禁。Step S41, the owner's mobile terminal sends a request to add a bound device to the access control.
步骤S42、门禁随机生成绑定验证数据,例如二维码,存储该绑定验证数据并发送给业主移动终端。Step S42, the access control randomly generates binding verification data, such as a two-dimensional code, stores the binding verification data and sends it to the owner's mobile terminal.
步骤S43、业主移动终端将绑定验证数据发送给管理员移动终端。Step S43, the owner's mobile terminal sends the binding verification data to the administrator's mobile terminal.
步骤S44、管理员移动终端将该绑定验证数据及自身的管理员绑定信息组合加密为绑定授权信息之后回复给业主移动终端。Step S44, the administrator's mobile terminal encrypts the combination of the binding verification data and its own administrator binding information into binding authorization information, and then replies to the owner's mobile terminal.
步骤S45、业主移动终端将绑定授权信息发送给门禁。Step S45, the owner's mobile terminal sends the binding authorization information to the access control.
步骤S46、门禁对该绑定授权信息进行验证,解析得出绑定验证数据、管理员移动终端的终端标识、管理员指纹数据以及密码等管理员绑定信息,并将解析得到的信息与存储的预置信息进行匹配,匹配成功后通知该业主移动终端允许增加绑定响应。Step S46, the access control verifies the binding authorization information, analyzes and obtains the binding verification data, the terminal identification of the administrator's mobile terminal, the administrator's fingerprint data and password and other administrator binding information, and combines the analyzed information with the stored The preset information is matched, and after the matching is successful, the owner's mobile terminal is notified to allow adding a binding response.
步骤S47、业主移动终端执行步骤S01-S04的绑定。Step S47, the owner's mobile terminal executes the binding of steps S01-S04.
当然,如果管理员移动终端与门禁之间可以通讯,则在其生成绑定授权信息后,可以直接将该绑定授权信息传输至门禁,而无需再经业主移动终端进行转发。Of course, if the administrator's mobile terminal can communicate with the access control, after it generates the binding authorization information, it can directly transmit the binding authorization information to the access control without forwarding it through the owner's mobile terminal.
此外,为了防止用户在遭受胁迫的情况下通过移动终端解锁门禁,优选地,本实施例中还预存储了预置报警指纹数据。即,例如平时业主解锁门禁用的是食指指纹,而报警指纹则存储的是业主的其他手指的指纹。当门禁通过匹配发现业主使用报警指纹时,在解锁的同时向物业等管理中心发送报警消息。In addition, in order to prevent the user from unlocking the access control through the mobile terminal under duress, preferably, preset alarm fingerprint data is also pre-stored in this embodiment. That is, for example, what the owner usually disables for unlocking the door is the fingerprint of the index finger, while the alarm fingerprint stores the fingerprints of other fingers of the owner. When the access control finds that the owner uses the alarm fingerprint through matching, it will send an alarm message to the management center such as the property while unlocking.
上述实施例的方法通过移动终端上的指纹扫描功能,用户不需要触摸门禁即可解锁;而且,通过移动终端与门禁的绑定,即使指纹被复制也无法用于解锁门禁,安全性大幅提升;还可以设置报警指纹以及防止恶意尝试功能。In the method of the above-mentioned embodiment, through the fingerprint scanning function on the mobile terminal, the user can unlock the access control without touching it; moreover, through the binding of the mobile terminal and the access control, even if the fingerprint is copied, it cannot be used to unlock the access control, and the security is greatly improved; You can also set alarm fingerprints and prevent malicious attempts.
为实现上述所述的门禁控制方法,本发明还提供了应用于门禁的控制系统和应用于控制门禁的移动终端的门禁控制系统,两控制系统配合工作,完成对门禁的控制。In order to realize the access control method described above, the present invention also provides a control system applied to access control and an access control system applied to mobile terminals controlling access control. The two control systems work together to complete the control of access control.
请参见图5,该图所示为本发明应用于门禁的控制系统一个实施例的结构框图。Please refer to FIG. 5 , which is a structural block diagram of an embodiment of the control system applied to access control according to the present invention.
如图5所示,为使得门禁能够受移动终端控制进行指纹解锁,该实施例应用于门禁的控制系统包括:As shown in Figure 5, in order to enable the access control to be controlled by the mobile terminal for fingerprint unlocking, the control system applied to the access control in this embodiment includes:
连接请求消息获取与判定模块501,用于获取移动终端的连接请求消息,并判断连接请求消息中携带的终端标识与预先存储的预置标识是否匹配;The connection request message acquisition and determination module 501 is used to obtain the connection request message of the mobile terminal, and judge whether the terminal identification carried in the connection request message matches the pre-stored preset identification;
指纹数据接收模块502,用于在连接请求消息获取与判定模块502判定移动终端为业主移动终端或管理员移动终端时,接收该移动终端采集并加密处理后的指纹数据;The fingerprint data receiving module 502 is used to receive the fingerprint data collected and encrypted by the mobile terminal when the connection request message acquisition and determination module 502 determines that the mobile terminal is the owner's mobile terminal or the administrator's mobile terminal;
指纹数据解密与判定模块503,用于解密加密处理后的指纹数据,并判断解密后的指纹数据与预先存储的、对应于所述预置标识的预置指纹数据是否匹配;The fingerprint data decryption and determination module 503 is used to decrypt the encrypted fingerprint data, and determine whether the decrypted fingerprint data matches the pre-stored fingerprint data corresponding to the preset identification;
解锁门禁模块504,用于在指纹数据解密与判定模块503判定解密后的指纹数据与预置指纹数据匹配时解锁门禁;Unlock access control module 504, for unlocking access control when the fingerprint data decryption and determination module 503 determines that the decrypted fingerprint data matches the preset fingerprint data;
其中,若连接请求消息中携带的终端标识与预先存储的预置标识相匹配,连接请求消息获取与判定模块501判定该移动终端为业主移动终端或管理员移动终端。Wherein, if the terminal identifier carried in the connection request message matches the pre-stored preset identifier, the connection request message acquiring and determining module 501 determines that the mobile terminal is the owner's mobile terminal or the administrator's mobile terminal.
为对访客进行临时授权,使得业主的访客能够解锁门禁,应用于门禁的控制系统还包括:In order to temporarily authorize visitors so that the owner's visitors can unlock the access control, the control system applied to the access control also includes:
访客验证数据生成模块505,用于在连接请求消息获取与判定模块501判定移动终端为访客移动终端时随机生成访客验证数据;Visitor verification data generation module 505, for randomly generating visitor verification data when the connection request message acquisition and determination module 501 determines that the mobile terminal is a visitor mobile terminal;
访客验证数据存储及发送模块506,用于存储访客验证数据,并将所述访客验证数据发送给访客移动终端;Visitor verification data storage and sending module 506, for storing visitor verification data, and sending the visitor verification data to the visitor's mobile terminal;
访客授权信息接收模块507,用于接收访客移动终端和/或访客移动终端要访问的业主的业主移动终端返回的访客授权信息;The visitor authorization information receiving module 507 is used to receive the visitor authorization information returned by the visitor mobile terminal and/or the owner's mobile terminal of the owner to be accessed by the visitor mobile terminal;
访客授权信息解密与判定模块508,用于解密访客授权信息,并判断业主绑定信息以及访客验证数据与存储的预置业主绑定信息以及访客验证数据是否匹配;The visitor authorization information decryption and determination module 508 is used to decrypt the visitor authorization information, and determine whether the owner binding information and visitor verification data match the stored preset owner binding information and visitor verification data;
解锁门禁模块504在业主绑定信息以及访客验证数据与存储的预置业主绑定信息以及访客验证数据相匹配时解锁门禁;The unlocking access control module 504 unlocks the access control when the owner binding information and visitor verification data match the stored preset owner binding information and visitor verification data;
其中,若连接请求消息中携带的终端标识与预置标识不匹配,连接请求消息获取与判定模块501判定移动终端为访客移动终端;访客授权信息由访客移动终端要访问的业主的业主移动终端根据业主绑定信息以及访客验证数据组合加密生成。Wherein, if the terminal identification carried in the connection request message does not match the preset identification, the connection request message acquisition and determination module 501 determines that the mobile terminal is a visitor mobile terminal; The combination of owner binding information and visitor verification data is encrypted and generated.
进一步的,控制系统还包括:Further, the control system also includes:
访客不匹配处理模块,用于在访客授权信息解密与判定模块508判定业主绑定信息以及访客验证数据与存储的预置业主绑定信息以及存储的访客验证数据不匹配时,不予解锁门禁,删除所存储的访客验证数据,并向访客移动终端发送不予解锁的提醒消息。The visitor mismatch processing module is used to not unlock the access control when the visitor authorization information decryption and determination module 508 determines that the owner binding information and visitor verification data do not match the stored preset owner binding information and the stored visitor verification data, Delete the stored visitor verification data, and send a reminder message that the visitor's mobile terminal will not be unlocked.
为应对用户在遭受胁迫的情况下解锁门禁,控制系统还包括:To deal with the user unlocking the door under duress, the control system also includes:
报警指纹数据判定和处理模块510,用于在指纹数据解密与判定模块503判定解密后的指纹数据与预置指纹数据相匹配后,判断指纹数据是否与预置报警指纹数据相匹配,并在相匹配时向管理中心发送报警信息。The alarm fingerprint data determination and processing module 510 is used to determine whether the fingerprint data matches the preset alarm fingerprint data after the fingerprint data decryption and determination module 503 determines that the decrypted fingerprint data matches the preset fingerprint data, and Send alarm information to the management center when matching.
为实现上述功能,控制系统还包括:In order to realize the above functions, the control system also includes:
管理员移动终端数据获取模块511,用于获取管理员移动终端的终端标识、管理员指纹数据及管理员身份信息,并对应存储为预置标识、预置指纹数据及预置身份信息;The administrator's mobile terminal data acquisition module 511 is used to acquire the terminal identification of the administrator's mobile terminal, the administrator's fingerprint data and the administrator's identity information, and correspondingly store them as preset identifiers, preset fingerprint data and preset identity information;
业主移动终端数据获取模块512,用于获取业主移动终端的终端标识、业主指纹数据,并对应存储为预置标识和预置指纹数据,以及The owner's mobile terminal data acquisition module 512 is used to acquire the terminal identification of the owner's mobile terminal and the owner's fingerprint data, and correspondingly store them as preset identification and preset fingerprint data, and
报警指纹数据获取模块513,用于获取业主移动终端的报警指纹数据,将报警指纹数据作为预置报警指纹数据、与该业主移动终端的预置标识对应存储。The alarm fingerprint data acquisition module 513 is used to acquire the alarm fingerprint data of the owner's mobile terminal, and store the alarm fingerprint data as preset alarm fingerprint data corresponding to the preset identification of the owner's mobile terminal.
为对移动终端与门禁的绑定进行控制,所述控制系统还包括:In order to control the binding of the mobile terminal and the access control, the control system also includes:
增加绑定设备请求获取模块514,用于获取业主移动终端发送的增加绑定设备请求;Add a binding device request acquisition module 514, configured to acquire the request for adding a bound device sent by the owner's mobile terminal;
绑定验证数据生成模块515,用于在增加绑定设备请求获取模块514获取到增加绑定设备请求后随机生成绑定验证数据;A binding verification data generating module 515, configured to randomly generate binding verification data after the request for adding a binding device is acquired by the obtaining module 514 for adding a binding device;
绑定验证数据存储及发送模块516,用于存储绑定验证数据,并将绑定验证数据发送给业主移动终端;The binding verification data storage and sending module 516 is used to store the binding verification data and send the binding verification data to the owner's mobile terminal;
绑定授权信息接收模块517,用于接收业主移动终端和/或所述管理员移动终端返回的绑定授权信息;Binding authorization information receiving module 517, configured to receive binding authorization information returned by the owner's mobile terminal and/or the administrator's mobile terminal;
绑定授权信息解密与判定模块518,用于解密绑定授权信息,并判断管理员绑定信息以及绑定验证数据与存储的预置管理员绑定信息以及绑定验证数据是否匹配;A binding authorization information decryption and determination module 518, configured to decrypt the binding authorization information, and determine whether the administrator binding information and binding verification data match the stored preset administrator binding information and binding verification data;
业主移动终端数据获取模块512在访客授权信息解密与判定模块518判定管理员绑定信息以及绑定验证数据与存储的预置管理员绑定信息以及绑定验证数据相匹配后,再获取业主移动终端的终端标识、业主指纹数据,并对应存储为预置标识和预置指纹数据;The owner's mobile terminal data acquisition module 512 obtains the owner's mobile terminal data after the visitor authorization information decryption and judgment module 518 judges that the administrator's binding information and binding verification data match the stored preset administrator's binding information and binding verification data. The terminal identification and owner fingerprint data of the terminal are correspondingly stored as preset identification and preset fingerprint data;
其中,绑定授权信息由管理员移动终端根据管理员绑定信息以及绑定验证数据组合加密生成;管理员绑定信息包括管理员移动终端的终端标识、管理员指纹数据和管理员身份信息中的任一个或多个。Among them, the binding authorization information is encrypted and generated by the administrator's mobile terminal according to the combination of the administrator's binding information and binding verification data; the administrator's binding information includes the terminal identification of the administrator's mobile terminal, the administrator's fingerprint data, and any one or more of .
此外,为防止陌生人持用户的移动终端恶意尝试解锁门禁,控制系统还包括:In addition, in order to prevent strangers from maliciously attempting to unlock the access control with the user's mobile terminal, the control system also includes:
指纹不匹配处理模块519,用于在指纹数据解密与判定模块503判定解密后的指纹数据与预置指纹数据不匹配时,向业主移动终端或管理员移动终端发送再次输入指纹的提醒消息,并记录指纹数据匹配不成功的次数。且,指纹不匹配处理模块519在指纹数据匹配不成功的次数超出预设阈值,或在第一预设时间段内未能匹配成功,则在第二预设时间段内不予响应该移动终端的连接请求消息,并向该移动终端发送失败次数超出预设阈值或匹配时间超出预设时间的提醒消息。The fingerprint mismatch processing module 519 is used to send a reminder message to re-enter the fingerprint to the owner's mobile terminal or the administrator's mobile terminal when the fingerprint data decryption and determination module 503 determines that the decrypted fingerprint data does not match the preset fingerprint data, and Record the number of unsuccessful fingerprint data matching. Moreover, the fingerprint mismatch processing module 519 will not respond to the mobile terminal within the second preset time period if the number of unsuccessful fingerprint data matching exceeds the preset threshold, or fails to match successfully within the first preset time period. connection request message, and send a reminder message to the mobile terminal that the number of failures exceeds a preset threshold or the matching time exceeds a preset time.
上述控制系统运行于门禁中,例如,运行在门禁的主控器中,实现根据移动终端的通讯控制是否解锁门禁。The above-mentioned control system runs in the access control, for example, runs in the main controller of the access control, and realizes whether to unlock the access control according to the communication control of the mobile terminal.
请参见图6,该图示出了本发明应用于控制门禁的移动终端的门禁控制系统一个实施例的结构框图。如图6所示,为使得通过移动终端解锁门禁,该实施例应用于移动终端的门禁控制系统包括有主控制器6,还包括:Please refer to FIG. 6 , which shows a structural block diagram of an embodiment of an access control system applied to a mobile terminal controlling access according to the present invention. As shown in Figure 6, in order to unlock the access control through the mobile terminal, the access control system applied to the mobile terminal in this embodiment includes a main controller 6, and also includes:
连接请求消息发送模块601,用于向要控制的门禁发送连接请求消息,连接请求消息中携带有移动终端的终端标识;The connection request message sending module 601 is used to send a connection request message to the gate to be controlled, and the connection request message carries the terminal identification of the mobile terminal;
指纹数据采集及加密处理模块602,用于在要控制的门禁判定该移动终端为业主移动终端或管理员移动终端时采集指纹数据,并对指纹数据加密处理;Fingerprint data collection and encryption processing module 602, used to collect fingerprint data when the access control to be controlled determines that the mobile terminal is the owner's mobile terminal or the administrator's mobile terminal, and encrypt the fingerprint data;
指纹数据发送模块603,用于将加密处理后的指纹数据发送至要控制的门禁;Fingerprint data sending module 603, for sending the encrypted fingerprint data to the access control to be controlled;
其中,要控制的门禁在判定连接请求消息中携带的终端标识与该门禁中预先存储的预置标识相匹配时,判定该移动终端为业主移动终端或管理员移动终端。Wherein, when the gate to be controlled determines that the terminal identifier carried in the connection request message matches the preset identifier stored in the gate, it determines that the mobile terminal is the owner's mobile terminal or the administrator's mobile terminal.
为实现访客的临时门禁解锁授权,门禁控制系统还包括:In order to realize the temporary unlocking authorization of visitors, the access control system also includes:
访客验证数据接收模块604,用于在要控制的门禁判定该移动终端为访客移动终端时接收该门禁发送的访客验证数据;Visitor verification data receiving module 604, for receiving the visitor verification data sent by the access control when the access control to be controlled determines that the mobile terminal is a visitor mobile terminal;
访客验证数据转发模块605,用于将访客验证数据转发至要访问的业主的业主移动终端;The visitor verification data forwarding module 605 is used to forward the visitor verification data to the owner's mobile terminal of the owner to be visited;
访客授权信息生成模块606,用于在接收到访客移动终端转发的访客验证数据时,根据业主绑定信息以及访客验证数据组合加密生成访客授权信息;The visitor authorization information generation module 606 is used to generate visitor authorization information according to the combination encryption of the owner binding information and the visitor verification data when receiving the visitor verification data forwarded by the visitor mobile terminal;
访客授权信息发送模块607,用于发送访客授权信息至要控制的门禁和/或其他移动终端;Visitor authorization information sending module 607, for sending visitor authorization information to the access control and/or other mobile terminals to be controlled;
其中,业主绑定信息包括要访问的业主的业主移动终端的终端标识和/或要访问的业主的指纹数据;以及Wherein, the owner binding information includes the terminal identification of the owner's mobile terminal of the owner to be accessed and/or the fingerprint data of the owner to be accessed; and
访客授权信息接收及转发模块608,用于接收其他移动终端发送的访客授权信息并转发至要控制的门禁。The visitor authorization information receiving and forwarding module 608 is used to receive the visitor authorization information sent by other mobile terminals and forward it to the access control to be controlled.
需要说明的是,上述关于访客授权处理的各模块虽然作为门禁控制系统的部分而应用在移动终端内,但是,在某个特定的移动终端内,有些模块工作,有些模块不工作。在此统一描述,是为了实现门禁控制系统的一致性,可以全部设置在移动终端内,但根据移动终端类型的不同,启用不同的模块工作。例如,如果移动终端为访客移动终端,则其内的访客验证数据接收模块604和访客验证数据转发模块605工作,其访客授权信息接收及转发模块608可启动也可不启动(取决于访客移动终端要访问的业主移动终端是否能与门禁直接通讯);而访客授权信息生成模块606和访客授权信息发送模块607不工作。但如果移动终端为业主移动终端,则其内置的访客验证数据接收模块604、访客授权信息生成模块606和访客授权信息发送模块607工作,而其内置的访客验证数据转发模块605、访客授权信息接收及转发模块608则不工作。It should be noted that although the above-mentioned modules related to visitor authorization processing are applied in the mobile terminal as part of the access control system, some modules work and some do not work in a specific mobile terminal. The unified description here is to realize the consistency of the access control system, which can be all set in the mobile terminal, but different modules are enabled to work according to different types of mobile terminals. For example, if the mobile terminal is a visitor's mobile terminal, then the visitor verification data receiving module 604 and the visitor verification data forwarding module 605 in it work, and its visitor authorization information receiving and forwarding module 608 can be started or not started (depending on the visitor's mobile terminal. Whether the mobile terminal of the owner who visits can directly communicate with the access control); and the visitor authorization information generating module 606 and the visitor authorization information sending module 607 do not work. But if the mobile terminal is the owner's mobile terminal, then its built-in visitor verification data receiving module 604, visitor authorization information generating module 606 and visitor authorization information sending module 607 work, while its built-in visitor verification data forwarding module 605, visitor authorization information receiving module And the forwarding module 608 does not work.
进一步的,门禁控制系统还包括:Further, the access control system also includes:
提醒消息接收模块,用于接收要控制的门禁发送的消息。此处所说的消息,包括但不局限于不予解锁门禁的提醒消息、再次输入指纹的提醒消息、失败次数超出预设阈值或匹配时间超出预设时间的提醒消息。The reminder message receiving module is used for receiving the message sent by the access control to be controlled. The messages mentioned here include, but are not limited to, a reminder message that the access control is not unlocked, a reminder message that the fingerprint is re-entered, a reminder message that the number of failures exceeds a preset threshold or the matching time exceeds a preset time.
此外,为与门禁进行绑定,门禁控制系统还包括:In addition, in order to bind with access control, the access control system also includes:
管理员移动终端数据发送模块610,用于向要控制的门禁发送管理员移动终端的终端标识、管理员指纹数据及管理员身份信息;The administrator's mobile terminal data sending module 610 is used to send the terminal identification of the administrator's mobile terminal, the administrator's fingerprint data and the administrator's identity information to the access control to be controlled;
业主移动终端数据发送模块611,用于向要控制的门禁发送业主移动终端的终端标识、业主指纹数据。The owner's mobile terminal data sending module 611 is used to send the owner's mobile terminal's terminal identification and owner's fingerprint data to the access control to be controlled.
为实现在管理员移动终端的控制下实现业主移动终端与门禁的绑定,门禁控制系统还包括:In order to realize the binding between the owner's mobile terminal and the access control under the control of the administrator's mobile terminal, the access control system also includes:
增加绑定设备请求发送模块612,用于向要控制的门禁发送增加绑定设备请求;Add a binding device request sending module 612, which is used to send an increase binding device request to the access control to be controlled;
绑定验证数据接收模块613,用于接收要控制的门禁发送的绑定验证数据;Binding verification data receiving module 613, for receiving the binding verification data sent by the access control to be controlled;
绑定验证数据转发模块614,用于将绑定验证数据转发至具有管理功能的管理员移动终端;The binding verification data forwarding module 614 is used to forward the binding verification data to the administrator's mobile terminal with management functions;
绑定授权信息生成模块615,用于在接收到其他移动终端转发的绑定验证数据时,根据管理员绑定信息以及绑定验证数据组合加密生成绑定授权信息;The binding authorization information generating module 615 is configured to generate binding authorization information according to the administrator binding information and the binding verification data combined encryption when receiving the binding verification data forwarded by other mobile terminals;
绑定授权信息发送模块616,用于发送绑定授权信息至要控制的门禁和/或其他移动终端;以及The binding authorization information sending module 616 is used to send the binding authorization information to the access control and/or other mobile terminals to be controlled; and
绑定授权信息接收及转发模块617,用于接收其他移动终端发送的绑定授权信息并转发至要控制的门禁。The binding authorization information receiving and forwarding module 617 is configured to receive the binding authorization information sent by other mobile terminals and forward it to the access control to be controlled.
其中,管理员绑定信息包括所述管理员移动终端的终端标识、管理员指纹数据和管理员身份信息中的任一个或多个。Wherein, the administrator binding information includes any one or more of the terminal identifier of the administrator's mobile terminal, administrator fingerprint data, and administrator identity information.
同样的,上述关于绑定的各模块虽然作为门禁控制系统的部分而应用在移动终端内,但是,在某个特定的移动终端内,有些模块工作,有些模块不工作。在此统一描述,是为了实现门禁控制系统的一致性,可以全部设置在移动终端内,但根据移动终端类型的不同,启用不同的模块工作。例如,如果移动终端为业主移动终端,则其内的绑定验证数据接收模块613和绑定验证数据转发模块614工作,其绑定授权信息接收及转发模块617可启动也可不启动(取决于管理员移动终端是否能与门禁直接通讯);而绑定授权信息生成模块615和绑定授权信息发送模块616不工作。但如果移动终端为管理员移动终端,则其内置的绑定验证数据接收模块613、绑定授权信息生成模块615和绑定授权信息发送模块616工作,而其内置的绑定验证数据转发模块614、绑定授权信息接收及转发模块617则不工作。Similarly, although the above-mentioned binding modules are applied in the mobile terminal as part of the access control system, some modules work and some do not work in a certain mobile terminal. The unified description here is to realize the consistency of the access control system, which can be all set in the mobile terminal, but different modules are enabled to work according to different types of mobile terminals. For example, if the mobile terminal is the mobile terminal of the owner, then the binding verification data receiving module 613 and the binding verification data forwarding module 614 in it work, and its binding authorization information receiving and forwarding module 617 can be started or not (depending on the management Whether the staff mobile terminal can directly communicate with the access control); and the binding authorization information generating module 615 and the binding authorization information sending module 616 do not work. But if the mobile terminal is an administrator's mobile terminal, then its built-in binding verification data receiving module 613, binding authorization information generation module 615 and binding authorization information sending module 616 work, while its built-in binding verification data forwarding module 614 1. The binding authorization information receiving and forwarding module 617 does not work.
上述门禁控制系统的各模块在主控制器6的协调下,运行在移动终端内,实现根据指纹控制是否解锁门禁。Each module of the above-mentioned access control system runs in the mobile terminal under the coordination of the main controller 6, and realizes whether to unlock the access control according to the fingerprint control.
以上实施例仅用以说明本发明的技术方案,而非对其进行限制;尽管参照前述实施例对本发明进行了详细的说明,对于本领域的普通技术人员来说,依然可以对前述实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或替换,并不使相应技术方案的本质脱离本发明所要求保护的技术方案的精神和范围。The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art can still understand the foregoing embodiments. Modifications are made to the technical solutions described, or equivalent replacements are made to some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions claimed in the present invention.
Claims (21)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410434161.1A CN105447928B (en) | 2014-08-29 | 2014-08-29 | Access control method and control system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410434161.1A CN105447928B (en) | 2014-08-29 | 2014-08-29 | Access control method and control system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105447928A CN105447928A (en) | 2016-03-30 |
CN105447928B true CN105447928B (en) | 2018-10-09 |
Family
ID=55558059
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410434161.1A Active CN105447928B (en) | 2014-08-29 | 2014-08-29 | Access control method and control system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105447928B (en) |
Families Citing this family (38)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105894622A (en) * | 2015-12-14 | 2016-08-24 | 乐视移动智能信息技术(北京)有限公司 | Access control identification method, device and system and terminal |
CN106127888B (en) * | 2016-06-14 | 2019-06-11 | 天津宅美智能科技有限公司 | Intelligent lock operation method and smart lock operating system |
CN106447834A (en) * | 2016-07-05 | 2017-02-22 | 福建意昂机电股份公司 | Access authentication control system based on mobile phone client |
CN106600757A (en) * | 2016-07-22 | 2017-04-26 | 深圳市凯迪仕智能科技有限公司 | Wireless lock control system based on intelligent terminal and method |
CN106327637A (en) * | 2016-08-25 | 2017-01-11 | 青岛亿联信息科技股份有限公司 | Bluetooth door opening system based on community management and method |
CN106355717A (en) * | 2016-09-05 | 2017-01-25 | 惠州Tcl移动通信有限公司 | Mobile terminal unlocking method and system based on fingerprint recognition and NFC (near field communication) |
CN106468886A (en) * | 2016-09-30 | 2017-03-01 | 海尔优家智能科技(北京)有限公司 | A kind of method and apparatus of third-party control devices |
CN106504390A (en) * | 2016-11-09 | 2017-03-15 | 北京小米移动软件有限公司 | Control method for door lock, apparatus and system |
CN108074308A (en) * | 2016-11-18 | 2018-05-25 | 上海新微技术研发中心有限公司 | Intelligent door lock control method and system based on cloud processing |
CN106651676A (en) * | 2016-11-25 | 2017-05-10 | 深圳市保臻社区服务科技有限公司 | Community business management method and apparatus |
CN106558131A (en) * | 2016-11-25 | 2017-04-05 | 宇龙计算机通信科技(深圳)有限公司 | Access control method and system |
CN106600776A (en) * | 2016-12-08 | 2017-04-26 | 宇龙计算机通信科技(深圳)有限公司 | Method and system of access control |
CN107424245A (en) * | 2017-03-29 | 2017-12-01 | 上海斐讯数据通信技术有限公司 | A kind of gate inhibition's verification method and system based on Double-puzzle |
CN107134026A (en) * | 2017-04-19 | 2017-09-05 | 上海斐讯数据通信技术有限公司 | A kind of entrance guard controlling method and system |
CN109906452B (en) * | 2017-06-30 | 2022-06-14 | 深圳市汇顶科技股份有限公司 | Authentication method, authentication equipment and authentication system |
CN107403494A (en) * | 2017-07-28 | 2017-11-28 | 邱诗妍 | A kind of automobile remote-control system for unlocking |
CN107464325A (en) * | 2017-09-13 | 2017-12-12 | 南京信息职业技术学院 | Multi-level access control system and implementation method thereof |
CN109756532A (en) * | 2017-11-02 | 2019-05-14 | 阿里巴巴集团控股有限公司 | For the response processing method and device of external staff |
CN108091014A (en) * | 2017-12-21 | 2018-05-29 | 广东汇泰龙科技有限公司 | A kind of application method, the system of the voice assistant based on cloud lock APP |
CN108022349A (en) * | 2017-12-22 | 2018-05-11 | 北京小米移动软件有限公司 | Information input method, equipment, smart lock and storage medium |
CN108257274A (en) * | 2018-02-01 | 2018-07-06 | 杭州登虹科技有限公司 | A kind of intelligent door lock and its communication means |
CN108550208B (en) * | 2018-04-09 | 2021-04-23 | 深圳市靓工创新应用科技有限公司 | User authority management method of intelligent door lock, server and readable medium |
CN108597077A (en) * | 2018-04-12 | 2018-09-28 | 广东汇泰龙科技有限公司 | A kind of method, system for opening smart lock using iPhone mobile phones |
CN108561022A (en) * | 2018-04-28 | 2018-09-21 | 东莞市腾达五金制品有限公司 | A kind of lockset and its encryption method based on APP remote monitorings |
CN109147105A (en) * | 2018-06-29 | 2019-01-04 | 贵安新区搜床科技有限公司 | A kind of control method for door lock, terminal device and computer readable storage medium |
CN110853208A (en) * | 2018-07-24 | 2020-02-28 | 佛山弘视智能信息科技有限公司 | Reverse verification face access control method, forward recognition face access control method and device |
CN109410376A (en) * | 2018-08-30 | 2019-03-01 | 深圳市慧点光电有限公司 | Intelligent fingerprint key uses management method, system and computer readable storage medium |
CN109727327A (en) * | 2018-11-08 | 2019-05-07 | 深圳壹账通智能科技有限公司 | A kind of punch card method based on Intelligent bracelet, system and equipment |
CN109544752A (en) * | 2018-11-26 | 2019-03-29 | Oppo广东移动通信有限公司 | Control method, device, terminal and the storage medium of access control equipment |
CN109993863A (en) * | 2019-02-20 | 2019-07-09 | 南通大学 | An access control system based on face recognition and its control method |
CN110070656B (en) * | 2019-05-07 | 2021-04-06 | 中国电子信息产业集团有限公司第六研究所 | Security box and unlocking method |
CN110533802A (en) * | 2019-07-17 | 2019-12-03 | 浙江大华技术股份有限公司 | Access control equipment control method, device, equipment, system and storage medium |
CN110838196B (en) * | 2019-11-11 | 2020-12-15 | 珠海格力电器股份有限公司 | Intelligent door lock control method, intelligent door lock control system and intelligent door lock |
CN110992561B (en) * | 2019-11-25 | 2020-08-07 | 深圳市菲格特智能科技有限公司 | Security verification method and access control system |
CN113129489A (en) * | 2019-12-31 | 2021-07-16 | 广东煜升科技股份有限公司 | Standby checking method based on building talkback |
CN113129482A (en) * | 2019-12-31 | 2021-07-16 | 广州海英智慧家居科技有限公司 | Fingerprint lock identification method |
CN112288914B (en) * | 2020-10-30 | 2022-06-21 | 深圳坚朗海贝斯智能科技有限公司 | Peripheral binding and authentication security management method based on intelligent lock |
CN112907788A (en) * | 2021-01-25 | 2021-06-04 | 珠海格力电器股份有限公司 | Door lock control method and device, door lock and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102262793A (en) * | 2010-05-26 | 2011-11-30 | 中兴通讯股份有限公司 | Entrance guard control method and entrance guard control system |
CN202108335U (en) * | 2011-04-29 | 2012-01-11 | 广东必达保安系统有限公司 | Fingerprint password anti-theft lock |
CN102936980A (en) * | 2012-10-31 | 2013-02-20 | 北京小米科技有限责任公司 | Method and device for controlling electronic lock |
CN103021045A (en) * | 2011-09-25 | 2013-04-03 | 边高伟 | Intelligent entrance guard system for mobile terminal user verification |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103136820A (en) * | 2011-12-05 | 2013-06-05 | 上海博路信息技术有限公司 | Remote access control system based on terminal fingerprint identification |
CN103456055A (en) * | 2012-05-29 | 2013-12-18 | 沈阳晨讯希姆通科技有限公司 | Door control device, mobile terminal, electronic security system and method thereof |
CN102915588B (en) * | 2012-11-02 | 2015-07-29 | 凯拔(中国)科技有限公司 | Based on intelligent lock system and the control method thereof of Bluetooth technology |
-
2014
- 2014-08-29 CN CN201410434161.1A patent/CN105447928B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102262793A (en) * | 2010-05-26 | 2011-11-30 | 中兴通讯股份有限公司 | Entrance guard control method and entrance guard control system |
CN202108335U (en) * | 2011-04-29 | 2012-01-11 | 广东必达保安系统有限公司 | Fingerprint password anti-theft lock |
CN103021045A (en) * | 2011-09-25 | 2013-04-03 | 边高伟 | Intelligent entrance guard system for mobile terminal user verification |
CN102936980A (en) * | 2012-10-31 | 2013-02-20 | 北京小米科技有限责任公司 | Method and device for controlling electronic lock |
Also Published As
Publication number | Publication date |
---|---|
CN105447928A (en) | 2016-03-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105447928B (en) | Access control method and control system | |
US10205711B2 (en) | Multi-user strong authentication token | |
CN109272606B (en) | Intelligent lock supervision equipment and method based on block chain and storage medium | |
CN109088849B (en) | Method and device for authenticating a user on a vehicle | |
US20140093144A1 (en) | More-Secure Hardware Token | |
US10219154B1 (en) | Frictionless or near-frictionless 3 factor user authentication method and system by use of triad network | |
US9256723B2 (en) | Security key using multi-OTP, security service apparatus, security system | |
JP6633228B2 (en) | Data security system with encryption | |
US20080120707A1 (en) | Systems and methods for authenticating a device by a centralized data server | |
US20130178190A1 (en) | Mobile device identification for secure device access | |
CN105847247A (en) | Authentication system and working method thereof | |
JP2011511350A (en) | Access control management method and apparatus | |
CN109067881B (en) | Remote authorization method, device, equipment and storage medium thereof | |
CN102892102B (en) | A kind of method, system and equipment realizing binding machine and card in a mobile network | |
CN108171831A (en) | A kind of bidirectional safe authentication method based on NFC mobile phone and smart lock | |
JP2019031874A (en) | Unlocking control system | |
JP3829803B2 (en) | Set up calls from mobile radiotelephone terminals with biometric authentication | |
CN114120487A (en) | Automobile digital key management method, system, equipment and storage medium | |
CN109067880B (en) | Remote unlocking method of shared equipment, device, equipment and storage medium thereof | |
CN108989331B (en) | Use authentication method of data storage device, device and storage medium thereof | |
WO2018137309A1 (en) | Wireless communication processing method and device | |
US11003744B2 (en) | Method and system for securing bank account access | |
CN110738764A (en) | Security control system and method based on intelligent lock | |
CN107786978B (en) | NFC authentication system based on quantum encryption | |
KR101078839B1 (en) | Method for Restricting Use in Mobile Station and Mobile Station for the Same |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |