WO2016131243A1 - System, method and device for processing permissions of door lock - Google Patents

System, method and device for processing permissions of door lock Download PDF

Info

Publication number
WO2016131243A1
WO2016131243A1 PCT/CN2015/089074 CN2015089074W WO2016131243A1 WO 2016131243 A1 WO2016131243 A1 WO 2016131243A1 CN 2015089074 W CN2015089074 W CN 2015089074W WO 2016131243 A1 WO2016131243 A1 WO 2016131243A1
Authority
WO
WIPO (PCT)
Prior art keywords
key
door lock
information
card
door
Prior art date
Application number
PCT/CN2015/089074
Other languages
French (fr)
Chinese (zh)
Inventor
张泽
Original Assignee
张泽
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 张泽 filed Critical 张泽
Priority to SG11201608991PA priority Critical patent/SG11201608991PA/en
Publication of WO2016131243A1 publication Critical patent/WO2016131243A1/en

Links

Images

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit

Definitions

  • the present invention relates to the field of door locks, and in particular to a door lock authority processing system and method and apparatus.
  • each door lock corresponds to a fixed door card
  • the door card is issued to the customer through the hotel, wherein the check-in time is explicitly written in the door card.
  • the segment and the information matching the corresponding room and the like, the information in the door card is read at the door lock end, so that the tenant can freely use the door card to open the door during the check-in period. Since each door lock corresponds to a fixed door card, there is a safety hazard on the one hand, and it is not convenient for the management of the hotel on the other hand. Once the door card is delivered to the customer, the information in the door card and the door card cannot be managed.
  • the manager also does not have good control over the door card and room information.
  • most of the existing room management systems can only be connected to the local area network, and the status of the room cannot be monitored in real time, and the management system of each hotel is independently operated and managed after installation, which is impossible for the developers of the management system. Effectively monitor the management system. Once the management system is faulty, it is troublesome to find and process. In addition, this method can not realize the integration and utilization of data. With the advent of the era of big data, the effective integration analysis of data is very useful. important.
  • the main object of the present invention is to provide a door lock authority processing system and method and apparatus to solve the problem of low security of door locks in the related art.
  • a door lock authority processing system includes: a door lock system, including a door lock; a housekeeping system, configured to acquire user identity information, generate a key according to the user identity information, and send the key to the door lock, wherein the user identity information is Information for uniquely identifying the identity of the user, the door lock stores the key, the key uniquely corresponds to the user identity information; and the card reader module for writing the key to the door card and/or reading the door card information, and the door card Information is passed to the housekeeping system.
  • the door lock system further includes: a door lock server for receiving a key issued by the housekeeping system; and a gateway for receiving the key sent by the door lock server and storing the key in the door lock.
  • the card reader module includes: a network module, configured to connect the card reader module to the housekeeping system via the Internet.
  • a door lock authority processing method includes: acquiring user identity information, wherein the user identity information is information for uniquely identifying a user identity Generating a key according to the user identity information; and transmitting the key to the door lock, wherein the door lock is opened by the door card, and when the information stored by 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.
  • the door card is a white card
  • the acquiring the user identity information includes: acquiring the first information of the user, where the first information is pre-stored user information, and after generating the key according to the user identity information, the method further includes: encrypting The key is written to the white card.
  • the door card is an identity card
  • the identity card pre-stores information for identifying the identity of the user
  • acquiring the identity information of the user includes: acquiring the identity card information
  • generating the key according to the user identity information includes: determining whether the identity card exists and the identity card information Matching first information, wherein the first information is pre-stored user information; and if it is determined that there is first information matching the identity card information, generating a key corresponding to the identity card information, and transmitting the key to Door lock.
  • the door card is an identity card
  • the identity card pre-stores information for identifying the identity of the user, and obtaining the identity information of the user includes: acquiring the identity card information, and generating the key according to the identity information of the user includes: determining, according to the identity card information, whether the user is And having the management authority; and when determining that the user has the management authority, generating a key according to the identity card information, wherein the key is transmitted to all the door locks corresponding to the management authority.
  • transmitting the key to the door lock includes: transmitting 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 will The key is sent to the door lock for storage.
  • the method further includes: determining whether a key removal instruction is received, wherein the key removal instruction is an instruction for indicating a key for removing the door lock; and determining that the key is received
  • the key removal instruction is generated, a new key is randomly generated; and the new key is sent to the door lock, wherein the new key covers the key stored before the door lock.
  • a door lock authority processing apparatus comprising: an obtaining unit, configured to acquire user identity information, wherein the user identity information is information for uniquely identifying a user identity a first generating unit, configured to generate a key according to the user identity information; and a first transmitting unit, configured to transmit the key to the door lock, wherein the door lock is opened by the door card, and the information stored in the door card is stored in the Door lock When the key is matched, the door card unlocks 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.
  • the user identity information is acquired, the key is generated according to the user identity information, and the key is transmitted to the door lock, thereby realizing different door lock keys according to different user identity information, thereby solving the security of the door lock.
  • the low problem in turn, achieves the effect of improving the safety of the door lock.
  • FIG. 1 is a schematic diagram of a door lock authority processing system according to an embodiment of the present invention
  • FIG. 2 is a flowchart of a method for processing a door lock authority according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of a door lock authority processing apparatus according to an embodiment of the present invention.
  • FIG. 1 is a schematic diagram of a door lock authority processing system according to an embodiment of the present invention.
  • the door lock authority processing system includes a door lock system 10, a housekeeping system 20, and a card reader module 30.
  • the door lock system 10 includes a door lock.
  • the door lock can be a smart door lock that is mounted on the door, for example, a door, an elevator door, and the like.
  • multiple key storage areas may be set on the door lock to store keys of different functional personnel.
  • a key storage area for storing a hotel customer key may be set on the door lock, and a key storage area of an administrator, a cleaning staff, a maintenance person, etc. may be set, and at the same time, it may be limited.
  • the use time of the door cards of different functional personnel, etc. thereby improving the security of hotel management.
  • the door lock system 10 further includes: a door lock server for receiving a key issued by the housekeeping system; and a gateway for receiving the key sent by the door lock server and storing the key in the door lock.
  • 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 the data sent by the gateway, for example, the unlock time of the door lock, the type of the door card, the operator, and the room temperature. , room humidity and other information, and store the data sent from the gateway to monitor the status of each room in real time, but also convenient for later data integration, analysis, etc.
  • alarm devices can be set at the door lock end, and the alarm information is corresponding.
  • the ground can also be passed to the gateway for further transfer to the door lock server for storage.
  • the gateway is used to implement remote communication between the door lock and the door lock server. As long as the network exists, the two can communicate through the network.
  • the gateway and the door lock server can be connected by wireless or wired.
  • the gateway and the door lock server are connected by a 433 communication module that satisfies ISO 18000-7, and the communication protocol can improve the privacy and security of system communication.
  • the housekeeping system 20 is configured to acquire user identity information, generate a key according to the user identity information, and deliver the key to the door lock, wherein the user identity information is information for uniquely identifying the identity of the user, and the door lock stores the key.
  • the key uniquely corresponds to the user identity information.
  • the housekeeper system 20 is a client system, for example, 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 opening and generation, delivery, query, and management of keys.
  • the housekeeping system 20 can obtain the user identity information, for example, the order information submitted by the user, the ID information of the user, etc., and generate a key according to the identity information of the user, and send the key to the door lock, specifically
  • the housekeeping system 20 can be directly sent to the door lock through the network.
  • the housekeeping system 20 can also send the key to the door lock server first, the door lock server sends the key to the gateway, and finally stores the key in the door through the gateway. lock. Since the generated key and the user identity information are uniquely corresponding, the security of the key is high, and accordingly, the security of the door lock is also improved.
  • the card reader module 30 is configured to write a key into the door card and/or read the door card information, and transmit the door card information to the housekeeping system. Specifically, when the door card is a white card (for example, an ISO 15693 card), the card reader 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 module 30 reads the identity card information and transmits the identity card information to the housekeeper system. 20, the housekeeper system 20 generates a key according to the information of the identity card, the key matches the identity card information, and the key also corresponds to information pre-stored by the user, for example, the user's order information, registration information, etc.
  • a white card for example, an ISO 15693 card
  • the card reader module 30 receives the key issued by the housekeeper system 20 and writes the key into the white card
  • the door card is an identity card ( For example, an ID card, a bus card
  • the card reader module 30 includes a network module for connecting the card reader module to the housekeeping system via the Internet. Network communication between the card reader module 30 and the housekeeping system 20 can be implemented by the network module.
  • the user submits the order information through the APP or the browser, and the order information includes the user's name, phone number, ID number, check-in/out time, predetermined room type, price, etc.
  • the order information is saved in the database, when the user needs to stay At the time of the hotel, there are two ways to check in at the hotel.
  • the hotel staff can retrieve the order information of the user through the housekeeping system, and generate a key based on the order information of the user and send it to the door lock A.
  • read through The card writing module writes the key to the door card A, the user can open the door lock A through the door card A, thereby opening the door corresponding to the door lock A; the second is to read the user's identity card first through the card reader module.
  • the information for example, the ID card, generates a corresponding key according to the information of the user's identity card, and the key also matches the order information of the user, and the key is sent to the door lock B. At this time, the user passes the identity.
  • the card can open the door lock B, thereby opening the door corresponding to the door lock B.
  • a self-service device can also be set, and the user can self-check in the hotel through the self-service device, for example, the user retrieves the order information through the self-service device, and clicks or generates a key command, which generates the key.
  • the command is sent to the housekeeper system and generates a key.
  • the key is sent to the card reader module through the housekeeping system, and the card is written to the door card through the card reader module.
  • the key is saved to the door lock through the door lock server, or the user is identified.
  • the certificate is placed on the card reader module of the self-service device, and the card reader module uploads the ID card information to the housekeeping system.
  • the housekeeper system compares the ID card information with the order information.
  • the housekeeping system After the information is matched, the housekeeping system generates the password according to the ID card information.
  • the key simultaneously transfers the key to the door lock server, then passes the key to the door lock through the gateway and stores it in the corresponding storage area of the door lock, and the housekeeping system activates the opening function of the ID card.
  • the door lock authority processing system in the embodiment of the present invention generates a key according to each user information (for example, order information, identity card information, etc.) and delivers the key to the door lock, and the door lock key matches the user identity information.
  • the fixed non-changeable door lock key in the prior art is more convenient to manage and more secure for the user's life and property.
  • the gateway can upload the card opening information to the door lock server in real time, so that the state of the room can be grasped in real time, and the manager can well grasp the occupancy of the room, wherein the card opening information includes the type of the door card, the operator, and the operation time. , operation results, and so on.
  • the embodiment of the present invention can also read the ID card directly by the door lock end (the read/write card module is provided at the door lock) or the card reader module, and the door lock/read card module will read the
  • the ID card information is uploaded to the door lock server through the gateway, and the door lock server can match the ID card information with the preset information of the user, wherein the preset information of the user can be retrieved through the login account or the rights account of the user, if the identity Certificate information and user presets
  • the information is successfully matched, the matching information is saved in the database, and the matching information can be sent to all the door locks in the account permission range for saving.
  • the ID card information and the door lock are stored.
  • This method can use the ID card as the management card of the hotel.
  • the ID card information of the merchant is uploaded and matched, all rooms in the management authority of the user can be controlled.
  • each user corresponds to a unique account and corresponding rights, and the user's room or hotel information can be viewed or operated after logging in after the housekeeping system, and the housekeeping system has a management card matching operation function, and the uploaded ID information can be The management rights corresponding to the account are matched, so that the corresponding ID card matches the management card, that is, one management card can open the door locks of all matching rights rooms.
  • the embodiment of the present invention can also personally add different functions of the door card according to different needs, such as a cleaning card, a maintenance card, etc., and write relevant information into the door card, and open the door card through the gateway to open the door information at any time. Monitor the corresponding room.
  • the embodiment of the present invention may also remove the key stored at the door lock end at any time.
  • the housekeeper system sends the relevant removal command to the door lock server, and then transmits the door lock to the door lock through the gateway, and the door lock is received. After the instruction, the information in the corresponding storage area is removed. At this time, the door card will not match the appropriate key, and the door card will be invalid.
  • the key stored in the door lock end is removed by generating a new key to cover the key stored before the door lock. Under normal circumstances, in order to ensure the smooth flow of the network, the card reader module and the device with the housekeeping system are connected through a wired network.
  • the door card When the door card is ready to be activated, the door card is placed on the card reader module, and is adjusted by the housekeeper system. The corresponding order is generated and a random key is generated to generate a key, and the housekeeping system issues a key to the door lock through the door lock server.
  • the door lock server cannot issue a key to the door lock, that is, If the door lock cannot update the new key, the housekeeping system will receive feedback that the key cannot be delivered.
  • the card reader module refuses to write the new key to the door card, and the door card automatically enables the last key. Open the door.
  • the door lock authority processing system of the embodiment of the present invention acquires the user identity information through the housekeeping system, generates a key according to the user identity information, and sends the key to the door lock in the door lock system, which is fixed compared with the prior art.
  • the door lock key has higher security, solves the problem of low security of the door lock in the prior art, and improves the safety of the door lock.
  • the door lock can upload the information of each door opener to the door lock server for storage, and can monitor the status of each room in real time, and can also store data according to the door lock server. Perform subsequent analysis.
  • a method for processing a door lock authority includes the following steps S202 to S206:
  • Step S202 Acquire user identity information, where the user identity information is information for uniquely identifying the identity of the user.
  • the user identity information is information for uniquely identifying the identity of the user, for example, the user identity information may be a user.
  • the information stored in the ID card may be information stored by the user's bus card, or may be pre-stored information such as the user's name, mobile phone number, ID number, etc., for example, order information, registration information, etc. submitted before the user stays at the hotel. .
  • Step S204 Generate a key according to the user identity information.
  • a key is generated according to the user identity information, and the key corresponds to the user identity information.
  • Step S206 transmitting the key to the door lock, wherein the door lock is opened by the door card.
  • the door card unlocks the door lock, and when the door card stores the information and If the key stored in the door lock does not match, the door card cannot open the door lock.
  • the key may be transmitted to the door lock by means of Bluetooth, a local area network, the Internet, etc.
  • transmitting the key to the door lock includes: transmitting the key to the door lock server; after receiving the key, the door lock server receives the key Sending 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, wherein the gateway can access the Internet by wire or wirelessly, as long as it exists
  • the network can transmit the key to the door lock.
  • the gateway can also send the door lock information, such as unlocking time, door card type, operator, etc., as well as room temperature, room humidity and other information to the door through the network. Lock the server to achieve real-time monitoring of each room.
  • the embodiment of the present invention generates a user's identity information, generates a key according to 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 to the prior art.
  • the fixed door lock key has higher security, solves the problem of low security of the door lock in the prior art, and improves the safety of the door lock.
  • the acquiring the user identity information includes: acquiring the first information of the user, where the first information is pre-stored user information, and after generating the key according to the user identity information, the method further includes: : Write the key to the white card.
  • a white card is a card that can write data, for example, an ISO 15693 card.
  • the first information may be information such as the user's name, mobile phone number, and ID number.
  • the first information may be order information submitted by the user, where the order information includes the user's name, phone number, ID number, check-in/off time, predetermined room type, price And other information, specifically, the user can submit the order information through the APP or the browser, the order information is stored in the database of the hotel management system, for example, the database of the housekeeping system, and the user's order can be retrieved by logging in to the hotel management system.
  • Information which generates a key based on the order information and delivers the key to the door lock.
  • the key After generating the key according to the first information, in addition to delivering the key to the door lock, the key needs to be written into the white card, so that the user opens the white card by writing the above key.
  • the door lock in particular, can be provided with a card reading module at the door lock, through which the information in the white card is read, if the information in the white card and the door lock If the stored key matches, the door card opens the door lock, otherwise the door card cannot open the door lock.
  • the identity card pre-stores information for identifying the identity of the user, and acquiring the identity information of the user includes: acquiring the identity card information, and generating the key according to the identity information of the user includes: determining whether the identity exists The first information matched by the card information, wherein the first information is pre-stored user information; and if it is determined that the first information matching the identity card information exists, a key corresponding to the identity card information is generated, and the key is generated Transfer to the door lock.
  • the identity card may be a user's ID card, a bus card, etc.
  • the identity card information may be read by the card reader module, and the identity card information is transmitted to the housekeeper system, and the housekeeping system determines whether the presence and absence are based on the identity card information.
  • the first information matched by the identity card information for example, the user's order information, if there is first information matching the identity card information, generating a key according to the identity card information and delivering the key to the door lock, and simultaneously activating the identity card
  • the door opening function at this time, the user can open the door lock through the identity card.
  • the method for processing the door lock authority may also generate a corresponding key for different functional personnel (for example, a management personnel, a cleaning staff, a maintenance personnel, etc.), and correspondingly generate a door card with different functions.
  • different permissions can be set for the different functions of the door card, for example, setting the door opening time permission, setting a certain range of room opening rights, and the like. The following takes the generation of the key corresponding to the administrator and the management card as an example.
  • the identity card is pre-stored with information for identifying the identity of the user.
  • Acquiring the user identity information includes: acquiring the identity card information, and generating the key according to the user identity information includes: determining, according to the identity card information, whether the user has The management authority; and when it is determined that the user has the management authority, generates a key according to the identity card information, wherein the key is transmitted to all the door locks corresponding to the management authority.
  • the identity card may be a user's ID card, a bus card, etc.
  • the identity card information may be read by the card reader module, and the identity card information is transmitted to the housekeeping system.
  • obtaining the identity card information comprises: 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 may be a preset management authority account, a login account, etc., if the identity card information matches the preset information, the identity card represents The user has administrative rights, and the user's administrative rights can be obtained at this time.
  • the key is sent to all the door locks corresponding to the user management authority, and the user's identity card is activated, so that the entire management authority of the user can be opened by the identity card.
  • the department lock so that the identity card can be used as a management card.
  • the function of the management card may also be implemented by using a white card.
  • the user may log in to the management system through a preset management authority account, for example, the housekeeping system, and the management system generates a key according to the information of the user. And the key is sent to all the door locks corresponding to the management authority of the user, and the key is written into the white card, so that the white card has the function of the management card, and the full management authority of the user can be opened. Department lock.
  • the method further comprises: determining whether a key removal instruction is received, wherein the key removal instruction is a secret for indicating removal of the door lock The instruction of the key; randomly generating a new key when it is determined that the key removal instruction is received; and transmitting the new key to the door lock, wherein the new key covers the key stored before the door lock.
  • the key currently stored by the door lock can be written off, and a new key is generated and sent to the door lock. Specifically, it may be determined whether a key is removed by determining whether a key removal instruction is received, and when it is determined that the key removal instruction is received, a new key is randomly generated, and the new key is sent to the door lock. So that it covers the key previously stored by the door lock, so that the corresponding corresponding door card of the door lock fails, the door lock cannot be opened, and the new key is written into the new door card, and the new door card is used to Open the door lock. After the original door card is found, the original door card information can be re-issued to the door lock, and the original door card is restored to normal use.
  • a door lock authority processing apparatus which can be used to execute a door lock authority processing method according to an embodiment of the present invention. The method can also be performed by the door lock authority processing device of the embodiment of the present invention.
  • the door lock authority processing system of the embodiment of the present invention is a specific implementation of the door lock authority processing apparatus according to the embodiment of the present invention.
  • FIG. 3 is a schematic diagram of a door lock authority processing apparatus according to an embodiment of the present invention.
  • the door lock authority processing apparatus includes: an obtaining unit 40, a first generating unit 50, and a first transmitting unit 60.
  • the obtaining unit 40 is configured to obtain user identity information, where the user identity information is information used to uniquely identify the identity of the user.
  • the user identity information is information for uniquely identifying the identity of the user.
  • the user identity information may be information stored by the user's ID card, may be information stored by the user's bus card, or may be a pre-stored user name or mobile phone number. , ID card number and other information, for example, the order information, registration information submitted by the user before the hotel stays.
  • the obtaining unit 40 may be the butler system 20 in the door lock authority processing system, that is, the order information of the user may be retrieved through the housekeeping system 20, or the identity information of the user may be received.
  • the first generating unit 50 is configured to generate a key according to the user identity information.
  • the first transfer unit 60 is configured to transfer the key to the door lock, wherein the door lock is opened by the door card, and when the information stored by the door card matches the key stored in the door lock, the door card opens the door lock, and the door is opened. If the information stored in the card does not match the key stored in the door lock, the door card cannot open the door lock.
  • the first generating unit 50 and the first transmitting unit 60 may also be the housekeeping system 20 in the above-described 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.
  • the user identity information is acquired by the obtaining unit 40, the first generating unit 50 generates a key according to the user identity information, and the first transmitting unit 60 transmits the key to the door lock, thereby implementing different generation according to different user identity information.
  • the door lock key has higher security, solves the problem of low security of the door lock in the prior art, and improves the security of the door lock.
  • the access card is a white card
  • the acquiring unit 40 includes: a first acquiring module, configured to acquire first information of the user, where the first information is pre-stored user information
  • the device further includes: a writing unit, Used to write a key to a white card.
  • the writing unit may be a card reading and writing card module in the above-mentioned door lock authority processing system, that is, the key may be written into the white card through the card reading and writing card module.
  • the door card is an identity card, where the identity card is pre-stored with information for identifying the identity of the user
  • the acquiring unit 40 includes: a second acquiring module, configured to obtain the identity card information
  • the first generating unit 50 includes: a judging module, configured to determine whether there is first information that matches the identity card information, where the first information is pre-stored user information; and the first generating module is configured to determine that there is a first match with the identity card information
  • the second obtaining module may also be a read/write card module in the door lock authority processing system, that is, the card information can be read by the card reader module, for example, reading the ID card information, or the bus card information, etc. .
  • the door card is an identity card
  • the identity card is pre-stored with information for identifying the identity of the user
  • the acquiring unit 40 includes: a third acquiring module, configured to obtain the identity card information
  • the first generating unit 50 includes: a judging module, configured to determine, according to the identity card information, whether the user has the management authority; and a second generating module, configured to generate a key according to the identity card information when determining that the user has the management right, where the key is transmitted to the management authority Corresponding to all the door locks.
  • the apparatus further includes: a determining unit, configured to determine whether a key removal instruction is received, wherein the key removal instruction is an instruction for indicating a key for removing the door lock; and the second generating unit is configured to determine The new key is randomly generated when the key removal instruction is received; the second transmission unit is configured to transmit the new key to the door lock, wherein the new key covers the key stored before the door lock.
  • the determining unit, the second generating unit, and the second transmitting unit may also be the butler system 20 in the door lock authority processing system, that is, the housekeeper system 20 may determine whether a key removal command is received, and determine Upon receiving the key removal command, a new key is randomly generated and the new key is transmitted to the door lock.
  • modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device, such that they may be stored in the storage device by the computing device, or they may be fabricated into individual integrated circuit modules, or Implementing multiple modules or steps in them as a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software.

Abstract

A system, method and device for processing permissions of a door lock. The method for processing the permissions of the door lock comprises: acquiring user identity information, said user identity information being information for uniquely identifying user identity; generating a secret key according to the user identity information; and transmitting the secret key to the door lock, the door lock being opened by a door card. When information stored in the door card is matched with the secret key stored in the door lock, the door lock is unlocked by the door card and when the secret key stored in the door card is not matched with the secret key stored in the door lock, the door lock cannot be unlocked by the door card. The problem of relatively low door lock security is solved, and thus the effect of improving the safety of the door lock is achieved.

Description

门锁权限处理系统和方法及装置Door lock authority processing system and method and device 技术领域Technical field
本发明涉及门锁领域,具体而言,涉及一种门锁权限处理系统和方法及装置。The present invention relates to the field of door locks, and in particular to a door lock authority processing system and method and apparatus.
背景技术Background technique
现有的酒店管理中,门锁端存储的信息一般是固定的,且每个门锁对应于固定的门卡,通过酒店向客户发放门卡,其中,在门卡中都会明确写入入住时间段以及与相应房间匹配的信息等数据,在门锁端通过读取门卡内信息,使得在入住时间段内房客可随意使用门卡开门。由于每个门锁对应于固定的门卡,一方面存在安全隐患,另一方面不便于酒店的管理,一旦门卡交予客户后,便无法对门卡和门卡内信息进行管理,如遇特殊情况,管理者也无法很好地控制门卡和房间信息。此外,现有大多数房间管理系统,仅能连入局域网,无法实时监控房间的状态,而且每家酒店的管理系统在安装以后都是独立运行和管理,对于管理系统的开发人员来说,无法有效地监控管理系统,一旦该管理系统有故障,发现和处理起来都比较麻烦,另外,这种方式也无法实现数据的整合利用,而随着大数据时代的到来,数据的有效整合分析利用十分重要。In the existing hotel management, the information stored on the door lock end is generally fixed, and each door lock corresponds to a fixed door card, and the door card is issued to the customer through the hotel, wherein the check-in time is explicitly written in the door card. The segment and the information matching the corresponding room and the like, the information in the door card is read at the door lock end, so that the tenant can freely use the door card to open the door during the check-in period. Since each door lock corresponds to a fixed door card, there is a safety hazard on the one hand, and it is not convenient for the management of the hotel on the other hand. Once the door card is delivered to the customer, the information in the door card and the door card cannot be managed. In this case, the manager also does not have good control over the door card and room information. In addition, most of the existing room management systems can only be connected to the local area network, and the status of the room cannot be monitored in real time, and the management system of each hotel is independently operated and managed after installation, which is impossible for the developers of the management system. Effectively monitor the management system. Once the management system is faulty, it is troublesome to find and process. In addition, this method can not realize the integration and utilization of data. With the advent of the era of big data, the effective integration analysis of data is very useful. important.
其次,大多数酒店的保洁卡、管理卡等都是没有使用权限限制,在某种程度上存在安全隐患。最后,自助式入住系统正在逐渐地应用到各类酒店中,其兴起的最主要原因是可减少前台管理,从而降低运营成本,但是也正因为无人管理,一定程度上缺乏人员审核,管理者也无法掌握酒店的入住情况,不管是对房主或是房客,都存在一定的安全隐患。Secondly, most hotel cleaning cards, management cards, etc. are not restricted by the use of permissions, to some extent there are security risks. Finally, the self-service check-in system is gradually being applied to various hotels. The main reason for its rise is to reduce the front-end management and reduce the operating costs. However, due to the unmanned management, there is a lack of personnel review and management. It is also impossible to grasp the hotel's occupancy, whether it is for the homeowner or the tenant, there are certain security risks.
此外,针对相关技术中门锁安全性较低的问题,目前尚未提出有效的解决方案。In addition, an effective solution has not been proposed for the problem of low security of the door lock in the related art.
发明内容Summary of the invention
本发明的主要目的在于提供一种门锁权限处理系统和方法及装置,以解决相关技术中门锁安全性较低的问题。The main object of the present invention is to provide a door lock authority processing system and method and apparatus to solve the problem of low security of door locks in the related art.
为了实现上述目的,根据本发明的一个方面,提供了一种门锁权限处理系统。该门锁权限处理系统包括:门锁系统,包括门锁;管家系统,用于获取用户身份信息,根据用户身份信息生成密钥,并将密钥下发至门锁,其中,用户身份信息为用于唯一标识用户身份的信息,门锁存储密钥,密钥唯一对应于用户身份信息;以及读写卡模块,用于将密钥写入门卡和\或读取门卡信息,并将门卡信息传送给管家系统。 In order to achieve the above object, according to an aspect of the present invention, a door lock authority processing system is provided. The door lock authority processing system includes: a door lock system, including a door lock; a housekeeping system, configured to acquire user identity information, generate a key according to the user identity information, and send the key to the door lock, wherein the user identity information is Information for uniquely identifying the identity of the user, the door lock stores the key, the key uniquely corresponds to the user identity information; and the card reader module for writing the key to the door card and/or reading the door card information, and the door card Information is passed to the housekeeping system.
进一步地,门锁系统还包括:门锁服务器,用于接收管家系统下发的密钥;以及网关,用于接收门锁服务器发送的密钥并将密钥存储于门锁。Further, the door lock system further includes: a door lock server for receiving a key issued by the housekeeping system; and a gateway for receiving the key sent by the door lock server and storing the key in the door lock.
进一步地,读写卡模块包括:网络模块,用于将读写卡模块通过互联网连接至管家系统。Further, the card reader module includes: a network module, configured to connect the card reader module to the housekeeping system via the Internet.
为了实现上述目的,根据本发明的另一方面,提供了一种门锁权限处理方法,该门锁权限处理方法包括:获取用户身份信息,其中,用户身份信息为用于唯一标识用户身份的信息;根据用户身份信息生成密钥;以及将密钥传送至门锁,其中,门锁通过门卡开启,当门卡存储的信息与存储于门锁的密钥匹配时,门卡开启门锁,当门卡存储的信息与存储于门锁的密钥不匹配,则门卡无法开启门锁。In order to achieve the above object, according to another aspect of the present invention, a door lock authority processing method is provided, the method for processing a door lock authority includes: acquiring user identity information, wherein the user identity information is information for uniquely identifying a user identity Generating a key according to the user identity information; and transmitting the key to the door lock, wherein the door lock is opened by the door card, and when the information stored by 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.
进一步地,门卡为白卡,获取用户身份信息包括:获取用户的第一信息,其中,第一信息为预先存储的用户信息,在根据用户身份信息生成密钥之后,方法还包括:将密钥写入白卡。Further, the door card is a white card, and the acquiring the user identity information includes: acquiring the first information of the user, where the first information is pre-stored user information, and after generating the key according to the user identity information, the method further includes: encrypting The key is written to the white card.
进一步地,门卡为身份卡,其中,身份卡预先存储有用于标识用户身份的信息,获取用户身份信息包括:获取身份卡信息,根据用户身份信息生成密钥包括:判断是否存在与身份卡信息匹配的第一信息,其中,第一信息为预先存储的用户信息;以及如果判断出存在与身份卡信息匹配的第一信息,则生成与身份卡信息对应的密钥,并将密钥传送至门锁。Further, the door card is an identity card, wherein the identity card pre-stores information for identifying the identity of the user, and acquiring the identity information of the user includes: acquiring the identity card information, and generating the key according to the user identity information includes: determining whether the identity card exists and the identity card information Matching first information, wherein the first information is pre-stored user information; and if it is determined that there is first information matching the identity card information, generating a key corresponding to the identity card information, and transmitting the key to Door lock.
进一步地,门卡为身份卡,其中,身份卡预先存储有用于标识用户身份的信息,获取用户身份信息包括:获取身份卡信息,根据用户身份信息生成密钥包括:根据身份卡信息判断用户是否具有管理权限;以及在判断出用户具有管理权限时,根据身份卡信息生成密钥,其中,将密钥传送至管理权限对应的全部门锁中。Further, the door card is an identity card, wherein the identity card pre-stores information for identifying the identity of the user, and obtaining the identity information of the user includes: acquiring the identity card information, and generating the key according to the identity information of the user includes: determining, according to the identity card information, whether the user is And having the management authority; and when determining that the user has the management authority, generating a key according to the identity card information, wherein the key is transmitted to all the door locks corresponding to the management authority.
进一步地,将密钥传送至门锁包括:将密钥发送给门锁服务器;门锁服务器在接收密钥后,将密钥发送给门锁系统的网关;以及网关在接收密钥后,将密钥下发至所述门锁进行存储。Further, transmitting the key to the door lock includes: transmitting 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 will The key is sent to the door lock for storage.
进一步地,在将密钥传送至门锁之后,方法还包括:判断是否接收到密钥去除指令,其中,密钥去除指令为用于指示去除门锁的密钥的指令;在判断出接收到密钥去除指令时,随机生成新密钥;以及将新密钥发送至门锁,其中,新密钥覆盖门锁之前存储的密钥。Further, after the key is transmitted to the door lock, the method further includes: determining whether a key removal instruction is received, wherein the key removal instruction is an instruction for indicating a key for removing the door lock; and determining that the key is received When the key removal instruction is generated, a new key is randomly generated; and the new key is sent to the door lock, wherein the new key covers the key stored before the door lock.
根据本发明的又一方面,提供了一种门锁权限处理装置,该门锁权限处理装置包括:获取单元,用于获取用户身份信息,其中,用户身份信息为用于唯一标识用户身份的信息;第一生成单元,用于根据用户身份信息生成密钥;以及第一传送单元,用于将密钥传送至门锁,其中,门锁通过门卡开启,当门卡存储的信息与存储于门锁的 密钥匹配时,门卡开启门锁,当门卡存储的信息与存储于门锁的密钥不匹配,则门卡无法开启门锁。According to still another aspect of the present invention, a door lock authority processing apparatus is provided, the door lock authority processing apparatus comprising: an obtaining unit, configured to acquire user identity information, wherein the user identity information is information for uniquely identifying a user identity a first generating unit, configured to generate a key according to the user identity information; and a first transmitting unit, configured to transmit the key to the door lock, wherein the door lock is opened by the door card, and the information stored in the door card is stored in the Door lock When the key is matched, the door card unlocks 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.
通过本发明,采用获取用户身份信息,根据用户身份信息生成密钥,以及将密钥传送至门锁,从而实现根据不同的用户身份信息生成不同的门锁密钥,解决了门锁安全性较低的问题,进而达到了提高门锁安全性的效果。Through the invention, the user identity information is acquired, the key is generated according to the user identity information, and the key is transmitted to the door lock, thereby realizing different door lock keys according to different user identity information, thereby solving the security of the door lock. The low problem, in turn, achieves the effect of improving the safety of the door lock.
附图说明DRAWINGS
构成本申请的一部分的附图用来提供对本发明的进一步理解,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The accompanying drawings, which are incorporated in the claims In the drawing:
图1是根据本发明实施例的门锁权限处理系统的示意图;1 is a schematic diagram of a door lock authority processing system according to an embodiment of the present invention;
图2是根据本发明实施例的门锁权限处理方法的流程图;以及2 is a flowchart of a method for processing a door lock authority according to an embodiment of the present invention;
图3是根据本发明实施例的门锁权限处理装置的示意图。3 is a schematic diagram of a door lock authority processing apparatus according to an embodiment of the present invention.
具体实施方式detailed description
需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。下面将参考附图并结合实施例来详细说明本发明。It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict. The invention will be described in detail below with reference to the drawings in conjunction with the embodiments.
为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分的实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本申请保护的范围。The technical solutions in the embodiments of the present application are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present application. It is an embodiment of the present application, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present application without departing from the inventive scope shall fall within the scope of the application.
需要说明的是,本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本申请的实施例。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。It should be noted that the terms "first", "second" and the like 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 order. It should be understood that the data so used may be interchanged where appropriate to facilitate the embodiments of the present application described herein. In addition, the terms "comprises" and "comprises" and "the" and "the" are intended to cover a non-exclusive inclusion, for example, a process, method, system, product, or device that comprises a series of steps or units is not necessarily limited to Those steps or units may include other steps or units not explicitly listed or inherent to such processes, methods, products or devices.
根据本发明实施例,提供了一种门锁权限处理系统,图1是根据本发明实施例的门锁权限处理系统的示意图。 According to an embodiment of the present invention, a door lock authority processing system is provided, and FIG. 1 is a schematic diagram of a door lock authority processing system according to an embodiment of the present invention.
如图1所示,该门锁权限处理系统包括:门锁系统10,管家系统20和读写卡模块30。As shown in FIG. 1, the door lock authority processing system includes a door lock system 10, a housekeeping system 20, and a card reader module 30.
门锁系统10,包括门锁。门锁可以为智能门锁,安装于门上,例如,房门,电梯门等。可选地,该门锁上可以设置多个密钥存储区以存储不同职能人员的密钥。具体地,以酒店管理为例,可以在门锁上设置一个用于存储酒店客户密钥的密钥存储区,还可以设置管理员、保洁员、维修员等的密钥存储区,同时可以限定不同职能人员的门卡的使用时间等,从而提高酒店管理的安全性。优选地,门锁系统10还包括:门锁服务器,用于接收管家系统下发的密钥;以及网关,用于接收门锁服务器发送的密钥并将密钥存储于门锁。The door lock system 10 includes a door lock. The door lock can be a smart door lock that is mounted on the door, for example, a door, an elevator door, and the like. Optionally, multiple key storage areas may be set on the door lock to store keys of different functional personnel. Specifically, taking hotel management as an example, a key storage area for storing a hotel customer key may be set on the door lock, and a key storage area of an administrator, a cleaning staff, a maintenance person, etc. may be set, and at the same time, it may be limited. The use time of the door cards of different functional personnel, etc., thereby improving the security of hotel management. Preferably, the door lock system 10 further includes: a door lock server for receiving a key issued by the housekeeping system; and a gateway for receiving the key sent by the door lock server and storing the key 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 the data sent by the gateway, for example, the unlock time of the door lock, the type of the door card, the operator, and the room temperature. , room humidity and other information, and store the data sent from the gateway to monitor the status of each room in real time, but also convenient for later data integration, analysis, etc. In addition, alarm devices can be set at the door lock end, and the alarm information is corresponding. The ground can also be passed to the gateway for further transfer to the door lock server for storage. The gateway is used to implement remote communication between the door lock and the door lock server. As long as the network exists, the two can communicate through the network. Alternatively, the gateway and the door lock server can be connected by wireless or wired. Preferably, the gateway and the door lock server are connected by a 433 communication module that satisfies ISO 18000-7, and the communication protocol can improve the privacy and security of system communication.
管家系统20,用于获取用户身份信息,根据用户身份信息生成密钥,并将密钥下发至门锁,其中,用户身份信息为用于唯一标识用户身份的信息,门锁存储密钥,密钥唯一对应于用户身份信息。The housekeeping system 20 is configured to acquire user identity information, generate a key according to the user identity information, and deliver the key to the door lock, wherein the user identity information is information for uniquely identifying the identity of the user, and the door lock stores the key. 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, for example, 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 opening and generation, delivery, query, and management of keys. Specifically, the housekeeping system 20 can obtain the user identity information, for example, the order information submitted by the user, the ID information of the user, etc., and generate a key according to the identity information of the user, and send the key to the door lock, specifically The housekeeping system 20 can be directly sent to the door lock through the network. The housekeeping system 20 can also send the key to the door lock server first, the door lock server sends the key to the gateway, and finally stores the key in the door through the gateway. lock. Since the generated key and the user identity information are uniquely corresponding, the security of the key is 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 module 30 is configured to write a key into the door card and/or read the door card information, and transmit the door card information to the housekeeping system. Specifically, when the door card is a white card (for example, an ISO 15693 card), the card reader 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 module 30 reads the identity card information and transmits the identity card information to the housekeeper system. 20, the housekeeper system 20 generates a key according to the information of the identity card, the key matches the identity card information, and the key also corresponds to information pre-stored by the user, for example, the user's order information, registration information, etc. When the user is able to open the door lock storing the above key through the identity card, the use is safe and convenient. Preferably, the card reader module 30 includes a network module for connecting the card reader module to the housekeeping system via the Internet. Network communication between the card reader module 30 and the housekeeping system 20 can be implemented by the network module.
具体地,以酒店的门锁权限处理系统为例对本发明实施例进行详细说明:Specifically, the embodiment of the present invention is described in detail by taking the door lock authority processing system of the hotel as an example:
用户通过APP或是浏览器提交订单信息,该订单信息包括用户的姓名、电话、身份证号、入住/离店时间、预定的房型、价格等信息,订单信息保存在数据库中,当用户需要入住酒店时,有两种方式办理酒店入住,一是酒店工作人员通过管家系统可以调取该用户的订单信息,并根据该用户的订单信息生成密钥并下发到门锁A,同时,通过读写卡模块将密钥写入到门卡A,用户通过门卡A即可开启该门锁A,从而打开门锁A对应的房门;二是通过读写卡模块先读取用户的身份卡的信息,例如,身份证,根据用户的身份卡的信息生成对应的密钥,该密钥同时也与用户的订单信息匹配,将该密钥下发给门锁B,此时,用户通过身份卡即可开启该门锁B,从而打开门锁B对应的房门。The user submits the order information through the APP or the browser, and the order information includes the user's name, phone number, ID number, check-in/out time, predetermined room type, price, etc. The order information is saved in the database, when the user needs to stay At the time of the hotel, there are two ways to check in at the hotel. First, the hotel staff can retrieve the order information of the user through the housekeeping system, and generate a key based on the order information of the user and send it to the door lock A. At the same time, read through The card writing module writes the key to the door card A, the user can open the door lock A through the door card A, thereby opening the door corresponding to the door lock A; the second is to read the user's identity card first through the card reader module. The information, for example, the ID card, generates a corresponding key according to the information of the user's identity card, and the key also matches the order information of the user, and the key is sent to the door lock B. At this time, the user passes the identity. The card can open the door lock B, thereby opening the door corresponding to the door lock B.
可选地,还可以设置自助式服务设备,用户通过自助式服务设备可以自助登记入住酒店,例如,用户通过自助式服务设备调取订单信息,点击或下发生成密钥指令,该生成密钥指令下发到管家系统并生成密钥,密钥通过管家系统下发到读写卡模块,通过读写卡模块写入门卡,同时密钥通过门锁服务器保存到门锁,或是用户将身份证放置在自助式服务设备的读写卡模块上,读写卡模块上传身份证信息至管家系统,管家系统将身份证信息与订单信息进行比对,信息匹配后管家系统根据身份证信息生成密钥同时将密钥传送到门锁服务器,然后经过网关将密钥传送到门锁,并在门锁的相应存储区进行存储,同时管家系统激活身份证的开门功能。通过加入自助式服务设备后,将省去前台的办理入住工作人员,节省了运营成本。本发明实施例中的门锁权限处理系统根据每个用户信息(例如,订单信息、身份卡信息等)生成密钥并下发至门锁,门锁密钥与用户身份信息相匹配,相比于现有技术中固定的不可更改门锁密钥,更为方便管理,更能保证用户的生命、财产安全。此外,网关可以实时上传刷卡开门信息至门锁服务器,从而可以实时掌握房间的状态,能让管理者很好地掌握房间的入住情况,其中,刷卡开门信息包括门卡类型、操作人员、操作时间、操作结果等等。Optionally, a self-service device can also be set, and the user can self-check in the hotel through the self-service device, for example, the user retrieves the order information through the self-service device, and clicks or generates a key command, which generates the key. The command is sent to the housekeeper system and generates a key. The key is sent to the card reader module through the housekeeping system, and the card is written to the door card through the card reader module. The key is saved to the door lock through the door lock server, or the user is identified. The certificate is placed on the card reader module of the self-service device, and the card reader module uploads the ID card information to the housekeeping system. The housekeeper system compares the ID card information with the order information. After the information is matched, the housekeeping system generates the password according to the ID card information. The key simultaneously transfers the key to the door lock server, then passes the key to the door lock through the gateway and stores it in the corresponding storage area of the door lock, and the housekeeping system activates the opening function of the ID card. By adding self-service equipment, the check-in staff at the front desk will be saved, saving operating costs. The door lock authority processing system in the embodiment of the present invention generates a key according to each user information (for example, order information, identity card information, etc.) and delivers the key to the door lock, and the door lock key matches the user identity information. The fixed non-changeable door lock key in the prior art is more convenient to manage and more secure for the user's life and property. In addition, the gateway can upload the card opening information to the door lock server in real time, so that the state of the room can be grasped in real time, and the manager can well grasp the occupancy of the room, wherein the card opening information includes the type of the door card, the operator, and the operation time. , operation results, and so on.
可选地,本发明实施例还可以通过直接在门锁端(在门锁处设置有读写卡模块)或者读写卡模块端刷身份证,门锁/读写卡模块将读取到的身份证信息通过网关上传到门锁服务器,门锁服务器可将身份证信息与用户预设的信息进行匹配,其中,用户预设的信息可以通过用户的登陆账号或者权限账号等调取,如果身份证信息与用户预设 的信息匹配成功,匹配信息在数据库进行保存,同时匹配信息可下发到账号权限范围内的所有的门锁端进行保存,当商户持该身份证进行刷卡开门时,身份证信息与门锁储存的信息进行匹配,匹配则开门成功。此方法可将身份证作为酒店的管理卡使用,只要上传一次商户的身份证信息并匹配即可控制该用户管理权限内的全部房间。具体地,每个用户对应唯一的账号及相应的权限,用户的房间或酒店信息可以通过在管家系统登录后进行查看或操作,管家系统具有管理卡匹配操作功能,可以将上传的身份证信息与账号对应的管理权限进行匹配,从而使得相应的身份证匹配为管理卡,即一张管理卡能开启所有匹配的权限房间的门锁。此外,本发明实施例还可以根据不同需要个性化地加入不同职能的门卡,例如保洁卡、维修卡等,将相关信息写入到门卡中,并通过网关上传的门卡开门信息,随时监控相应的房间。Optionally, the embodiment of the present invention can also read the ID card directly by the door lock end (the read/write card module is provided at the door lock) or the card reader module, and the door lock/read card module will read the The ID card information is uploaded to the door lock server through the gateway, and the door lock server can match the ID card information with the preset information of the user, wherein the preset information of the user can be retrieved through the login account or the rights account of the user, if the identity Certificate information and user presets The information is successfully matched, the matching information is saved in the database, and the matching information can be sent to all the door locks in the account permission range for saving. When the merchant holds the ID card to open the door, the ID card information and the door lock are stored. The information is matched and the match is opened successfully. This method can use the ID card as the management card of the hotel. As long as the ID card information of the merchant is uploaded and matched, all rooms in the management authority of the user can be controlled. Specifically, each user corresponds to a unique account and corresponding rights, and the user's room or hotel information can be viewed or operated after logging in after the housekeeping system, and the housekeeping system has a management card matching operation function, and the uploaded ID information can be The management rights corresponding to the account are matched, so that the corresponding ID card matches the management card, that is, one management card can open the door locks of all matching rights rooms. In addition, the embodiment of the present invention can also personally add different functions of the door card according to different needs, such as a cleaning card, a maintenance card, etc., and write relevant information into the door card, and open the door card through the gateway to open the door information at any time. Monitor the corresponding room.
可选地,本发明实施例还可以在任意时间去除门锁端存储的密钥,具体地,管家系统将相关去除指令下发到门锁服务器,再经过网关传送给门锁,门锁收到指令后去除相应存储区内的信息,此时门卡将匹配不到合适的密钥,门卡失效。实际上,本发明实施例中去除门锁端存储的密钥是通过生成新密钥来覆盖门锁之前存储的密钥。一般情况下,为了保证网络的畅通,读写卡模块与带有管家系统的设备是通过有线网络进行连接的,当准备启用门卡时,将门卡置于读写卡模块上,通过管家系统调取相应订单并下发生成随机密钥的指令,生成密钥,管家系统通过门锁服务器向门锁下发密钥,当网络不畅时,门锁服务器无法向门锁下发密钥,即门锁无法更新新密钥,则管家系统将收到无法下发密钥的反馈信息,此时读写卡模块拒绝将新密钥写入到门卡,门卡自动启用上次的密钥进行开门操作。Optionally, the embodiment of the present invention may also remove the key stored at the door lock end at any time. Specifically, the housekeeper system sends the relevant removal command to the door lock server, and then transmits the door lock to the door lock through the gateway, and the door lock is received. After the instruction, the information in the corresponding storage area is removed. At this time, the door card will not match the appropriate key, and the door card will be invalid. In fact, in the embodiment of the present invention, the key stored in the door lock end is removed by generating a new key to cover the key stored before the door lock. Under normal circumstances, in order to ensure the smooth flow of the network, the card reader module and the device with the housekeeping system are connected through a wired network. When the door card is ready to be activated, the door card is placed on the card reader module, and is adjusted by the housekeeper system. The corresponding order is generated and a random key is generated to generate a key, and the housekeeping system issues a key to the door lock through the door lock server. When the network is not smooth, the door lock server cannot issue a key to the door lock, that is, If the door lock cannot update the new key, the housekeeping system will receive feedback that the key cannot be delivered. At this time, the card reader module refuses to write the new key to the door card, and the door card automatically enables the last key. Open the door.
从以上的描述中,可以看出,本发明实现了如下技术效果:From the above description, it can be seen that the present invention achieves the following technical effects:
本发明实施例的门锁权限处理系统通过管家系统获取用户身份信息,根据用户身份信息生成密钥,并将密钥下发至门锁系统中的门锁,相比于现有技术中固定的门锁密钥,安全性更高,解决了现有技术中门锁安全性较低的问题,提高了门锁的安全性。此外,本发明实施例中门锁可以将每次刷门卡开门的信息上传给门锁服务器进行存储,一方面可以实时监控每个房间的状态,另一方面也可以根据门锁服务器存储的数据进行后续的分析。The door lock authority processing system of the embodiment of the present invention acquires the user identity information through the housekeeping system, generates a key according to the user identity information, and sends the key to the door lock in the door lock system, which is fixed compared with the prior art. The door lock key has higher security, solves the problem of low security of the door lock in the prior art, and improves the safety of the door lock. In addition, in the embodiment of the present invention, the door lock can upload the information of each door opener to the door lock server for storage, and can monitor the status of each room in real time, and can also store data according to the door lock server. Perform subsequent analysis.
根据本发明实施例的另一方面,提供了一种门锁权限处理方法,如图2所示,该方法包括如下的步骤S202至步骤S206:According to another aspect of the embodiments of the present invention, a method for processing a door lock authority is provided. As shown in FIG. 2, the method includes the following steps S202 to S206:
步骤S202:获取用户身份信息,其中,用户身份信息为用于唯一标识用户身份的信息。Step S202: Acquire user identity information, where the user identity information is information for uniquely identifying the identity of the user.
用户身份信息为用于唯一标识用户身份的信息,例如,用户身份信息可以是用户 的身份证存储的信息,可以是用户的公交卡存储的信息,也可以是预先存储的用户的姓名、手机号、身份证号等信息,例如,用户入住酒店前提交的订单信息、登记信息等。The user identity information is information for uniquely identifying the identity of the user, for example, the user identity information may be a user. The information stored in the ID card may be information stored by the user's bus card, or may be pre-stored information such as the user's name, mobile phone number, ID number, etc., for example, order information, registration information, etc. submitted before the user stays at the hotel. .
步骤S204:根据用户身份信息生成密钥。Step S204: Generate a key according to the user identity information.
在上述步骤S202得到用户身份信息后,根据该用户身份信息生成密钥,该密钥与该用户身份信息对应。After the user identity information is obtained 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 the door card. When the information stored by the door card matches the key stored in the door lock, the door card unlocks the door lock, and when the door card stores the information and If the key stored in the door lock does not match, the door card cannot open the door lock. Specifically, the key may be transmitted to the door lock by means of Bluetooth, a local area network, the Internet, etc., preferably, transmitting the key to the door lock includes: transmitting the key to the door lock server; after receiving the key, the door lock server receives the key Sending 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, wherein the gateway can access the Internet by wire or wirelessly, as long as it exists The network can transmit the key to the door lock. In addition, the gateway can also send the door lock information, such as unlocking time, door card type, operator, etc., as well as room temperature, room humidity and other information to the door through the network. Lock the server to achieve real-time monitoring of each room.
本发明实施例通过获取用户身份信息,根据用户身份信息生成密钥,以及将密钥传送至门锁,从而实现根据不同的用户身份信息生成不同的门锁密钥,相比于现有技术中固定的门锁密钥,安全性更高,解决了现有技术中门锁安全性较低的问题,提高了门锁的安全性。The embodiment of the present invention generates a user's identity information, generates a key according to 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 to the prior art. The fixed door lock key has higher security, solves the problem of low security of the door lock in the prior art, and improves the safety of the door lock.
具体地,当上述门卡为白卡时,获取用户身份信息包括:获取用户的第一信息,其中,第一信息为预先存储的用户信息,在根据用户身份信息生成密钥之后,方法还包括:将密钥写入白卡。Specifically, when the card is a white card, the acquiring the user identity information includes: acquiring the first information of the user, where the first information is pre-stored user information, and after generating the key according to the user identity information, the method further includes: : Write the key to the white card.
白卡为可以写入数据的卡,例如,ISO15693卡。第一信息可以是用户的姓名、手机号、身份证号等信息。具体地,以酒店门锁密钥管理为例,第一信息可以是用户提交的订单信息,其中,订单信息包括用户的姓名、电话、身份证号、入住/离店时间、预定的房型、价格等信息,具体地,用户可以通过APP或是浏览器等提交订单信息,该订单信息存储于酒店管理系统的数据库中,例如,管家系统的数据库,通过登入到酒店管理系统可以调取用户的订单信息,从而根据订单信息生成密钥,并将密钥下发至门锁。A white card is a card that can write data, for example, an ISO 15693 card. The first information may be information such as the user's name, mobile phone number, and ID number. Specifically, taking the hotel door lock key management as an example, the first information may be order information submitted by the user, where the order information includes the user's name, phone number, ID number, check-in/off time, predetermined room type, price And other information, specifically, the user can submit the order information through the APP or the browser, the order information is stored in the database of the hotel management system, for example, the database of the housekeeping system, and the user's order can be retrieved by logging in to the hotel management system. Information, which generates a key based on the order information and delivers the key to the door lock.
在根据第一信息生成密钥之后,除了将该密钥下发至门锁之外,还需要将该密钥写入白卡中,从而,用户通过该写入上述密钥的白卡来打开门锁,具体地,可以在门锁处设置读卡模块,通过该读卡模块读取白卡中的信息,如果该白卡中的信息与门锁 存储的密钥匹配,则该门卡打开该门锁,否则,该门卡无法打开该门锁。After generating the key according to the first information, in addition to delivering the key to the door lock, the key needs to be written into the white card, so that the user opens the white card by writing the above key. The door lock, in particular, can be provided with a card reading module at the door lock, through which the information in the white card is read, if the information in the white card and the door lock If the stored key matches, the door card opens the door lock, otherwise the door card cannot open the door lock.
具体地,当门卡为身份卡时,其中,身份卡预先存储有用于标识用户身份的信息,获取用户身份信息包括:获取身份卡信息,根据用户身份信息生成密钥包括:判断是否存在与身份卡信息匹配的第一信息,其中,第一信息为预先存储的用户信息;以及如果判断出存在与身份卡信息匹配的第一信息,则生成与身份卡信息对应的密钥,并将密钥传送至门锁。Specifically, when the card is an identity card, the identity card pre-stores information for identifying the identity of the user, and acquiring the identity information of the user includes: acquiring the identity card information, and generating the key according to the identity information of the user includes: determining whether the identity exists The first information matched by the card information, wherein the first information is pre-stored user information; and if it is determined that the first information matching the identity card information exists, a key corresponding to the identity card information is generated, and the key is generated Transfer to the door lock.
身份卡可以是用户的身份证、公交卡等,具体地,可以通过读写卡模块读取身份卡信息,并将该身份卡信息传送给管家系统,管家系统根据该身份卡信息判断是否存在与该身份卡信息匹配的第一信息,例如,用户的订单信息,如果存在与该身份卡信息匹配的第一信息,则根据身份卡信息生成密钥并下发至门锁,同时,激活身份卡的开门功能,此时,用户通过该身份卡即可开启门锁。通过将身份卡作为门卡使用,不仅使用方便安全,而且可以节省大量的白卡,降低成本。The identity card may be a user's ID card, a bus card, etc. Specifically, the identity card information may be read by the card reader module, and the identity card information is transmitted to the housekeeper system, and the housekeeping system determines whether the presence and absence are based on the identity card information. The first information matched by the identity card information, for example, the user's order information, if there is first information matching the identity card information, generating a key according to the identity card information and delivering the key to the door lock, and simultaneously activating the identity card The door opening function, at this time, the user can open the door lock through the identity card. By using the identity card as a door card, it is not only convenient and safe to use, but also can save a lot of white cards and reduce costs.
可选地,采用本发明实施例的门锁权限处理方法,还可以针对不同职能人员(例如,管理人员、保洁人员、维修人员等)生成对应的密钥,并相应的生成不同职能的门卡,此外,还可以对这些不同职能的门卡设置不同的权限,例如,设置开门时间权限、设置一定范围的房间开门权限等。以下以生成管理人员对应的密钥和管理卡为例进行说明。Optionally, the method for processing the door lock authority according to the embodiment of the present invention may also generate a corresponding key for different functional personnel (for example, a management personnel, a cleaning staff, a maintenance personnel, etc.), and correspondingly generate a door card with different functions. In addition, different permissions can be set for the different functions of the door card, for example, setting the door opening time permission, setting a certain range of room opening rights, and the like. The following takes the generation of the key corresponding to the administrator and the management card as an example.
当门卡为身份卡时,其中,身份卡预先存储有用于标识用户身份的信息,获取用户身份信息包括:获取身份卡信息,根据用户身份信息生成密钥包括:根据身份卡信息判断用户是否具有管理权限;以及在判断出用户具有管理权限时,根据身份卡信息生成密钥,其中,将密钥传送至管理权限对应的全部门锁中。When the card is an identity card, the identity card is pre-stored with information for identifying the identity of the user. Acquiring the user identity information includes: acquiring the identity card information, and generating the key according to the user identity information includes: determining, according to the identity card information, whether the user has The management authority; and when it is determined that the user has the management authority, generates a key according to the identity card information, wherein the key is transmitted to all the door locks corresponding to the management authority.
同上,身份卡可以是用户的身份证、公交卡等,具体地,可以通过读写卡模块读取身份卡信息,并将该身份卡信息传送给管家系统。优选地,获取身份卡信息包括:从身份卡读取身份卡信息;以及通过互联网获取身份卡信息。管家系统将获取的身份卡信息与预设信息进行匹配,其中,预设信息可以是预设的管理权限账号、登陆账号等,如果身份卡信息与预设信息匹配,则说明该身份卡所代表的用户具有管理权限,此时可以获取该用户的管理权限。在根据身份卡信息生成密钥之后,将密钥发送至该用户管理权限对应的全部门锁中,同时激活该用户的身份卡,使得通过该身份卡即可以开启该用户的管理权限中的全部门锁,从而,该身份卡即可作为管理卡使用。可选地,也可以通过白卡来实现管理卡的功能,具体地,用户可以通过预设的管理权限账号等登录至管理系统,例如,管家系统,管理系统根据该用户的信息生成密钥,并将密钥下发到该用户的管理权限对应的全部门锁中,以及将密钥写入到白卡中,从而,该白卡具备管理卡的功能,可以打开该用户管理权限中的全部门锁。 As above, the identity card may be a user's ID card, a bus card, etc. Specifically, the identity card information may be read by the card reader module, and the identity card information is transmitted to the housekeeping system. Preferably, obtaining the identity card information comprises: 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 may be a preset management authority account, a login account, etc., if the identity card information matches the preset information, the identity card represents The user has administrative rights, and the user's administrative rights can be obtained at this time. After the key is generated according to the identity card information, the key is sent to all the door locks corresponding to the user management authority, and the user's identity card is activated, so that the entire management authority of the user can be opened by the identity card. The department lock, so that the identity card can be used as a management card. Optionally, the function of the management card may also be implemented by using a white card. Specifically, the user may log in to the management system through a preset management authority account, for example, the housekeeping system, and the management system generates a key according to the information of the user. And the key is sent to all the door locks corresponding to the management authority of the user, and the key is written into the white card, so that the white card has the function of the management card, and the full management authority of the user can be opened. Department lock.
优选地,为了方便对房间等的管理,在将密钥传送至门锁之后,该方法还包括:判断是否接收到密钥去除指令,其中,密钥去除指令为用于指示去除门锁的密钥的指令;在判断出接收到密钥去除指令时,随机生成新密钥;以及将新密钥发送至门锁,其中,新密钥覆盖门锁之前存储的密钥。Preferably, in order to facilitate the management of the room or the like, after transmitting the key to the door lock, the method further comprises: determining whether a key removal instruction is received, wherein the key removal instruction is a secret for indicating removal of the door lock The instruction of the key; randomly generating a new key when it is determined that the key removal instruction is received; and transmitting the new key to the door lock, wherein the new key covers the key stored before the door lock.
在门卡丢失、门卡损坏等情况下,为了保证用户可以顺利开门,或是避免外人开门,可以注销门锁当前存储的密钥,同时,生成新的密钥并下发至门锁。具体地,可以通过判断是否接收到密钥去除指令来确定是否需要重新生成密钥,在判断出接收到密钥去除指令时,随机生成新密钥,并将新密钥下发至门锁,使其覆盖该门锁先前存储的密钥,从而,该门锁先前对应的门卡失效,无法打开该门锁,此外,将新密钥写入新的门卡中,通过该新门卡以打开该门锁。待原先的门卡找到后,又可以重新将原先的门卡信息下发到门锁,原先的门卡恢复正常使用。In the case of the loss of the door card and the damage of the door card, in order to ensure that the user can open the door smoothly, or to prevent the outsider from opening the door, the key currently stored by the door lock can be written off, and a new key is generated and sent to the door lock. Specifically, it may be determined whether a key is removed by determining whether a key removal instruction is received, and when it is determined that the key removal instruction is received, a new key is randomly generated, and the new key is sent to the door lock. So that it covers the key previously stored by the door lock, so that the corresponding corresponding door card of the door lock fails, the door lock cannot be opened, and the new key is written into the new door card, and the new door card is used to Open the door lock. After the original door card is found, the original door card information can be re-issued to the door lock, and the original door card is restored to normal use.
需要说明的是,在附图的流程图示出的步骤可以在诸如一组计算机可执行指令的计算机系统中执行,并且,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。It should be noted that the steps illustrated in the flowchart of the accompanying drawings may be executed in a computer system such as a set of computer executable instructions, and, although shown in the flowchart, The steps shown or described may be performed in an order different than that herein.
根据本发明实施例的又一方面,提供了一种门锁权限处理装置,该门锁权限处理装置可以用于执行本发明实施例的门锁权限处理方法,本发明实施例的门锁权限处理方法也可以通过本发明实施例的门锁权限处理装置来执行。此外,本发明实施例的门锁权限处理系统是本发明实施例的门锁权限处理装置的一个具体实现。According to still another aspect of the present invention, a door lock authority processing apparatus is provided, which can be used to execute a door lock authority processing method according to an embodiment of the present invention. The method can also be performed by the door lock authority processing device of the embodiment of the present invention. In addition, the door lock authority processing system of the embodiment of the present invention is a specific implementation of the door lock authority processing apparatus according to the embodiment of the present invention.
图3是根据本发明实施例的门锁权限处理装置的示意图,如图3所示,该门锁权限处理装置包括:获取单元40,第一生成单元50和第一传送单元60。FIG. 3 is a schematic diagram of a door lock authority processing apparatus according to an embodiment of the present invention. As shown in FIG. 3, the door lock authority processing apparatus includes: an obtaining unit 40, a first generating unit 50, and a first transmitting unit 60.
获取单元40,用于获取用户身份信息,其中,用户身份信息为用于唯一标识用户身份的信息。The obtaining unit 40 is configured to obtain user identity information, where the user identity information is information used to uniquely identify the identity of the user.
用户身份信息为用于唯一标识用户身份的信息,例如,用户身份信息可以是用户的身份证存储的信息,可以是用户的公交卡存储的信息,也可以是预先存储的用户的姓名、手机号、身份证号等信息,例如,用户入住酒店前提交的订单信息、登记信息等。具体地,获取单元40可以是上述门锁权限处理系统中的管家系统20,即可以通过管家系统20调取用户的订单信息,或是接收用户的身份信息等。The user identity information is information for uniquely identifying the identity of the user. For example, the user identity information may be information stored by the user's ID card, may be information stored by the user's bus card, or may be a pre-stored user name or mobile phone number. , ID card number and other information, for example, the order information, registration information submitted by the user before the hotel stays. Specifically, the obtaining unit 40 may be the butler system 20 in the door lock authority processing system, that is, the order information of the user may be retrieved through the housekeeping system 20, or the identity information of the user may be received.
第一生成单元50,用于根据用户身份信息生成密钥。The first generating unit 50 is configured to generate a key according to the user identity information.
第一传送单元60,用于将密钥传送至门锁,其中,门锁通过门卡开启,当门卡存储的信息与存储于门锁的密钥匹配时,门卡开启门锁,当门卡存储的信息与存储于门锁的密钥不匹配,则门卡无法开启门锁。 The first transfer unit 60 is configured to transfer the key to the door lock, wherein the door lock is opened by the door card, and when the information stored by the door card matches the key stored in the door lock, the door card opens the door lock, and the door is opened. If the information stored in the 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 housekeeping system 20 in the above-described 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 user identity information is acquired by the obtaining unit 40, the first generating unit 50 generates a key according to the user identity information, and the first transmitting unit 60 transmits the key to the door lock, thereby implementing different generation according to different user identity information. Compared with the fixed door lock key in the prior art, the door lock key has higher security, solves the problem of low security of the door lock in the prior art, and improves the security of the door lock.
可选地,门卡为白卡,获取单元40包括:第一获取模块,用于获取用户的第一信息,其中,第一信息为预先存储的用户信息,该装置还包括:写入单元,用于将密钥写入白卡。具体地,写入单元可以是上述门锁权限处理系统中的读写卡模块,即可以通过读写卡模块将密钥写入到白卡中。Optionally, the access card is a white card, and the acquiring unit 40 includes: a first acquiring module, configured to acquire first information of the user, where the first information is pre-stored user information, and the device further includes: a writing unit, Used to write a key to a white card. Specifically, the writing unit may be a card reading and writing card module in the above-mentioned door lock authority processing system, that is, the key may be written into the white card through the card reading and writing card module.
可选地,门卡为身份卡,其中,身份卡预先存储有用于标识用户身份的信息,获取单元40包括:第二获取模块,用于获取身份卡信息,第一生成单元50包括:第一判断模块,用于判断是否存在与身份卡信息匹配的第一信息,其中,第一信息为预先存储的用户信息;以及第一生成模块,用于在判断出存在与身份卡信息匹配的第一信息时,生成与身份卡信息对应的密钥,并将密钥传送至门锁。具体地,第二获取模块也可以是上述门锁权限处理系统中的读写卡模块,即可以通过读写卡模块读取身份卡信息,例如,读取身份证信息,或是公交卡信息等。Optionally, the door card is an identity card, where the identity card is pre-stored with information for identifying the identity of the user, and the acquiring unit 40 includes: a second acquiring module, configured to obtain the identity card information, where the first generating unit 50 includes: a judging module, configured to determine whether there is first information that matches the identity card information, where the first information is pre-stored user information; and the first generating module is configured to determine that there is a first match with the identity card information When the information is generated, a key corresponding to the identity card information is generated, and the key is transmitted to the door lock. Specifically, the second obtaining module may also be a read/write card module in the door lock authority processing system, that is, the card information can be read by the card reader module, for example, reading the ID card information, or the bus card information, etc. .
可选地,门卡为身份卡,其中,身份卡预先存储有用于标识用户身份的信息,获取单元40包括:第三获取模块,用于获取身份卡信息,第一生成单元50包括:第二判断模块,用于根据身份卡信息判断用户是否具有管理权限;以及第二生成模块,用于在判断出用户具有管理权限时,根据身份卡信息生成密钥,其中,将密钥传送至管理权限对应的全部门锁中。Optionally, the door card is an identity card, where the identity card is pre-stored with information for identifying the identity of the user, and the acquiring unit 40 includes: a third acquiring module, configured to obtain the identity card information, where the first generating unit 50 includes: a judging module, configured to determine, according to the identity card information, whether the user has the management authority; and a second generating module, configured to generate a key according to the identity card information when determining that the user has the management right, where the key is transmitted to the management authority Corresponding to all the door locks.
优选地,该装置还包括:判断单元,用于判断是否接收到密钥去除指令,其中,密钥去除指令为用于指示去除门锁的密钥的指令;第二生成单元,用于在判断出接收到密钥去除指令时,随机生成新密钥;第二传送单元,用于将新密钥传送至门锁,其中,新密钥覆盖门锁之前存储的密钥。具体地,上述判断单元、第二生成单元和第二传送单元也都可以是上述门锁权限处理系统中的管家系统20,即可以通过管家系统20判断是否接收到密钥去除指令,在判断出接收到密钥去除指令时,随机生成新密钥,并将新密钥传送至门锁。Preferably, the apparatus further includes: a determining unit, configured to determine whether a key removal instruction is received, wherein the key removal instruction is an instruction for indicating a key for removing the door lock; and the second generating unit is configured to determine The new key is randomly generated when the key removal instruction is received; the second transmission unit is configured to transmit the new key to the door lock, wherein the new key covers the key stored before the door lock. Specifically, the determining unit, the second generating unit, and the second transmitting unit may also be the butler system 20 in the door lock authority processing system, that is, the housekeeper system 20 may determine whether a key removal command is received, and determine Upon receiving the key removal command, a new key is randomly generated and the new key is transmitted to the door lock.
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所 组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。It will be apparent to those skilled in the art that the various modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device, such that they may be stored in the storage device by the computing device, or they may be fabricated into individual integrated circuit modules, or Implementing multiple modules or steps in them as a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software.
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。 The above description is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.

Claims (10)

  1. 一种门锁权限处理系统,其特征在于,包括:A door lock authority processing system, comprising:
    门锁系统,包括门锁;Door lock system, including door locks;
    管家系统,用于获取用户身份信息,根据所述用户身份信息生成密钥,并将所述密钥下发至所述门锁,其中,所述用户身份信息为用于唯一标识用户身份的信息,所述门锁存储所述密钥,所述密钥唯一对应于所述用户身份信息;以及a housekeeper system, configured to acquire user identity information, generate a key according to the user identity information, and deliver the key to the door lock, wherein the user identity information is information for uniquely identifying a user identity The door lock stores the key, the key uniquely corresponding to the user identity information;
    读写卡模块,用于将所述密钥写入门卡和/或读取门卡信息,并将所述门卡信息传送给所述管家系统。And a card reader module for writing the key to the door card and/or reading the door card information, and transmitting the card information to the housekeeping system.
  2. 根据权利要求1所述的门锁权限处理系统,其特征在于,所述门锁系统还包括:The door lock authority processing system according to claim 1, wherein the door lock system further comprises:
    门锁服务器,用于接收所述管家系统下发的密钥;以及a door lock server, configured to receive a key issued by the housekeeping system;
    网关,用于接收所述门锁服务器发送的密钥并将所述密钥下发至所述门锁进行存储。And a gateway, configured to receive a key sent by the door lock server and send the key to the door lock for storage.
  3. 根据权利要求1所述的门锁权限处理系统,其特征在于,所述读写卡模块包括:网络模块,用于将所述读写卡模块通过互联网连接至所述管家系统。The door lock authority processing system according to claim 1, wherein the card reader module comprises: a network module, configured to connect the card reader card module to the housekeeping system via the Internet.
  4. 一种门锁权限处理方法,其特征在于,包括:A method for processing a door lock authority, comprising:
    获取用户身份信息,其中,所述用户身份信息为用于唯一标识用户身份的信息;Obtaining user identity information, where the user identity information is information for uniquely identifying a user identity;
    根据所述用户身份信息生成密钥;以及Generating a key based on the user identity information;
    将所述密钥传送至门锁,其中,所述门锁通过门卡开启,当所述门卡存储的信息与存储于所述门锁的密钥匹配时,所述门卡开启所述门锁,当所述门卡存储的信息与存储于所述门锁的密钥不匹配时,则所述门卡无法开启所述门锁。Transmitting the key to a door lock, wherein the door lock is opened by a door card, and when the information stored by the door card matches a key stored in the door lock, the door card opens the door The lock, when the information stored by the door card does not match the key stored in the door lock, the door card cannot open the door lock.
  5. 根据权利要求4所述的门锁权限处理方法,其特征在于,所述门卡为白卡,The method for processing a door lock authority according to claim 4, wherein the door card is a white card.
    获取用户身份信息包括:获取用户的第一信息,其中,所述第一信息为预先存储的用户信息,Obtaining the user identity information includes: acquiring the first information of the user, where the first information is pre-stored user information,
    在根据所述用户身份信息生成密钥之后,所述方法还包括:将所述密钥写入所述白卡。After generating the key according to the user identity information, the method further includes writing the key to the white card.
  6. 根据权利要求4所述的门锁权限处理方法,其特征在于,所述门卡为身份卡,其中,所述身份卡预先存储有用于标识用户身份的信息,The method for processing a door lock authority according to claim 4, wherein the door card is an identity card, wherein the identity card is pre-stored with information for identifying a user identity,
    获取用户身份信息包括:获取所述身份卡信息, Obtaining the user identity information includes: obtaining the identity card information,
    根据所述用户身份信息生成密钥包括:判断是否存在与所述身份卡信息匹配的第一信息,其中,所述第一信息为预先存储的用户信息;以及如果判断出存在与所述身份卡信息匹配的第一信息,则生成与所述身份卡信息对应的密钥,并将所述密钥传送至所述门锁。Generating a key according to the user 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 the identity card exists The information matching the first information generates a key corresponding to the identity card information and transmits the key to the door lock.
  7. 根据权利要求4所述的门锁权限处理方法,其特征在于,所述门卡为身份卡,其中,所述身份卡预先存储有用于标识用户身份的信息,The method for processing a door lock authority according to claim 4, wherein the door card is an identity card, wherein the identity card is pre-stored with information for identifying a user identity,
    获取用户身份信息包括:获取所述身份卡信息,Obtaining the user identity information includes: obtaining the identity card information,
    根据所述用户身份信息生成密钥包括:根据所述身份卡信息判断所述用户是否具有管理权限;以及在判断出所述用户具有管理权限时,根据所述身份卡信息生成密钥,其中,将所述密钥传送至所述管理权限对应的全部门锁中。Generating a key according to the user identity information includes: determining, according to the identity card information, whether the user has a management authority; and when determining that the user has a management authority, generating a key according to the identity card information, where Transmitting the key to all the door locks corresponding to the management authority.
  8. 根据权利要求4至7中任一项所述的门锁权限处理方法,其特征在于,将所述密钥传送至门锁包括:The method for processing a door lock authority according to any one of claims 4 to 7, wherein the transmitting the key to the door lock comprises:
    将所述密钥发送给门锁服务器;Sending the key to the door lock server;
    所述门锁服务器在接收所述密钥后,将所述密钥发送给门锁系统的网关;以及After receiving the key, the door lock server sends the key to a gateway of the door lock system;
    所述网关在接收所述密钥后,将所述密钥存储于所述门锁。After receiving the key, the gateway stores the key in the door lock.
  9. 根据权利要求4至7中任一项所述的门锁权限处理方法,其特征在于,在将所述密钥传送至门锁之后,所述方法还包括:The method for processing a door lock authority according to any one of claims 4 to 7, wherein after the key is transmitted to the door lock, the method further comprises:
    判断是否接收到密钥去除指令,其中,所述密钥去除指令为用于指示去除所述门锁的密钥的指令;Determining whether a key removal instruction is received, wherein the key removal instruction is an instruction for indicating a key to remove the door lock;
    在判断出接收到所述密钥去除指令时,随机生成新密钥;以及Generating a new key randomly when it is determined that the key removal instruction is received;
    将所述新密钥发送至所述门锁,其中,所述新密钥覆盖所述门锁之前存储的密钥。The new key is sent to the door lock, wherein the new key covers a key stored prior to the door lock.
  10. 一种门锁权限处理装置,其特征在于,包括:A door lock authority processing device, comprising:
    获取单元,用于获取用户身份信息,其中,所述用户身份信息为用于唯一标识用户身份的信息;An obtaining unit, configured to obtain user identity information, where the user identity information is information used to uniquely identify a user identity;
    第一生成单元,用于根据所述用户身份信息生成密钥;以及a first generating unit, configured to generate a key according to the user identity information;
    第一传送单元,用于将所述密钥传送至门锁,其中,所述门锁通过门卡开启,当所述门卡存储的信息与存储于所述门锁的密钥匹配时,所述门卡开启所述门锁, 当所述门卡存储的信息与存储于所述门锁的密钥不匹配,则所述门卡无法开启所述门锁。 a first transmitting unit, configured to transmit the key to the door lock, wherein the door lock is opened by the door card, and when the information stored by the door card matches the key stored in the door lock, The door card opens the door lock, When the information stored by the door card does not match the key stored in the door lock, the door card cannot open the door lock.
PCT/CN2015/089074 2015-02-16 2015-09-07 System, method and device for processing permissions of door lock WO2016131243A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SG11201608991PA SG11201608991PA (en) 2015-02-16 2015-09-07 System, method and device for processing permissions of door lock

Applications Claiming Priority (2)

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
CN201510085036.9 2015-02-16

Publications (1)

Publication Number Publication Date
WO2016131243A1 true WO2016131243A1 (en) 2016-08-25

Family

ID=53591160

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/089074 WO2016131243A1 (en) 2015-02-16 2015-09-07 System, method and device for processing permissions of door lock

Country Status (4)

Country Link
CN (1) CN104751545B (en)
HK (1) HK1209885A1 (en)
SG (1) SG11201608991PA (en)
WO (1) WO2016131243A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107423831A (en) * 2017-07-06 2017-12-01 浙江小尤鱼智能技术有限公司 A kind of self-service hotel based on multistage authority distribution moves in method and system
CN111784883A (en) * 2020-07-20 2020-10-16 深圳可信物联科技有限公司 Intelligent lock configuration method and system
CN112184974A (en) * 2020-09-27 2021-01-05 江苏天创科技有限公司 Monitoring system based on 5G communication node

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104751545B (en) * 2015-02-16 2018-05-25 北京果加智能科技有限公司 Door lock authorization process system and method and device
CN106379358A (en) * 2016-09-13 2017-02-08 中车唐山机车车辆有限公司 Control method for luggage lock and luggage rack
CN106713366A (en) * 2017-02-28 2017-05-24 武汉烽火技术服务有限公司 Timeliness-based combined key management system and method
CN107358728A (en) * 2017-06-20 2017-11-17 广州通达汽车电气股份有限公司 A kind of slot machine electronics lock management method and system
CN108898721A (en) * 2018-07-06 2018-11-27 广东赛翼智能科技有限公司 A kind of access control device for supporting multiple types card
CN109583522A (en) * 2018-11-20 2019-04-05 北京千丁互联科技有限公司 Intelligent door lock hair fastener method, apparatus and Intelligent hairpin device
CN112446987B (en) * 2019-08-27 2022-06-21 深圳市云海物联科技有限公司 Door lock password management system, gateway equipment and door lock
CN110675543B (en) * 2019-10-24 2024-02-13 珠海格力电器股份有限公司 Method for configuring access card, control method of door lock and door lock
CN111415451A (en) * 2020-03-23 2020-07-14 张超 Hotel card taking and returning device and system thereof
CN111383371B (en) * 2020-04-29 2021-09-14 珠海格力电器股份有限公司 Unlocking method, door lock, server, system, storage medium and electronic device
CN112037375B (en) * 2020-08-24 2021-08-03 深圳市宝富来智能技术有限公司 Control method and device of intelligent lock

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6775775B1 (en) * 1999-01-27 2004-08-10 Hitachi, Ltd. Method of physical individual authentication and system using the same
EP1515268A2 (en) * 2001-03-01 2005-03-16 NTT Data Technology Corporation Method and system for individual authentication and digital signature utilizing article having DNA based ID information mark
CN102722921A (en) * 2012-05-25 2012-10-10 北京时代凌宇科技有限公司 Access control system
CN103116922A (en) * 2013-01-15 2013-05-22 杭州易和网络有限公司 Networking management system and management method for wireless gate lock
CN104751545A (en) * 2015-02-16 2015-07-01 张泽 System, method and device for processing permissions of door lock

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101593380A (en) * 2008-05-28 2009-12-02 北京飞天诚信科技有限公司 A kind of gate control system and authentication method that generates and verify based on dynamic password
CN101661639A (en) * 2009-09-11 2010-03-03 王远洲 Method and system for controlling intelligent door lock
CN101763670A (en) * 2009-12-07 2010-06-30 中兴通讯股份有限公司 Method and system for unlocking mobile phone key
CN103093531B (en) * 2013-01-18 2016-08-17 陈志衍 Utilize the lock system of internet-based control
CN103729818B (en) * 2014-01-20 2017-02-08 深圳市再丰达科技有限公司 Hotel self-service check-in and check-out system and method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6775775B1 (en) * 1999-01-27 2004-08-10 Hitachi, Ltd. Method of physical individual authentication and system using the same
EP1515268A2 (en) * 2001-03-01 2005-03-16 NTT Data Technology Corporation Method and system for individual authentication and digital signature utilizing article having DNA based ID information mark
CN102722921A (en) * 2012-05-25 2012-10-10 北京时代凌宇科技有限公司 Access control system
CN103116922A (en) * 2013-01-15 2013-05-22 杭州易和网络有限公司 Networking management system and management method for wireless gate lock
CN104751545A (en) * 2015-02-16 2015-07-01 张泽 System, method and device for processing permissions of door lock

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107423831A (en) * 2017-07-06 2017-12-01 浙江小尤鱼智能技术有限公司 A kind of self-service hotel based on multistage authority distribution moves in method and system
CN111784883A (en) * 2020-07-20 2020-10-16 深圳可信物联科技有限公司 Intelligent lock configuration method and system
CN112184974A (en) * 2020-09-27 2021-01-05 江苏天创科技有限公司 Monitoring system based on 5G communication node
CN112184974B (en) * 2020-09-27 2022-06-07 江苏天创科技有限公司 Monitoring system based on 5G communication node

Also Published As

Publication number Publication date
SG11201608991PA (en) 2016-12-29
HK1209885A1 (en) 2016-04-08
CN104751545B (en) 2018-05-25
CN104751545A (en) 2015-07-01

Similar Documents

Publication Publication Date Title
WO2016131243A1 (en) System, method and device for processing permissions of door lock
US11354955B2 (en) Universal access control device
CN105009131B (en) Promote the multilayer authentication method communicated between intelligent home equipment and server based on cloud
TWI630503B (en) Remote monitoring system and remote monitoring apparatus
JP6009783B2 (en) Access control system
AU2017286911A1 (en) Scheduled temporary rental property access
US20190340852A1 (en) Access control system with secure pass-through
TW201737162A (en) Network control method and device for a door lock, and storage media
US20160328903A1 (en) Remote electronic physical layer access control using an automated infrastructure management system
DE102015111217B4 (en) Support for initiating actions
KR101629845B1 (en) System for controlling room access and power supplies using an on-line base virtual key
EP3062294B1 (en) Method and devices for upgrading an existing access control system
CN207123882U (en) A kind of antitheft cloud service door-locking system of multiple intelligent
US20230260062A1 (en) Building monitoring system
JP3349505B2 (en) Key information issuance and acquisition method of the collection and delivery box device
WO2016155242A1 (en) Main control board for electronic lock, and control circuit, system and method for electronic lock
JP6505970B2 (en) Access control system and access control method
WO2022096870A1 (en) Augmented access control system
TW201800652A (en) Door access control system with automatic unlocking function and unlocking method thereof that comprises a door lock controller and an electronic device carried by a user such that when the electronic device is approaching the door lock controller, the door lock controller, upon identifying the user, automatically unlock the door lock
JP6531594B2 (en) Remote monitoring system
US20240143719A1 (en) System and method for provisioning a physical security token
TWM591223U (en) Micro-positioning identity confirmation for safe deposit box
EP4362386A1 (en) System and method for provisioning a physical security token
US11776341B2 (en) Intruder detection through lock reporting
CA3217823A1 (en) System and method for provisioning a physical security token

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15882382

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15882382

Country of ref document: EP

Kind code of ref document: A1