Movatterモバイル変換


[0]ホーム

URL:


CN111354112A - Access control system, access method and device of access control equipment and gateway equipment - Google Patents

Access control system, access method and device of access control equipment and gateway equipment
Download PDF

Info

Publication number
CN111354112A
CN111354112ACN201910703803.6ACN201910703803ACN111354112ACN 111354112 ACN111354112 ACN 111354112ACN 201910703803 ACN201910703803 ACN 201910703803ACN 111354112 ACN111354112 ACN 111354112A
Authority
CN
China
Prior art keywords
access control
object information
control device
management platform
information
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.)
Pending
Application number
CN201910703803.6A
Other languages
Chinese (zh)
Inventor
施志萍
陆启飞
陈欣
张明明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Hikvision Digital Technology Co Ltd
Original Assignee
Hangzhou Hikvision Digital Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Hangzhou Hikvision Digital Technology Co LtdfiledCriticalHangzhou Hikvision Digital Technology Co Ltd
Priority to EP20758555.5ApriorityCriticalpatent/EP3929882A4/en
Priority to PCT/CN2020/075615prioritypatent/WO2020169005A1/en
Publication of CN111354112ApublicationCriticalpatent/CN111354112A/en
Pendinglegal-statusCriticalCurrent

Links

Images

Classifications

Landscapes

Abstract

The invention provides an access control system, an access method of access equipment, a device and gateway equipment, wherein the system comprises: the system comprises an access control management platform, a gateway device, an access controller, a first access control device and a second access control device, wherein the gateway device and the access control controller are connected with the access control management platform; the second access control equipment is connected with the access control controller and is used for acquiring and identifying card number information and sending the identified card number information to the access control controller; the gateway equipment is used for obtaining object information from the access control management platform, and the object information at least comprises: the object data and the corresponding card number information are sent to the first access control equipment; the first access control equipment is accessed to the gateway equipment and connected with the access control controller, and is used for recording object information issued by the gateway equipment, acquiring and identifying first object data, and sending card number information corresponding to target object data matched with the first object data in the object data to the access control controller; the entrance guard controller is used for receiving the card number information and controlling entrance guard according to the card number information.

Description

Translated fromChinese
门禁控制系统及门禁设备接入方法、装置、网关设备Access control system and access control device access method, device, gateway device

技术领域technical field

本发明涉及安防技术领域,尤其涉及一种门禁控制系统及门禁设备接入方法、装置、网关设备。The present invention relates to the technical field of security, in particular to an access control system and an access control device access method, device and gateway device.

背景技术Background technique

门禁控制系统又称出入管理控制系统(ACCESS CONTROL SYSTEM),是一种管理人员进出的智能化管理系统,较早的门禁控制系统包括基于密码识别的门禁控制系统、基于卡号识别的门禁控制系统等。近年来,随着各种识别技术的成熟,比如人脸识别技术、指纹识别技术等。在门禁控制系统中,面临的一个重要问题就是如何对存量的门禁控制系统进行升级以支持这些新的识别技术。Access control system, also known as access control system (ACCESS CONTROL SYSTEM), is an intelligent management system for managers to enter and exit. Earlier access control systems include access control systems based on password recognition, access control systems based on card number recognition, etc. . In recent years, with the maturity of various recognition technologies, such as face recognition technology, fingerprint recognition technology, etc. In the access control system, an important problem is how to upgrade the existing access control system to support these new identification technologies.

现有的一种门禁控制系统中,参看图1,门禁控制系统100’包括门禁管理平台101’、门禁控制器102’、门禁设备103’、及门104’;门禁管理平台101’记录有用于门禁控制的对象信息,比如对应的姓名、卡号信息、权限信息等,并将对象信息下发给门禁控制器102’;门禁设备103’支持卡号识别技术,读取识别到的卡号信息并将卡号信息发送给门禁控制器102’;门禁控制器102’判断收到的卡号信息是否具有开门的权限,若是,则控制解除门禁,即解除门104’的禁止权限,实现开门。In an existing access control system, referring to FIG. 1, the access control system 100' includes an access control management platform 101', an access control controller 102', an access control device 103', and a door 104'; The object information of the access control, such as the corresponding name, card number information, authority information, etc., and the object information is issued to the access control controller 102'; the access control device 103' supports the card number recognition technology, reads the recognized card number information and sends the card number The information is sent to the access control controller 102'; the access control controller 102' judges whether the received card number information has the authority to open the door, and if so, controls the release of the access control, that is, the prohibition authority of the door 104' is lifted to realize the door opening.

图1的门禁控制系统中不支持其他特征识别技术比如人脸识别来控制门禁,为了使该门禁控制系统支持人脸识别,相关方式中,把人脸识别设备接入到现有的门禁控制系统中时,将人脸识别设备直接连接到门禁管理平台,并会对门禁管理平台及门禁控制器等进行硬件和软件上的升级,以使得门禁控制器可依据人脸特征数据进行门禁控制。上述方式中,为使门禁控制系统支持其他特征识别技术,对现有门禁控制系统的软硬件升级成本过大。The access control system in Figure 1 does not support other feature recognition technologies such as face recognition to control access. In order to enable the access control system to support face recognition, in a related manner, the face recognition device is connected to the existing access control system. In the middle, the face recognition device is directly connected to the access control management platform, and the hardware and software of the access control management platform and the access control controller are upgraded, so that the access control controller can perform access control based on the facial feature data. In the above manner, in order to enable the access control system to support other feature identification technologies, the cost of upgrading the software and hardware of the existing access control system is too high.

发明内容SUMMARY OF THE INVENTION

有鉴于此,本发明提供一种门禁控制系统及门禁设备接入方法、装置、网关设备,可减小对已有门禁控制系统的软硬件升级成本,使得门禁控制系统支持不同的识别技术。In view of this, the present invention provides an access control system and access control equipment access method, device, and gateway device, which can reduce the cost of upgrading software and hardware of the existing access control system, so that the access control system supports different identification technologies.

本发明第一方面提供一种门禁控制系统,包括:门禁管理平台,与门禁管理平台连接的网关设备、门禁控制器,以及至少一个第一门禁设备、至少一个第二门禁设备;所述第二门禁设备连接所述门禁控制器;所述第一门禁设备接入所述网关设备,且所述第一门禁设备连接所述门禁控制器;A first aspect of the present invention provides an access control system, comprising: an access control management platform, a gateway device connected to the access control management platform, an access control controller, and at least one first access control device and at least one second access control device; the second access control device The access control device is connected to the access control controller; the first access control device is connected to the gateway device, and the first access control device is connected to the access control controller;

所述第二门禁设备用于采集并识别卡号信息,并将识别出的卡号信息发送至所述门禁控制器;The second access control device is used for collecting and identifying card number information, and sending the identified card number information to the access control controller;

所述门禁管理平台中记录有对象信息,所述对象信息至少包括:指示指定对象特征的对象数据、及对应的卡号信息;Object information is recorded in the access control management platform, and the object information at least includes: object data indicating the characteristics of the specified object, and corresponding card number information;

所述网关设备用于从所述门禁管理平台中获取对象信息,并将所述对象信息下发至已接入的第一门禁设备中;The gateway device is used to obtain object information from the access control management platform, and deliver the object information to the first access control device that has been connected;

所述第一门禁设备用于记录来自所述网关设备下发的对象信息,采集并识别第一对象数据,将第一门禁设备记录的对象数据中与识别出的所述第一对象数据匹配的目标对象数据所对应的卡号信息发送至所述门禁控制器;The first access control device is used to record the object information issued by the gateway device, collect and identify the first object data, and match the object data recorded by the first access control device with the identified first object data. The card number information corresponding to the target object data is sent to the access control controller;

所述门禁控制器用于接收来自所述第一门禁设备与所述第二门禁设备中的任一个发送的卡号信息,并依据接收的卡号信息控制门禁。The access control controller is configured to receive card number information sent from any one of the first access control device and the second access control device, and control the access control according to the received card number information.

根据本发明的一个实施例,According to an embodiment of the present invention,

所述第一门禁设备为用于人脸识别的门禁设备,所述第一对象数据指示人脸特征;或者,The first access control device is an access control device used for face recognition, and the first object data indicates facial features; or,

所述第一门禁设备为用于指纹识别的门禁设备,所述第一对象数据指示指纹特征;或者,The first access control device is an access control device used for fingerprint identification, and the first object data indicates fingerprint characteristics; or,

所述第一门禁设备为用于语音识别的门禁设备,所述第一对象数据指示语音特征。The first access control device is an access control device for voice recognition, and the first object data indicates a voice feature.

根据本发明的一个实施例,所述网关设备还用于:According to an embodiment of the present invention, the gateway device is further configured to:

接收所述门禁管理平台下发的用于指示对象信息发生变动的事件,并将事件记录至网关设备的数据库中;Receive the event issued by the access control management platform for indicating that the object information has changed, and record the event in the database of the gateway device;

从数据库中获取所述事件,并识别所述事件;obtain the event from the database, and identify the event;

依据识别出的事件控制所述第一门禁设备对该第一门禁设备中记录的对象信息进行事件所指示的变动;或者,依据识别出的事件更新网关设备中设置的对象信息表,所述对象信息表记录了所述网关设备已获取的对象信息,并依据更新后的对象信息表控制所述第一门禁设备更新本地的对象信息。According to the identified event, control the first access control device to change the object information recorded in the first access control device as indicated by the event; or, update the object information table set in the gateway device according to the identified event, the object The information table records the object information that the gateway device has acquired, and controls the first access control device to update the local object information according to the updated object information table.

根据本发明的一个实施例,所述网关设备依据识别出的事件控制所述第一门禁设备对该第一门禁设备中记录的对象信息进行事件所指示的变动时,具体用于:According to an embodiment of the present invention, when the gateway device controls the first access control device to change the object information recorded in the first access control device as indicated by the event according to the identified event, it is specifically used for:

当所述事件指示所述门禁管理平台记录的对象信息中的第一对象信息被删除时,控制所述第一门禁设备删除该第一门禁设备中记录的第一对象信息;When the event indicates that the first object information in the object information recorded by the access control management platform is deleted, control the first access control device to delete the first object information recorded in the first access control device;

当所述事件指示所述门禁管理平台记录的对象信息中添加新的第二对象信息时,从所述门禁管理平台中获取所述第二对象信息,并控制所述第一门禁设备在该第一门禁设备记录的对象信息中添加所述第二对象信息;When the event instructs the access control management platform to add new second object information to the object information recorded by the access control management platform, obtain the second object information from the access control management platform, and control the first access control device in the first access control device The second object information is added to the object information recorded by an access control device;

当所述事件指示所述门禁管理平台记录的对象信息中的第三对象信息已修改时,从所述门禁管理平台中获取所述第三对象信息,并控制所述第一门禁设备将该第一门禁设备中记录的第三对象信息修改为获取的第三对象信息。When the event indicates that the third object information in the object information recorded by the access control management platform has been modified, acquire the third object information from the access control management platform, and control the first access control device to set the third object information The third object information recorded in an access control device is modified to the acquired third object information.

根据本发明的一个实施例,所述网关设备还用于:According to an embodiment of the present invention, the gateway device is further configured to:

每隔一段时间t从所述门禁管理平台中获取最新的对象信息;Obtain the latest object information from the access control management platform at intervals of time t;

将最新的对象信息下发至第一门禁设备中;或者,依据获取的最新对象信息更新所述对象信息表,所述对象信息表记录了所述网关设备已获取的对象信息,并依据更新后的对象信息表控制所述第一门禁设备更新本地记录的对象信息。Send the latest object information to the first access control device; or, update the object information table according to the acquired latest object information, the object information table records the object information that the gateway device has acquired, and according to the updated object information The object information table controls the first access control device to update locally recorded object information.

根据本发明的一个实施例,所述对象信息包括对象标识;According to an embodiment of the present invention, the object information includes an object identifier;

所述网关设备从所述门禁管理平台中获取最新的对象信息时,还获取每一最新对象信息最后一次被更新到门禁管理平台中的第一时间;When the gateway device obtains the latest object information from the access control management platform, it also obtains the first time when each latest object information is updated to the access control management platform for the last time;

所述网关设备依据获取的最新对象信息更新所述对象信息表时,具体用于:When the gateway device updates the object information table according to the acquired latest object information, it is specifically used for:

从对象信息表中找出获取的所有最新对象信息中不存在的对象标识,将包含找出的对象标识的对象信息从对象信息表中删除;Find out from the object information table the object identifiers that do not exist in all the latest object information acquired, and delete the object information containing the found object identifiers from the object information table;

从获取的所有最新对象信息中找出第一时间晚于上一次获取对象信息时间的最新对象信息,并检查对象信息表中是否存在找出的最新对象信息中的对象标识;Find out the latest object information whose first time is later than the time when the object information was acquired last time from all the latest object information obtained, and check whether there is an object identifier in the found latest object information in the object information table;

若不存在,则将找出的最新对象信息添加至所述对象信息表中;If it does not exist, adding the found latest object information to the object information table;

若存在,则将所述对象信息表中包含该对象标识的对象信息修改为找出的最新对象信息。If it exists, modify the object information containing the object identifier in the object information table to the latest found object information.

根据本发明的一个实施例,According to an embodiment of the present invention,

所述网关设备依据更新后的对象信息表控制所述第一门禁设备更新本地记录的对象信息时,具体用于:When the gateway device controls the first access control device to update the locally recorded object information according to the updated object information table, it is specifically used for:

每过一个时间周期t1确定出所述对象信息表在上一时间周期t1内被删除的第四对象信息、被修改的第五对象信息、及添加的第六对象信息;Determine the fourth object information deleted, the modified fifth object information, and the added sixth object information in the object information table in the last time period t1 every time period t1;

控制所述第一门禁设备将已记录的第四对象信息删除,将所述第五对象信息下发至所述第一门禁设备进行相应修改,并将所述第六对象信息下发至所述第一门禁设备进行记录。Controlling the first access control device to delete the recorded fourth object information, sending the fifth object information to the first access control device for corresponding modification, and sending the sixth object information to the The first access control device is recorded.

根据本发明的一个实施例,According to an embodiment of the present invention,

所述对象信息表中还记录有对象信息最后一次被更新到对象信息表中的第二时间;The object information table also records the second time when the object information was updated to the object information table for the last time;

所述网关设备中设置有下发信息表,所述下发信息表中每一表项至少记录了已下发对象信息中的对象标识、及对象信息的下发时间;The gateway device is provided with a delivery information table, and each entry in the delivered information table records at least the object identifier in the delivered object information and the delivery time of the object information;

所述网关设备确定出所述对象信息表在上一时间周期t1内被删除的第四对象信息、被修改的第五对象信息、及添加的第六对象信息时,具体用于:When the gateway device determines the deleted fourth object information, the modified fifth object information, and the added sixth object information in the object information table in the last time period t1, it is specifically used for:

从下发信息表中找出所述对象信息表中不存在的对象标识,将包含找出的对象标识的对象信息确定为所述第四对象信息,从所述下发信息表中删除找出的对象标识所在的表项;Find out the object identifier that does not exist in the object information table from the issued information table, determine the object information including the found object identifier as the fourth object information, delete the found object information from the issued information table The table entry where the object ID of ;

针对所述对象信息表中的每一对象信息,检查下发信息表中是否存在该对象信息中的对象标识,For each object information in the object information table, check whether there is an object identifier in the object information in the issued information table,

如果是,若该对象标识所在表项中的下发时间早于该对象信息的第二时间,则将所述对象信息表中的该对象信息确定为所述第五对象信息,并更新该表项中的下发时间;If yes, if the delivery time in the entry where the object identifier is located is earlier than the second time of the object information, determine the object information in the object information table as the fifth object information, and update the table The release time in the item;

如果否,将所述对象信息表中的该对象信息确定为所述第六对象信息,并在下发信息表中创建该对象信息的相关表项。If not, the object information in the object information table is determined as the sixth object information, and a related entry of the object information is created in the distribution information table.

根据本发明的一个实施例,该系统还进一步包括协议转换设备,所述协议转换设备连接于所述第一门禁设备和所述门禁控制器之间;According to an embodiment of the present invention, the system further includes a protocol conversion device connected between the first access control device and the access control controller;

所述第一门禁设备基于第一通信协议将所述卡号信息发送至所述协议转换设备,所述协议转换设备基于第二通信协议将接收的卡号信息发送至所述门禁控制器;The first access control device sends the card number information to the protocol conversion device based on the first communication protocol, and the protocol conversion device sends the received card number information to the access control controller based on the second communication protocol;

所述第一通信协议是所述第一门禁设备与所述协议转换设备之间通信所需的通信协议,所述第二通信协议是所述协议转换设备与所述门禁控制器之间通信所需的通信协议。The first communication protocol is the communication protocol required for communication between the first access control device and the protocol conversion device, and the second communication protocol is the communication protocol between the protocol conversion device and the access control controller. required communication protocol.

本发明第二方面提供一种门禁控制系统,包括:门禁管理平台,与门禁管理平台连接的网关设备、门禁控制器,以及至少一个第一门禁设备;所述第一门禁设备接入所述网关设备,且所述第一门禁设备连接所述门禁控制器;A second aspect of the present invention provides an access control system, comprising: an access control management platform, a gateway device connected to the access control management platform, an access control controller, and at least one first access control device; the first access control device is connected to the gateway device, and the first access control device is connected to the access control controller;

所述门禁管理平台中记录有对象信息,所述对象信息至少包括:指示指定对象特征的对象数据、及对应的对象标识;Object information is recorded in the access control management platform, and the object information at least includes: object data indicating the characteristics of the specified object, and a corresponding object identifier;

所述网关设备用于从所述门禁管理平台中获取对象信息,并将所述对象信息下发至已接入的第一门禁设备中;The gateway device is used to obtain object information from the access control management platform, and deliver the object information to the first access control device that has been connected;

所述第一门禁设备用于记录来自所述网关设备下发的对象信息,采集并识别第一对象数据,将第一门禁设备记录的对象数据中与识别出的所述第一对象数据匹配的目标对象数据所对应的对象标识发送至所述门禁控制器;The first access control device is used to record the object information issued by the gateway device, collect and identify the first object data, and match the object data recorded by the first access control device with the identified first object data. The object identifier corresponding to the target object data is sent to the access controller;

所述门禁控制器用于接收来自所述第一门禁设备发送的对象标识,并依据接收的对象标识控制门禁。The access control controller is configured to receive the object identifier sent from the first access control device, and control the access control according to the received object identifier.

本发明第三方面提供一种门禁设备接入方法,应用于网关设备,所述网关设备连接至指定门禁控制系统中的门禁管理平台,所述指定门禁控制系统还包括门禁控制器;A third aspect of the present invention provides an access control device access method, which is applied to a gateway device, wherein the gateway device is connected to an access control management platform in a designated access control system, and the designated access control system further includes an access controller;

该方法包括:The method includes:

从所述门禁管理平台中获取对象信息,所述对象信息至少包括:指示指定对象特征的对象数据、及对应的对象标识;Obtain object information from the access control management platform, where the object information at least includes: object data indicating the characteristics of the specified object, and a corresponding object identifier;

获取需接入的至少一个第一门禁设备的接入信息;Obtain access information of at least one first access control device to be accessed;

依据所述接入信息将对应第一门禁设备接入至网关设备,并将从所述门禁管理平台中获取的对象信息下发至已接入的第一门禁设备中,以使所述第一门禁设备采集并识别第一对象数据,并将第一门禁设备记录的对象数据中与识别出的所述第一对象数据匹配的目标对象数据所对应的对象标识发送至所述门禁控制器进行门禁控制。According to the access information, the corresponding first access control device is connected to the gateway device, and the object information obtained from the access control management platform is delivered to the connected first access control device, so that the first access control device is The access control device collects and identifies the first object data, and sends the object identifier corresponding to the target object data that matches the identified first object data in the object data recorded by the first access control device to the access control controller for access control control.

根据本发明的一个实施例,将从所述门禁管理平台中获取的对象信息下发至已接入的第一门禁设备中之后,该方法还进一步包括:According to an embodiment of the present invention, after the object information obtained from the access control management platform is delivered to the first access control device that has been connected, the method further includes:

接收所述门禁管理平台下发的用于指示对象信息已发生变动的事件,并将事件记录至网关设备的数据库中;Receive an event issued by the access control management platform for indicating that the object information has changed, and record the event in the database of the gateway device;

从数据库中获取所述事件,并识别所述事件;obtain the event from the database, and identify the event;

依据识别出的事件控制所述第一门禁设备对该第一门禁设备中记录的对象信息相应变动;或者,依据识别出的事件更新网关设备中设置的对象信息表,所述对象信息表记录了所述网关设备已获取的对象信息,并依据更新后的对象信息表控制所述第一门禁设备更新本地的对象信息。According to the identified event, control the first access control device to correspondingly change the object information recorded in the first access control device; or, update the object information table set in the gateway device according to the identified event, and the object information table records The gateway device obtains the object information, and controls the first access control device to update the local object information according to the updated object information table.

根据本发明的一个实施例,依据识别出的事件控制所述第一门禁设备对该第一门禁设备中记录的对象信息相应变动,包括:According to an embodiment of the present invention, controlling the first access control device to correspondingly change the object information recorded in the first access control device according to the identified event, including:

当所述事件指示所述门禁管理平台记录的对象信息中的第一对象信息已被删除时,控制所述第一门禁设备删除该第一门禁设备中记录的第一对象信息;When the event indicates that the first object information in the object information recorded by the access control management platform has been deleted, control the first access control device to delete the first object information recorded in the first access control device;

当所述事件指示所述门禁管理平台记录的对象信息中添加了新的第二对象信息时,从所述门禁管理平台中获取所述第二对象信息,并控制所述第一门禁设备在该第一门禁设备记录的对象信息中添加所述第二对象信息;When the event indicates that new second object information is added to the object information recorded by the access control management platform, acquire the second object information from the access control management platform, and control the first access control device in the adding the second object information to the object information recorded by the first access control device;

当所述事件指示所述门禁管理平台记录的对象信息中的第三对象信息已修改时,从所述门禁管理平台中获取已修改的第三对象信息,并控制所述第一门禁设备将该第一门禁设备中记录的第三对象信息修改为获取的第三对象信息。When the event indicates that the third object information in the object information recorded by the access control management platform has been modified, acquire the modified third object information from the access control management platform, and control the first access control device to The third object information recorded in the first access control device is modified to the acquired third object information.

根据本发明的一个实施例,将从所述门禁管理平台中获取的对象信息下发至已接入的第一门禁设备中之后,该方法还进一步包括:According to an embodiment of the present invention, after the object information obtained from the access control management platform is delivered to the first access control device that has been connected, the method further includes:

每隔一段时间t从所述门禁管理平台中获取最新的对象信息;Obtain the latest object information from the access control management platform at intervals of time t;

将最新的对象信息下发至所述第一门禁设备中;或者,依据获取的最新对象信息更新所述对象信息表,所述对象信息表记录了所述网关设备已获取的对象信息,并依据更新后的对象信息表控制所述第一门禁设备更新本地记录的对象信息。Send the latest object information to the first access control device; or, update the object information table according to the acquired latest object information, the object information table records the object information that the gateway device has acquired, and according to The updated object information table controls the first access control device to update locally recorded object information.

根据本发明的一个实施例,所述对象信息包括对象标识;According to an embodiment of the present invention, the object information includes an object identifier;

从所述门禁管理平台中获取最新的对象信息时,还获取每一最新对象信息最后一次被更新到门禁管理平台中的第一时间;When obtaining the latest object information from the access control management platform, also obtain the first time when each latest object information is updated to the access control management platform for the last time;

所述依据获取的最新对象信息更新所述对象信息表,包括:The updating of the object information table according to the acquired latest object information includes:

从对象信息表中找出获取的所有最新对象信息中不存在的对象标识,将包含找出的对象标识的对象信息从对象信息表中删除;Find out from the object information table the object identifiers that do not exist in all the latest object information acquired, and delete the object information containing the found object identifiers from the object information table;

从获取的所有最新对象信息中找出第一时间晚于上一次获取对象信息时间的最新对象信息,并检查对象信息表中是否存在找出的最新对象信息中的对象标识;Find out the latest object information whose first time is later than the time when the object information was acquired last time from all the latest object information obtained, and check whether there is an object identifier in the found latest object information in the object information table;

若不存在,则将找出的最新对象信息添加至所述对象信息表中;If it does not exist, adding the found latest object information to the object information table;

若存在,则将所述对象信息表中包含该对象标识的对象信息修改为找出的最新对象信息。If it exists, modify the object information containing the object identifier in the object information table to the latest found object information.

根据本发明的一个实施例,According to an embodiment of the present invention,

所述依据更新后的对象信息表控制所述第一门禁设备更新本地记录的对象信息,包括:The control of the first access control device to update the locally recorded object information according to the updated object information table includes:

每过一个时间周期t1确定出所述对象信息表在上一时间周期t1内被删除的第四对象信息、被修改的第五对象信息、及添加的第六对象信息;Determine the fourth object information deleted, the modified fifth object information, and the added sixth object information in the object information table in the last time period t1 every time period t1;

控制所述第一门禁设备将已记录的第四对象信息删除,将所述第五对象信息下发至所述第一门禁设备进行相应修改,并将所述第六对象信息下发至所述第一门禁设备进行记录。Controlling the first access control device to delete the recorded fourth object information, sending the fifth object information to the first access control device for corresponding modification, and sending the sixth object information to the The first access control device is recorded.

根据本发明的一个实施例,According to an embodiment of the present invention,

所述对象信息表中还记录有对象信息最后一次被更新到对象信息表中的第二时间;The object information table also records the second time when the object information was updated to the object information table for the last time;

所述网关设备中设置有下发信息表,所述下发信息表中每一表项至少记录了已下发对象信息中的对象标识、及对象信息的下发时间;The gateway device is provided with a delivery information table, and each entry in the delivered information table records at least the object identifier in the delivered object information and the delivery time of the object information;

所述确定出所述对象信息表在上一时间周期t1内被删除的第四对象信息、被修改的第五对象信息、及添加的第六对象信息,包括:The determining of the deleted fourth object information, the modified fifth object information, and the added sixth object information in the object information table in the last time period t1 includes:

从下发信息表中找出所述对象信息表中不存在的对象标识,将包含找出的对象标识的对象信息确定为所述第四对象信息,从所述下发信息表中删除找出的对象标识所在的表项;Find out the object identifier that does not exist in the object information table from the issued information table, determine the object information including the found object identifier as the fourth object information, delete the found object information from the issued information table The table entry where the object ID of ;

针对所述对象信息表中的每一对象信息,检查下发信息表中是否存在该对象信息中的对象标识,For each object information in the object information table, check whether there is an object identifier in the object information in the issued information table,

如果是,若该对象标识所在表项中的下发时间早于该对象信息的第二时间,则将所述对象信息表中的该对象信息确定为所述第五对象信息,并更新该表项中的下发时间;If yes, if the delivery time in the entry where the object identifier is located is earlier than the second time of the object information, determine the object information in the object information table as the fifth object information, and update the table The release time in the item;

如果否,将所述对象信息表中的该对象信息确定为所述第六对象信息,并在下发信息表中创建该对象信息的相关表项。If not, the object information in the object information table is determined as the sixth object information, and a related entry of the object information is created in the distribution information table.

根据本发明的一个实施例,According to an embodiment of the present invention,

所述第一门禁设备为用于人脸识别的门禁设备,所述第一对象数据指示人脸特征;或者,The first access control device is an access control device used for face recognition, and the first object data indicates facial features; or,

所述第一门禁设备为用于指纹识别的门禁设备,所述第一对象数据指示指纹特征;或者,The first access control device is an access control device used for fingerprint identification, and the first object data indicates fingerprint characteristics; or,

所述第一门禁设备为用于语音识别的门禁设备,所述第一对象数据指示语音特征。The first access control device is an access control device for voice recognition, and the first object data indicates a voice feature.

本发明第四方面提供一种门禁设备接入装置,应用于网关设备,所述网关设备连接至指定门禁控制系统中的门禁管理平台,所述指定门禁控制系统还包括门禁控制器;A fourth aspect of the present invention provides an access control device access device, which is applied to a gateway device, wherein the gateway device is connected to an access control management platform in a designated access control system, and the designated access control system further includes an access controller;

该装置包括:The device includes:

对象信息获取模块,用于从所述门禁管理平台中获取对象信息,所述对象信息至少包括:指示指定对象特征的对象数据、及对应的对象标识;an object information acquisition module, configured to acquire object information from the access control management platform, where the object information at least includes: object data indicating the characteristics of the specified object, and a corresponding object identifier;

接入信息获取模块,用于获取需接入的至少一个第一门禁设备的接入信息;an access information acquisition module, configured to acquire access information of at least one first access control device to be accessed;

门禁设备接入模块,用于依据所述接入信息将对应第一门禁设备接入至网关设备,并将从所述门禁管理平台中获取的对象信息下发至已接入的第一门禁设备中,以使所述第一门禁设备采集并识别第一对象数据,并将第一门禁设备记录的对象数据中与识别出的所述第一对象数据匹配的目标对象数据所对应的对象标识发送至所述门禁控制器进行门禁控制。The access control device access module is used to connect the corresponding first access control device to the gateway device according to the access information, and deliver the object information obtained from the access control management platform to the connected first access control device , so that the first access control device collects and recognizes the first object data, and sends the object identifier corresponding to the target object data that matches the identified first object data in the object data recorded by the first access control device. to the access controller for access control.

根据本发明的一个实施例,所述门禁设备接入模块之后,该装置还进一步包括:According to an embodiment of the present invention, after the access control device is connected to the module, the device further includes:

事件接收模块,用于接收所述门禁管理平台下发的用于指示对象信息已发生变动的事件,并将事件记录至网关设备的数据库中;an event receiving module, configured to receive an event issued by the access control management platform for indicating that the object information has changed, and record the event in the database of the gateway device;

事件识别模块,用于从数据库中获取所述事件,并识别所述事件;an event identification module for acquiring the event from the database and identifying the event;

第一更新控制模块,用于依据识别出的事件控制所述第一门禁设备对该第一门禁设备中记录的对象信息相应变动;或者,依据识别出的事件更新网关设备中设置的对象信息表,所述对象信息表记录了所述网关设备已获取的对象信息,并依据更新后的对象信息表控制所述第一门禁设备更新本地的对象信息。The first update control module is used to control the first access control device to change the object information recorded in the first access control device according to the identified event; or, update the object information table set in the gateway device according to the identified event , the object information table records the object information that the gateway device has acquired, and controls the first access control device to update the local object information according to the updated object information table.

根据本发明的一个实施例,所述更新控制模块包括:According to an embodiment of the present invention, the update control module includes:

第一控制单元,用于当所述事件指示所述门禁管理平台记录的对象信息中的第一对象信息已被删除时,控制所述第一门禁设备删除该第一门禁设备中记录的第一对象信息;The first control unit is configured to control the first access control device to delete the first object information recorded in the first access control device when the event indicates that the first object information in the object information recorded by the access control management platform has been deleted. object information;

第二控制单元,用于当所述事件指示所述门禁管理平台记录的对象信息中添加了新的第二对象信息时,从所述门禁管理平台中获取所述第二对象信息,并控制所述第一门禁设备在该第一门禁设备记录的对象信息中添加所述第二对象信息;The second control unit is configured to acquire the second object information from the access control management platform when the event indicates that new second object information is added to the object information recorded by the access control management platform, and control all the second object information. The first access control device adds the second object information to the object information recorded by the first access control device;

第三控制单元,用于当所述事件指示所述门禁管理平台记录的对象信息中的第三对象信息已修改时,从所述门禁管理平台中获取已修改的第三对象信息,并控制所述第一门禁设备将该第一门禁设备中记录的第三对象信息修改为获取的第三对象信息。A third control unit, configured to obtain the modified third object information from the access control management platform when the event indicates that the third object information in the object information recorded by the access control management platform has been modified, and control all The first access control device modifies the third object information recorded in the first access control device to the acquired third object information.

根据本发明的一个实施例,所述门禁设备接入模块之后,该装置还进一步包括:According to an embodiment of the present invention, after the access control device is connected to the module, the device further includes:

定期获取模块,用于每隔一段时间t从所述门禁管理平台中获取最新的对象信息;A regular acquisition module for acquiring the latest object information from the access control management platform at intervals of time t;

第二更新控制模块,用于将最新的对象信息下发至所述第一门禁设备中;或者,将最新的对象信息下发至第一门禁设备中;或者,依据获取的最新对象信息更新所述对象信息表,所述对象信息表记录了所述网关设备已获取的对象信息,并依据更新后的对象信息表控制所述第一门禁设备更新本地记录的对象信息。The second update control module is used for delivering the latest object information to the first access control device; or, delivering the latest object information to the first access control device; or, updating all the objects according to the acquired latest object information The object information table records the object information that the gateway device has acquired, and controls the first access control device to update the locally recorded object information according to the updated object information table.

根据本发明的一个实施例,所述对象信息包括对象标识;According to an embodiment of the present invention, the object information includes an object identifier;

所述定期获取模块从所述门禁管理平台中获取最新的对象信息时,还获取每一最新对象信息最后一次被更新到门禁管理平台中的第一时间;When the regular acquisition module acquires the latest object information from the access control management platform, it also acquires the first time when each latest object information is updated to the access control management platform for the last time;

所述第二更新控制模块依据获取的最新对象信息更新所述对象信息表时,具体用于:When the second update control module updates the object information table according to the acquired latest object information, it is specifically used for:

从对象信息表中找出获取的所有最新对象信息中不存在的对象标识,将包含找出的对象标识的对象信息从对象信息表中删除;Find out from the object information table the object identifiers that do not exist in all the latest object information acquired, and delete the object information containing the found object identifiers from the object information table;

从获取的所有最新对象信息中找出第一时间晚于上一次获取对象信息时间的最新对象信息,并检查对象信息表中是否存在找出的最新对象信息中的对象标识;Find out the latest object information whose first time is later than the time when the object information was acquired last time from all the latest object information obtained, and check whether there is an object identifier in the found latest object information in the object information table;

若不存在,则将找出的最新对象信息添加至所述对象信息表中;If it does not exist, adding the found latest object information to the object information table;

若存在,则将所述对象信息表中包含该对象标识的对象信息修改为找出的最新对象信息。If it exists, modify the object information containing the object identifier in the object information table to the latest found object information.

根据本发明的一个实施例,According to an embodiment of the present invention,

所述第一更新控制模块或第二更新控制模块依据更新后的对象信息表控制所述第一门禁设备更新本地记录的对象信息时,具体用于:When the first update control module or the second update control module controls the first access control device to update the locally recorded object information according to the updated object information table, it is specifically used for:

每过一个时间周期t1确定出所述对象信息表在上一时间周期t1内被删除的第四对象信息、被修改的第五对象信息、及添加的第六对象信息;Determine the fourth object information deleted, the modified fifth object information, and the added sixth object information in the object information table in the last time period t1 every time period t1;

控制所述第一门禁设备将已记录的第四对象信息删除,将所述第五对象信息下发至所述第一门禁设备进行相应修改,并将所述第六对象信息下发至所述第一门禁设备进行记录。Controlling the first access control device to delete the recorded fourth object information, sending the fifth object information to the first access control device for corresponding modification, and sending the sixth object information to the The first access control device is recorded.

根据本发明的一个实施例,According to an embodiment of the present invention,

所述对象信息表中还记录有对象信息最后一次被更新到对象信息表中的第二时间;The object information table also records the second time when the object information was updated to the object information table for the last time;

所述网关设备中设置有下发信息表,所述下发信息表中每一表项至少记录了已下发对象信息中的对象标识、及对象信息的下发时间;The gateway device is provided with a delivery information table, and each entry in the delivered information table records at least the object identifier in the delivered object information and the delivery time of the object information;

所述第一更新控制模块或第二更新控制模块确定出所述对象信息表在上一时间周期t1内被删除的第四对象信息、被修改的第五对象信息、及添加的第六对象信息时,具体用于:The first update control module or the second update control module determines the fourth object information deleted, the modified fifth object information, and the added sixth object information in the object information table in the last time period t1 , specifically for:

从下发信息表中找出所述对象信息表中不存在的对象标识,将包含找出的对象标识的对象信息确定为所述第四对象信息,从所述下发信息表中删除找出的对象标识所在的表项;Find out the object identifier that does not exist in the object information table from the issued information table, determine the object information including the found object identifier as the fourth object information, delete the found object information from the issued information table The table entry where the object ID of ;

针对所述对象信息表中的每一对象信息,检查下发信息表中是否存在该对象信息中的对象标识,For each object information in the object information table, check whether there is an object identifier in the object information in the issued information table,

如果是,若该对象标识所在表项中的下发时间早于该对象信息的第二时间,则将所述对象信息表中的该对象信息确定为所述第五对象信息,并更新该表项中的下发时间;If yes, if the delivery time in the entry where the object identifier is located is earlier than the second time of the object information, determine the object information in the object information table as the fifth object information, and update the table The release time in the item;

如果否,将所述对象信息表中的该对象信息确定为所述第六对象信息,并在下发信息表中创建该对象信息的相关表项。If not, the object information in the object information table is determined as the sixth object information, and a related entry of the object information is created in the distribution information table.

根据本发明的一个实施例,According to an embodiment of the present invention,

所述第一门禁设备为用于人脸识别的门禁设备,所述第一对象数据指示人脸特征;或者,The first access control device is an access control device used for face recognition, and the first object data indicates facial features; or,

所述第一门禁设备为用于指纹识别的门禁设备,所述第一对象数据指示指纹特征;或者,The first access control device is an access control device used for fingerprint identification, and the first object data indicates fingerprint characteristics; or,

所述第一门禁设备为用于语音识别的门禁设备,所述第一对象数据指示语音特征。The first access control device is an access control device for voice recognition, and the first object data indicates a voice feature.

本发明第五方面提供一种网关设备,所述网关设备连接至指定门禁控制系统中的门禁管理平台,所述指定门禁控制系统还包括门禁控制器;A fifth aspect of the present invention provides a gateway device, the gateway device is connected to an access control management platform in a designated access control system, and the designated access control system further includes an access controller;

所述网关设备包括处理器及存储器;所述存储器存储有可被处理器调用的程序;其中,所述处理器执行所述程序时,实现如前述实施例所述的门禁设备接入方法。The gateway device includes a processor and a memory; the memory stores a program that can be called by the processor; wherein, when the processor executes the program, the access control device access method described in the foregoing embodiments is implemented.

本发明第六方面提供一种机器可读存储介质,其上存储有程序,该程序被处理器执行时,实现如前述实施例所述的门禁设备接入方法。A sixth aspect of the present invention provides a machine-readable storage medium on which a program is stored, and when the program is executed by a processor, implements the access control device access method described in the foregoing embodiments.

相比于现有技术,本发明实施例至少具有以下有益效果:Compared with the prior art, the embodiments of the present invention at least have the following beneficial effects:

本发明实施例中,在基于卡号识别的门禁控制系统的基础上,将网关设备连接到门禁控制系统的门禁管理平台,第一门禁设备连接到门禁控制系统的门禁控制器,第一门禁设备可通过网关设备获取门禁管理平台的对象信息,减少对门禁管理平台的软硬件升级;进行门禁控制时,第一门禁设备可对采集的第一对象数据进行识别,并在确定出本地记录的对象数据中与识别出的第一对象数据匹配的目标对象数据后,将目标对象数据所对应的卡号信息发送至门禁控制器,门禁控制器可仍旧依据卡号信息控制门禁,减小门禁控制器的软硬件升级成本,同时使得门禁控制系统兼容了第一门禁设备的非卡号识别技术与第二门禁设备的卡号识别技术,即本发明实施例的门禁控制系统可以以更小改进成本支持不同的识别技术。In the embodiment of the present invention, on the basis of the access control system based on card number identification, the gateway device is connected to the access control management platform of the access control system, the first access control device is connected to the access control controller of the access control system, and the first access control device can Obtain the object information of the access control management platform through the gateway device, reducing the software and hardware upgrade of the access control management platform; when performing access control, the first access control device can identify the collected first object data, and determine the locally recorded object data After the target object data matches the identified first object data, the card number information corresponding to the target object data is sent to the access control controller, and the access control controller can still control the access control according to the card number information, reducing the hardware and software of the access control controller. At the same time, the access control system is compatible with the non-card number recognition technology of the first access control device and the card number recognition technology of the second access control device, that is, the access control system of the embodiment of the present invention can support different recognition technologies with a smaller improvement cost.

附图说明Description of drawings

图1为现有的门禁控制系统的结构框图;Fig. 1 is the structural block diagram of the existing access control system;

图2为本发明一实施例的门禁控制系统的结构框图;2 is a structural block diagram of an access control system according to an embodiment of the present invention;

图3为本发明另一实施例的门禁控制系统的结构框图;3 is a structural block diagram of an access control system according to another embodiment of the present invention;

图4为本发明又一实施例的门禁控制系统的结构框图;4 is a structural block diagram of an access control system according to another embodiment of the present invention;

图5为本发明一实施例的门禁设备接入方法的流程示意图;5 is a schematic flowchart of a method for accessing an access control device according to an embodiment of the present invention;

图6为本发明一实施例的门禁设备接入装置的结构框图;6 is a structural block diagram of an access control device access device according to an embodiment of the present invention;

图7为本发明一实施例的网关设备的结构框图。FIG. 7 is a structural block diagram of a gateway device according to an embodiment of the present invention.

具体实施方式Detailed ways

这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本发明相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本发明的一些方面相一致的装置和方法的例子。Exemplary embodiments will be described in detail herein, examples of which are illustrated in the accompanying drawings. Where the following description refers to the drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the illustrative examples below are not intended to represent all implementations consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with some aspects of the invention as recited in the appended claims.

在本发明使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本发明。在本发明和所附权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。还应当理解,本文中使用的术语“和/或”是指并包含一个或多个相关联的列出项目的任何或所有可能组合。The terminology used in the present invention is for the purpose of describing particular embodiments only and is not intended to limit the present invention. As used in this specification and the appended claims, the singular forms "a," "the," and "the" are intended to include the plural forms as well, unless the context clearly dictates otherwise. It will also be understood that the term "and/or" as used herein refers to and includes any and all possible combinations of one or more of the associated listed items.

为了使得本发明实施例的描述更清楚简洁,下面对其中的一些技术术语进行一下解释。In order to make the description of the embodiments of the present invention clearer and concise, some technical terms are explained below.

网关:一种充当转换重任的计算机系统或设备,使用在不同的通信协议、数据格式或语言,甚至体系结构完全不同的两种系统之间。Gateway: A computer system or device that acts as a switch between two systems with different communication protocols, data formats or languages, or even completely different architectures.

下面对本发明实施例的门禁控制系统进行展开描述,但不应以此为限。The following describes the access control system according to the embodiment of the present invention, but it should not be limited thereto.

本发明提供一种门禁控制系统,在一个实施例中,参看图2,门禁控制系统10包括:门禁管理平台13,与门禁管理平台13连接的网关设备11、门禁控制器14,以及至少一个第一门禁设备12、至少一个第二门禁设备15。图中仅示出一个第一门禁设备12和一个第二门禁设备15,可以理解,当然还可以为更多个第一门禁设备12和第二门禁设备15。门禁控制系统10还可以包括其他设备,比如门禁控制所针对的门16等。The present invention provides an access control system. In one embodiment, referring to FIG. 2 , theaccess control system 10 includes: an accesscontrol management platform 13 , agateway device 11 connected to the accesscontrol management platform 13 , anaccess control controller 14 , and at least one first Anaccess control device 12 and at least one secondaccess control device 15 . Only one firstaccess control device 12 and one secondaccess control device 15 are shown in the figure, and it can be understood that, of course, there may be more firstaccess control devices 12 and secondaccess control devices 15 . Theaccess control system 10 may also include other devices, such as thedoor 16 to which the access control is directed, and the like.

其中,门禁管理平台13、门禁控制器14、以及第二门禁设备15可以是已有门禁控制系统中的设备。第二门禁设备15为可实现卡号识别的设备,连接门禁控制器14,用于采集并识别卡号信息,并将识别出的卡号信息发送至门禁控制器14。门禁控制器14可接收来自第二门禁设备15发送的卡号信息,并依据卡号信息进行门禁控制。The accesscontrol management platform 13, theaccess control controller 14, and the secondaccess control device 15 may be devices in an existing access control system. The secondaccess control device 15 is a device that can realize card number identification, and is connected to theaccess control controller 14 for collecting and identifying card number information, and sending the identified card number information to theaccess control controller 14 . Theaccess control controller 14 can receive the card number information sent from the secondaccess control device 15, and perform access control according to the card number information.

本发明实施例中,网关设备11连接至门禁管理平台13,第一门禁设备12接入到网关设备11中,即第一门禁设备12通过网关设备11连接门禁管理平台13,且第一门禁设备12连接门禁控制器14。换言之,网关设备11与第一门禁设备12可连接至已有门禁控制系统中,并通过与已有门禁控制系统中的设备相互协作,实现该门禁控制系统支持其他特征识别技术。比如,网关设备11可以连接到如图1所示的门禁控制系统100’中的门禁管理平台101’,进而实现第一门禁设备接入至门禁控制系统100’中。In the embodiment of the present invention, thegateway device 11 is connected to the accesscontrol management platform 13, and the firstaccess control device 12 is connected to thegateway device 11, that is, the firstaccess control device 12 is connected to the accesscontrol management platform 13 through thegateway device 11, and the firstaccess control device 12 is connected to the accesscontrol management platform 13 through thegateway device 11. 12 is connected to theaccess controller 14. In other words, thegateway device 11 and the firstaccess control device 12 can be connected to an existing access control system, and by cooperating with the devices in the existing access control system, the access control system can support other feature identification technologies. For example, thegateway device 11 can be connected to the access control management platform 101' in the access control system 100' shown in FIG.

网关设备11可以是支持与门禁管理平台13通信的计算机设备,比如支持门禁管理平台13的通信协议的设备。网关设备11可以基于门禁管理平台13提供的协议或者SDK开发包,建立与门禁管理平台13的连接,具体建立连接的方式不限。建立网关设备11与门禁管理平台13之间的连接之后,网关设备11可从门禁管理平台13下载数据比如对象信息。Thegateway device 11 may be a computer device that supports communication with the accesscontrol management platform 13 , such as a device that supports the communication protocol of the accesscontrol management platform 13 . Thegateway device 11 may establish a connection with the accesscontrol management platform 13 based on the protocol or SDK development kit provided by the accesscontrol management platform 13 , and the specific manner of establishing the connection is not limited. After the connection between thegateway device 11 and the accesscontrol management platform 13 is established, thegateway device 11 may download data such as object information from the accesscontrol management platform 13 .

具体的,门禁管理平台13一般会具有用于与三方平台通信的协议,该网关设备11即可作为三方平台通过协议与门禁管理平台13通信。在网关设备11上可配置门禁管理平台13的IP地址、端口、用户名、密码、认证信息等,配置完成后,网关设备11便可依据已配置的信息连接门禁管理平台13。Specifically, the accesscontrol management platform 13 generally has a protocol for communicating with the third-party platform, and thegateway device 11 can be used as the third-party platform to communicate with the accesscontrol management platform 13 through the protocol. The IP address, port, user name, password, authentication information, etc. of the accesscontrol management platform 13 can be configured on thegateway device 11. After the configuration is completed, thegateway device 11 can connect to the accesscontrol management platform 13 according to the configured information.

门禁管理平台13中记录有用于门禁控制的对象信息,对象信息至少包括:指示指定对象特征的对象数据、及对应的卡号信息。对象数据比如可以是包含人脸、指纹等的图像数据,或者可以是包含人声的音频数据等。卡号信息可以包括卡号,还可以包括卡号的有效时间等。当然,对象信息还可以包括其他的信息,比如包括对象的姓名等属性信息。本实施例中,对象数据可以是预先采集后存储在门禁管理平台13中的。门禁管理平台13可以由一个服务器构成,也可由多个服务器构成。Object information used for access control is recorded in the accesscontrol management platform 13 , and the object information at least includes: object data indicating the characteristics of the specified object, and corresponding card number information. The object data may be, for example, image data including human faces, fingerprints, etc., or audio data including human voices, or the like. The card number information may include the card number, and may also include the valid time of the card number, and the like. Of course, the object information may also include other information, such as including attribute information such as the name of the object. In this embodiment, the object data may be pre-collected and stored in the accesscontrol management platform 13 . The accesscontrol management platform 13 may be constituted by one server, or may be constituted by multiple servers.

网关设备11用于从所述门禁管理平台13中获取对象信息,并将所述对象信息下发至已接入网关设备11的第一门禁设备12中。网关设备11可获取需接入的第一门禁设备的接入信息,依据所述接入信息将对应第一门禁设备12接入至网关设备11,接入之后,可将从所述门禁管理平台13中获取的对象信息下发至已接入的第一门禁设备12中。Thegateway device 11 is configured to acquire object information from the accesscontrol management platform 13 and deliver the object information to the firstaccess control device 12 that has been connected to thegateway device 11 . Thegateway device 11 can obtain the access information of the first access control device to be accessed, and access the corresponding firstaccess control device 12 to thegateway device 11 according to the access information. The object information obtained in 13 is delivered to the firstaccess control device 12 that has been connected.

该接入信息可以包括需接入的第一门禁设备12的IP地址、端口、用户名、密码等,只要能够实现第一门禁设备12的接入即可。各第一门禁设备12具有对应的接入信息,可根据接入信息来实现对应第一门禁设备12的接入。该接入信息可以是用户输入的,或者从其他设备上获取,具体来源不限。The access information may include the IP address, port, user name, password, etc. of the firstaccess control device 12 to be accessed, as long as the access of the firstaccess control device 12 can be achieved. Each firstaccess control device 12 has corresponding access information, and the access corresponding to the firstaccess control device 12 can be implemented according to the access information. The access information may be input by the user or obtained from other devices, and the specific source is not limited.

将第一门禁设备12接入至网关设备11后,通过网关设备11便可实现第一门禁设备12和门禁管理平台13的通信。比如,网关设备11可将门禁管理平台13上的对象信息下载之后传输给第一门禁设备12,还可将第一门禁设备12采集的数据上传给门禁管理平台13。网关设备11可将从门禁管理平台13获取的对象信息可以存储在网关设备11中,比如存储在网关设备11的数据库中。After the firstaccess control device 12 is connected to thegateway device 11 , the communication between the firstaccess control device 12 and the accesscontrol management platform 13 can be realized through thegateway device 11 . For example, thegateway device 11 can download the object information on the accesscontrol management platform 13 and transmit it to the firstaccess control device 12 , and can also upload the data collected by the firstaccess control device 12 to the accesscontrol management platform 13 . The object information that thegateway device 11 may acquire from the accesscontrol management platform 13 may be stored in thegateway device 11 , such as in a database of thegateway device 11 .

第一门禁设备12用于记录来自网关设备11下发的对象信息,采集并识别第一对象数据,将第一门禁设备12记录的对象数据中与识别出的所述第一对象数据匹配的目标对象数据所对应的卡号信息发送至门禁控制器14。The firstaccess control device 12 is used to record the object information issued by thegateway device 11, collect and identify the first object data, and match the object data recorded by the firstaccess control device 12 with the identified first object data. The card number information corresponding to the object data is sent to theaccess control controller 14 .

第一对象数据中也会指示相应的对象特征,识别第一对象数据具体是识别第一对象数据所指示的对象特征,比如,对象特征为人脸特征、指纹特征、语音特征等。Corresponding object features are also indicated in the first object data, and identifying the first object data is specifically identifying the object features indicated by the first object data, for example, the object features are face features, fingerprint features, voice features, and the like.

第一门禁设备12在识别出第一对象数据之后,还可以进一步用于:判断第一门禁设备12记录的对象数据中是否存在与识别出的所述第一对象数据匹配的目标对象数据。将第一门禁设备12记录的对象数据中与识别出的所述第一对象数据匹配的目标对象数据所对应的卡号信息发送至门禁控制器14进一步为:当第一门禁设备12记录的对象数据中存在与识别出的所述第一对象数据匹配的目标对象数据时,将第一门禁设备12记录的对象信息中与目标对象数据对应的卡号信息发送给门禁控制器14。After recognizing the first object data, the firstaccess control device 12 may be further used for: judging whether the object data recorded by the firstaccess control device 12 has target object data matching the recognized first object data. Sending the card number information corresponding to the target object data that matches the identified first object data in the object data recorded by the firstaccess control device 12 to theaccess control controller 14 is further: when the object data recorded by the firstaccess control device 12 When there is target object data matching the identified first object data, the card number information corresponding to the target object data in the object information recorded by the firstaccess control device 12 is sent to theaccess control controller 14 .

对象数据比如可以为人脸图像,第一门禁设备12可以预先从收到的对象数据中提取特征,将特征作为模板。第一对象数据同样为人脸图像,相应的,第一门禁设备12为用于人脸识别的门禁设备。当第一门禁设备12采集到第一对象数据时,可从采集的第一对象数据中识别并提取出人脸特征,判断第一门禁设备12记录的对象数据中是否存在与识别出的所述第一对象数据匹配的目标对象数据时,可将提取的人脸特征与模板进行匹配,当匹配到模板A时,确定第一门禁设备12记录的对象数据中存在与识别出的所述第一对象数据匹配的目标对象数据,即该模板A对应的对象数据即为目标对象数据。The object data may be, for example, a face image, and the firstaccess control device 12 may extract features from the received object data in advance, and use the features as a template. The first object data is also a face image, correspondingly, the firstaccess control device 12 is an access control device used for face recognition. When the firstaccess control device 12 collects the first object data, the facial features can be identified and extracted from the collected first object data, and it can be determined whether the object data recorded by the firstaccess control device 12 exists and the identified When the first object data matches the target object data, the extracted facial features can be matched with the template, and when the template A is matched, it is determined that the object data recorded by the firstaccess control device 12 exists and the identified first object data exists. The target object data matched by the object data, that is, the object data corresponding to the template A, is the target object data.

门禁控制器14用于接收来自第一门禁设备12与第二门禁设备15中的任一个发送的卡号信息,并依据接收的卡号信息控制门禁。Theaccess control controller 14 is configured to receive the card number information sent from any one of the firstaccess control device 12 and the secondaccess control device 15, and control the access control according to the received card number information.

门禁控制器14依据接收的卡号信息控制门禁,具体可以包括:依据本地记录的权限信息校验收到的卡号信息是否具有解除门禁的权限,如果是,解除门禁控制器14控制的门禁,门16即可被打开;如果否,继续维持门禁。门禁控制器14中可以记录有权限信息,该权限信息可以是门禁管理平台13下发给门禁控制器14的。权限信息可指示哪些卡号信息是具备解除门禁的权限的,具体所包含的信息不限。Theaccess control controller 14 controls the access control according to the received card number information, which may specifically include: checking whether the received card number information has the authority to release the access control according to the locally recorded authority information, if so, release the access control controlled by theaccess control controller 14, and thedoor 16 is the Can be opened; if not, continue to maintain access control. Permission information may be recorded in theaccess control controller 14 , and the permission information may be issued by the accesscontrol management platform 13 to theaccess control controller 14 . The authority information can indicate which card number information has the authority to release the access control, and the specific information contained is not limited.

比如,权限信息可以包括具有解除门禁权限的指定卡号,相应的,卡号信息包括卡号。依据本地记录的权限信息校验收到的卡号信息是否具有解除门禁的权限时,可判断权限信息的指定卡号中是否存在该卡号信息的卡号,若存在,则确定卡号信息具有解除门禁的权限;否则不具有权限。For example, the authority information may include a designated card number that has the authority to release the access control, and correspondingly, the card number information includes the card number. When verifying whether the received card number information has the authority to release the access control according to the authority information recorded locally, it can be judged whether the card number of the card number information exists in the designated card number of the authority information, and if so, it is determined that the card number information has the authority to release the access control; otherwise Does not have permission.

又如,权限信息包括指定卡号及对应的权限时间范围等,相应的,卡号信息包括卡号,依据本地记录的权限信息校验收到的卡号信息是否具有解除门禁的权限时,可判断权限信息的指定卡号中是否存在该卡号信息的卡号,若存在,判断当前时间是否处于该卡号对应的权限时间范围,若是,则确定卡号信息具有解除门禁的权限;否则不具有权限。For another example, the authority information includes the designated card number and the corresponding authority time range, etc. Correspondingly, the card number information includes the card number. When checking whether the received card number information has the authority to release the access control according to the authority information recorded locally, it can be judged that the specified authority information is designated. Whether the card number of the card number information exists in the card number, if so, determine whether the current time is within the permission time range corresponding to the card number, if so, determine that the card number information has the permission to release the access control; otherwise, it has no permission.

当然,门禁控制器14依据接收的卡号信息控制门禁也不限于上述方式。Of course, theaccess control controller 14 controlling the access control according to the received card number information is not limited to the above-mentioned manner.

本发明实施例中,在基于卡号识别的门禁控制系统的基础上,将网关设备连接到门禁控制系统的门禁管理平台,第一门禁设备连接到门禁控制系统的门禁控制器,第一门禁设备可通过网关设备获取门禁管理平台的对象信息,减少对门禁管理平台的软硬件升级;进行门禁控制时,第一门禁设备可对采集的第一对象数据进行识别,并在确定出本地记录的对象数据中与识别出的第一对象数据匹配的目标对象数据后,将目标对象数据所对应的卡号信息发送至门禁控制器,门禁控制器可仍旧依据卡号信息控制门禁,减小门禁控制器的软硬件升级成本,同时使得门禁控制系统兼容了第一门禁设备的非卡号识别技术与第二门禁设备的卡号识别技术,即本发明实施例的门禁控制系统可以以更小改进成本支持不同的识别技术。In the embodiment of the present invention, on the basis of the access control system based on card number identification, the gateway device is connected to the access control management platform of the access control system, the first access control device is connected to the access control controller of the access control system, and the first access control device can Obtain the object information of the access control management platform through the gateway device, reducing the software and hardware upgrade of the access control management platform; when performing access control, the first access control device can identify the collected first object data, and determine the locally recorded object data After the target object data matches the identified first object data, the card number information corresponding to the target object data is sent to the access control controller, and the access control controller can still control the access control according to the card number information, reducing the hardware and software of the access control controller. At the same time, the access control system is compatible with the non-card number recognition technology of the first access control device and the card number recognition technology of the second access control device, that is, the access control system of the embodiment of the present invention can support different recognition technologies with a smaller improvement cost.

在一个实施例中,In one embodiment,

所述第一门禁设备为用于人脸识别的门禁设备,所述第一对象数据指示人脸特征;或者,The first access control device is an access control device used for face recognition, and the first object data indicates facial features; or,

所述第一门禁设备为用于指纹识别的门禁设备,所述第一对象数据指示指纹特征;或者,The first access control device is an access control device used for fingerprint identification, and the first object data indicates fingerprint characteristics; or,

所述第一门禁设备为用于语音识别的门禁设备,所述第一对象数据指示语音特征。The first access control device is an access control device for voice recognition, and the first object data indicates a voice feature.

对象信息中的对象数据所指示的指定对象特征与第一对象数据指示的特征是对应的,比如第一对象数据指示人脸特征,则指定对象特征即为人脸特征,如此,本发明实施例即可将基于卡号识别的门禁控制系统改进成为基于卡号识别与人脸识别兼容的门禁控制系统,其他特征也是类似,当然也可改进成为基于多种识别技术兼容的门禁控制系统。可以理解,上述第一门禁设备仅是举例,当然还可以有支持其他识别技术的门禁设备,在此不再列举。The specified object feature indicated by the object data in the object information corresponds to the feature indicated by the first object data. For example, if the first object data indicates a face feature, the specified object feature is the face feature. In this way, the embodiment of the present invention is The access control system based on card number recognition can be improved into an access control system compatible with card number recognition and face recognition. It can be understood that the above-mentioned first access control device is only an example, of course, there may also be access control devices supporting other identification technologies, which will not be listed here.

在一个实施例中,继续参看图2,网关设备11还用于:In one embodiment, continuing to refer to FIG. 2, thegateway device 11 is also used to:

接收所述门禁管理平台13下发的用于指示对象信息已发生变动的事件,并将事件记录至网关设备11的数据库中;Receive the event issued by the accesscontrol management platform 13 for indicating that the object information has changed, and record the event in the database of thegateway device 11;

从数据库中获取所述事件,并识别所述事件;obtain the event from the database, and identify the event;

依据识别出的事件控制所述第一门禁设备12对该第一门禁设备12中记录的对象信息进行事件所指示的变动。According to the identified event, the firstaccess control device 12 is controlled to change the object information recorded in the firstaccess control device 12 as indicated by the event.

网关设备11先将接收的事件记录在数据库中,防止网关异常退出时导致事件的丢失,在需要时再从数据库中获取事件。当然,对于事件的处理也可以是实时的,即每收到一个事件,便及时识别该事件,不再经过数据库。Thegateway device 11 first records the received event in the database to prevent the event from being lost when the gateway exits abnormally, and then obtains the event from the database when needed. Of course, the processing of events can also be real-time, that is, every time an event is received, the event is identified in time without going through the database.

当然,本实施例适用于门禁管理平台13支持事件机制的情况,网关设备11具有订阅门禁管理平台的事件的功能。每当门禁管理平台13中发生对象信息的变动(如新增、修改、删除人员信息等)时,便会触发相应的事件,并将事件下发给网关设备11,实现对象信息的同步。Of course, this embodiment is applicable to the case where the accesscontrol management platform 13 supports the event mechanism, and thegateway device 11 has the function of subscribing to the events of the access control management platform. Whenever object information changes (such as adding, modifying, deleting personnel information, etc.) in the accesscontrol management platform 13, a corresponding event will be triggered, and the event will be sent to thegateway device 11 to synchronize the object information.

网关设备11可按照事件接收的先后顺序来从数据库中获取所述事件,从数据库中获取到事件后,可将已获取的事件从数据库中删除,保证数据库中记录的都是未处理的事件。可以理解,数据库中还可以记录其他信息,比如对象信息、权限信息等。Thegateway device 11 can acquire the events from the database according to the order in which the events are received, and after acquiring the events from the database, can delete the acquired events from the database to ensure that all unprocessed events are recorded in the database. It can be understood that other information, such as object information, permission information, etc., may also be recorded in the database.

事件可以有多种类型,比如,指示所述门禁管理平台13记录的对象信息中的第一对象信息已被删除的事件、指示所述门禁管理平台13记录的对象信息中添加了新的第二对象信息的事件、指示所述门禁管理平台13记录的对象信息中的第三对象信息已修改的事件等,可识别出事件所指示的内容。Events can be of various types, for example, an event indicating that the first object information in the object information recorded by the accesscontrol management platform 13 has been deleted, an event indicating that a new second object information has been added to the object information recorded by the accesscontrol management platform 13 . The event of the object information, the event indicating that the third object information in the object information recorded by the accesscontrol management platform 13 has been modified, etc., can identify the content indicated by the event.

可以理解,网关设备11还可依据识别出的事件对该网关设备11中记录的对象信息相应变动,以实现网关设备11与门禁管理平台13的对象信息的同步。It can be understood that thegateway device 11 can also correspondingly change the object information recorded in thegateway device 11 according to the identified event, so as to realize the synchronization of the object information of thegateway device 11 and the accesscontrol management platform 13 .

网关设备11依据识别出的事件控制第一门禁设备12对该第一门禁设备12中记录的对象信息相应变动,以实现第一门禁设备12与门禁管理平台13的对象信息的同步,保证门禁控制的准确性、安全性。Thegateway device 11 controls the firstaccess control device 12 to change the object information recorded in the firstaccess control device 12 according to the identified event, so as to realize the synchronization of the object information of the firstaccess control device 12 and the accesscontrol management platform 13, and ensure the access control control. accuracy and safety.

在一个实施例中,继续参看图2,网关设备11还用于:In one embodiment, continuing to refer to FIG. 2, thegateway device 11 is also used to:

接收所述门禁管理平台13下发的用于指示对象信息已发生变动的事件,并将事件记录至网关设备11的数据库中;Receive the event issued by the accesscontrol management platform 13 for indicating that the object information has changed, and record the event in the database of thegateway device 11;

从数据库中获取所述事件,并识别所述事件;obtain the event from the database, and identify the event;

依据识别出的事件更新网关设备11中设置的对象信息表,所述对象信息表记录了所述网关设备11已获取的对象信息,并依据更新后的对象信息表控制所述第一门禁设备12更新本地的对象信息。Update the object information table set in thegateway device 11 according to the identified event, the object information table records the object information that thegateway device 11 has acquired, and controls the firstaccess control device 12 according to the updated object information table Update local object information.

本实施例与前一实施例的不同之处在于,网关设备11中还设置有对象信息表,依据识别出的事件更新网关设备中设置的对象信息表,并依据更新后的对象信息表控制所述第一门禁设备12更新本地的对象信息。The difference between this embodiment and the previous embodiment is that thegateway device 11 is further provided with an object information table, the object information table set in the gateway device is updated according to the identified event, and the object information table is controlled according to the updated object information table. The firstaccess control device 12 updates local object information.

网关设备11从门禁管理平台13中获取的对象信息均记录在对象信息表中,该对象信息表可以建立在网关设备11的数据库中,可以在需要时对对象信息表进行添加、修改或删除等操作。The object information obtained by thegateway device 11 from the accesscontrol management platform 13 is recorded in the object information table, which can be established in the database of thegateway device 11, and the object information table can be added, modified or deleted when needed. operate.

网关设备11依据识别出的事件更新对象信息表,具体更新操作根据事件的指示相应执行,只要保证网关设备11与门禁管理平台13中对象信息的同步即可。Thegateway device 11 updates the object information table according to the identified event, and the specific update operation is performed correspondingly according to the indication of the event, as long as the synchronization of the object information in thegateway device 11 and the accesscontrol management platform 13 is ensured.

依据更新后的对象信息表控制所述第一门禁设备12更新本地的对象信息,实现第一门禁设备12与门禁管理平台13的对象信息的同步,保证门禁控制的准确性、安全性。According to the updated object information table, the firstaccess control device 12 is controlled to update the local object information, so as to realize the synchronization of the object information of the firstaccess control device 12 and the accesscontrol management platform 13, and ensure the accuracy and safety of the access control.

在一个实施例中,所述网关设备11依据识别出的事件控制所述第一门禁设备12对该第一门禁设备12中记录的对象信息进行事件所指示的变动时,具体用于:In one embodiment, when thegateway device 11 controls the firstaccess control device 12 to change the object information recorded in the firstaccess control device 12 as indicated by the event according to the identified event, it is specifically used for:

当所述事件指示所述门禁管理平台13记录的对象信息中的第一对象信息被删除时,控制所述第一门禁设备12删除该第一门禁设备12中记录的第一对象信息;When the event indicates that the first object information in the object information recorded by the accesscontrol management platform 13 is deleted, control the firstaccess control device 12 to delete the first object information recorded in the firstaccess control device 12;

当所述事件指示所述门禁管理平台13记录的对象信息中添加新的第二对象信息时,从所述门禁管理平台13中获取所述第二对象信息,并控制所述第一门禁设备12在该第一门禁设备12记录的对象信息中添加所述第二对象信息;When the event instructs the accesscontrol management platform 13 to add new second object information to the object information recorded by the accesscontrol management platform 13 , acquire the second object information from the accesscontrol management platform 13 and control the firstaccess control device 12 adding the second object information to the object information recorded by the firstaccess control device 12;

当所述事件指示所述门禁管理平台13记录的对象信息中的第三对象信息已修改时,从所述门禁管理平台13中获取所述第三对象信息,并控制所述第一门禁设备12将该第一门禁设备12中记录的第三对象信息修改为获取的第三对象信息。When the event indicates that the third object information in the object information recorded by the accesscontrol management platform 13 has been modified, acquire the third object information from the accesscontrol management platform 13 and control the firstaccess control device 12 The third object information recorded in the firstaccess control device 12 is modified to the acquired third object information.

通过上述依据事件指示的内容控制第一门禁设备12进行相应对象信息的更新,保证第一门禁设备12能够及时更新到正确对象信息的同时,避免进行大批量的对象信息的更新,减少了网络传输资源的损耗,也减少存储、处理资源的占用。By controlling the firstaccess control device 12 to update the corresponding object information according to the content of the event indication, it is ensured that the firstaccess control device 12 can be updated to the correct object information in time, and at the same time, the update of a large number of object information is avoided, and the network transmission is reduced. The consumption of resources also reduces the occupation of storage and processing resources.

在一个实施例中,所述网关设备11还用于:In one embodiment, thegateway device 11 is further used for:

每隔一段时间t从门禁管理平台13中获取最新的对象信息;Obtain the latest object information from the accesscontrol management platform 13 at regular intervals t;

将最新的对象信息下发至第一门禁设备12中。The latest object information is delivered to the firstaccess control device 12 .

本实施例适用于门禁管理平台13不支持事件机制的情况,当然也可适用于门禁管理平台13支持事件机制的情况,可定期更新对象信息。This embodiment is applicable to the case where the accesscontrol management platform 13 does not support the event mechanism, and of course it can also be applied to the case where the accesscontrol management platform 13 supports the event mechanism, and the object information can be updated regularly.

t可以根据实际对象信息变动的频率而定,比如可以是30分钟、一天、或一周等。网关设备11每隔30分钟从门禁管理平台13中获取最新的对象信息(所有对象),可保证第一门禁设备12、门禁管理平台13及网关设备11中的对象信息的同步。t may be determined according to the frequency of actual object information changes, for example, it may be 30 minutes, one day, or one week. Thegateway device 11 obtains the latest object information (all objects) from the accesscontrol management platform 13 every 30 minutes, which can ensure the synchronization of the object information in the firstaccess control device 12 , the accesscontrol management platform 13 and thegateway device 11 .

为了避免获取所有最新对象信息时占用大量带宽导致网络拥堵的问题,可以在带宽使用量较少时获取所有最新对象信息,比如,在每周六凌晨2:00获取所有最新对象信息。To avoid the problem of network congestion caused by consuming a lot of bandwidth when obtaining all the latest object information, you can obtain all the latest object information when the bandwidth usage is low, for example, obtain all the latest object information at 2:00 am every Saturday.

在一个实施例中,所述网关设备设置有对象信息表,所述对象信息表记录了所述网关设备从所述门禁管理平台中获取的对象信息;In one embodiment, the gateway device is provided with an object information table, and the object information table records the object information obtained by the gateway device from the access control management platform;

所述网关设备还用于:The gateway device is also used for:

每隔一段时间t从所述门禁管理平台中获取最新的对象信息;Obtain the latest object information from the access control management platform at intervals of time t;

依据获取的最新对象信息更新所述对象信息表,所述对象信息表记录了所述网关设备已获取的对象信息,并依据更新后的对象信息表控制所述第一门禁设备更新本地记录的对象信息。Update the object information table according to the acquired latest object information, the object information table records the object information that the gateway device has acquired, and controls the first access control device to update the locally recorded object according to the updated object information table information.

本实施例与前一实施例的不同之处在于,网关设备11中还设置有对象信息表,依据获取的最新对象信息更新所述对象信息表,并依据更新后的对象信息表控制所述第一门禁设备更新本地记录的对象信息。The difference between this embodiment and the previous embodiment is that thegateway device 11 is further provided with an object information table, the object information table is updated according to the acquired latest object information, and the first object information table is controlled according to the updated object information table. An access control device updates locally recorded object information.

网关设备从门禁管理平台中获取的对象信息均记录在对象信息表中,该对象信息表可以建立在网关设备的数据库中,可以在需要时对对象信息表进行添加、修改或删除等操作。The object information obtained by the gateway device from the access control management platform is recorded in the object information table. The object information table can be established in the database of the gateway device, and operations such as adding, modifying or deleting the object information table can be performed when necessary.

获取的最新对象信息可以是门禁设备平台当前保存的所有对象信息。由于门禁设备平台中会发生对象信息的变动,比如新增、修改、删除对象信息等,所以获取的所有最新对象信息可能与对象信息表中记录的对象信息不同,所以可以根据获取的最新对象信息更新所述对象信息表,具体更新操作根据事件的指示相应执行,只要保证网关设备11与门禁管理平台13中对象信息的同步即可。The acquired latest object information may be all object information currently saved by the access control device platform. Because object information changes in the access control equipment platform, such as adding, modifying, deleting object information, etc., all the latest object information obtained may be different from the object information recorded in the object information table, so the latest object information obtained can be To update the object information table, the specific update operation is performed according to the indication of the event, as long as the synchronization of the object information in thegateway device 11 and the accesscontrol management platform 13 is ensured.

依据更新后的对象信息表控制所述第一门禁设备更新本地的对象信息,实现第一门禁设备12与门禁管理平台13的对象信息的同步,保证门禁控制的准确性、安全性。According to the updated object information table, the first access control device is controlled to update the local object information, so as to realize the synchronization of the object information of the firstaccess control device 12 and the accesscontrol management platform 13, and ensure the accuracy and safety of the access control.

在一个实施例中,所述对象信息包括对象标识;In one embodiment, the object information includes an object identification;

所述网关设备从所述门禁管理平台中获取最新的对象信息时,还获取每一最新对象信息最后一次被更新到门禁管理平台中时的第一时间;When the gateway device obtains the latest object information from the access control management platform, it also obtains the first time when each latest object information is updated to the access control management platform for the last time;

所述网关设备依据获取的最新对象信息更新所述对象信息表时,具体用于:When the gateway device updates the object information table according to the acquired latest object information, it is specifically used for:

从对象信息表中找出获取的所有最新对象信息中不存在的对象标识,将找出的对象标识所在的对象信息从对象信息表中删除;Find out the object identifier that does not exist in all the latest object information obtained from the object information table, and delete the object information where the found object identifier is located from the object information table;

从获取的所有最新对象信息中找出第一时间晚于上一次获取对象信息时间的最新对象信息,并检查对象信息表中是否存在找出的最新对象信息中的对象标识;Find out the latest object information whose first time is later than the time when the object information was acquired last time from all the latest object information obtained, and check whether there is an object identifier in the found latest object information in the object information table;

若不存在,则将找出的最新对象信息添加至所述对象信息表中;If it does not exist, adding the found latest object information to the object information table;

若存在,则将所述对象信息表中包含该对象标识的对象信息修改为找出的最新对象信息。If it exists, modify the object information containing the object identifier in the object information table to the latest found object information.

对象信息中的对象标识可以是卡号、或姓名等信息,具体不做限制,也可以是其他信息,只要能够用于标识该对象信息即可。The object identifier in the object information may be information such as a card number or a name, which is not specifically limited, and may also be other information, as long as it can be used to identify the object information.

如果某个对象信息中的对象标识存在于对象信息表中,而不存在于获取的所有最新对象信息中,那么说明门禁管理平台中已经将该对象信息删除了,因而需要从对象信息表中找出这些对象信息,并进行删除,保证门禁管理平台在删除对象信息时,网关设备可以同步删除相应对象信息。将找出的对象信息从对象信息表中删除时,可以将对象信息所在的表项一并删除。If the object identifier in a certain object information exists in the object information table, but does not exist in all the latest object information obtained, it means that the object information has been deleted in the access control management platform, so it is necessary to find the object information from the object information table. These object information are output and deleted, so as to ensure that when the access control management platform deletes the object information, the gateway device can delete the corresponding object information synchronously. When the found object information is deleted from the object information table, the table entry where the object information is located can be deleted together.

网关设备还获取了每一最新对象信息最后一次被更新到门禁管理平台中时的第一时间,如果本次获取的某个最新对象信息的第一时间比上一次获取对象信息时间晚,说明该最新对象信息是在上一次获取对象信息之后在门禁管理平台中添加或修改过的,找出这些最新对象信息后,需要进一步确定是新添加的对象信息,还是修改过的对象信息。The gateway device also obtains the first time when each latest object information is updated to the access control management platform for the last time. The latest object information is added or modified in the access control management platform after the last acquisition of the object information. After finding out the latest object information, it is necessary to further determine whether it is the newly added object information or the modified object information.

此处被更新到门禁管理平台中包括在门禁管理平台中修改、添加,即,如果最新对象信息上一次被修改的时间为A1,那么该最新对象信息的第一时间为A1;如果最新对象信息添加到门禁管理平台的时间为B1,并且自添加之后未被修改过,那么该最新对象信息的第一时间为B1。The update to the access control management platform here includes modification and addition in the access control management platform, that is, if the latest object information was last modified at A1, then the first time of the latest object information is A1; if the latest object information The time added to the access control management platform is B1, and it has not been modified since the addition, then the first time of the latest object information is B1.

如果对象信息表中已经存在找出的最新对象信息中的对象标识,说明该最新对象信息是新添加的对象信息,所以将找出的最新对象信息添加至所述对象信息表中。If the object identifier in the found latest object information already exists in the object information table, it means that the latest object information is newly added object information, so the found latest object information is added to the object information table.

如果对象信息表中不存在找出的最新对象信息中的对象标识,说明该最新对象信息是修改过的对象信息,将所述对象信息表中包含该对象标识的对象信息修改为找出的最新对象信息。If the object identifier in the found latest object information does not exist in the object information table, it means that the latest object information is the modified object information, and the object information containing the object identifier in the object information table is modified to the latest found object information. object information.

如此,可以实现网关设备中的对象信息与门禁管理平台中的对象信息的同步删除、修改与添加。In this way, the synchronous deletion, modification and addition of the object information in the gateway device and the object information in the access control management platform can be realized.

在一个实施例中,所述网关设备依据更新后的对象信息表控制所述第一门禁设备更新本地记录的对象信息时,具体用于:In one embodiment, when the gateway device controls the first access control device to update the locally recorded object information according to the updated object information table, it is specifically used for:

每过一个时间周期t1确定出所述对象信息表在上一时间周期t1内被删除的第四对象信息、被修改的第五对象信息、及添加的第六对象信息;Determine the fourth object information deleted, the modified fifth object information, and the added sixth object information in the object information table in the last time period t1 every time period t1;

控制所述第一门禁设备将已记录的第四对象信息删除,将所述第五对象信息下发至所述第一门禁设备进行相应修改,并将所述第六对象信息下发至所述第一门禁设备进行记录。Controlling the first access control device to delete the recorded fourth object information, sending the fifth object information to the first access control device for corresponding modification, and sending the sixth object information to the The first access control device is recorded.

t1可以根据需要设置,比如可以是30分钟,如此可以每过30分钟确定一次对象信息表在过去30分钟内发生的更新情况。即确定出对象信息表在上一时间周期t1内被删除的第四对象信息、被修改的第五对象信息、及添加的第六对象信息。t1 can be set as required, for example, it can be 30 minutes, so that the update situation of the object information table in the past 30 minutes can be determined every 30 minutes. That is, the deleted fourth object information, the modified fifth object information, and the added sixth object information in the object information table in the last time period t1 are determined.

第四对象信息是在上一时间周期t1内被删除了的对象信息,需要在第一门禁设备中同步删除该对象信息。第五对象信息的在上一时间周期t1内被修改了的对象信息,需要在第一门禁设备中同步修改该对象信息。第六对象信息是在上一时间周期t1内新添加的对象信息,需要在第一门禁设备中同步添加该对象信息。The fourth object information is the object information deleted in the last time period t1, and the object information needs to be deleted synchronously in the first access control device. The object information of the fifth object information that has been modified in the last time period t1 needs to be synchronously modified in the first access control device. The sixth object information is the object information newly added in the last time period t1, and the object information needs to be added synchronously in the first access control device.

针对不同的更新情况,执行不同的操作。如果确定出第四对象信息,即门禁管理平台在上一时间周期t1内删除了对象信息,需控制所述第一门禁设备将已记录的第四对象信息删除。如果确定出第五对象信息,即门禁管理平台在上一时间周期t1内修改了对象信息,需将所述第五对象信息下发至所述第一门禁设备进行相应修改。如果确定出第六对象信息,即门禁管理平台在上一时间周期t1内新添了对象信息,需将所述第六对象信息下发至所述第一门禁设备进行记录。Perform different operations for different update situations. If the fourth object information is determined, that is, the access control management platform deletes the object information within the last time period t1, the first access control device needs to be controlled to delete the recorded fourth object information. If the fifth object information is determined, that is, the access control management platform has modified the object information within the last time period t1, the fifth object information needs to be delivered to the first access control device for corresponding modification. If the sixth object information is determined, that is, the access control management platform has newly added object information in the last time period t1, the sixth object information needs to be delivered to the first access control device for recording.

如此,可以实现第一门禁设备中的对象信息与网关设备中的对象信息的同步删除、修改与添加。In this way, the synchronous deletion, modification and addition of the object information in the first access control device and the object information in the gateway device can be realized.

在一个实施例中,所述对象信息表中还记录有对象信息最后一次被更新到对象信息表中的第二时间;In one embodiment, the object information table further records a second time when the object information was updated to the object information table for the last time;

所述网关设备中设置有下发信息表,所述下发信息表中每一表项至少记录了已下发对象信息中的对象标识、及对象信息的下发时间;The gateway device is provided with a delivery information table, and each entry in the delivered information table records at least the object identifier in the delivered object information and the delivery time of the object information;

所述网关设备确定出所述对象信息表在上一时间周期t1内被删除的第四对象信息、被修改的第五对象信息、及添加的第六对象信息时,具体用于:When the gateway device determines the deleted fourth object information, the modified fifth object information, and the added sixth object information in the object information table in the last time period t1, it is specifically used for:

从下发信息表中找出所述对象信息表中不存在的对象标识,将包含找出的对象标识的对象信息确定为所述第四对象信息,从所述下发信息表中删除找出的对象标识所在的表项;Find out the object identifier that does not exist in the object information table from the issued information table, determine the object information including the found object identifier as the fourth object information, delete the found object information from the issued information table The table entry where the object ID of ;

针对所述对象信息表中的每一对象信息,检查下发信息表中是否存在该对象信息中的对象标识,For each object information in the object information table, check whether there is an object identifier in the object information in the issued information table,

如果是,若该对象标识所在表项中的下发时间早于该对象信息的第二时间,则将所述对象信息表中的该对象信息确定为所述第五对象信息,并更新该表项中的下发时间;If yes, if the delivery time in the entry where the object identifier is located is earlier than the second time of the object information, determine the object information in the object information table as the fifth object information, and update the table The release time in the item;

如果否,将所述对象信息表中的该对象信息确定为所述第六对象信息,并在下发信息表中创建该对象信息的相关表项。If not, the object information in the object information table is determined as the sixth object information, and a related entry of the object information is created in the distribution information table.

对象信息表中还记录有对象信息最后一次被更新到对象信息表中的第二时间,此处被更新到对象信息表中包括在对象信息表中修改、添加。The object information table also records the second time when the object information was updated to the object information table for the last time, where updating to the object information table includes modification and addition in the object information table.

网关设备中的下发信息表可以记录对象信息下发情况。下发信息表的每一表项除了记录已下发对象信息中的对象标识、及对象信息的下发时间之外,还可以记录键值、下发状态等信息,具体不作限定。对象信息中的对象标识可以是卡号、或姓名等信息,具体不做限制,也可以是其他信息,只要能够用于标识该对象信息即可。The delivery information table in the gateway device can record the delivery status of object information. In addition to recording the object identifier in the delivered object information and the delivery time of the object information, each entry in the delivery information table can also record information such as key value and delivery status, which is not specifically limited. The object identifier in the object information may be information such as a card number or a name, which is not specifically limited, and may also be other information, as long as it can be used to identify the object information.

如果一个对象标识存在于下发信息表而不存在于对象信息表,即从下发信息表中找出所述对象信息表中不存在的对象标识,说明包含该对象标识的对象信息是在下发给第一门禁设备之后被删除的,即,包含该对象标识的对象信息在上一时间周期t1内从对象信息表中删除了,而且该对象信息在此之前已经下发到了第一门禁设备,因此,需要在第一门禁设备中同步删除该对象信息,包含找出的对象标识的对象信息确定为所述第四对象信息,当然也要同步更新下发信息表,即删除找出的对象标识所在的表项。If an object identifier exists in the distribution information table but not in the object information table, that is, find the object identifier that does not exist in the object information table from the distribution information table, indicating that the object information containing the object identifier is in the distribution information table. It is deleted after being given to the first access control device, that is, the object information containing the object identifier is deleted from the object information table in the last time period t1, and the object information has been distributed to the first access control device before that, Therefore, the object information needs to be deleted synchronously in the first access control device, the object information containing the found object identifier is determined as the fourth object information, and of course, the information table must be updated synchronously, that is, delete the found object identifier. the table entry.

网关设备控制所述第一门禁设备将已记录的第四对象信息删除,可实现第一门禁设备与网关设备删除对象信息的同步。当然,从下发信息表中未找出所述对象信息表中不存在的对象标识,那么说明,在上一时间周期t1内没有被删除的对象信息,没有第四对象信息。The gateway device controls the first access control device to delete the recorded fourth object information, which can realize synchronization of the deleted object information between the first access control device and the gateway device. Of course, if no object identifiers that do not exist in the object information table are found from the issued information table, it means that there is no object information deleted and no fourth object information in the last time period t1.

针对所述对象信息表中的每一对象信息,检查下发信息表中是否存在该对象信息中的对象标识。可以通过遍历下发信息表中的对象标识的方式检查,具体方式不限。For each object information in the object information table, check whether the object identifier in the object information exists in the issued information table. It can be checked by traversing the object identifiers in the delivery information table, and the specific method is not limited.

如果下发信息表中存在该对象信息中的对象标识,若该对象标识所在表项中的下发时间早于该对象信息的第二时间,说明在对象信息下发给第一门禁设备之后被修改过,即对象信息在上一时间周期t1内在对象信息表中被修改过,而下发给第一门禁设备的是未被修改的对象信息,则将对象信息表中的对象信息确定为所述第五对象信息,并更新该表项中的下发时间(即将该表项中的下发时间修改为下发第五对象信息时的时间)。If there is an object identifier in the object information in the delivery information table, and if the delivery time in the entry where the object identifier is located is earlier than the second time of the object information, it means that after the object information is delivered to the first access control device, the Modified, that is, the object information has been modified in the object information table in the last time period t1, and the unmodified object information is issued to the first access control device, then the object information in the object information table is determined as the The fifth object information is described, and the delivery time in the entry is updated (that is, the delivery time in the entry is modified to the time when the fifth object information is delivered).

网关设备将第五对象信息下发至所述第一门禁设备进行相应修改,第一门禁设备将本地记录的包含收到的第五对象信息中的对象标识的对象信息修改为该第五对象信息,可实现第一门禁设备与网关设备修改对象信息的同步。The gateway device sends the fifth object information to the first access control device for corresponding modification, and the first access control device modifies the locally recorded object information including the object identifier in the received fifth object information to the fifth object information , which can realize the synchronization of the modification object information between the first access control device and the gateway device.

而如果下发信息表中不存在该对象信息中的对象标识,说明对象信息是在上一时间周期t1内添加至对象信息表中的,还未下发给第一门禁设备,所以将对象信息表中的对象信息确定为所述第六对象信息,并在下发信息表中创建该对象信息的相关表项(该表项中记录第六对象信息中的对象标识、及下发第六对象信息时的时间)。However, if the object identifier in the object information does not exist in the issued information table, it means that the object information was added to the object information table in the last time period t1 and has not been issued to the first access control device, so the object information is The object information in the table is determined as the sixth object information, and an entry related to the object information is created in the distribution information table (the object identifier in the sixth object information is recorded in this entry, and the sixth object information is distributed time).

网关设备将第六对象信息下发至所述第一门禁设备进行记录,可实现第一门禁设备与网关设备添加对象信息的同步。The gateway device sends the sixth object information to the first access control device for recording, which can realize the synchronization of the object information added by the first access control device and the gateway device.

基于上述内容,可以实现第一门禁设备与网关设备之间的对象信息的同步,保证门禁控制的安全性、准确性。Based on the above content, the synchronization of object information between the first access control device and the gateway device can be realized to ensure the security and accuracy of the access control.

网关设备中可以为每一第一门禁设备设置各自的下发信息表,或者也可以为所有第一门禁设备设置一个共享的下发信息表。以网关设备中为所有第一门禁设备设置一个共享的下发信息表为例,下发信息表中可以区分不同第一门禁设备,或者,下发信息表中也可以不区分第一门禁设备,下面举例来说两种情况。The gateway device may set its own delivery information table for each first access control device, or may also set a shared delivery information table for all the first access control devices. Taking the gateway device as an example of setting a shared delivery information table for all the first access control devices, different first access control devices can be distinguished in the delivered information table, or the first access control device can be not distinguished in the delivered information table. Two examples are given below.

第一种情况,下发信息表中区分不同第一门禁设备时,每个表项的中可以添加所有第一门禁设备的设备名称及相应的下发状态,如果对象信息未成功下发给某个第一门禁设备,则该对象信息的相关表项中该设备名称对应的下发状态为下发失败;如果对象信息成功下发给某个第一门禁设备,则该对象信息的相关表项中该设备名称对应的下发状态为下发成功。In the first case, when different first access control devices are distinguished in the delivery information table, the device names of all the first access control devices and the corresponding delivery status can be added to each entry. If the object information is not successfully delivered to a certain a first access control device, the delivery status corresponding to the device name in the relevant entry of the object information is delivery failure; if the object information is successfully delivered to a first access control device, the relevant entry of the object information The delivery status corresponding to the device name is Delivery Successful.

第二种情况,下发信息表中不区分第一门禁设备时,对象信息未成功下发给任一第一门禁设备,该对象信息的相关表项中的下发状态就为失败,如果对象信息成功下发给全部第一门禁设备,则该对象信息的相关表项中该设备名称对应的下发状态为下发成功。In the second case, when the first access control device is not distinguished in the distribution information table, the object information is not successfully distributed to any first access control device, and the distribution status in the relevant table entry of the object information is failed. If the information is successfully delivered to all the first access control devices, the delivery status corresponding to the device name in the relevant table entry of the object information is delivered successfully.

网关设备还可设置设备表,设备表中记录各个第一门禁设备的设备信息,比如包括设备名称、IP、端口、用户名、密码等。该设备信息中还可以记录每个第一门禁设备关于对象信息的下发状态,这里的下发状态可以有未下发、下发中、已下发、更新下发、下发失败等几种状态,可以显示在网关设备的界面上呈现给用户看。The gateway device can also set a device table, and the device table records the device information of each first access control device, such as device name, IP, port, user name, password, etc. The device information can also record the delivery status of the object information of each first access control device. The delivery status here can include: not delivered, delivered, delivered, updated delivery, delivery failed, etc. The status can be displayed on the interface of the gateway device and presented to the user.

在一个实施例中,在图2示出的门禁控制系统10的基础上,参看图3,该门禁控制系统10还进一步包括协议转换设备17,协议转换设备17连接于第一门禁设备12和门禁控制器14之间;In one embodiment, on the basis of theaccess control system 10 shown in FIG. 2, referring to FIG. 3, theaccess control system 10 further includes aprotocol conversion device 17, and theprotocol conversion device 17 is connected to the firstaccess control device 12 and theaccess control device 17. between thecontrollers 14;

第一门禁设备12基于第一通信协议将所述卡号信息发送至所述协议转换设备,协议转换设备17基于第二通信协议将接收的卡号信息发送至门禁控制器14;The firstaccess control device 12 sends the card number information to the protocol conversion device based on the first communication protocol, and theprotocol conversion device 17 sends the received card number information to theaccess control controller 14 based on the second communication protocol;

所述第一通信协议是第一门禁设备12与协议转换设备17之间通信所需的通信协议,所述第二通信协议是协议转换设备17与门禁控制器14之间通信所需的通信协议。The first communication protocol is a communication protocol required for communication between the firstaccess control device 12 and theprotocol conversion device 17, and the second communication protocol is a communication protocol required for communication between theprotocol conversion device 17 and theaccess control controller 14. .

通过协议转换设备17连接第一门禁设备12和门禁控制器14,可以解决第一门禁设备12和门禁控制器14之间接口不匹配的问题。Connecting the firstaccess control device 12 and theaccess control controller 14 through theprotocol conversion device 17 can solve the problem that the interfaces between the firstaccess control device 12 and theaccess control controller 14 do not match.

第一通信协议比如是RS485接口协议,第二通信协议比如是韦根协议,协议转换设备17可以是RS485接口协议转韦根协议的设备,从RS485接口接收来自第一门禁设备12发送的卡号信息后,对卡号信息进行协议解析处理,解析后的卡号信息再依据韦根协议进行封装,封装后通过韦根接口发送给门禁控制器14。The first communication protocol is, for example, the RS485 interface protocol, and the second communication protocol is, for example, the Wiegand protocol. Theprotocol conversion device 17 can be a device that converts the RS485 interface protocol to the Wiegand protocol, and receives the card number information sent from the firstaccess control device 12 from the RS485 interface. Then, the card number information is subjected to protocol analysis processing, the parsed card number information is then encapsulated according to the Wiegand protocol, and then sent to theaccess control controller 14 through the Wiegand interface after encapsulation.

本发明还提供一种门禁控制系统,在一个实施例中,参看图4,门禁控制系统10包括:门禁管理平台13,与门禁管理平台13连接的网关设备11、门禁控制器14,以及至少一个第一门禁设备12。图中仅示出一个第一门禁设备12,可以理解,当然还可以为更多个第一门禁设备12。门禁控制系统10还可以包括其他设备,比如门禁控制所针对的门16等。The present invention also provides an access control system. In one embodiment, referring to FIG. 4 , theaccess control system 10 includes: an accesscontrol management platform 13 , agateway device 11 connected to the accesscontrol management platform 13 , anaccess control controller 14 , and at least one The firstaccess control device 12 . Only one firstaccess control device 12 is shown in the figure, and it can be understood that, of course, there may be more firstaccess control devices 12 . Theaccess control system 10 may also include other devices, such as thedoor 16 to which the access control is directed, and the like.

本实施例的门禁控制系统与前述实施例中描述的门禁控制系统基本相同,区别在于,本实施例的门禁控制系统中可以没有第二门禁设备,对象标识可以为卡号信息也可以为其他信息。其他相同之处可参看前面实施例中的描述,在此不再赘述。The access control system of this embodiment is basically the same as the access control system described in the previous embodiments, except that the access control system of this embodiment may not have a second access control device, and the object identifier may be card number information or other information. For other similarities, reference may be made to the descriptions in the previous embodiments, which will not be repeated here.

下面对本发明实施例的门禁设备接入方法进行展开描述,但不应以此为限。The following describes the access control device access method according to the embodiment of the present invention, but it should not be limited thereto.

在一个实施例中,参看图5,示出了一种门禁设备接入方法,应用于网关设备,所述网关设备连接至指定门禁控制系统中的门禁管理平台,所述指定门禁控制系统还包括门禁控制器;In one embodiment, referring to FIG. 5 , a method for accessing an access control device is shown, which is applied to a gateway device, the gateway device is connected to an access control management platform in a designated access control system, and the designated access control system further includes Access Controller;

该方法包括以下步骤:The method includes the following steps:

S100:从所述门禁管理平台中获取对象信息,所述对象信息至少包括:指示指定对象特征的对象数据、及对应的对象标识;S100: Obtain object information from the access control management platform, where the object information at least includes: object data indicating the characteristics of the specified object, and a corresponding object identifier;

S200:获取需接入的至少一个第一门禁设备的接入信息;S200: Obtain access information of at least one first access control device to be accessed;

S300:依据所述接入信息将对应第一门禁设备接入至网关设备,并将从所述门禁管理平台中获取的对象信息下发至已接入的第一门禁设备中,以使所述第一门禁设备采集并识别第一对象数据,并将第一门禁设备记录的对象数据中与识别出的所述第一对象数据匹配的目标对象数据所对应的对象标识发送至所述门禁控制器进行门禁控制。S300: Access the corresponding first access control device to the gateway device according to the access information, and deliver the object information obtained from the access control management platform to the accessed first access control device, so that the The first access control device collects and recognizes the first object data, and sends the object identifier corresponding to the target object data that matches the identified first object data in the object data recorded by the first access control device to the access control controller Perform access control.

本发明实施例的门禁设备接入方法的执行主体为网关设备,网关设备可以是支持与门禁管理平台通信的计算机设备,比如支持门禁管理平台的通信协议的设备。网关设备通过执行上述步骤S100~S300,将第一门禁设备接入至网关设备,从而网关设备充当了第一门禁设备与指定门禁控制系统中门禁管理平台的通信桥梁,使得第一门禁设备可用在该指定门禁控制系统的门禁控制中。The execution subject of the access control device access method of the embodiment of the present invention is a gateway device, and the gateway device may be a computer device that supports communication with the access control management platform, such as a device that supports the communication protocol of the access control management platform. The gateway device connects the first access control device to the gateway device by performing the above steps S100 to S300, so that the gateway device acts as a communication bridge between the first access control device and the access control management platform in the designated access control system, so that the first access control device can be used in In the access control of the specified access control system.

可先建立网关设备与指定门禁控制系统中的门禁管理平台的连接,门禁管理平台记录有用于门禁控制的对象信息,并通过所述连接从所述门禁管理平台中获取对象信息。The connection between the gateway device and the access control management platform in the designated access control system can be established first. The access control management platform records the object information for access control, and obtains the object information from the access control management platform through the connection.

可以基于门禁管理平台提供的协议或者SDK开发包,建立网关设备与门禁管理平台的连接,具体建立连接的方式不限。建立网关设备与门禁管理平台的连接之后,网关设备可从门禁管理平台下载数据比如对象信息。网关设备可将从门禁管理平台获取的对象信息可以存储在网关设备中,比如存储在网关设备的数据库中。The connection between the gateway device and the access control management platform can be established based on the protocol or SDK development kit provided by the access control management platform, and the specific connection method is not limited. After the connection between the gateway device and the access control management platform is established, the gateway device can download data such as object information from the access control management platform. The gateway device may store the object information obtained from the access control management platform in the gateway device, for example, in a database of the gateway device.

具体的,门禁管理平台一般会具有用于与三方平台通信的协议,该网关设备即可作为三方平台通过协议与门禁管理平台通信。在网关设备上可配置门禁管理平台的IP地址、端口、用户名、密码、认证信息等,配置完成后,网关设备便可依据已配置的信息连接门禁管理平台。Specifically, the access control management platform generally has a protocol for communicating with the third-party platform, and the gateway device can be used as the third-party platform to communicate with the access control management platform through the protocol. The IP address, port, user name, password, authentication information, etc. of the access control management platform can be configured on the gateway device. After the configuration is completed, the gateway device can connect to the access control management platform according to the configured information.

指定门禁控制系统可以如图2中的门禁控制系统10,包括门禁管理平台13,连接该门禁管理平台13的门禁控制器14,第二门禁设备15以及门16;网关设备11可与门禁管理平台13建立连接,在建立连接后可从门禁管理平台13下载对象信息;可将第一门禁设备12接入该网关设备11,从而网关设备11可将已下载的对象信息发送给第一门禁设备12;该第一门禁设备12还连接门禁控制器14,与门禁控制器14配合完成对门16的门禁控制。当然,第一门禁设备12和第二门禁设备15是支持不同识别技术的门禁设备,比如,第二门禁设备15可以是门禁控制系统10中已有的基于卡号识别的门禁设备(可称为读卡器),而第一门禁设备12则是门禁控制系统10需接入的更先进的设备比如支持人脸识别的门禁设备。The designated access control system can be theaccess control system 10 in FIG. 2, including the accesscontrol management platform 13, theaccess control controller 14 connected to the accesscontrol management platform 13, the secondaccess control device 15 and thedoor 16; thegateway device 11 can be connected with the access control management platform. 13 Establish a connection, and after the connection is established, the object information can be downloaded from the accesscontrol management platform 13; the firstaccess control device 12 can be connected to thegateway device 11, so that thegateway device 11 can send the downloaded object information to the firstaccess control device 12 ; The firstaccess control device 12 is also connected to theaccess control controller 14, and cooperates with theaccess control controller 14 to complete the access control of thedoor 16. Of course, the firstaccess control device 12 and the secondaccess control device 15 are access control devices that support different identification technologies. For example, the secondaccess control device 15 may be an existing access control device based on card number recognition in the access control system 10 (which may be called a reader). card reader), and the firstaccess control device 12 is a more advanced device that theaccess control system 10 needs to access, such as an access control device that supports face recognition.

步骤S100中,从所述门禁管理平台中获取对象信息,所述对象信息至少包括:指示指定对象特征的对象数据、及对应的对象标识。In step S100, object information is acquired from the access control management platform, where the object information at least includes: object data indicating the characteristics of the specified object, and a corresponding object identifier.

门禁管理平台中记录有用于门禁控制的对象信息,对象信息至少包括:指示指定对象特征的对象数据、及对应的卡号信息。对象数据比如可以是包含人脸、指纹等的图像数据,或者可以是包含人声的音频数据等。卡号信息可以包括卡号,还可以包括卡号的有效时间等。当然,对象信息还可以包括其他的信息,比如包括对象的姓名等属性信息。本实施例中,对象数据可以是预先采集后存储在门禁管理平台中的。门禁管理平台可以由一个服务器构成,也可由多个服务器构成。Object information used for access control is recorded in the access control management platform, and the object information at least includes: object data indicating the characteristics of the specified object, and corresponding card number information. The object data may be, for example, image data including human faces, fingerprints, etc., or audio data including human voices, or the like. The card number information may include the card number, and may also include the valid time of the card number, and the like. Of course, the object information may also include other information, such as including attribute information such as the name of the object. In this embodiment, the object data may be pre-collected and stored in the access control management platform. The access control management platform can be composed of one server or multiple servers.

网管设备与门禁管理平台建立连接后,可通过连接从门禁管理平台中获取对象信息。After the network management device establishes a connection with the access control management platform, the object information can be obtained from the access control management platform through the connection.

步骤S200中,获取需接入的至少一个第一门禁设备的接入信息。In step S200, access information of at least one first access control device to be accessed is acquired.

该接入信息可以包括需接入的第一门禁设备的IP地址、端口、用户名、密码等,只要能够实现第一门禁设备的接入即可。不同的第一门禁设备具有对应的接入信息,可根据接入信息来实现对应的第一门禁设备的接入。该接入信息可以是外部输入的,或者从其他设备上获取,具体来源不限。The access information may include the IP address, port, user name, password, etc. of the first access control device to be accessed, as long as the first access control device can be accessed. Different first access control devices have corresponding access information, and access to the corresponding first access control devices can be implemented according to the access information. The access information may be externally input or obtained from other devices, and the specific source is not limited.

步骤S300中,依据所述接入信息将对应第一门禁设备接入至网关设备,并将从所述门禁管理平台中获取的对象信息下发至已接入的第一门禁设备中,以使所述第一门禁设备采集并识别第一对象数据,并将第一门禁设备记录的对象数据中与识别出的所述第一对象数据匹配的目标对象数据所对应的对象标识发送至所述门禁控制器进行门禁控制。In step S300, the corresponding first access control device is connected to the gateway device according to the access information, and the object information obtained from the access control management platform is issued to the first access control device that has been accessed, so that The first access control device collects and identifies the first object data, and sends the object identifier corresponding to the target object data that matches the identified first object data in the object data recorded by the first access control device to the access control device The controller performs access control.

将第一门禁设备接入至网关设备后,通过网关设备便可实现第一门禁设备和门禁管理平台的通信。比如,网关设备可将门禁管理平台上的对象信息下载之后传输给第一门禁设备,还可将第一门禁设备采集的数据上传给门禁管理平台。网关设备还可将从门禁管理平台获取的对象信息可以存储在网关设备中,比如存储在网关设备的数据库中。After the first access control device is connected to the gateway device, the communication between the first access control device and the access control management platform can be realized through the gateway device. For example, the gateway device can download the object information on the access control management platform and transmit it to the first access control device, and can also upload the data collected by the first access control device to the access control management platform. The gateway device can also store the object information obtained from the access control management platform in the gateway device, for example, in a database of the gateway device.

第一门禁设备收到网关设备发送的对象信息之后,便可依据对象信息来对识别的第一对象数据进行校验,在校验通过时即确定记录的对象信息中存在与第一对象数据匹配的目标对象数据时,便将目标对象数据对应的对象标识发送给门禁控制器。当然,第一门禁设备与门禁控制器相连。门禁控制器可依据对象标识进行门禁控制,对象标识比如为卡号信息,具体门禁控制的方式可参看前述实施例中的相关描述,在此不再赘述。After the first access control device receives the object information sent by the gateway device, it can verify the identified first object data according to the object information. When the verification is passed, it is determined that there is a match with the first object data in the recorded object information. When the target object data is obtained, the object identifier corresponding to the target object data is sent to the access control controller. Of course, the first access control device is connected to the access control controller. The access control controller can perform access control according to the object identifier, such as card number information. For the specific access control method, please refer to the relevant description in the foregoing embodiment, which will not be repeated here.

本发明实施例中,将网关设备连接到指定门禁控制系统的门禁管理平台,当需要将第一门禁设备接入到指定门禁控制系统时,可将第一门禁设备接入至网关设备中,第一门禁设备通过网关设备获取门禁管理平台的对象信息,减少对门禁管理平台的软硬件升级;第一门禁设备接入之后,可对采集的第一对象数据进行识别,并在确定出本地记录的对象数据中与识别出的第一对象数据匹配的目标对象数据后,将目标对象数据所对应的卡号信息发送至门禁控制器,门禁控制器可依据对象标识控制门禁,减小门禁控制器的软硬件升级成本。In the embodiment of the present invention, the gateway device is connected to the access control management platform of the designated access control system, and when the first access control device needs to be connected to the designated access control system, the first access control device can be connected to the gateway device, and the first access control device can be connected to the gateway device. An access control device obtains the object information of the access control management platform through the gateway device, reducing the software and hardware upgrade of the access control management platform; after the first access control device is connected, it can identify the collected first object data, and determine the locally recorded data. After the target object data in the object data matches the identified first object data, the card number information corresponding to the target object data is sent to the access control controller, and the access control controller can control the access control according to the object identification, reducing the soft Hardware upgrade costs.

在一个实施例中,上述方法流程可由门禁设备接入装置100执行,如图6所示,门禁设备接入装置100主要包含3个模块:对象信息获取模块101、接入信息获取模块102和门禁设备接入模块103。对象信息获取模块101用于执行上述步骤S100,接入信息获取模块102用于执行上述步骤S200,门禁设备接入模块103用于执行上述步骤S300。In one embodiment, the above method flow can be performed by an access controldevice access device 100. As shown in FIG. 6, the access controldevice access device 100 mainly includes three modules: an objectinformation acquisition module 101, an accessinformation acquisition module 102, and an access control deviceDevice access module 103 . The objectinformation acquisition module 101 is used to perform the above step S100, the accessinformation acquisition module 102 is used to perform the above step S200, and the access controldevice access module 103 is used to perform the above step S300.

在一个实施例中,步骤S300之后,该方法还进一步包括以下步骤:In one embodiment, after step S300, the method further includes the following steps:

S400:接收所述门禁管理平台下发的用于指示对象信息已发生变动的事件,并将事件记录至网关设备的数据库中;S400: Receive an event issued by the access control management platform for indicating that the object information has changed, and record the event in the database of the gateway device;

S500:从数据库中获取所述事件,并识别所述事件;S500: Acquire the event from a database, and identify the event;

S600:依据识别出的事件控制所述第一门禁设备对该第一门禁设备中记录的对象信息相应变动;或者,依据识别出的事件更新网关设备中设置的对象信息表,所述对象信息表记录了所述网关设备已获取的对象信息,并依据更新后的对象信息表控制所述第一门禁设备更新本地的对象信息。S600: Control the first access control device to correspondingly change the object information recorded in the first access control device according to the identified event; or, update the object information table set in the gateway device according to the identified event, the object information table The object information acquired by the gateway device is recorded, and the first access control device is controlled to update the local object information according to the updated object information table.

步骤S400中,先将接收的事件记录在数据库中,防止网关异常退出时导致事件的丢失,在需要时再从数据库中获取事件。当然,对于事件的处理也可以是实时的,即每收到一个事件,便及时识别该事件,不再经过数据库。In step S400, the received event is first recorded in the database to prevent the event from being lost when the gateway exits abnormally, and the event is obtained from the database when necessary. Of course, the processing of events can also be real-time, that is, every time an event is received, the event is identified in time without going through the database.

当然,本实施例适用于门禁管理平台支持事件机制的情况,网关设备具有订阅门禁管理平台的事件的功能。每当门禁管理平台中发生对象信息的变动(如新增、修改、删除人员信息等)时,便会触发相应的事件,并将事件下发给网关设备,实现对象信息的同步。Of course, this embodiment is applicable to the case where the access control management platform supports the event mechanism, and the gateway device has the function of subscribing to the events of the access control management platform. Whenever the object information changes (such as adding, modifying, deleting personnel information, etc.) in the access control management platform, the corresponding event will be triggered, and the event will be sent to the gateway device to synchronize the object information.

步骤S500中,可按照事件接收的先后顺序来从数据库中获取所述事件,从数据库中获取到事件后,可将已获取的事件从数据库中删除,保证数据库中记录的都是未处理的事件。可以理解,数据库中还可以记录其他信息,比如对象信息、权限信息等。In step S500, the events can be acquired from the database according to the order in which the events are received, and after the events are acquired from the database, the acquired events can be deleted from the database to ensure that all unprocessed events are recorded in the database. . It can be understood that other information, such as object information, permission information, etc., may also be recorded in the database.

事件可以有多种类型,比如,指示所述门禁管理平台记录的对象信息中的第一对象信息已被删除的事件、指示所述门禁管理平台记录的对象信息中添加了新的第二对象信息的事件、指示所述门禁管理平台记录的对象信息中的第三对象信息已修改的事件等,可识别出事件所指示的内容。Events can be of various types, for example, an event indicating that the first object information in the object information recorded by the access control management platform has been deleted, an event indicating that new second object information has been added to the object information recorded by the access control management platform The event indicated by the event, the event indicating that the third object information in the object information recorded by the access control management platform has been modified, etc., can identify the content indicated by the event.

可以理解,网关设备还可依据识别出的事件对该网关设备中记录的对象信息相应变动,以实现网关设备与门禁管理平台的对象信息的同步。It can be understood that the gateway device can also correspondingly change the object information recorded in the gateway device according to the identified event, so as to realize the synchronization of the object information of the gateway device and the access control management platform.

步骤S600中,依据识别出的事件控制所述第一门禁设备对该第一门禁设备中记录的对象信息相应变动,或者,依据识别出的事件更新网关设备中设置的对象信息表,所述对象信息表记录了所述网关设备已获取的对象信息,并依据更新后的对象信息表控制所述第一门禁设备更新本地的对象信息,以实现第一门禁设备与门禁管理平台的对象信息的同步,保证门禁控制的准确性、安全性。In step S600, control the first access control device according to the identified event to correspondingly change the object information recorded in the first access control device, or update the object information table set in the gateway device according to the identified event, the object The information table records the object information that the gateway device has acquired, and controls the first access control device to update the local object information according to the updated object information table, so as to realize the synchronization of the object information of the first access control device and the access control management platform , to ensure the accuracy and safety of access control.

在一个实施例中,步骤S600中,依据识别出的事件控制所述第一门禁设备对该第一门禁设备中记录的对象信息相应变动,可以包括:In one embodiment, in step S600, controlling the first access control device to correspondingly change the object information recorded in the first access control device according to the identified event, which may include:

当所述事件指示所述门禁管理平台记录的对象信息中的第一对象信息已被删除时,控制所述第一门禁设备删除该第一门禁设备中记录的第一对象信息;When the event indicates that the first object information in the object information recorded by the access control management platform has been deleted, control the first access control device to delete the first object information recorded in the first access control device;

当所述事件指示所述门禁管理平台记录的对象信息中添加了新的第二对象信息时,从所述门禁管理平台中获取所述第二对象信息,并控制所述第一门禁设备在该第一门禁设备记录的对象信息中添加所述第二对象信息;When the event indicates that new second object information is added to the object information recorded by the access control management platform, acquire the second object information from the access control management platform, and control the first access control device in the adding the second object information to the object information recorded by the first access control device;

当所述事件指示所述门禁管理平台记录的对象信息中的第三对象信息已修改时,从所述门禁管理平台中获取所述第三对象信息,并控制所述第一门禁设备将该第一门禁设备中记录的第三对象信息修改为获取的第三对象信息。When the event indicates that the third object information in the object information recorded by the access control management platform has been modified, acquire the third object information from the access control management platform, and control the first access control device to set the third object information The third object information recorded in an access control device is modified to the acquired third object information.

通过上述依据事件指示的内容控制第一门禁设备进行相应对象信息的更新,保证第一门禁设备能够及时更新到正确对象信息的同时,避免进行大批量的对象信息的更新,减少了网络传输资源的损耗,也减少存储、处理资源的占用。By controlling the first access control device to update the corresponding object information according to the content of the event indication, it is ensured that the first access control device can update the correct object information in time, and at the same time, the update of a large number of object information is avoided, and the network transmission resources are reduced. It also reduces the consumption of storage and processing resources.

在一个实施例中,步骤S300之后,该方法还进一步包括以下步骤:In one embodiment, after step S300, the method further includes the following steps:

S700:每隔一段时间t从所述门禁管理平台中获取最新的对象信息;S700: Acquire the latest object information from the access control management platform at regular intervals t;

S800:将最新的对象信息下发至所述第一门禁设备中;或者,依据获取的最新对象信息更新所述对象信息表,所述对象信息表记录了所述网关设备已获取的对象信息,并依据更新后的对象信息表控制所述第一门禁设备更新本地记录的对象信息。S800: Deliver the latest object information to the first access control device; or, update the object information table according to the acquired latest object information, where the object information table records the object information that the gateway device has acquired, And control the first access control device to update the locally recorded object information according to the updated object information table.

本实施例适用于门禁管理平台不支持事件机制的情况,当然也可适用于门禁管理平台支持事件机制的情况,可定期更新对象信息。This embodiment is applicable to the case where the access control management platform does not support the event mechanism, and of course also applicable to the case where the access control management platform supports the event mechanism, and the object information can be updated regularly.

t可以根据实际对象信息变动的频率而定,比如可以是30分钟。网关设备每隔30分钟从门禁管理平台中获取最新的对象信息(所有对象)。将最新的对象信息下发至所述第一门禁设备中;或者,依据获取的最新对象信息更新所述对象信息表,所述对象信息表记录了所述网关设备已获取的对象信息,并依据更新后的对象信息表控制所述第一门禁设备更新本地记录的对象信息,可保证第一门禁设备、门禁管理平台及网关设备中的对象信息的同步。t may be determined according to the frequency of actual object information changes, for example, it may be 30 minutes. The gateway device obtains the latest object information (all objects) from the access control management platform every 30 minutes. Send the latest object information to the first access control device; or, update the object information table according to the acquired latest object information, the object information table records the object information that the gateway device has acquired, and according to The updated object information table controls the first access control device to update the locally recorded object information, which can ensure the synchronization of the object information in the first access control device, the access control management platform and the gateway device.

在一个实施例中,In one embodiment,

所述第一门禁设备为用于人脸识别的门禁设备,所述第一对象数据指示人脸特征;或者,The first access control device is an access control device used for face recognition, and the first object data indicates facial features; or,

所述第一门禁设备为用于指纹识别的门禁设备,所述第一对象数据指示指纹特征;或者,The first access control device is an access control device used for fingerprint identification, and the first object data indicates fingerprint characteristics; or,

所述第一门禁设备为用于语音识别的门禁设备,所述第一对象数据指示语音特征。The first access control device is an access control device for voice recognition, and the first object data indicates a voice feature.

对象信息中的对象数据所指示的指定对象特征与第一对象数据指示的特征是对应的,比如第一对象数据指示人脸特征,则指定对象特征即为人脸特征,如此,本发明实施例即可将基于卡号识别的门禁控制系统改进成为基于卡号识别与人脸识别兼容的门禁控制系统,其他特征也是类似,当然也可改进成为基于多种识别技术兼容的门禁控制系统。可以理解,上述第一门禁设备仅是举例,当然还可以有支持其他识别技术的门禁设备,在此不再列举。The specified object feature indicated by the object data in the object information corresponds to the feature indicated by the first object data. For example, if the first object data indicates a face feature, the specified object feature is the face feature. In this way, the embodiment of the present invention is The access control system based on card number recognition can be improved into an access control system compatible with card number recognition and face recognition. It can be understood that the above-mentioned first access control device is only an example, of course, there may also be access control devices supporting other identification technologies, which will not be listed here.

本发明还提供一种门禁设备接入装置,应用于网关设备,所述网关设备连接至指定门禁控制系统中的门禁管理平台,所述指定门禁控制系统还包括门禁控制器;参看图6,该门禁设备接入装置100包括:The present invention also provides an access control device access device, which is applied to a gateway device, the gateway device is connected to an access control management platform in a designated access control system, and the designated access control system further includes an access controller; referring to FIG. 6 , the The access controldevice access device 100 includes:

对象信息获取模块101,用于从所述门禁管理平台中获取对象信息,所述对象信息至少包括:指示指定对象特征的对象数据、及对应的对象标识;The objectinformation acquisition module 101 is configured to acquire object information from the access control management platform, where the object information at least includes: object data indicating the characteristics of the specified object, and a corresponding object identifier;

接入信息获取模块102,用于获取需接入的至少一个第一门禁设备的接入信息;an accessinformation acquisition module 102, configured to acquire access information of at least one first access control device to be accessed;

门禁设备接入模块103,用于依据所述接入信息将对应第一门禁设备接入至网关设备,并将从所述门禁管理平台中获取的对象信息下发至已接入的第一门禁设备中,以使所述第一门禁设备采集并识别第一对象数据,并将第一门禁设备记录的对象数据中与识别出的所述第一对象数据匹配的目标对象数据所对应的对象标识发送至所述门禁控制器进行门禁控制。The access controldevice access module 103 is used to connect the corresponding first access control device to the gateway device according to the access information, and deliver the object information obtained from the access control management platform to the connected first access control device device, so that the first access control device collects and recognizes the first object data, and identifies the object identifier corresponding to the target object data that matches the identified first object data in the object data recorded by the first access control device Send to the access controller for access control.

在一个实施例中,所述门禁设备接入模块之后,该装置还进一步包括:In one embodiment, after the access control device is connected to the module, the device further includes:

事件接收模块,用于接收所述门禁管理平台下发的用于指示对象信息已发生变动的事件,并将事件记录至网关设备的数据库中;an event receiving module, configured to receive an event issued by the access control management platform for indicating that the object information has changed, and record the event in the database of the gateway device;

事件识别模块,用于从数据库中获取所述事件,并识别所述事件;an event identification module for acquiring the event from the database and identifying the event;

第一更新控制模块,用于依据识别出的事件控制所述第一门禁设备对该第一门禁设备中记录的对象信息相应变动;或者,依据识别出的事件更新网关设备中设置的对象信息表,所述对象信息表记录了所述网关设备已获取的对象信息,并依据更新后的对象信息表控制所述第一门禁设备更新本地的对象信息。The first update control module is used to control the first access control device to change the object information recorded in the first access control device according to the identified event; or, update the object information table set in the gateway device according to the identified event , the object information table records the object information that the gateway device has acquired, and controls the first access control device to update the local object information according to the updated object information table.

在一个实施例中,所述更新控制模块包括:In one embodiment, the update control module includes:

第一控制单元,用于当所述事件指示所述门禁管理平台记录的对象信息中的第一对象信息已被删除时,控制所述第一门禁设备删除该第一门禁设备中记录的第一对象信息;The first control unit is configured to control the first access control device to delete the first object information recorded in the first access control device when the event indicates that the first object information in the object information recorded by the access control management platform has been deleted. object information;

第二控制单元,用于当所述事件指示所述门禁管理平台记录的对象信息中添加了新的第二对象信息时,从所述门禁管理平台中获取所述第二对象信息,并控制所述第一门禁设备在该第一门禁设备记录的对象信息中添加所述第二对象信息;The second control unit is configured to acquire the second object information from the access control management platform when the event indicates that new second object information is added to the object information recorded by the access control management platform, and control all the second object information. The first access control device adds the second object information to the object information recorded by the first access control device;

第三控制单元,用于当所述事件指示所述门禁管理平台记录的对象信息中的第三对象信息已修改时,从所述门禁管理平台中获取已修改的第三对象信息,并控制所述第一门禁设备将该第一门禁设备中记录的第三对象信息修改为获取的第三对象信息。A third control unit, configured to obtain the modified third object information from the access control management platform when the event indicates that the third object information in the object information recorded by the access control management platform has been modified, and control all The first access control device modifies the third object information recorded in the first access control device to the acquired third object information.

在一个实施例中,所述门禁设备接入模块之后,该装置还进一步包括:In one embodiment, after the access control device is connected to the module, the device further includes:

定期获取模块,用于每隔一段时间t从所述门禁管理平台中获取最新的对象信息;A regular acquisition module for acquiring the latest object information from the access control management platform at intervals of time t;

第二更新控制模块,用于将最新的对象信息下发至所述第一门禁设备中;或者,将最新的对象信息下发至第一门禁设备中;或者,依据获取的最新对象信息更新所述对象信息表,所述对象信息表记录了所述网关设备已获取的对象信息,并依据更新后的对象信息表控制所述第一门禁设备更新本地记录的对象信息。The second update control module is used for delivering the latest object information to the first access control device; or, delivering the latest object information to the first access control device; or, updating all the objects according to the acquired latest object information The object information table records the object information that the gateway device has acquired, and controls the first access control device to update the locally recorded object information according to the updated object information table.

在一个实施例中,所述对象信息包括对象标识;In one embodiment, the object information includes an object identification;

所述定期获取模块从所述门禁管理平台中获取最新的对象信息时,还获取每一最新对象信息最后一次被更新到门禁管理平台中的第一时间;When the regular acquisition module acquires the latest object information from the access control management platform, it also acquires the first time when each latest object information is updated to the access control management platform for the last time;

所述第二更新控制模块依据获取的最新对象信息更新所述对象信息表时,具体用于:When the second update control module updates the object information table according to the acquired latest object information, it is specifically used for:

从对象信息表中找出获取的所有最新对象信息中不存在的对象标识,将包含找出的对象标识的对象信息从对象信息表中删除;Find out from the object information table the object identifiers that do not exist in all the latest object information acquired, and delete the object information containing the found object identifiers from the object information table;

从获取的所有最新对象信息中找出第一时间晚于上一次获取对象信息时间的最新对象信息,并检查对象信息表中是否存在找出的最新对象信息中的对象标识;Find out the latest object information whose first time is later than the time when the object information was acquired last time from all the latest object information obtained, and check whether there is an object identifier in the found latest object information in the object information table;

若不存在,则将找出的最新对象信息添加至所述对象信息表中;If it does not exist, adding the found latest object information to the object information table;

若存在,则将所述对象信息表中包含该对象标识的对象信息修改为找出的最新对象信息。If it exists, modify the object information containing the object identifier in the object information table to the latest found object information.

在一个实施例中,In one embodiment,

所述第一更新控制模块或第二更新控制模块依据更新后的对象信息表控制所述第一门禁设备更新本地记录的对象信息时,具体用于:When the first update control module or the second update control module controls the first access control device to update the locally recorded object information according to the updated object information table, it is specifically used for:

每过一个时间周期t1确定出所述对象信息表在上一时间周期t1内被删除的第四对象信息、被修改的第五对象信息、及添加的第六对象信息;Determine the fourth object information deleted, the modified fifth object information, and the added sixth object information in the object information table in the last time period t1 every time period t1;

控制所述第一门禁设备将已记录的第四对象信息删除,将所述第五对象信息下发至所述第一门禁设备进行相应修改,并将所述第六对象信息下发至所述第一门禁设备进行记录。Controlling the first access control device to delete the recorded fourth object information, sending the fifth object information to the first access control device for corresponding modification, and sending the sixth object information to the The first access control device is recorded.

在一个实施例中,In one embodiment,

所述对象信息表中还记录有对象信息最后一次被更新到对象信息表中的第二时间;The object information table also records the second time when the object information was updated to the object information table for the last time;

所述网关设备中设置有下发信息表,所述下发信息表中每一表项至少记录了已下发对象信息中的对象标识、及对象信息的下发时间;The gateway device is provided with a delivery information table, and each entry in the delivered information table records at least the object identifier in the delivered object information and the delivery time of the object information;

所述第一更新控制模块或第二更新控制模块确定出所述对象信息表在上一时间周期t1内被删除的第四对象信息、被修改的第五对象信息、及添加的第六对象信息时,具体用于:The first update control module or the second update control module determines the fourth object information deleted, the modified fifth object information, and the added sixth object information in the object information table in the last time period t1 , specifically for:

从下发信息表中找出所述对象信息表中不存在的对象标识,将包含找出的对象标识的对象信息确定为所述第四对象信息,从所述下发信息表中删除找出的对象标识所在的表项;Find out the object identifier that does not exist in the object information table from the issued information table, determine the object information including the found object identifier as the fourth object information, delete the found object information from the issued information table The table entry where the object ID of ;

针对所述对象信息表中的每一对象信息,检查下发信息表中是否存在该对象信息中的对象标识,For each object information in the object information table, check whether there is an object identifier in the object information in the issued information table,

如果是,若该对象标识所在表项中的下发时间早于该对象信息的第二时间,则将所述对象信息表中的该对象信息确定为所述第五对象信息,并更新该表项中的下发时间;If yes, if the delivery time in the entry where the object identifier is located is earlier than the second time of the object information, determine the object information in the object information table as the fifth object information, and update the table The release time in the item;

如果否,将所述对象信息表中的该对象信息确定为所述第六对象信息,并在下发信息表中创建该对象信息的相关表项。If not, the object information in the object information table is determined as the sixth object information, and a related entry of the object information is created in the distribution information table.

上述装置中各个单元的功能和作用的实现过程具体详见上述方法中对应步骤的实现过程,在此不再赘述。For details of the implementation process of the functions and functions of each unit in the above device, please refer to the implementation process of the corresponding steps in the above method, which will not be repeated here.

对于装置实施例而言,由于其基本对应于方法实施例,所以相关之处参见方法实施例的部分说明即可。以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元。For the apparatus embodiments, since they basically correspond to the method embodiments, reference may be made to the partial descriptions of the method embodiments for related parts. The device embodiments described above are only illustrative, wherein the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units.

本发明还提供一种网关设备,所述网关设备连接至指定门禁控制系统中的门禁管理平台,所述指定门禁控制系统还包括门禁控制器;The present invention also provides a gateway device, the gateway device is connected to an access control management platform in a designated access control system, and the designated access control system further includes an access controller;

所述网关设备包括处理器及存储器;所述存储器存储有可被处理器调用的程序;其中,所述处理器执行所述程序时,实现如前述实施例中任意一项所述的门禁设备接入方法。The gateway device includes a processor and a memory; the memory stores a program that can be called by the processor; wherein, when the processor executes the program, the access control device connection according to any one of the foregoing embodiments is implemented. enter method.

本发明门禁设备接入装置的实施例可以应用在网关设备上。以软件实现为例,作为一个逻辑意义上的装置,是通过其所在网关设备的处理器将非易失性存储器中对应的计算机程序指令读取到内存中运行形成的。从硬件层面而言,如图7所示,图7是本发明根据一示例性实施例示出的门禁设备接入装置100所在网关设备的一种硬件结构图,除了图7所示的处理器510、内存530、接口520、以及非易失性存储器540之外,实施例中装置100所在的网关设备通常根据该网关设备的实际功能,还可以包括其他硬件,对此不再赘述。The embodiment of the access control device access apparatus of the present invention can be applied to a gateway device. Taking software implementation as an example, a device in a logical sense is formed by reading the corresponding computer program instructions in the non-volatile memory into the memory through the processor of the gateway device where it is located to run. From a hardware perspective, as shown in FIG. 7 , FIG. 7 is a hardware structure diagram of the gateway device where the access controldevice access apparatus 100 is located according to an exemplary embodiment of the present invention, except for theprocessor 510 shown in FIG. 7 In addition to thememory 530 , theinterface 520 , and thenon-volatile memory 540 , the gateway device where theapparatus 100 is located in the embodiment generally may also include other hardware according to the actual function of the gateway device, which will not be repeated here.

本发明还提供一种机器可读存储介质,其上存储有程序,该程序被处理器执行时,实现如前述实施例中任意一项所述的门禁设备接入方法。The present invention further provides a machine-readable storage medium on which a program is stored, and when the program is executed by a processor, implements the access control device access method described in any one of the foregoing embodiments.

本发明可采用在一个或多个其中包含有程序代码的存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。机器可读存储介质包括永久性和非永久性、可移动和非可移动媒体,可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。机器可读存储介质的例子包括但不限于:相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。The present invention may take the form of a computer program product embodied on one or more storage media having program code embodied therein, including but not limited to disk storage, CD-ROM, optical storage, and the like. Machine-readable storage media includes both persistent and non-permanent, removable and non-removable media, and storage of information can be implemented by any method or technology. Information may be computer readable instructions, data structures, modules of programs, or other data. Examples of machine-readable storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), Flash Memory or other memory technology, Compact Disc Read Only Memory (CD-ROM), Digital Versatile Disc (DVD) or other optical storage , magnetic tape cartridges, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission medium that can be used to store information that can be accessed by a computing device.

以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本发明保护的范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included in the present invention. within the scope of protection.

Claims (20)

Translated fromChinese
1.一种门禁控制系统,其特征在于,包括:门禁管理平台,与门禁管理平台连接的网关设备、门禁控制器,以及至少一个第一门禁设备、至少一个第二门禁设备;所述第二门禁设备连接所述门禁控制器;所述第一门禁设备接入所述网关设备,且所述第一门禁设备连接所述门禁控制器;1. an access control system, is characterized in that, comprises: access control management platform, the gateway device that is connected with access control management platform, access control controller, and at least one first access control device, at least one second access control device; the second The access control device is connected to the access control controller; the first access control device is connected to the gateway device, and the first access control device is connected to the access control controller;所述第二门禁设备用于采集并识别卡号信息,并将识别出的卡号信息发送至所述门禁控制器;The second access control device is used for collecting and identifying card number information, and sending the identified card number information to the access control controller;所述门禁管理平台中记录有对象信息,所述对象信息至少包括:指示指定对象特征的对象数据、及对应的卡号信息;Object information is recorded in the access control management platform, and the object information at least includes: object data indicating the characteristics of the specified object, and corresponding card number information;所述网关设备用于从所述门禁管理平台中获取对象信息,并将所述对象信息下发至已接入的第一门禁设备中;The gateway device is used to obtain object information from the access control management platform, and deliver the object information to the first access control device that has been connected;所述第一门禁设备用于记录来自所述网关设备下发的对象信息,采集并识别第一对象数据,将第一门禁设备记录的对象数据中与识别出的所述第一对象数据匹配的目标对象数据所对应的卡号信息发送至所述门禁控制器;The first access control device is used to record the object information issued by the gateway device, collect and identify the first object data, and match the object data recorded by the first access control device with the identified first object data. The card number information corresponding to the target object data is sent to the access control controller;所述门禁控制器用于接收来自所述第一门禁设备与所述第二门禁设备中的任一个发送的卡号信息,并依据接收的卡号信息控制门禁。The access control controller is configured to receive card number information sent from any one of the first access control device and the second access control device, and control the access control according to the received card number information.2.如权利要求1所述的门禁控制系统,其特征在于,2. access control system as claimed in claim 1, is characterized in that,所述第一门禁设备为用于人脸识别的门禁设备,所述第一对象数据指示人脸特征;或者,The first access control device is an access control device used for face recognition, and the first object data indicates facial features; or,所述第一门禁设备为用于指纹识别的门禁设备,所述第一对象数据指示指纹特征;或者,The first access control device is an access control device used for fingerprint identification, and the first object data indicates fingerprint characteristics; or,所述第一门禁设备为用于语音识别的门禁设备,所述第一对象数据指示语音特征。The first access control device is an access control device for voice recognition, and the first object data indicates a voice feature.3.如权利要求1所述的门禁控制系统,其特征在于,所述网关设备还用于:3. access control system as claimed in claim 1, is characterized in that, described gateway device is also used for:接收所述门禁管理平台下发的用于指示对象信息发生变动的事件,并将事件记录至网关设备的数据库中;Receive the event issued by the access control management platform for indicating that the object information has changed, and record the event in the database of the gateway device;从数据库中获取所述事件,并识别所述事件;obtain the event from the database, and identify the event;依据识别出的事件控制所述第一门禁设备对该第一门禁设备中记录的对象信息进行事件所指示的变动;或者,依据识别出的事件更新网关设备中设置的对象信息表,所述对象信息表记录了所述网关设备已获取的对象信息,并依据更新后的对象信息表控制所述第一门禁设备更新本地的对象信息。According to the identified event, control the first access control device to change the object information recorded in the first access control device as indicated by the event; or, update the object information table set in the gateway device according to the identified event, the object The information table records the object information that the gateway device has acquired, and controls the first access control device to update the local object information according to the updated object information table.4.如权利要求3所述的门禁控制系统,其特征在于,所述网关设备依据识别出的事件控制所述第一门禁设备对该第一门禁设备中记录的对象信息进行事件所指示的变动时,具体用于:4. The access control system as claimed in claim 3, wherein the gateway device controls the first access control device according to the identified event to perform the change indicated by the event on the object information recorded in the first access control device , specifically for:当所述事件指示所述门禁管理平台记录的对象信息中的第一对象信息被删除时,控制所述第一门禁设备删除该第一门禁设备中记录的第一对象信息;When the event indicates that the first object information in the object information recorded by the access control management platform is deleted, control the first access control device to delete the first object information recorded in the first access control device;当所述事件指示所述门禁管理平台记录的对象信息中添加新的第二对象信息时,从所述门禁管理平台中获取所述第二对象信息,并控制所述第一门禁设备在该第一门禁设备记录的对象信息中添加所述第二对象信息;When the event instructs the access control management platform to add new second object information to the object information recorded by the access control management platform, obtain the second object information from the access control management platform, and control the first access control device in the first access control device The second object information is added to the object information recorded by an access control device;当所述事件指示所述门禁管理平台记录的对象信息中的第三对象信息已修改时,从所述门禁管理平台中获取所述第三对象信息,并控制所述第一门禁设备将该第一门禁设备中记录的第三对象信息修改为获取的第三对象信息。When the event indicates that the third object information in the object information recorded by the access control management platform has been modified, acquire the third object information from the access control management platform, and control the first access control device to set the third object information The third object information recorded in an access control device is modified to the acquired third object information.5.如权利要求1所述的门禁控制系统,其特征在于,所述网关设备还用于:5. access control system as claimed in claim 1, is characterized in that, described gateway device is also used for:每隔一段时间t从所述门禁管理平台中获取最新的对象信息;Obtain the latest object information from the access control management platform at intervals of time t;将最新的对象信息下发至第一门禁设备中;或者,依据获取的最新对象信息更新所述对象信息表,所述对象信息表记录了所述网关设备已获取的对象信息,并依据更新后的对象信息表控制所述第一门禁设备更新本地记录的对象信息。Send the latest object information to the first access control device; or, update the object information table according to the acquired latest object information, the object information table records the object information that the gateway device has acquired, and according to the updated object information The object information table controls the first access control device to update locally recorded object information.6.如权利要求5所述的门禁控制系统,其特征在于,6. access control system as claimed in claim 5, is characterized in that,所述对象信息包括对象标识;the object information includes an object identifier;所述网关设备从所述门禁管理平台中获取最新的对象信息时,还获取每一最新对象信息最后一次被更新到门禁管理平台中的第一时间;When the gateway device obtains the latest object information from the access control management platform, it also obtains the first time when each latest object information is updated to the access control management platform for the last time;所述网关设备依据获取的最新对象信息更新所述对象信息表时,具体用于:When the gateway device updates the object information table according to the acquired latest object information, it is specifically used for:从对象信息表中找出获取的所有最新对象信息中不存在的对象标识,将包含找出的对象标识的对象信息从对象信息表中删除;Find out from the object information table the object identifiers that do not exist in all the latest object information acquired, and delete the object information containing the found object identifiers from the object information table;从获取的所有最新对象信息中找出第一时间晚于上一次获取对象信息时间的最新对象信息,并检查对象信息表中是否存在找出的最新对象信息中的对象标识;Find out the latest object information whose first time is later than the time when the object information was acquired last time from all the latest object information obtained, and check whether there is an object identifier in the found latest object information in the object information table;若不存在,则将找出的最新对象信息添加至所述对象信息表中;If it does not exist, adding the found latest object information to the object information table;若存在,则将所述对象信息表中包含该对象标识的对象信息修改为找出的最新对象信息。If it exists, modify the object information containing the object identifier in the object information table to the latest found object information.7.如权利要求3或5所述的门禁控制系统,其特征在于,7. The access control system according to claim 3 or 5, characterized in that,所述网关设备依据更新后的对象信息表控制所述第一门禁设备更新本地记录的对象信息时,具体用于:When the gateway device controls the first access control device to update the locally recorded object information according to the updated object information table, it is specifically used for:每过一个时间周期t1确定出所述对象信息表在上一时间周期t1内被删除的第四对象信息、被修改的第五对象信息、及添加的第六对象信息;Determine the fourth object information deleted, the modified fifth object information, and the added sixth object information in the object information table in the last time period t1 every time period t1;控制所述第一门禁设备将已记录的第四对象信息删除,将所述第五对象信息下发至所述第一门禁设备进行相应修改,并将所述第六对象信息下发至所述第一门禁设备进行记录。Controlling the first access control device to delete the recorded fourth object information, sending the fifth object information to the first access control device for corresponding modification, and sending the sixth object information to the The first access control device is recorded.8.如权利要求7所述的门禁控制系统,其特征在于,8. access control system as claimed in claim 7, is characterized in that,所述对象信息表中还记录有对象信息最后一次被更新到对象信息表中的第二时间;The object information table also records the second time when the object information was updated to the object information table for the last time;所述网关设备中设置有下发信息表,所述下发信息表中每一表项至少记录了已下发对象信息中的对象标识、及对象信息的下发时间;The gateway device is provided with a delivery information table, and each entry in the delivered information table records at least the object identifier in the delivered object information and the delivery time of the object information;所述网关设备确定出所述对象信息表在上一时间周期t1内被删除的第四对象信息、被修改的第五对象信息、及添加的第六对象信息时,具体用于:When the gateway device determines the deleted fourth object information, the modified fifth object information, and the added sixth object information in the object information table in the last time period t1, it is specifically used for:从下发信息表中找出所述对象信息表中不存在的对象标识,将包含找出的对象标识的对象信息确定为所述第四对象信息,从所述下发信息表中删除找出的对象标识所在的表项;Find out the object identifier that does not exist in the object information table from the issued information table, determine the object information including the found object identifier as the fourth object information, delete the found object information from the issued information table The table entry where the object identifier of ;针对所述对象信息表中的每一对象信息,检查下发信息表中是否存在该对象信息中的对象标识,For each object information in the object information table, check whether there is an object identifier in the object information in the issued information table,如果是,若该对象标识所在表项中的下发时间早于该对象信息的第二时间,则将所述对象信息表中的该对象信息确定为所述第五对象信息,并更新该表项中的下发时间;If yes, if the delivery time in the entry where the object identifier is located is earlier than the second time of the object information, determine the object information in the object information table as the fifth object information, and update the table The release time in the item;如果否,将所述对象信息表中的该对象信息确定为所述第六对象信息,并在下发信息表中创建该对象信息的相关表项。If not, the object information in the object information table is determined as the sixth object information, and a related entry of the object information is created in the distribution information table.9.如权利要求1所述的门禁控制系统,其特征在于,该系统还进一步包括协议转换设备,所述协议转换设备连接于所述第一门禁设备和所述门禁控制器之间;9. access control system as claimed in claim 1, is characterized in that, this system also further comprises protocol conversion equipment, and described protocol conversion equipment is connected between described first access control equipment and described access control controller;所述第一门禁设备基于第一通信协议将所述卡号信息发送至所述协议转换设备,所述协议转换设备基于第二通信协议将接收的卡号信息发送至所述门禁控制器;The first access control device sends the card number information to the protocol conversion device based on the first communication protocol, and the protocol conversion device sends the received card number information to the access control controller based on the second communication protocol;所述第一通信协议是所述第一门禁设备与所述协议转换设备之间通信所需的通信协议,所述第二通信协议是所述协议转换设备与所述门禁控制器之间通信所需的通信协议。The first communication protocol is the communication protocol required for communication between the first access control device and the protocol conversion device, and the second communication protocol is the communication protocol between the protocol conversion device and the access control controller. required communication protocol.10.一种门禁控制系统,其特征在于,包括:门禁管理平台,与门禁管理平台连接的网关设备、门禁控制器,以及至少一个第一门禁设备;所述第一门禁设备接入所述网关设备,且所述第一门禁设备连接所述门禁控制器;10. An access control system, comprising: an access control management platform, a gateway device connected to the access control management platform, an access control controller, and at least one first access control device; the first access control device is connected to the gateway device, and the first access control device is connected to the access control controller;所述门禁管理平台中记录有对象信息,所述对象信息至少包括:指示指定对象特征的对象数据、及对应的对象标识;Object information is recorded in the access control management platform, and the object information at least includes: object data indicating the characteristics of the specified object, and a corresponding object identifier;所述网关设备用于从所述门禁管理平台中获取对象信息,并将所述对象信息下发至已接入的第一门禁设备中;The gateway device is used to obtain object information from the access control management platform, and deliver the object information to the first access control device that has been connected;所述第一门禁设备用于记录来自所述网关设备下发的对象信息,采集并识别第一对象数据,将第一门禁设备记录的对象数据中与识别出的所述第一对象数据匹配的目标对象数据所对应的对象标识发送至所述门禁控制器;The first access control device is used to record the object information issued by the gateway device, collect and identify the first object data, and match the object data recorded by the first access control device with the identified first object data. The object identifier corresponding to the target object data is sent to the access controller;所述门禁控制器用于接收来自所述第一门禁设备发送的对象标识,并依据接收的对象标识控制门禁。The access control controller is configured to receive the object identifier sent from the first access control device, and control the access control according to the received object identifier.11.一种门禁设备接入方法,其特征在于,应用于网关设备,所述网关设备连接至指定门禁控制系统中的门禁管理平台,所述指定门禁控制系统还包括门禁控制器;11. An access control device access method, characterized in that, applied to a gateway device, the gateway device is connected to an access control management platform in a designated access control system, and the designated access control system also includes an access controller;该方法包括:The method includes:从所述门禁管理平台中获取对象信息,所述对象信息至少包括:指示指定对象特征的对象数据、及对应的对象标识;Obtain object information from the access control management platform, where the object information at least includes: object data indicating the characteristics of the specified object, and a corresponding object identifier;获取需接入的至少一个第一门禁设备的接入信息;Obtain access information of at least one first access control device to be accessed;依据所述接入信息将对应第一门禁设备接入至网关设备,并将从所述门禁管理平台中获取的对象信息下发至已接入的第一门禁设备中,以使所述第一门禁设备采集并识别第一对象数据,并将第一门禁设备记录的对象数据中与识别出的所述第一对象数据匹配的目标对象数据所对应的对象标识发送至所述门禁控制器进行门禁控制。According to the access information, the corresponding first access control device is connected to the gateway device, and the object information obtained from the access control management platform is delivered to the connected first access control device, so that the first access control device is The access control device collects and identifies the first object data, and sends the object identifier corresponding to the target object data that matches the identified first object data in the object data recorded by the first access control device to the access control controller for access control control.12.如权利要求11所述的门禁设备接入方法,其特征在于,将从所述门禁管理平台中获取的对象信息下发至已接入的第一门禁设备中之后,该方法还进一步包括:12. The access control device access method according to claim 11, wherein after the object information obtained from the access control management platform is sent to the first access control device that has been accessed, the method further comprises: :接收所述门禁管理平台下发的用于指示对象信息已发生变动的事件,并将事件记录至网关设备的数据库中;Receive an event issued by the access control management platform for indicating that the object information has changed, and record the event in the database of the gateway device;从数据库中获取所述事件,并识别所述事件;obtain the event from the database, and identify the event;依据识别出的事件控制所述第一门禁设备对该第一门禁设备中记录的对象信息相应变动;或者,依据识别出的事件更新网关设备中设置的对象信息表,所述对象信息表记录了所述网关设备已获取的对象信息,并依据更新后的对象信息表控制所述第一门禁设备更新本地的对象信息。According to the identified event, control the first access control device to correspondingly change the object information recorded in the first access control device; or, update the object information table set in the gateway device according to the identified event, and the object information table records The gateway device obtains the object information, and controls the first access control device to update the local object information according to the updated object information table.13.如权利要求12所述的门禁设备接入方法,其特征在于,依据识别出的事件控制所述第一门禁设备对该第一门禁设备中记录的对象信息相应变动,包括:13. The access control device access method as claimed in claim 12, wherein the first access control device is controlled to correspondingly change the object information recorded in the first access control device according to the identified event, comprising:当所述事件指示所述门禁管理平台记录的对象信息中的第一对象信息已被删除时,控制所述第一门禁设备删除该第一门禁设备中记录的第一对象信息;When the event indicates that the first object information in the object information recorded by the access control management platform has been deleted, control the first access control device to delete the first object information recorded in the first access control device;当所述事件指示所述门禁管理平台记录的对象信息中添加了新的第二对象信息时,从所述门禁管理平台中获取所述第二对象信息,并控制所述第一门禁设备在该第一门禁设备记录的对象信息中添加所述第二对象信息;When the event indicates that new second object information is added to the object information recorded by the access control management platform, acquire the second object information from the access control management platform, and control the first access control device in the adding the second object information to the object information recorded by the first access control device;当所述事件指示所述门禁管理平台记录的对象信息中的第三对象信息已修改时,从所述门禁管理平台中获取已修改的第三对象信息,并控制所述第一门禁设备将该第一门禁设备中记录的第三对象信息修改为获取的第三对象信息。When the event indicates that the third object information in the object information recorded by the access control management platform has been modified, acquire the modified third object information from the access control management platform, and control the first access control device to The third object information recorded in the first access control device is modified to the acquired third object information.14.如权利要求11所述的门禁设备接入方法,其特征在于,将从所述门禁管理平台中获取的对象信息下发至已接入的第一门禁设备中之后,该方法还进一步包括:14. The access control device access method according to claim 11, wherein after the object information obtained from the access control management platform is sent to the first access control device that has been accessed, the method further comprises: :每隔一段时间t从所述门禁管理平台中获取最新的对象信息;Obtain the latest object information from the access control management platform at intervals of time t;将最新的对象信息下发至所述第一门禁设备中;或者,依据获取的最新对象信息更新所述对象信息表,所述对象信息表记录了所述网关设备已获取的对象信息,并依据更新后的对象信息表控制所述第一门禁设备更新本地记录的对象信息。Send the latest object information to the first access control device; or, update the object information table according to the acquired latest object information, the object information table records the object information that the gateway device has acquired, and according to The updated object information table controls the first access control device to update locally recorded object information.15.如权利要求14所述的门禁设备接入方法,其特征在于,15. The access control device access method according to claim 14, wherein,所述对象信息包括对象标识;the object information includes an object identifier;从所述门禁管理平台中获取最新的对象信息时,还获取每一最新对象信息最后一次被更新到门禁管理平台中的第一时间;When obtaining the latest object information from the access control management platform, also obtain the first time when each latest object information is updated to the access control management platform for the last time;所述依据获取的最新对象信息更新所述对象信息表,包括:The updating of the object information table according to the acquired latest object information includes:从对象信息表中找出获取的所有最新对象信息中不存在的对象标识,将包含找出的对象标识的对象信息从对象信息表中删除;Find out from the object information table the object identifiers that do not exist in all the latest object information acquired, and delete the object information containing the found object identifiers from the object information table;从获取的所有最新对象信息中找出第一时间晚于上一次获取对象信息时间的最新对象信息,并检查对象信息表中是否存在找出的最新对象信息中的对象标识;Find out the latest object information whose first time is later than the time when the object information was acquired last time from all the latest object information obtained, and check whether there is an object identifier in the found latest object information in the object information table;若不存在,则将找出的最新对象信息添加至所述对象信息表中;If it does not exist, adding the found latest object information to the object information table;若存在,则将所述对象信息表中包含该对象标识的对象信息修改为找出的最新对象信息。If it exists, modify the object information containing the object identifier in the object information table to the latest found object information.16.如权利要求12或14所述的门禁设备接入方法,其特征在于,16. The access control device access method according to claim 12 or 14, wherein,所述依据更新后的对象信息表控制所述第一门禁设备更新本地记录的对象信息,包括:The control of the first access control device to update the locally recorded object information according to the updated object information table includes:每过一个时间周期t1确定出所述对象信息表在上一时间周期t1内被删除的第四对象信息、被修改的第五对象信息、及添加的第六对象信息;Determine the fourth object information deleted, the modified fifth object information, and the added sixth object information in the object information table in the last time period t1 every time period t1;控制所述第一门禁设备将已记录的第四对象信息删除,将所述第五对象信息下发至所述第一门禁设备进行相应修改,并将所述第六对象信息下发至所述第一门禁设备进行记录。Controlling the first access control device to delete the recorded fourth object information, sending the fifth object information to the first access control device for corresponding modification, and sending the sixth object information to the The first access control device is recorded.17.如权利要求16所述的门禁设备接入方法,其特征在于,17. The access control device access method according to claim 16, wherein,所述对象信息表中还记录有对象信息最后一次被更新到对象信息表中的第二时间;The object information table also records the second time when the object information was updated to the object information table for the last time;所述网关设备中设置有下发信息表,所述下发信息表中每一表项至少记录了已下发对象信息中的对象标识、及对象信息的下发时间;The gateway device is provided with a delivery information table, and each entry in the delivered information table records at least the object identifier in the delivered object information and the delivery time of the object information;所述确定出所述对象信息表在上一时间周期t1内被删除的第四对象信息、被修改的第五对象信息、及添加的第六对象信息,包括:The determining of the deleted fourth object information, the modified fifth object information, and the added sixth object information in the object information table in the last time period t1 includes:从下发信息表中找出所述对象信息表中不存在的对象标识,将包含找出的对象标识的对象信息确定为所述第四对象信息,从所述下发信息表中删除找出的对象标识所在的表项;Find out the object identifier that does not exist in the object information table from the issued information table, determine the object information including the found object identifier as the fourth object information, delete the found object information from the issued information table The table entry where the object identifier of ;针对所述对象信息表中的每一对象信息,检查下发信息表中是否存在该对象信息中的对象标识,For each object information in the object information table, check whether there is an object identifier in the object information in the issued information table,如果是,若该对象标识所在表项中的下发时间早于该对象信息的第二时间,则将所述对象信息表中的该对象信息确定为所述第五对象信息,并更新该表项中的下发时间;If yes, if the delivery time in the entry where the object identifier is located is earlier than the second time of the object information, determine the object information in the object information table as the fifth object information, and update the table The release time in the item;如果否,将所述对象信息表中的该对象信息确定为所述第六对象信息,并在下发信息表中创建该对象信息的相关表项。If not, the object information in the object information table is determined as the sixth object information, and a related entry of the object information is created in the distribution information table.18.如权利要求11所述的门禁设备接入方法,其特征在于,18. The access control device access method according to claim 11, wherein,所述第一门禁设备为用于人脸识别的门禁设备,所述第一对象数据指示人脸特征;或者,The first access control device is an access control device used for face recognition, and the first object data indicates facial features; or,所述第一门禁设备为用于指纹识别的门禁设备,所述第一对象数据指示指纹特征;或者,The first access control device is an access control device used for fingerprint identification, and the first object data indicates fingerprint characteristics; or,所述第一门禁设备为用于语音识别的门禁设备,所述第一对象数据指示语音特征。The first access control device is an access control device for voice recognition, and the first object data indicates a voice feature.19.一种门禁设备接入装置,其特征在于,应用于网关设备,所述网关设备连接至指定门禁控制系统中的门禁管理平台,所述指定门禁控制系统还包括门禁控制器;19. An access control device access device, characterized in that it is applied to a gateway device, and the gateway device is connected to an access control management platform in a designated access control system, the designated access control system further comprising an access controller;该装置包括:The device includes:对象信息获取模块,用于从所述门禁管理平台中获取对象信息,所述对象信息至少包括:指示指定对象特征的对象数据、及对应的对象标识;an object information acquisition module, configured to acquire object information from the access control management platform, where the object information at least includes: object data indicating the characteristics of the specified object, and a corresponding object identifier;接入信息获取模块,用于获取需接入的至少一个第一门禁设备的接入信息;an access information acquisition module, configured to acquire access information of at least one first access control device to be accessed;门禁设备接入模块,用于依据所述接入信息将对应第一门禁设备接入至网关设备,并将从所述门禁管理平台中获取的对象信息下发至已接入的第一门禁设备中,以使所述第一门禁设备采集并识别第一对象数据,并将第一门禁设备记录的对象数据中与识别出的所述第一对象数据匹配的目标对象数据所对应的对象标识发送至所述门禁控制器进行门禁控制。The access control device access module is used to connect the corresponding first access control device to the gateway device according to the access information, and deliver the object information obtained from the access control management platform to the connected first access control device , so that the first access control device collects and recognizes the first object data, and sends the object identifier corresponding to the target object data that matches the identified first object data in the object data recorded by the first access control device. to the access controller for access control.20.一种网关设备,其特征在于,所述网关设备连接至指定门禁控制系统中的门禁管理平台,所述指定门禁控制系统还包括门禁控制器;20. A gateway device, characterized in that the gateway device is connected to an access control management platform in a designated access control system, the designated access control system further comprising an access controller;所述网关设备包括处理器及存储器;所述存储器存储有可被处理器调用的程序;其中,所述处理器执行所述程序时,实现如权利要求11至18中任意一项所述的门禁设备接入方法。The gateway device includes a processor and a memory; the memory stores a program that can be called by the processor; wherein, when the processor executes the program, the access control according to any one of claims 11 to 18 is implemented Device access method.
CN201910703803.6A2019-02-182019-07-31Access control system, access method and device of access control equipment and gateway equipmentPendingCN111354112A (en)

Priority Applications (2)

Application NumberPriority DateFiling DateTitle
EP20758555.5AEP3929882A4 (en)2019-02-182020-02-17 ACCESS CONTROL
PCT/CN2020/075615WO2020169005A1 (en)2019-02-182020-02-17Access control

Applications Claiming Priority (2)

Application NumberPriority DateFiling DateTitle
CN2019101194602019-02-18
CN20191011946092019-02-18

Publications (1)

Publication NumberPublication Date
CN111354112Atrue CN111354112A (en)2020-06-30

Family

ID=71196651

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201910703803.6APendingCN111354112A (en)2019-02-182019-07-31Access control system, access method and device of access control equipment and gateway equipment

Country Status (3)

CountryLink
EP (1)EP3929882A4 (en)
CN (1)CN111354112A (en)
WO (1)WO2020169005A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN111629012A (en)*2020-07-282020-09-04杭州海康威视数字技术股份有限公司Communication method, communication device, access control system, access control equipment and storage medium
CN113093589A (en)*2021-03-112021-07-09深圳达实智能股份有限公司Distributed minimum scene control system in intelligent building
CN113987456A (en)*2021-10-262022-01-28云知声智能科技股份有限公司 Method, device, electronic device and storage medium for issuing access authority data

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN114973491B (en)*2022-05-312024-08-23绿漫科技有限公司Authorization system suitable for differentiated personnel identification equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101136112A (en)*2007-09-072008-03-05北京兆维科技股份有限公司Gate inhibition system using palmar metacarpal veins mark recognition technology to substitute IC card
CN101742717A (en)*2008-11-052010-06-16邱宏达synchronous updating system and method
CN102034290A (en)*2010-12-212011-04-27汉王科技股份有限公司Access control method and device
CN102496199A (en)*2011-12-122012-06-13山东大学Intelligent entrance guard control system with wireless ad hoc network function and control method thereof
CN104574598A (en)*2014-12-292015-04-29张泽Centralized control method and system for intelligent door lock
CN106373229A (en)*2016-08-292017-02-01上海励识电子科技有限公司Communication adapter method, device and system
CN107767505A (en)*2017-09-302018-03-06厦门分享云科技有限公司A kind of password match device and method of intelligent door lock

Family Cites Families (15)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN1278283C (en)*2001-05-042006-10-04库比克公司Smart card access control system
JP2004197535A (en)*2002-10-212004-07-15Nomura Building Management Co Ltd Access security management system
JP4363031B2 (en)*2002-11-212009-11-11三菱電機株式会社 Entrance control device
JP2009046813A (en)*2007-08-132009-03-05Promise Co Ltd Entrance management system
US20090050697A1 (en)*2007-08-242009-02-26Collier SparksApparatus for distributed data storage of security identification and security access system and method of use thereof
JP5574754B2 (en)*2010-02-262014-08-20セコム株式会社 Access control device and access control system
JP2014106816A (en)*2012-11-282014-06-09Glory LtdEntrance/exit management apparatus and entrance/exit management method
KR101883476B1 (en)*2013-04-162018-07-31한화에어로스페이스 주식회사Access Control System
CN103606214A (en)*2013-11-272014-02-26南京邮电大学Cloud platform-based intelligent security access control system
CN106160799A (en)*2015-02-162016-11-23袁万文 RFID Bluetooth adapter with optional function
JP6304604B2 (en)*2015-09-282018-04-04パナソニックIpマネジメント株式会社 Door phone system, door phone master unit, communication method and program
CN205899274U (en)*2016-08-092017-01-18艾尔森林(天津)环境科技有限公司Wireless control device for internet -of -Things smart home
CN106453009B (en)*2016-11-162020-03-27四川省亚丁胡杨人力资源集团有限公司Service control system of intelligent community
CN206271146U (en)*2016-12-192017-06-20成都理工大学 A computer-based intelligent monitoring system
CN108846929A (en)*2018-06-272018-11-20樊柳柳A kind of face recognition door control system and application method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101136112A (en)*2007-09-072008-03-05北京兆维科技股份有限公司Gate inhibition system using palmar metacarpal veins mark recognition technology to substitute IC card
CN101742717A (en)*2008-11-052010-06-16邱宏达synchronous updating system and method
CN102034290A (en)*2010-12-212011-04-27汉王科技股份有限公司Access control method and device
CN102496199A (en)*2011-12-122012-06-13山东大学Intelligent entrance guard control system with wireless ad hoc network function and control method thereof
CN104574598A (en)*2014-12-292015-04-29张泽Centralized control method and system for intelligent door lock
CN106373229A (en)*2016-08-292017-02-01上海励识电子科技有限公司Communication adapter method, device and system
CN107767505A (en)*2017-09-302018-03-06厦门分享云科技有限公司A kind of password match device and method of intelligent door lock

Cited By (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN111629012A (en)*2020-07-282020-09-04杭州海康威视数字技术股份有限公司Communication method, communication device, access control system, access control equipment and storage medium
CN111629012B (en)*2020-07-282020-10-30杭州海康威视数字技术股份有限公司Communication method, communication device, access control system, access control equipment and storage medium
CN113093589A (en)*2021-03-112021-07-09深圳达实智能股份有限公司Distributed minimum scene control system in intelligent building
CN113987456A (en)*2021-10-262022-01-28云知声智能科技股份有限公司 Method, device, electronic device and storage medium for issuing access authority data

Also Published As

Publication numberPublication date
EP3929882A4 (en)2022-11-23
EP3929882A1 (en)2021-12-29
WO2020169005A1 (en)2020-08-27

Similar Documents

PublicationPublication DateTitle
CN111354112A (en)Access control system, access method and device of access control equipment and gateway equipment
CN108961475B (en)Access control deployment method and access control deployment server
US6341169B1 (en)System and method for evaluating a document and creating a record of the evaluation process and an associated transaction
US10346620B2 (en)Systems and methods for authentication of access based on multi-data source information
AU2019203859A1 (en)Methods and devices for acquiring and recording tracking information on blockchain
CN111209346A (en)Block chain data archiving method and device and computer readable storage medium
EP3564808B1 (en)Data configuration method and data configuration apparatus
WO2019019744A1 (en)Method and apparatus for recognizing claim settlement flow, server and storage medium
JP2001356938A (en) Computer identification device
US20150020167A1 (en)System and method for managing files
CN112288567A (en)Bank account information processing method and device and readable medium
US12158962B1 (en)Data jurisdiction management
CN109005167B (en)Authentication data processing method and device, server and storage medium
EP0762261A2 (en)A verification server and authentication method for use in authentication on networks
CN110019076A (en)Construction method, device, equipment and the readable storage medium storing program for executing of multisystem daily record data
CN104704521A (en)Multi-factor profile and security fingerprint analysis
CN115578815A (en) Access control management method, verification server, access control system and readable storage medium
CN106487799A (en)Facility information storage system based on cloud platform
CN117453629B (en)Personal mobile blockchain data archive management system based on U shield
CN109840814A (en)A method of it is logged in based on Golden Taxes disk control system synchronous with data
CN109670027B (en)Image query, cache and retention method and system
WO2021233004A1 (en)Safe cabinet device, unlocking method, and unlocking system
CN109859339A (en)A kind of registration management system and method based on recognition of face
CN116070294A (en)Authority management method, system, device, server and storage medium
CN114928537A (en)Network equipment configuration method, device and storage medium

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
RJ01Rejection of invention patent application after publication
RJ01Rejection of invention patent application after publication

Application publication date:20200630


[8]ページ先頭

©2009-2025 Movatter.jp