HK1209885B - System, method and device for processing door-lock authority - Google Patents
System, method and device for processing door-lock authority Download PDFInfo
- Publication number
- HK1209885B HK1209885B HK15110217.9A HK15110217A HK1209885B HK 1209885 B HK1209885 B HK 1209885B HK 15110217 A HK15110217 A HK 15110217A HK 1209885 B HK1209885 B HK 1209885B
- Authority
- HK
- Hong Kong
- Prior art keywords
- key
- information
- card
- door lock
- user
- Prior art date
Links
Description
技术领域Technical Field
本发明涉及门锁领域,具体而言,涉及一种门锁权限处理系统和方法及装置。The present invention relates to the field of door locks, and in particular to a door lock authority processing system, method and device.
背景技术Background Art
现有的酒店管理中,门锁端存储的信息一般是固定的,且每个门锁对应于固定的门卡,通过酒店向客户发放门卡,其中,在门卡中都会明确写入入住时间段以及与相应房间匹配的信息等数据,在门锁端通过读取门卡内信息,使得在入住时间段内房客可随意使用门卡开门。由于每个门锁对应于固定的门卡,一方面存在安全隐患,另一方面不便于酒店的管理,一旦门卡交予客户后,便无法对门卡和门卡内信息进行管理,如遇特殊情况,管理者也无法很好地控制门卡和房间信息。此外,现有大多数房间管理系统,仅能连入局域网,无法实时监控房间的状态,而且每家酒店的管理系统在安装以后都是独立运行和管理,对于管理系统的开发人员来说,无法有效地监控管理系统,一旦该管理系统有故障,发现和处理起来都比较麻烦,另外,这种方式也无法实现数据的整合利用,而随着大数据时代的到来,数据的有效整合分析利用十分重要。In existing hotel management systems, the information stored on door locks is generally fixed, and each door lock corresponds to a fixed key card. The hotel issues key cards to guests, and the key cards clearly indicate the check-in time period and the corresponding room information. The key card information is read by the door lock, allowing guests to use the key card to open the door at will during their check-in time period. Since each door lock corresponds to a fixed key card, this poses a security risk and is inconvenient for hotel management. Once a key card is issued to a guest, the key card and the key card information cannot be managed. In the event of an emergency, managers cannot effectively control the key card and room information. Furthermore, most existing room management systems can only connect to a local area network, making it impossible to monitor room status in real time. Furthermore, each hotel's management system operates and is managed independently after installation. This makes it difficult for management system developers to effectively monitor the management system, and any failures in the management system are difficult to detect and address. Furthermore, this approach also fails to achieve data integration and utilization, which is crucial with the advent of the big data era.
其次,大多数酒店的保洁卡、管理卡等都是没有使用权限限制,在某种程度上存在安全隐患。最后,自助式入住系统正在逐渐地应用到各类酒店中,其兴起的最主要原因是可减少前台管理,从而降低运营成本,但是也正因为无人管理,一定程度上缺乏人员审核,管理者也无法掌握酒店的入住情况,不管是对房主或是房客,都存在一定的安全隐患。Secondly, most hotels have no restrictions on the use of cleaning cards and management cards, which poses a security risk to some extent. Finally, self-service check-in systems are gradually being applied to various hotels. The main reason for their rise is that they can reduce front desk management and thus reduce operating costs. However, because there is no one to manage them, there is a lack of personnel review to a certain extent, and managers cannot grasp the hotel's occupancy status. This poses certain security risks to both the owner and the tenant.
此外,针对相关技术中门锁安全性较低的问题,目前尚未提出有效的解决方案。In addition, no effective solution has been proposed so far to address the problem of low security of door locks in related technologies.
发明内容Summary of the Invention
本发明的主要目的在于提供一种门锁权限处理系统和方法及装置,以解决相关技术中门锁安全性较低的问题。The main purpose of the present invention is to provide a door lock authority processing system, method and device to solve the problem of low door lock security in related technologies.
为了实现上述目的,根据本发明的一个方面,提供了一种门锁权限处理系统。该门锁权限处理系统包括:门锁系统,包括门锁;管家系统,用于获取用户身份信息,根据用户身份信息生成密钥,并将密钥下发至门锁,其中,用户身份信息为用于唯一标识用户身份的信息,门锁存储密钥,密钥唯一对应于用户身份信息;以及读写卡模块,用于将密钥写入门卡和\或读取门卡信息,并将门卡信息传送给管家系统。To achieve the above objectives, according to one aspect of the present invention, a door lock permission processing system is provided. The door lock permission processing system comprises: a door lock system including a door lock; a housekeeping system for obtaining user identity information, generating a key based on the user identity information, and distributing the key to the door lock, wherein the user identity information is information used to uniquely identify the user, the door lock stores the key, and the key uniquely corresponds to the user identity information; and a card reader/writer module for writing the key to a door card and/or reading door card information, and transmitting the door card information to the housekeeping system.
进一步地,门锁系统还包括:门锁服务器,用于接收管家系统下发的密钥;以及网关,用于接收门锁服务器发送的密钥并将密钥存储于门锁。Furthermore, the door lock system also includes: a door lock server, which is used to receive the key sent by the housekeeper system; and a gateway, which is used to receive the key sent by the door lock server and store the key in the door lock.
进一步地,读写卡模块包括:网络模块,用于将读写卡模块通过互联网连接至管家系统。Furthermore, the card reader/writer module includes: a network module, which is used to connect the card reader/writer module to the housekeeper system through the Internet.
为了实现上述目的,根据本发明的另一方面,提供了一种门锁权限处理方法,该门锁权限处理方法包括:获取用户身份信息,其中,用户身份信息为用于唯一标识用户身份的信息;根据用户身份信息生成密钥;以及将密钥传送至门锁,其中,门锁通过门卡开启,当门卡存储的信息与存储于门锁的密钥匹配时,门卡开启门锁,当门卡存储的信息与存储于门锁的密钥不匹配,则门卡无法开启门锁。In order to achieve the above-mentioned purpose, according to another aspect of the present invention, a door lock authority processing method is provided, which includes: obtaining user identity information, wherein the user identity information is information used to uniquely identify the user identity; generating a key based on the user identity information; and transmitting the key to the door lock, wherein the door lock is opened by a door card, and when the information stored in the door card matches the key stored in the door lock, the door card opens the door lock, and when the information stored in the door card does not match the key stored in the door lock, the door card cannot open the door lock.
进一步地,门卡为白卡,获取用户身份信息包括:获取用户的第一信息,其中,第一信息为预先存储的用户信息,在根据用户身份信息生成密钥之后,方法还包括:将密钥写入白卡。Furthermore, the door card is a white card, and obtaining the user identity information includes: obtaining the user's first information, wherein the first information is pre-stored user information, and after generating a key according to the user identity information, the method further includes: writing the key into the white card.
进一步地,门卡为身份卡,其中,身份卡预先存储有用于标识用户身份的信息,获取用户身份信息包括:获取身份卡信息,根据用户身份信息生成密钥包括:判断是否存在与身份卡信息匹配的第一信息,其中,第一信息为预先存储的用户信息;以及如果判断出存在与身份卡信息匹配的第一信息,则生成与身份卡信息对应的密钥,并将密钥传送至门锁。Furthermore, the door card is an identity card, wherein the identity card pre-stores information for identifying the user's identity, obtaining the user's identity information includes: obtaining the identity card information, and generating a key based on the user's identity information includes: determining whether there is first information that matches the identity card information, wherein the first information is pre-stored user information; and if it is determined that there is first information that matches the identity card information, generating a key corresponding to the identity card information, and transmitting the key to the door lock.
进一步地,门卡为身份卡,其中,身份卡预先存储有用于标识用户身份的信息,获取用户身份信息包括:获取身份卡信息,根据用户身份信息生成密钥包括:根据身份卡信息判断用户是否具有管理权限;以及在判断出用户具有管理权限时,根据身份卡信息生成密钥,其中,将密钥传送至管理权限对应的全部门锁中。Furthermore, the door card is an identity card, wherein the identity card pre-stores information for identifying the user's identity, and obtaining the user's identity information includes: obtaining the identity card information, and generating a key based on the user's identity information includes: judging whether the user has management authority based on the identity card information; and when judging that the user has management authority, generating a key based on the identity card information, wherein the key is transmitted to all door locks corresponding to the management authority.
进一步地,将密钥传送至门锁包括:将密钥发送给门锁服务器;门锁服务器在接收密钥后,将密钥发送给门锁系统的网关;以及网关在接收密钥后,将密钥下发至所述门锁进行存储。Furthermore, transmitting the key to the door lock includes: sending the key to the door lock server; after receiving the key, the door lock server sends the key to the gateway of the door lock system; and after receiving the key, the gateway sends the key to the door lock for storage.
进一步地,在将密钥传送至门锁之后,方法还包括:判断是否接收到密钥去除指令,其中,密钥去除指令为用于指示去除门锁的密钥的指令;在判断出接收到密钥去除指令时,随机生成新密钥;以及将新密钥发送至门锁,其中,新密钥覆盖门锁之前存储的密钥。Furthermore, after the key is transmitted to the door lock, the method also includes: determining whether a key removal instruction is received, wherein the key removal instruction is an instruction for instructing to remove the key of the door lock; when it is determined that the key removal instruction is received, randomly generating a new key; and sending the new key to the door lock, wherein the new key overwrites the key previously stored in the door lock.
根据本发明的又一方面,提供了一种门锁权限处理装置,该门锁权限处理装置包括:获取单元,用于获取用户身份信息,其中,用户身份信息为用于唯一标识用户身份的信息;第一生成单元,用于根据用户身份信息生成密钥;以及第一传送单元,用于将密钥传送至门锁,其中,门锁通过门卡开启,当门卡存储的信息与存储于门锁的密钥匹配时,门卡开启门锁,当门卡存储的信息与存储于门锁的密钥不匹配,则门卡无法开启门锁。According to another aspect of the present invention, a door lock authority processing device is provided, which includes: an acquisition unit for acquiring user identity information, wherein the user identity information is information used to uniquely identify the user identity; a first generation unit for generating a key based on the user identity information; and a first transmission unit for transmitting the key to the door lock, wherein the door lock is opened by a door card, and when the information stored in the door card matches the key stored in the door lock, the door card opens the door lock, and when the information stored in the door card does not match the key stored in the door lock, the door card cannot open the door lock.
通过本发明,采用获取用户身份信息,根据用户身份信息生成密钥,以及将密钥传送至门锁,从而实现根据不同的用户身份信息生成不同的门锁密钥,解决了门锁安全性较低的问题,进而达到了提高门锁安全性的效果。Through the present invention, user identity information is obtained, a key is generated according to the user identity information, and the key is transmitted to the door lock, thereby generating different door lock keys according to different user identity information, solving the problem of low door lock security and achieving the effect of improving door lock security.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
构成本申请的一部分的附图用来提供对本发明的进一步理解,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The accompanying drawings, which constitute part of this application, are intended to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are intended to explain the present invention and do not constitute an undue limitation of the present invention. In the accompanying drawings:
图1是根据本发明实施例的门锁权限处理系统的示意图;FIG1 is a schematic diagram of a door lock authority processing system according to an embodiment of the present invention;
图2是根据本发明实施例的门锁权限处理方法的流程图;以及FIG2 is a flow chart of a door lock authority processing method according to an embodiment of the present invention; and
图3是根据本发明实施例的门锁权限处理装置的示意图。FIG3 is a schematic diagram of a door lock authority processing device according to an embodiment of the present invention.
具体实施方式DETAILED DESCRIPTION
需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。下面将参考附图并结合实施例来详细说明本发明。It should be noted that, in the absence of conflict, the embodiments and features of the embodiments in this application can be combined with each other. The present invention will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分的实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本申请保护的范围。In order to enable those skilled in the art to better understand the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of this application.
需要说明的是,本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本申请的实施例。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present application described here. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
根据本发明实施例,提供了一种门锁权限处理系统,图1是根据本发明实施例的门锁权限处理系统的示意图。According to an embodiment of the present invention, a door lock authority processing system is provided. FIG1 is a schematic diagram of the door lock authority processing system according to an embodiment of the present invention.
如图1所示,该门锁权限处理系统包括:门锁系统10,管家系统20和读写卡模块30。As shown in FIG1 , the door lock authority processing system includes: a door lock system 10 , a housekeeper system 20 and a card reader/writer module 30 .
门锁系统10,包括门锁。门锁可以为智能门锁,安装于门上,例如,房门,电梯门等。可选地,该门锁上可以设置多个密钥存储区以存储不同职能人员的密钥。具体地,以酒店管理为例,可以在门锁上设置一个用于存储酒店客户密钥的密钥存储区,还可以设置管理员、保洁员、维修员等的密钥存储区,同时可以限定不同职能人员的门卡的使用时间等,从而提高酒店管理的安全性。优选地,门锁系统10还包括:门锁服务器,用于接收管家系统下发的密钥;以及网关,用于接收门锁服务器发送的密钥并将密钥存储于门锁。The door lock system 10 includes a door lock. The door lock can be a smart door lock, installed on a door, such as a room door or elevator door. Optionally, the door lock can be provided with multiple key storage areas to store keys for different functional personnel. Specifically, taking hotel management as an example, a key storage area for storing hotel customer keys can be provided on the door lock, and key storage areas for administrators, cleaners, maintenance personnel, etc. can also be provided. At the same time, the usage time of door cards for different functional personnel can be limited, thereby improving the security of hotel management. Preferably, the door lock system 10 also includes: a door lock server for receiving keys issued by the housekeeping system; and a gateway for receiving keys sent by the door lock server and storing the keys in the door lock.
门锁服务器可以接收管家系统20下发的密钥,并将密钥发送给网关,门锁服务器也可以接收网关发送的数据,例如,门锁的开锁时间、门卡类型、操作人员、房间温度、房间湿度等信息,并存储来自于网关发送的数据,以实时监控各个房间的状态,同时还方便于后期的数据整合、分析等,此外,还可以在门锁端设置报警装置,报警信息相应地也可以传送至网关,从而进一步传送至门锁服务器进行存储。网关用于实现门锁和门锁服务器之间的远程通信,只要存在网络,两者就可以通过网络通信,可选地,网关和门锁服务器可以通过无线或是有线的方式连接。优选地,网关和与门锁服务器通过满足ISO18000-7的433通信模块连接,该通信协议可以提高系统通信的私密性和安全性。The door lock server can receive the key issued by the housekeeper system 20 and send the key to the gateway. The door lock server can also receive data sent by the gateway, such as the unlocking time of the door lock, the type of door card, the operator, the room temperature, the room humidity and other information, and store the data sent from the gateway to monitor the status of each room in real time. It is also convenient for later data integration and analysis. In addition, an alarm device can be set at the door lock end, and the alarm information can also be transmitted to the gateway accordingly, and then further transmitted to the door lock server for storage. The gateway is used to realize remote communication between the door lock and the door lock server. As long as there is a network, the two can communicate through the network. Optionally, the gateway and the door lock server can be connected wirelessly or wired. Preferably, the gateway and the door lock server are connected through a 433 communication module that meets ISO18000-7. This communication protocol can improve the privacy and security of system communications.
管家系统20,用于获取用户身份信息,根据用户身份信息生成密钥,并将密钥下发至门锁,其中,用户身份信息为用于唯一标识用户身份的信息,门锁存储密钥,密钥唯一对应于用户身份信息。The housekeeper system 20 is used to obtain user identity information, generate a key based on the user identity information, and send the key to the door lock, wherein the user identity information is information used to uniquely identify the user identity, the door lock stores the key, and the key uniquely corresponds to the user identity information.
管家系统20为客户端系统,例如,B/S系统,可以通过APP或是浏览器等访问。管家系统20可以用于数据信息管理、系统的开卡及生成、下发、查询和管理密钥等。具体地,管家系统20可以获取到用户身份信息,例如,用户提交的订单信息、用户的身份证信息等,并根据用户的身份信息生成密钥,并将密钥下发至门锁,具体地,管家系统20可以直接通过网络下发至门锁,管家系统20也可以是先将密钥发送给门锁服务器,门锁服务器再将密钥发送给网关,最后通过网关将密钥存储于门锁。由于上述生成的密钥与用户身份信息是唯一对应的,因此,该密钥的安全性较高,相应地,门锁的安全性也提高。The housekeeper system 20 is a client system, such as a B/S system, which can be accessed through an APP or a browser. The housekeeper system 20 can be used for data information management, system card activation, and generation, issuance, query and management of keys. Specifically, the housekeeper system 20 can obtain user identity information, such as the order information submitted by the user, the user's ID card information, etc., and generate a key based on the user's identity information, and issue the key to the door lock. Specifically, the housekeeper system 20 can be directly issued to the door lock through the network, or the housekeeper system 20 can first send the key to the door lock server, and the door lock server then sends the key to the gateway, and finally the key is stored in the door lock through the gateway. Since the key generated above is uniquely corresponding to the user's identity information, the security of the key is relatively high, and accordingly, the security of the door lock is also improved.
读写卡模块30,用于将密钥写入门卡和/或读取门卡信息,并将门卡信息传送给管家系统。具体地,当门卡为白卡(例如,ISO15693卡)时,读写卡模块30接收管家系统20下发的密钥,并将密钥写入到白卡中;当门卡为身份卡(例如,身份证、公交卡等)时,读写卡模块30读取身份卡的信息,并将该身份卡的信息传送给管家系统20,管家系统20根据该身份卡的信息生成密钥,该密钥与身份卡信息匹配,同时该密钥也对应于用户预先存储的信息,例如,该用户的订单信息、登记信息等,此时,用户通过身份卡即可开启存储有上述密钥的门锁,使用安全、方便。优选地,读写卡模块30包括:网络模块,用于将读写卡模块通过互联网连接至管家系统。通过网络模块可以实现读写卡模块30和管家系统20之间联网通信。The card reader/writer module 30 is used to write the key into the door card and/or read the door card information, and transmit the door card information to the housekeeper system. Specifically, when the door card is a white card (for example, an ISO15693 card), the card reader/writer module 30 receives the key issued by the housekeeper system 20 and writes the key into the white card; when the door card is an identity card (for example, an ID card, a bus card, etc.), the card reader/writer module 30 reads the information of the identity card and transmits the information of the identity card to the housekeeper system 20. The housekeeper system 20 generates a key based on the information of the identity card. The key matches the identity card information. At the same time, the key also corresponds to the user's pre-stored information, such as the user's order information, registration information, etc. At this time, the user can use the identity card to open the door lock that stores the above-mentioned key, which is safe and convenient to use. Preferably, the card reader/writer module 30 includes: a network module for connecting the card reader/writer module to the housekeeper system via the Internet. The network module can realize network communication between the card reader/writer module 30 and the housekeeper system 20.
具体地,以酒店的门锁权限处理系统为例对本发明实施例进行详细说明:Specifically, the embodiment of the present invention is described in detail by taking the hotel door lock authority processing system as an example:
用户通过APP或是浏览器提交订单信息,该订单信息包括用户的姓名、电话、身份证号、入住/离店时间、预定的房型、价格等信息,订单信息保存在数据库中,当用户需要入住酒店时,有两种方式办理酒店入住,一是酒店工作人员通过管家系统可以调取该用户的订单信息,并根据该用户的订单信息生成密钥并下发到门锁A,同时,通过读写卡模块将密钥写入到门卡A,用户通过门卡A即可开启该门锁A,从而打开门锁A对应的房门;二是通过读写卡模块先读取用户的身份卡的信息,例如,身份证,根据用户的身份卡的信息生成对应的密钥,该密钥同时也与用户的订单信息匹配,将该密钥下发给门锁B,此时,用户通过身份卡即可开启该门锁B,从而打开门锁B对应的房门。The user submits the order information through the APP or browser. The order information includes the user's name, phone number, ID number, check-in/check-out time, reserved room type, price and other information. The order information is saved in the database. When the user needs to check in to the hotel, there are two ways to check in. One is that the hotel staff can retrieve the user's order information through the housekeeper system, and generate a key based on the user's order information and send it to door lock A. At the same time, the key is written to door card A through the card reader module. The user can open door lock A through door card A, thereby opening the door corresponding to door lock A; the second is to first read the user's identity card information through the card reader module, such as the ID card, and generate a corresponding key based on the user's identity card information. The key also matches the user's order information and sends the key to door lock B. At this time, the user can open door lock B through the identity card, thereby opening the door corresponding to door lock B.
可选地,还可以设置自助式服务设备,用户通过自助式服务设备可以自助登记入住酒店,例如,用户通过自助式服务设备调取订单信息,点击或下发生成密钥指令,该生成密钥指令下发到管家系统并生成密钥,密钥通过管家系统下发到读写卡模块,通过读写卡模块写入门卡,同时密钥通过门锁服务器保存到门锁,或是用户将身份证放置在自助式服务设备的读写卡模块上,读写卡模块上传身份证信息至管家系统,管家系统将身份证信息与订单信息进行比对,信息匹配后管家系统根据身份证信息生成密钥同时将密钥传送到门锁服务器,然后经过网关将密钥传送到门锁,并在门锁的相应存储区进行存储,同时管家系统激活身份证的开门功能。通过加入自助式服务设备后,将省去前台的办理入住工作人员,节省了运营成本。本发明实施例中的门锁权限处理系统根据每个用户信息(例如,订单信息、身份卡信息等)生成密钥并下发至门锁,门锁密钥与用户身份信息相匹配,相比于现有技术中固定的不可更改门锁密钥,更为方便管理,更能保证用户的生命、财产安全。此外,网关可以实时上传刷卡开门信息至门锁服务器,从而可以实时掌握房间的状态,能让管理者很好地掌握房间的入住情况,其中,刷卡开门信息包括门卡类型、操作人员、操作时间、操作结果等等。Optionally, a self-service device can be set up, through which users can self-check in to the hotel. For example, the user retrieves the order information through the self-service device and clicks or issues a key generation instruction. The key generation instruction is sent to the housekeeper system and a key is generated. The key is sent to the card reader module through the housekeeper system, and is written to the door card through the card reader module. At the same time, the key is saved to the door lock through the door lock server. Alternatively, the user places the ID card on the card reader module of the self-service device, and the card reader module uploads the ID card information to the housekeeper system. The housekeeper system compares the ID card information with the order information. After the information matches, the housekeeper system generates a key based on the ID card information and transmits the key to the door lock server. The key is then transmitted to the door lock through the gateway and stored in the corresponding storage area of the door lock. At the same time, the housekeeper system activates the door opening function of the ID card. By adding self-service devices, the check-in staff at the front desk will be eliminated, saving operating costs. The door lock permission processing system in this embodiment of the present invention generates a key based on each user's information (e.g., order information, ID card information, etc.) and distributes it to the door lock. The door lock key matches the user's identity information. Compared with the fixed, unchangeable door lock keys used in existing technologies, this system is more convenient to manage and better protects the user's life and property. In addition, the gateway can upload card swipe door opening information to the door lock server in real time, thereby providing real-time information on the room's status and allowing managers to better understand the room's occupancy status. The card swipe door opening information includes the card type, operator, operation time, operation results, and so on.
可选地,本发明实施例还可以通过直接在门锁端(在门锁处设置有读写卡模块)或者读写卡模块端刷身份证,门锁/读写卡模块将读取到的身份证信息通过网关上传到门锁服务器,门锁服务器可将身份证信息与用户预设的信息进行匹配,其中,用户预设的信息可以通过用户的登陆账号或者权限账号等调取,如果身份证信息与用户预设的信息匹配成功,匹配信息在数据库进行保存,同时匹配信息可下发到账号权限范围内的所有的门锁端进行保存,当商户持该身份证进行刷卡开门时,身份证信息与门锁储存的信息进行匹配,匹配则开门成功。此方法可将身份证作为酒店的管理卡使用,只要上传一次商户的身份证信息并匹配即可控制该用户管理权限内的全部房间。具体地,每个用户对应唯一的账号及相应的权限,用户的房间或酒店信息可以通过在管家系统登录后进行查看或操作,管家系统具有管理卡匹配操作功能,可以将上传的身份证信息与账号对应的管理权限进行匹配,从而使得相应的身份证匹配为管理卡,即一张管理卡能开启所有匹配的权限房间的门锁。此外,本发明实施例还可以根据不同需要个性化地加入不同职能的门卡,例如保洁卡、维修卡等,将相关信息写入到门卡中,并通过网关上传的门卡开门信息,随时监控相应的房间。Alternatively, embodiments of the present invention can also be implemented by swiping an ID card directly at the door lock end (a card reader/writer module is provided at the door lock) or the card reader/writer module end. The door lock/card reader/writer module will upload the ID card information read to the door lock server through the gateway. The door lock server can match the ID card information with the user's preset information, wherein the user's preset information can be retrieved through the user's login account or permission account, etc. If the ID card information successfully matches the user's preset information, the matching information is saved in the database. At the same time, the matching information can be sent to all door lock ends within the account's permission range for storage. When the merchant uses the ID card to swipe the card to open the door, the ID card information is matched with the information stored in the door lock. If a match is found, the door is opened successfully. This method can use the ID card as a hotel management card. As long as the merchant's ID card information is uploaded once and matched, all rooms within the user's management permission can be controlled. Specifically, each user has a unique account and corresponding permissions. A user's room or hotel information can be viewed or manipulated by logging into the housekeeping system. The housekeeping system features a management card matching function that matches uploaded ID information with the management permissions corresponding to the account, thereby matching the corresponding ID card to a management card. This means that a single management card can unlock the doors of all rooms with matching permissions. Furthermore, embodiments of the present invention can also customize door cards for different functions, such as cleaning cards and maintenance cards, based on different needs. The relevant information is written to the door card, and the corresponding room can be monitored at any time through the door card opening information uploaded by the gateway.
可选地,本发明实施例还可以在任意时间去除门锁端存储的密钥,具体地,管家系统将相关去除指令下发到门锁服务器,再经过网关传送给门锁,门锁收到指令后去除相应存储区内的信息,此时门卡将匹配不到合适的密钥,门卡失效。实际上,本发明实施例中去除门锁端存储的密钥是通过生成新密钥来覆盖门锁之前存储的密钥。一般情况下,为了保证网络的畅通,读写卡模块与带有管家系统的设备是通过有线网络进行连接的,当准备启用门卡时,将门卡置于读写卡模块上,通过管家系统调取相应订单并下发生成随机密钥的指令,生成密钥,管家系统通过门锁服务器向门锁下发密钥,当网络不畅时,门锁服务器无法向门锁下发密钥,即门锁无法更新新密钥,则管家系统将收到无法下发密钥的反馈信息,此时读写卡模块拒绝将新密钥写入到门卡,门卡自动启用上次的密钥进行开门操作。Optionally, embodiments of the present invention can also remove the key stored in the door lock at any time. Specifically, the housekeeping system sends a relevant removal instruction to the door lock server, which is then transmitted to the door lock via the gateway. After receiving the instruction, the door lock removes the information in the corresponding storage area. At this time, the door card will not be able to match the appropriate key, and the door card will become invalid. In fact, in embodiments of the present invention, the key stored in the door lock is removed by generating a new key to overwrite the key previously stored in the door lock. Generally, to ensure smooth network access, the card reader/writer module and the device with the housekeeping system are connected via a wired network. When the door card is ready to be activated, the door card is placed on the card reader/writer module. The housekeeping system retrieves the corresponding order and issues an instruction to generate a random key. The key is generated and the housekeeping system sends the key to the door lock through the door lock server. If the network is poor, the door lock server cannot send the key to the door lock, that is, the door lock cannot update the new key. The housekeeping system will receive feedback that the key cannot be sent. At this time, the card reader/writer module refuses to write the new key to the door card, and the door card automatically uses the previous key to open the door.
从以上的描述中,可以看出,本发明实现了如下技术效果:From the above description, it can be seen that the present invention achieves the following technical effects:
本发明实施例的门锁权限处理系统通过管家系统获取用户身份信息,根据用户身份信息生成密钥,并将密钥下发至门锁系统中的门锁,相比于现有技术中固定的门锁密钥,安全性更高,解决了现有技术中门锁安全性较低的问题,提高了门锁的安全性。此外,本发明实施例中门锁可以将每次刷门卡开门的信息上传给门锁服务器进行存储,一方面可以实时监控每个房间的状态,另一方面也可以根据门锁服务器存储的数据进行后续的分析。The door lock permission processing system in the embodiment of the present invention obtains user identity information through the housekeeping system, generates a key based on the user identity information, and distributes the key to the door lock in the door lock system. Compared with the fixed door lock keys in the existing technology, it is more secure, solving the problem of low security of door locks in the existing technology and improving the security of door locks. In addition, the door lock in the embodiment of the present invention can upload the information of each door card swipe to the door lock server for storage. This not only allows for real-time monitoring of the status of each room, but also allows for subsequent analysis based on the data stored by the door lock server.
根据本发明实施例的另一方面,提供了一种门锁权限处理方法,如图2所示,该方法包括如下的步骤S202至步骤S206:According to another aspect of an embodiment of the present invention, a door lock authority processing method is provided. As shown in FIG2 , the method includes the following steps S202 to S206:
步骤S202:获取用户身份信息,其中,用户身份信息为用于唯一标识用户身份的信息。Step S202: Obtain user identity information, where the user identity information is information used to uniquely identify the user.
用户身份信息为用于唯一标识用户身份的信息,例如,用户身份信息可以是用户的身份证存储的信息,可以是用户的公交卡存储的信息,也可以是预先存储的用户的姓名、手机号、身份证号等信息,例如,用户入住酒店前提交的订单信息、登记信息等。User identity information is information used to uniquely identify the user. For example, user identity information can be information stored in the user's ID card, information stored in the user's bus card, or pre-stored information such as the user's name, mobile phone number, ID card number, etc., such as order information and registration information submitted by the user before checking into the hotel.
步骤S204:根据用户身份信息生成密钥。Step S204: Generate a key based on the user identity information.
在上述步骤S202得到用户身份信息后,根据该用户身份信息生成密钥,该密钥与该用户身份信息对应。After obtaining the user identity information in the above step S202, a key is generated according to the user identity information, and the key corresponds to the user identity information.
步骤S206:将密钥传送至门锁,其中,门锁通过门卡开启,当门卡存储的信息与存储于门锁的密钥匹配时,门卡开启门锁,当门卡存储的信息与存储于门锁的密钥不匹配,则门卡无法开启门锁。具体地,可以通过蓝牙、局域网、互联网等方式将密钥传送至门锁,优选地,将密钥传送至门锁包括:将密钥发送给门锁服务器;门锁服务器在接收密钥后,将密钥发送给门锁系统的网关;以及网关在接收密钥后,将密钥下发至所述门锁进行存储,其中,上述网关可以通过有线或是无线的方式接入互联网,只要存在网络,就可以实现将密钥传送至门锁,此外,网关也可以将门锁的开门信息,例如,开锁时间、门卡类型、操作人员等,以及房间温度、房间湿度等信息通过网络发送至门锁服务器,以实现对每个房间的实时监控。Step S206: transmitting the key to the door lock, wherein the door lock is opened by a door card. When the information stored in the door card matches the key stored in the door lock, the door card opens the door lock. When the information stored in the door card does not match the key stored in the door lock, the door card cannot open the door lock. Specifically, the key can be transmitted to the door lock via Bluetooth, a local area network, the Internet, etc. Preferably, transmitting the key to the door lock includes: sending the key to a door lock server; after receiving the key, the door lock server sends the key to a gateway of the door lock system; and after receiving the key, the gateway sends the key to the door lock for storage. The gateway can be connected to the Internet via wired or wireless means. As long as there is a network, the key can be transmitted to the door lock. In addition, the gateway can also send door lock opening information, such as unlocking time, door card type, operator, etc., as well as room temperature, room humidity, etc., to the door lock server via the network to achieve real-time monitoring of each room.
本发明实施例通过获取用户身份信息,根据用户身份信息生成密钥,以及将密钥传送至门锁,从而实现根据不同的用户身份信息生成不同的门锁密钥,相比于现有技术中固定的门锁密钥,安全性更高,解决了现有技术中门锁安全性较低的问题,提高了门锁的安全性。The embodiment of the present invention obtains user identity information, generates a key based on the user identity information, and transmits the key to the door lock, thereby generating different door lock keys according to different user identity information. Compared with the fixed door lock keys in the prior art, it is more secure, solves the problem of low door lock security in the prior art, and improves the security of the door lock.
具体地,当上述门卡为白卡时,获取用户身份信息包括:获取用户的第一信息,其中,第一信息为预先存储的用户信息,在根据用户身份信息生成密钥之后,方法还包括:将密钥写入白卡。Specifically, when the door card is a white card, obtaining the user identity information includes: obtaining the user's first information, wherein the first information is pre-stored user information, and after generating a key according to the user identity information, the method further includes: writing the key into the white card.
白卡为可以写入数据的卡,例如,ISO15693卡。第一信息可以是用户的姓名、手机号、身份证号等信息。具体地,以酒店门锁密钥管理为例,第一信息可以是用户提交的订单信息,其中,订单信息包括用户的姓名、电话、身份证号、入住/离店时间、预定的房型、价格等信息,具体地,用户可以通过APP或是浏览器等提交订单信息,该订单信息存储于酒店管理系统的数据库中,例如,管家系统的数据库,通过登入到酒店管理系统可以调取用户的订单信息,从而根据订单信息生成密钥,并将密钥下发至门锁。A white card is a card that can be written to data, such as an ISO15693 card. The first information can be the user's name, mobile phone number, ID number, and other information. Specifically, taking hotel door lock key management as an example, the first information can be the order information submitted by the user, wherein the order information includes the user's name, phone number, ID number, check-in/check-out time, reserved room type, price, and other information. Specifically, the user can submit the order information through an APP or a browser, and the order information is stored in the database of the hotel management system, such as the database of the housekeeper system. By logging into the hotel management system, the user's order information can be retrieved, and a key can be generated based on the order information and sent to the door lock.
在根据第一信息生成密钥之后,除了将该密钥下发至门锁之外,还需要将该密钥写入白卡中,从而,用户通过该写入上述密钥的白卡来打开门锁,具体地,可以在门锁处设置读卡模块,通过该读卡模块读取白卡中的信息,如果该白卡中的信息与门锁存储的密钥匹配,则该门卡打开该门锁,否则,该门卡无法打开该门锁。After generating a key based on the first information, in addition to sending the key to the door lock, the key also needs to be written into a white card, so that the user can open the door lock through the white card with the above key written in it. Specifically, a card reading module can be set at the door lock to read the information in the white card. If the information in the white card matches the key stored in the door lock, the door card opens the door lock. Otherwise, the door card cannot open the door lock.
具体地,当门卡为身份卡时,其中,身份卡预先存储有用于标识用户身份的信息,获取用户身份信息包括:获取身份卡信息,根据用户身份信息生成密钥包括:判断是否存在与身份卡信息匹配的第一信息,其中,第一信息为预先存储的用户信息;以及如果判断出存在与身份卡信息匹配的第一信息,则生成与身份卡信息对应的密钥,并将密钥传送至门锁。Specifically, when the door card is an identity card, wherein the identity card pre-stores information for identifying the user's identity, obtaining the user's identity information includes: obtaining the identity card information, and generating a key based on the user's identity information includes: determining whether there is first information that matches the identity card information, wherein the first information is pre-stored user information; and if it is determined that there is first information that matches the identity card information, generating a key corresponding to the identity card information, and transmitting the key to the door lock.
身份卡可以是用户的身份证、公交卡等,具体地,可以通过读写卡模块读取身份卡信息,并将该身份卡信息传送给管家系统,管家系统根据该身份卡信息判断是否存在与该身份卡信息匹配的第一信息,例如,用户的订单信息,如果存在与该身份卡信息匹配的第一信息,则根据身份卡信息生成密钥并下发至门锁,同时,激活身份卡的开门功能,此时,用户通过该身份卡即可开启门锁。通过将身份卡作为门卡使用,不仅使用方便安全,而且可以节省大量的白卡,降低成本。The ID card can be a user's ID card, bus pass, or other card. Specifically, the card reader/writer module reads the ID card information and transmits it to the housekeeping system. The housekeeping system then determines whether there is a matching first piece of information, such as the user's order information, based on the ID card information. If so, the system generates a key based on the ID card information and sends it to the door lock. Simultaneously, the ID card's door-opening function is activated, allowing the user to unlock the door using the ID card. Using the ID card as a door card is not only convenient and safe, but also saves a significant number of blank cards, reducing costs.
可选地,采用本发明实施例的门锁权限处理方法,还可以针对不同职能人员(例如,管理人员、保洁人员、维修人员等)生成对应的密钥,并相应的生成不同职能的门卡,此外,还可以对这些不同职能的门卡设置不同的权限,例如,设置开门时间权限、设置一定范围的房间开门权限等。以下以生成管理人员对应的密钥和管理卡为例进行说明。Optionally, the door lock permission processing method of the embodiment of the present invention can also generate corresponding keys for different functional personnel (for example, management personnel, cleaning personnel, maintenance personnel, etc.), and correspondingly generate door cards for different functions. In addition, different permissions can be set for these door cards for different functions, for example, setting door opening time permissions, setting room opening permissions within a certain range, etc. The following is an example of generating keys and management cards corresponding to management personnel.
当门卡为身份卡时,其中,身份卡预先存储有用于标识用户身份的信息,获取用户身份信息包括:获取身份卡信息,根据用户身份信息生成密钥包括:根据身份卡信息判断用户是否具有管理权限;以及在判断出用户具有管理权限时,根据身份卡信息生成密钥,其中,将密钥传送至管理权限对应的全部门锁中。When the door card is an identity card, wherein the identity card pre-stores information for identifying the user's identity, obtaining the user's identity information includes: obtaining the identity card information, and generating a key based on the user's identity information includes: judging whether the user has management authority based on the identity card information; and when judging that the user has management authority, generating a key based on the identity card information, wherein the key is transmitted to all door locks corresponding to the management authority.
同上,身份卡可以是用户的身份证、公交卡等,具体地,可以通过读写卡模块读取身份卡信息,并将该身份卡信息传送给管家系统。优选地,获取身份卡信息包括:从身份卡读取身份卡信息;以及通过互联网获取身份卡信息。管家系统将获取的身份卡信息与预设信息进行匹配,其中,预设信息可以是预设的管理权限账号、登陆账号等,如果身份卡信息与预设信息匹配,则说明该身份卡所代表的用户具有管理权限,此时可以获取该用户的管理权限。在根据身份卡信息生成密钥之后,将密钥发送至该用户管理权限对应的全部门锁中,同时激活该用户的身份卡,使得通过该身份卡即可以开启该用户的管理权限中的全部门锁,从而,该身份卡即可作为管理卡使用。可选地,也可以通过白卡来实现管理卡的功能,具体地,用户可以通过预设的管理权限账号等登录至管理系统,例如,管家系统,管理系统根据该用户的信息生成密钥,并将密钥下发到该用户的管理权限对应的全部门锁中,以及将密钥写入到白卡中,从而,该白卡具备管理卡的功能,可以打开该用户管理权限中的全部门锁。As above, the identity card can be the user's ID card, bus card, etc. Specifically, the identity card information can be read through the card reader/writer module and transmitted to the housekeeper system. Preferably, obtaining the identity card information includes: reading the identity card information from the identity card; and obtaining the identity card information through the Internet. The housekeeper system matches the obtained identity card information with the preset information, wherein the preset information can be a preset management authority account, login account, etc. If the identity card information matches the preset information, it means that the user represented by the identity card has management authority, and the user's management authority can be obtained at this time. After generating a key based on the identity card information, the key is sent to all door locks corresponding to the user's management authority, and the user's identity card is activated at the same time, so that all door locks within the user's management authority can be opened through the identity card, so that the identity card can be used as a management card. Optionally, the function of the management card can also be realized through a white card. Specifically, the user can log in to the management system through a preset management authority account, such as the housekeeper system. The management system generates a key based on the user's information, and sends the key to all door locks corresponding to the user's management authority, and writes the key to the white card. Thus, the white card has the function of a management card and can open all door locks in the user's management authority.
优选地,为了方便对房间等的管理,在将密钥传送至门锁之后,该方法还包括:判断是否接收到密钥去除指令,其中,密钥去除指令为用于指示去除门锁的密钥的指令;在判断出接收到密钥去除指令时,随机生成新密钥;以及将新密钥发送至门锁,其中,新密钥覆盖门锁之前存储的密钥。Preferably, in order to facilitate the management of rooms, etc., after the key is transmitted to the door lock, the method also includes: determining whether a key removal instruction is received, wherein the key removal instruction is an instruction for instructing the removal of the key of the door lock; when it is determined that the key removal instruction is received, randomly generating a new key; and sending the new key to the door lock, wherein the new key overwrites the key previously stored in the door lock.
在门卡丢失、门卡损坏等情况下,为了保证用户可以顺利开门,或是避免外人开门,可以注销门锁当前存储的密钥,同时,生成新的密钥并下发至门锁。具体地,可以通过判断是否接收到密钥去除指令来确定是否需要重新生成密钥,在判断出接收到密钥去除指令时,随机生成新密钥,并将新密钥下发至门锁,使其覆盖该门锁先前存储的密钥,从而,该门锁先前对应的门卡失效,无法打开该门锁,此外,将新密钥写入新的门卡中,通过该新门卡以打开该门锁。待原先的门卡找到后,又可以重新将原先的门卡信息下发到门锁,原先的门卡恢复正常使用。In situations such as when a door card is lost or damaged, the lock's currently stored key can be deregistered to ensure the user can open the door smoothly or to prevent outsiders from opening the door. At the same time, a new key is generated and sent to the door lock. Specifically, the need for rekeying can be determined by determining whether a key removal instruction has been received. If a key removal instruction has been received, a new key is randomly generated and sent to the door lock, overwriting the previously stored key. This renders the previously stored key of the door lock invalid, preventing it from being opened. Furthermore, the new key is written to a new door card, which can then be used to open the door lock. Once the original door card is found, the original door card information can be resent to the door lock, and the original door card can be used again.
需要说明的是,在附图的流程图示出的步骤可以在诸如一组计算机可执行指令的计算机系统中执行,并且,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.
根据本发明实施例的又一方面,提供了一种门锁权限处理装置,该门锁权限处理装置可以用于执行本发明实施例的门锁权限处理方法,本发明实施例的门锁权限处理方法也可以通过本发明实施例的门锁权限处理装置来执行。此外,本发明实施例的门锁权限处理系统是本发明实施例的门锁权限处理装置的一个具体实现。According to another aspect of an embodiment of the present invention, a door lock permission processing device is provided. The door lock permission processing device can be used to execute the door lock permission processing method of an embodiment of the present invention. The door lock permission processing method of an embodiment of the present invention can also be executed by the door lock permission processing device of an embodiment of the present invention. In addition, the door lock permission processing system of an embodiment of the present invention is a specific implementation of the door lock permission processing device of an embodiment of the present invention.
图3是根据本发明实施例的门锁权限处理装置的示意图,如图3所示,该门锁权限处理装置包括:获取单元40,第一生成单元50和第一传送单元60。FIG3 is a schematic diagram of a door lock authority processing device according to an embodiment of the present invention. As shown in FIG3 , the door lock authority processing device includes: an acquisition unit 40 , a first generation unit 50 and a first transmission unit 60 .
获取单元40,用于获取用户身份信息,其中,用户身份信息为用于唯一标识用户身份的信息。The acquiring unit 40 is configured to acquire user identity information, wherein the user identity information is information used to uniquely identify the user.
用户身份信息为用于唯一标识用户身份的信息,例如,用户身份信息可以是用户的身份证存储的信息,可以是用户的公交卡存储的信息,也可以是预先存储的用户的姓名、手机号、身份证号等信息,例如,用户入住酒店前提交的订单信息、登记信息等。具体地,获取单元40可以是上述门锁权限处理系统中的管家系统20,即可以通过管家系统20调取用户的订单信息,或是接收用户的身份信息等。User identity information is information used to uniquely identify a user. For example, user identity information can be information stored in the user's ID card, information stored in the user's bus card, or pre-stored information such as the user's name, mobile phone number, ID card number, etc., such as order information or registration information submitted by the user before checking into a hotel. Specifically, the acquisition unit 40 can be the housekeeper system 20 in the door lock permission processing system described above, that is, the housekeeper system 20 can retrieve the user's order information or receive the user's identity information.
第一生成单元50,用于根据用户身份信息生成密钥。The first generating unit 50 is configured to generate a key according to user identity information.
第一传送单元60,用于将密钥传送至门锁,其中,门锁通过门卡开启,当门卡存储的信息与存储于门锁的密钥匹配时,门卡开启门锁,当门卡存储的信息与存储于门锁的密钥不匹配,则门卡无法开启门锁。The first transmission unit 60 is used to transmit the key to the door lock, wherein the door lock is opened by a door card. When the information stored in the door card matches the key stored in the door lock, the door card opens the door lock. When the information stored in the door card does not match the key stored in the door lock, the door card cannot open the door lock.
具体地,第一生成单元50和第一传送单元60也可以是上述门锁权限处理系统中的管家系统20,即可以通过管家系统20来实现根据用户身份信息生成密钥,并将密钥传送至门锁。Specifically, the first generating unit 50 and the first transmitting unit 60 may also be the housekeeper system 20 in the above-mentioned door lock authority processing system, that is, the housekeeper system 20 may be used to generate a key according to the user identity information and transmit the key to the door lock.
本发明实施例通过获取单元40获取用户身份信息,第一生成单元50根据用户身份信息生成密钥,以及第一传送单元60将密钥传送至门锁,从而实现根据不同的用户身份信息生成不同的门锁密钥,相比于现有技术中固定的门锁密钥,安全性更高,解决了现有技术中门锁安全性较低的问题,提高了门锁的安全性。In the embodiment of the present invention, the acquisition unit 40 acquires user identity information, the first generation unit 50 generates a key according to the user identity information, and the first transmission unit 60 transmits the key to the door lock, thereby generating different door lock keys according to different user identity information. Compared with the fixed door lock keys in the prior art, the security is higher, which solves the problem of low security of door locks in the prior art and improves the security of the door lock.
可选地,门卡为白卡,获取单元40包括:第一获取模块,用于获取用户的第一信息,其中,第一信息为预先存储的用户信息,该装置还包括:写入单元,用于将密钥写入白卡。具体地,写入单元可以是上述门锁权限处理系统中的读写卡模块,即可以通过读写卡模块将密钥写入到白卡中。Optionally, the door card is a blank card, and the acquisition unit 40 includes a first acquisition module for acquiring first user information, where the first information is pre-stored user information. The device also includes a writing unit for writing the key to the blank card. Specifically, the writing unit can be the card reader/writer module in the door lock permission processing system described above, that is, the key can be written to the blank card via the card reader/writer module.
可选地,门卡为身份卡,其中,身份卡预先存储有用于标识用户身份的信息,获取单元40包括:第二获取模块,用于获取身份卡信息,第一生成单元50包括:第一判断模块,用于判断是否存在与身份卡信息匹配的第一信息,其中,第一信息为预先存储的用户信息;以及第一生成模块,用于在判断出存在与身份卡信息匹配的第一信息时,生成与身份卡信息对应的密钥,并将密钥传送至门锁。具体地,第二获取模块也可以是上述门锁权限处理系统中的读写卡模块,即可以通过读写卡模块读取身份卡信息,例如,读取身份证信息,或是公交卡信息等。Optionally, the door card is an identity card, wherein the identity card pre-stores information for identifying the user's identity. The acquisition unit 40 includes: a second acquisition module for acquiring the identity card information; the first generation unit 50 includes: a first determination module for determining whether there is first information matching the identity card information, wherein the first information is pre-stored user information; and a first generation module for, upon determining that there is first information matching the identity card information, generating a key corresponding to the identity card information and transmitting the key to the door lock. Specifically, the second acquisition module may also be the card reader/writer module in the aforementioned door lock permission processing system, i.e., the card reader/writer module can read identity card information, for example, identity card information or bus pass information.
可选地,门卡为身份卡,其中,身份卡预先存储有用于标识用户身份的信息,获取单元40包括:第三获取模块,用于获取身份卡信息,第一生成单元50包括:第二判断模块,用于根据身份卡信息判断用户是否具有管理权限;以及第二生成模块,用于在判断出用户具有管理权限时,根据身份卡信息生成密钥,其中,将密钥传送至管理权限对应的全部门锁中。Optionally, the door card is an identity card, wherein the identity card pre-stores information for identifying the user's identity, the acquisition unit 40 includes: a third acquisition module, used to obtain the identity card information, the first generation unit 50 includes: a second judgment module, used to judge whether the user has management authority based on the identity card information; and a second generation module, used to generate a key based on the identity card information when it is judged that the user has management authority, wherein the key is transmitted to all door locks corresponding to the management authority.
优选地,该装置还包括:判断单元,用于判断是否接收到密钥去除指令,其中,密钥去除指令为用于指示去除门锁的密钥的指令;第二生成单元,用于在判断出接收到密钥去除指令时,随机生成新密钥;第二传送单元,用于将新密钥传送至门锁,其中,新密钥覆盖门锁之前存储的密钥。具体地,上述判断单元、第二生成单元和第二传送单元也都可以是上述门锁权限处理系统中的管家系统20,即可以通过管家系统20判断是否接收到密钥去除指令,在判断出接收到密钥去除指令时,随机生成新密钥,并将新密钥传送至门锁。Preferably, the device further includes: a determination unit for determining whether a key removal instruction has been received, wherein the key removal instruction is an instruction for instructing the removal of the door lock key; a second generation unit for randomly generating a new key upon determining that the key removal instruction has been received; and a second transmission unit for transmitting the new key to the door lock, wherein the new key overwrites the key previously stored in the door lock. Specifically, the determination unit, the second generation unit, and the second transmission unit can all be the housekeeper system 20 in the door lock permission processing system. That is, the housekeeper system 20 can determine whether a key removal instruction has been received, and upon determining that the key removal instruction has been received, randomly generate a new key and transmit the new key to the door lock.
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。Obviously, those skilled in the art will appreciate that the modules or steps of the present invention described above can be implemented using a general-purpose computing device. They can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they can be implemented using program code executable by a computing device, which can then be stored in a storage device and executed by the computing device. Alternatively, they can be fabricated into separate integrated circuit modules, or multiple modules or steps can be fabricated into a single integrated circuit module for implementation. Thus, the present invention is not limited to any specific combination of hardware and software.
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The foregoing description is merely a preferred embodiment of the present invention and is not intended to limit the present invention. Those skilled in the art will readily appreciate that various modifications and variations of the present invention are possible. Any modifications, equivalent substitutions, or improvements made within the spirit and principles of the present invention are intended to be within the scope of protection of the present invention.
Claims (9)
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510085036.9A CN104751545B (en) | 2015-02-16 | 2015-02-16 | Door lock authorization process system and method and device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| HK1209885A1 HK1209885A1 (en) | 2016-04-08 |
| HK1209885B true HK1209885B (en) | 2021-01-22 |
Family
ID=
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11354955B2 (en) | Universal access control device | |
| WO2016131243A1 (en) | System, method and device for processing permissions of door lock | |
| US20230215231A1 (en) | Smart building integration and device hub | |
| US11438169B2 (en) | Time-bound secure access | |
| JP6937764B2 (en) | Systems and methods for controlling access to physical space | |
| CN103248484B (en) | Access control system and method | |
| WO2017075952A1 (en) | Method and device for controlling intelligent door lock, and intelligent door control system | |
| WO2019174507A1 (en) | Temporary password usage control method and system | |
| WO2017128922A1 (en) | Network-based control method, apparatus, server and pms for use of door lock | |
| CN103679860A (en) | Home anti-theft system and working method thereof | |
| KR101629845B1 (en) | System for controlling room access and power supplies using an on-line base virtual key | |
| JP2018010449A (en) | Smart lock authentication system and method in smart lock | |
| WO2016155242A1 (en) | Main control board for electronic lock, and control circuit, system and method for electronic lock | |
| WO2018082095A1 (en) | Method and system for ic card management, and door access controller | |
| JP6505970B2 (en) | Access control system and access control method | |
| HK1209885B (en) | System, method and device for processing door-lock authority | |
| WO2022096870A1 (en) | Augmented access control system | |
| US20240143719A1 (en) | System and method for provisioning a physical security token | |
| JP7765976B2 (en) | Gate information management system, server and program for the system | |
| KR102883873B1 (en) | Multi-factor authentication hub device for access control and multi-factor authentication relay system including the same | |
| JP7688742B1 (en) | Management system, management method and management program | |
| JP7365085B1 (en) | Electric lock authentication management system | |
| TWM449312U (en) | Cloud door-security management system | |
| JP2023108303A5 (en) | ||
| JP2026010700A (en) | PIN management system, PIN management method, and PIN management program |