WO2016107088A1 - Centralized control method and system for intelligent door lock - Google Patents

Centralized control method and system for intelligent door lock Download PDF

Info

Publication number
WO2016107088A1
WO2016107088A1 PCT/CN2015/081282 CN2015081282W WO2016107088A1 WO 2016107088 A1 WO2016107088 A1 WO 2016107088A1 CN 2015081282 W CN2015081282 W CN 2015081282W WO 2016107088 A1 WO2016107088 A1 WO 2016107088A1
Authority
WO
WIPO (PCT)
Prior art keywords
door lock
password
smart door
server
unlock password
Prior art date
Application number
PCT/CN2015/081282
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 张泽
Publication of WO2016107088A1 publication Critical patent/WO2016107088A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/12Hotels or restaurants
    • 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 the Internet, and in particular to a centralized control method and system for a smart door lock.
  • the network reservation can be realized, that is, the user can complete the resource reservation by logging in a webpage or an application, inputting the specified information, and successfully paying.
  • the user subscribes to the resource it is usually necessary to go to the local area network resource allocation center, such as the hotel front desk in the hotel management system, to register and obtain the authorized device.
  • the authorized device stores authorized authentication information, and the authentication information is used for pairing and identifying with a door lock of a specified resource in the local area network.
  • the authorized device needs to be returned to the local area network resource allocation center.
  • the main purpose of the present invention is to provide a centralized control method and system for a smart door lock to solve the problem of cumbersome and poor security of the unlocking process of the smart lock in the prior art.
  • a centralized control method of a smart door lock comprises: the smart door lock receiving the unlocking password returned by the server, and storing the unlocking password; the smart door lock is more consistent with the stored unlocking password than the stored unlocking password when the current request is unlocked; When the password received when the current request is unlocked is consistent with the stored unlock password, the smart door lock performs an unlocking action; the smart door lock generates or receives an instruction to clear the unlock password, and clears the stored unlock password.
  • a centralized control system for a smart door lock comprises: a client device, a server, and an intelligent a door lock and a management device; wherein the client device receives the user trigger signal, and sends the resource reservation data to the server; and receives the unlock password returned by the server; the server receives and stores the resource reservation data, and generates an unlock password according to the resource reservation data, and the server
  • the unlock password is sent to the client device and the smart door lock; the smart door lock receives the unlock password generated by the server and stores the unlock password; and the smart door lock receives the clear unlock password command and clears the unlock password.
  • a centralized control device for a smart door lock comprises: a first receiving module for causing the smart door lock to receive an unlocking password returned by the server; a storage module for storing the received unlocking password; and a comparison module: for the smart door The lock is compared with the stored unlock password when the current request is unlocked; when the current request for unlocking is the same as the stored unlock password, the smart door lock performs the unlocking action; the second receiving module uses The intelligent door lock generates or receives an instruction to clear the unlock password; the storage module is cleared to clear the stored unlock password.
  • the unlocking password returned by the server is received by the smart door lock, and the unlocking password is stored; and the smart door lock generates or receives an instruction to clear the unlocking password, and clears the stored unlocking password, thereby solving the prior art
  • the unlocking process of the lock is cumbersome and has poor security, and the effect of providing a convenient and safe unlocking method for the unlocking process of the smart door lock is achieved.
  • FIG. 1 is a flow chart of a centralized control method of a smart door lock according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram of a centralized control device for a smart door lock according to an embodiment of the present invention
  • FIG. 3 is a block diagram showing the structure of a centralized control system for a smart door lock according to an embodiment of the present invention.
  • the resource refers to a box of a package that can be controlled by a smart door lock, a hotel/apartment/dormitory/hotel room resource, etc., and a box of the object, such as an intelligent express delivery.
  • the cabinet, resource reservation refers to the start time, end time, renewal time or other service request of the resource usage according to the user's personal information by means of advance agreement.
  • the server is of an unlimited type, and may be a centralized server, a distributed server, a cloud server, etc.
  • the centralized control in the present application means that all the smart door locks are collectively controlled by the server, and are not limited to the server.
  • the type is a centralized server. In fact, the server that controls it can be various servers.
  • Embodiments of the present invention provide a centralized control method for a smart door lock.
  • FIG. 1 is a flow chart of a centralized control method of a smart door lock according to an embodiment of the present invention. As shown in FIG. 1, the centralized control method of the smart door lock includes the following steps:
  • Step S102 the smart door lock receives the unlock password returned by the server, and stores the unlock password
  • the smart door lock may first connect to the server through the network, and establish a communication relationship with the server, so that the server can know whether the smart door lock is currently available, to avoid useless operation of the server when the smart door lock is unavailable.
  • There is a memory in the smart door lock that can be used to store the unlock password and other data returned by the server, such as the expiration date of the unlock password.
  • the smart door lock can store multiple sets of unlock passwords.
  • Step S104 The smart door lock compares with the stored password and the stored unlock code when the current request is unlocked; when the password received when the current request is unlocked is consistent with the stored unlock password, the smart door lock performs an unlocking action;
  • the password that can be unlocked is generated by the server and transmitted to the client device or the management device.
  • the unlock password can be transmitted encrypted, and the same encryption and decryption algorithm is executed at the transmitting end and the receiving end of the unlock password.
  • the smart door lock can reject any form of unlock request.
  • a flag register can be established to identify whether the smart door lock receives the unlock code.
  • the smart door lock can first read the flag register in the smart door lock before the comparison password is consistent, and the data stored in the flag register indicates that the current smart door lock is not received.
  • the comparison unit in the smart door lock can refuse to accept the password received when the request is unlocked.
  • the control unit in the smart door lock may select one of the unlock codes to be compared with the password used when the current request is unlocked; or may store the Multiple sets of unlock passwords are sequentially compared with the passwords used when the current request is unlocked.
  • the smart door lock when multiple sets of unlocking passwords are stored in the smart door lock, for example, the smart door lock simultaneously stores one or more unlocking passwords sent by the server to the smart door lock and the client device, for example, the first unlocking password. And the unlocking password sent by the server to the smart door lock and the management device at the same time, referred to as the second unlocking password for short; optionally, when the smart door lock stores multiple sets of the first unlocking password with different validity periods, the smart door lock is received. After the unlock password is externally input when the lock is requested, firstly, the validity period of all the first unlock passwords stored is determined, and only the first first unlock password that is in the valid period of use is read, compared with the unlock password that is externally input when the lock is requested. Correct.
  • the smart door lock receives the externally input password when requesting the unlocking, and respectively stores the first unlocking password and the second The unlocking password is compared. If the externally input password is the same as any of the first unlocking password and the second unlocking password when the unlocking is requested, the smart door lock performs an unlocking operation.
  • the smart door lock first determines the use stored in the memory after receiving the unlock code externally input when the unlock is received. Validity period, reading only the first unlocking password in the expiration date and the second unlocking password in the expiration date, and comparing the externally unlocking password when requesting unlocking; when there is a first unlocking password and a second unlocking When the password is in the valid period at the same time, the smart door lock compares the externally input unlock password with the above-mentioned first unlock password and the second unlock password when the received request is unlocked, and external input when the lock is requested.
  • the smart door lock performs an unlocking operation when the unlocking password is the same as any of the first unlocking password and the second unlocking password that are in the validity period described above.
  • the use of the first unlocking password of the same smart door lock is valid for no coincidence period.
  • the validity period of the second unlocking password of the same smart door lock is also not coincident.
  • step S106 the smart door lock generates or receives an instruction to clear the unlock password, and clears the stored unlock password.
  • the smart door lock may receive an instruction to clear the unlock password through the network, or may generate an instruction to clear the unlock password in the smart door lock.
  • the control unit in the smart door lock issues an instruction to clear the unlock password to the memory, and clears the stored unlock password.
  • the server allocates and manages the unlock password
  • the client device can obtain the unlock password with the same password as the password stored in the smart door lock of the predetermined resource, and complete the matching of the password.
  • the solution provided by the foregoing method embodiment may further include the following implementation steps:
  • Step S101a The server receives the resource reservation data transmitted by the client device; the server generates an unlock password according to the resource reservation data, and sends the unlock password to the client device and the smart door lock respectively.
  • the resource reservation data in the foregoing step S101a may at least include: a resource scheduled start time, a resource scheduled end time, user information of a predetermined resource, and the like.
  • the resource subscription data may be customer reservation data for a hotel room, reservation data for an apartment, reservation data for a centralized pick-up bin, for example, the reservation data for a hotel room may include a hotel name, a hotel room number, a room door lock ID, check-in date, check-out date, etc.; the reservation data for the apartment may include: apartment name, apartment room number, apartment door lock ID, check-in date, check-out date, cleaning service, moving service, etc.;
  • the predetermined data of the container picking up may include: picking up the container position, picking up the container number, picking up the specific box number in the container, the ID of the specific box number, the estimated time of depositing the item, the type of the item to be deposited, the time of the expected item to be taken, and the like. For the scheduled data of other resources, you can do so
  • the server may send the unlock password to the client device and the smart separately according to the resource scheduled start time and the predetermined first time period in a first time period from a predetermined start time point or forward or backward.
  • the door lock; the first time period is, for example, one hour.
  • the resource reservation start time described above is a time for the user to schedule the use of the reserved resource to the server through the client device.
  • the server sends, to the client device, the resource reservation time is about to end and asks whether to renew the resource according to the resource scheduled end time and the predetermined second time period in a second time period from the predetermined end time point. information.
  • the second time period is, for example, one hour.
  • the resource reservation end time mentioned above is a time for the user to terminate the use of the reserved resource by the client device to the server.
  • the server receives the predetermined information of the user, and can complete the identity information authentication of the user through the Internet, so as to meet the requirement for the public security organ to verify the identity of the registered name.
  • the server extracts the ID number input by the user from the resource reservation data, and/or the photo uploaded by the user; the server public security department database queries the ID number information, and can also compare the photos uploaded by the user with the database of the Ministry of Public Security. Stored photos.
  • the server remotely invokes the client's camera to obtain a photo of the user and a photo of the user's ID card through the client's camera, and compares the information in the database of the Ministry of Public Security.
  • the resource can be reserved and used without being restricted by the region or the group. From the perspective of smart door locks, unified management of multiple resources is realized.
  • the solution provided by the foregoing method embodiment may further include the following implementation steps:
  • Step S101b The server sets the expiration date of the unlock password according to the resource reservation data, and sends the expiration date of the unlock password to the smart door lock and the management device.
  • the server can closely monitor the effective time limit of the unlock password.
  • the expiration date of the unlock password starts from the resource scheduled start time and ends at the resource scheduled end time.
  • the solution provided by the foregoing method embodiment may further include the following implementation steps: after the smart door lock receives the command to clear the unlock password and clear the stored unlock password.
  • Step S108 After the smart door lock clears the stored unlock password, the smart door lock sends a receipt with the password cleared to the server; after confirming that the password has been cleared, the server sends the new unlock password generated by the server to the smart door lock and the management device.
  • step S104 the step of the smart door lock comparing with the password received when the current request is unlocked and the unlock password returned by the server includes: step S1041: receiving the password currently used for unlocking the request; step S1042: from the memory Reading the stored unlock password; step S1043: comparing the password used when the request is unlocked with the stored unlock password; wherein, the manner of receiving the password used when the current request is unlocked includes: the smart door lock is connected to the smart door lock The entity input device receives the input unlock password; the smart door lock receives the unlock password transmitted by the client or the management device by interacting with the communication of the client device or the management device.
  • the method for generating the command for clearing the unlock password may include any one or more of the following: mode 1: when the server detects the expiration date of the unlock password, and when the server receives the resource unsubscribe signal sent by the client device, When any one of the situations occurs, the server issues an instruction to clear the unlock password to the smart door lock; mode 2: when the resource unsubscribe device connected to the smart door lock receives the trigger signal, the resource unsubscribe device issues the smart door lock The instruction to clear the unlock password is used.
  • Method 3 The smart door lock receives the expiration date of the unlock password sent by the server. When the smart door lock detects that the use of the unlock password exceeds the expiration date, the smart door lock generates an instruction to clear the unlock password.
  • the client device receives or downloads the unlock password generated by the server through a short message, an email, an instant messaging tool, a mobile instant messaging tool, or a mobile application.
  • the solution of the foregoing method embodiment may further include: the management device further receiving resource reservation data transmitted by the server.
  • the management device receives the resource reservation data, and can clearly understand the predetermined condition of the resources in the jurisdiction area; optionally, the management device receives the password clear information transmitted by the server, the resource unsubscribe information, the information exceeding the validity period of the user use password, and the like. Understand resource usage.
  • the smart door lock is directly connected to the Internet, or connects to the Internet through a gateway.
  • the smart door lock directly connects to the Internet: WIFI, GPRS, 3G, 4G; the connection mode of the smart door lock and the gateway includes: 2.4G, Bluetooth , Zigbee, 433MHz, etc., the gateway connects to the Internet by wired or wireless means.
  • the method may further include:
  • the number of times the password received when the current request is unlocked is inconsistent with the stored unlock password.
  • the smart door lock sends an alarm signal to the management device.
  • Step A The user subscribes to the hotel room through the client device.
  • the user accesses the web server set in the central server through the client device, and completes the predetermined operation of the hotel room.
  • the central server here is one of the servers indicated in the technical solutions of the above embodiments.
  • the central server generates an unlock password according to the resource reservation data, and sends the unlock password to the client device and the smart door lock respectively; the central server sets the expiration date of the unlock password.
  • the client device can be any device that can access the Internet, such as a personal computer, a laptop, a mobile phone, a tablet, a smart TV, and the like.
  • the client device connects to the central server via the Internet
  • the predetermined hotel room is any room equipped with a smart door lock connected to the central server.
  • the central server saves the user order information in the database.
  • the central server generates an unlock password according to the user order information, and encrypts the unlock password to the client device and the smart door lock of the predetermined room within a predetermined period of time before the check-in time begins.
  • the central server completes the user real-name authentication according to the user identity information in the user order.
  • the central server transmits the unlock password to the client device or the management device by means of short messages, emails, instant messaging tools (eg, qq, etc.), mobile instant messaging tools (eg, WeChat, line), and the like.
  • the smart door lock can be directly connected to the Internet through wifi, gprs, 3g, 4g, or through gateway relay, that is, the smart door lock connects to the gateway through 2.4g, Bluetooth, zigbee, 433MHz, etc., the gateway is wired or wireless. The way to connect to the internet.
  • Step B The smart door lock of the user reservation room receives the unlock password returned by the central server, and stores the unlock password in the memory of the smart door lock.
  • the smart door lock is first connected to the central server through the network, and establishes a communication relationship with the central server, so that the central server can know whether the smart door lock is currently available, to avoid useless operation of the server when the smart door lock is unavailable.
  • There is memory in the smart door lock that can be used to store the unlock code and other data returned by the central server, such as the expiration date of the unlock password.
  • the memory further stores an unlocking password use validity period returned by the central server.
  • multiple sets of passwords can be stored in the memory, for example, a guest password and an administrative password are stored in the memory.
  • the guest password is the password sent by the central server to the client device
  • the administrative password is the password sent by the central server to the management device.
  • the management personnel enter the room with the management password, without affecting the use of the guest password, that is, within a certain period of time, there may be The guest password and management password are valid at the same time.
  • the smart door lock After the smart door lock receives the externally input password when requesting the unlocking, the password is separately compared with the stored guest password and the management password, and if the external password is entered, the guest password and the management password are both requested. Whenever the same is true, the smart door lock performs an unlock operation.
  • multiple sets of passwords can be stored in the memory.
  • the smart door lock is sent. Unlock the password, that is to say, in the case, the password of the smart door lock stores multiple guest passwords, each Guest passwords have their own expiration date.
  • the central server sets the expiration date of the unlocking password, the expiration date of the different guest passwords of the same smart door lock is avoided, that is, different guest passwords have different effective times, so that only one guest password is guaranteed at the same time. effective.
  • the smart door lock after receiving the unlock password externally input, the smart door lock first determines the validity period stored in the memory, and only reads the unlock password in the validity period of the use, and externally when the request is unlocked. The entered unlock password is compared. When the unlock password of the external input is the same as the unlock password in the memory during the unlocking period, the smart door lock performs the unlocking operation.
  • multiple sets of passwords can be stored in the memory, for example, multiple guest passwords and one administrative password are stored.
  • the central server sets the expiration date of the unlocking password, it is ensured that different guest passwords have different expiration dates, and the administrative password is set to be always valid, or the administrative password is valid for a longer period of time, so It can also realize the regular or irregular update of the management password, which prevents the threat of the user's personal or property security caused by the management password being leaked.
  • the smart door lock After receiving the unlock password externally input, the smart door lock first determines the validity period stored in the memory, and only reads the unlock password that is in the validity period of use, and compares it with the unlock password that is externally input when the lock is requested.
  • the smart door lock When there are multiple passwords, such as a guest password and an administrative password, and are in the expiration date, the smart door lock will compare the externally entered unlock password with the above-mentioned multiple passwords when the received request is unlocked. When the unlock code of the external input is unlocked at the same time as any of the plurality of passwords in the expiration date, the smart door lock performs the unlock operation.
  • step C the smart door lock is consistent with the unlock password returned by the central server when the current request is unlocked, and the smart door lock is executed when the password received by the current request is the same as the unlock password returned by the central server. Unlocking action;
  • the client device that receives and stores the unlock password
  • communicates with the smart door lock through a communication interface module on the client device, such as NFC, Bluetooth, WIFI, infrared, etc. Interaction, so that the unlock password on the client device is read by the smart door lock;
  • the user when the user needs to check in, directly hold the unlock password received by the client device, and enter the unlock password by inputting the unlock password on the physical input device connected to the smart door lock, so that the smart door lock reads the unlock password.
  • the client device can be directly used to access the web server set on the central server, select the service content and the service time, and the central server receives the request from the client and then requests the service requested by the client. Content and service time are sent to the management device.
  • the user can directly unlock and complete the check-in by unlocking the password or the client device storing the unlock password, without waiting for the staff to confirm the information and assigning the room card at the front desk, thereby realizing the user's independent occupancy and providing the user with the user.
  • User-friendly, intelligent occupancy experience
  • Step D After the check-in starts, the smart door lock and the server monitor the unlock password to be valid.
  • the central server sends the reminder information to the client device during a preset time period before the expiration of the unlock password usage period.
  • the smart door lock automatically generates or receives an instruction for clearing the unlock password issued by the central server. If the user ends the check-in but has not yet reached the expiration time of the unlock password, the user performs an unsubscribe operation through the client device, or the user presses the check-out button connected to the smart door lock when leaving the room, then the smart door lock receives Clear the command to unlock the password.
  • step E the smart door lock clears the stored unlocking password according to the instruction for clearing the unlocking password obtained in any one of the steps D.
  • the memory in the smart door lock sends an instruction to clear the unlock password to the control unit, and the stored unlock password is cleared by the memory.
  • the smart door lock no longer recognizes the unlock password held by the user, and the user loses the right to use the room.
  • Step F After the smart door lock clears the unlock password, it sends a receipt to the central server to confirm the deletion of the password. After the central server confirms that the password has been cleared, it sends a new unlock password generated by the central server to the smart door lock and the management device.
  • the central server sends the current room check-out information to the management device, and the hotel staff can hold the unlock code received by the management device to clean and organize the room.
  • the smart door lock of the wrong room also has two states. One is to store the unlock code generated by other users after the reservation, and the other is because there is no free room reserved by the user; when the user goes wrong When the room is in the first state, the smart door lock refuses to unlock the unauthorized user when the inconsistency is found by comparing the passwords; and, the threshold can be set, and when the number of input password errors exceeds the threshold, the smart door lock is managed to the hotel.
  • the device sends an abnormal alarm, which can be handled by the hotel staff.
  • the smart door lock rejects any form of unlocking operation; but in normal In the case, another unlock password is stored in the smart door lock, and the unlock password is the same as the password sent by the central server to the management device after confirming the check-out.
  • the embodiment of the invention also provides a centralized control device for the intelligent door lock.
  • the centralized control device for the smart door lock according to the embodiment of the present invention may be used to perform the centralized control method for the smart door lock provided by the embodiment of the present invention, and the centralized control method for the smart door lock according to the embodiment of the present invention may also be It is executed by the centralized control device of the smart door lock provided by the embodiment of the present invention.
  • FIG. 2 is a schematic structural view of a centralized control device for a smart door lock according to an embodiment of the present invention.
  • the centralized control device of the smart door lock includes:
  • the first receiving module 10 is configured to enable the smart door lock to receive an unlock password returned by the server;
  • the storage module 20 is configured to store the received unlock password; and other data returned by the server, such as an unlock password use validity period;
  • the comparison module 30 is configured to: whether the password received by the smart door lock is the same as the stored unlock password when the current request is unlocked; and when the password received when the current request is unlocked is consistent with the stored unlock password, the smart door lock performs unlocking. action;
  • a second receiving module 40 configured to enable the smart door lock to generate or receive an instruction to clear the unlock password
  • the storage module 50 is cleared to clear the stored unlock password.
  • the device Before the first receiving module 10, the device further includes: a resource reservation module, configured to receive resource reservation data of the client and complete resource reservation, where the resource reservation data includes at least: a resource scheduled start time, a resource scheduled end time, and a predetermined resource. User information, etc.
  • a resource reservation module configured to receive resource reservation data of the client and complete resource reservation, where the resource reservation data includes at least: a resource scheduled start time, a resource scheduled end time, and a predetermined resource. User information, etc.
  • the resource reservation module further includes: a sub-module 1: an unlock password generating unit, configured to generate an unlock password according to the resource reservation data; and a sub-module 2: an unlock password sending unit, configured to: according to the resource scheduled start time and the predetermined first time period, The unlock password is separately sent to the client device and the smart door lock from the scheduled start time point or the forward or backward first time period; the sub-module 3: the unlock password use validity period setting unit is used to reserve the end time according to the resource Setting a validity period of the unlock password; sub-module 4: a notification and inquiry unit, configured to send to the client in a second time period from the predetermined end time point according to the resource scheduled end time and the predetermined second time period The device sends a notification that the resource is scheduled to end and asks whether to renew the resource information.
  • a sub-module 1 an unlock password generating unit, configured to generate an unlock password according to the resource reservation data
  • a sub-module 2 an unlock password sending unit, configured to: according to the
  • the device further includes: a receipt confirmation module, configured to receive the receipt of the password clear and confirm the password clear information; and a sending module, configured to send the server generated new to the smart door lock and the management device Unlock the password.
  • a receipt confirmation module configured to receive the receipt of the password clear and confirm the password clear information
  • a sending module configured to send the server generated new to the smart door lock and the management device Unlock the password.
  • the comparison module 30 further includes: a receiving unit, configured to receive a password used when the current request for unlocking; a reading unit, configured to read the stored unlocking password from the memory; and a comparing unit: when the request is unlocked Use The password is the same as the stored unlock password.
  • the receiving unit includes a first receiving unit and/or a second receiving unit: the first receiving unit is configured to receive the input unlocking password from the physical input device connected to the smart door lock; the second receiving unit is configured to pass the client The communication interaction between the device or the management device receives the unlock password transmitted by the client or the management device.
  • the device may further include: a generating module and/or a third receiving module, where the generating module is configured to generate an instruction for clearing the unlocking password when the smart door lock detects that the expiration date of the unlocking password is exceeded.
  • the third receiving module is configured to receive an instruction for clearing the unlocking password generated by the device other than the smart door lock, such as the server monitoring the expiration date of the unlocking password, and when the server receives the resource unsubscribing signal sent by the client device, and the smart When the resource unsubscribe device connected to the door lock is triggered, a signal for clearing the unlock code generated when any one of the three conditions occurs occurs.
  • the embodiment of the invention also provides a centralized control system for a smart door lock.
  • the centralized control system of the smart door lock includes: a plurality of client devices, servers, management devices, and smart door locks connected to each other through a network;
  • the client device receives the user trigger signal, sends the resource reservation data to the server, and receives the unlock password returned by the server;
  • the server receives and stores the resource reservation data, and generates an expiration date of the unlock password and the unlock password according to the resource reservation data, and the server sends the unlock password to the client device and the smart door lock, or sends the unlock password to the management device and the smart door lock;
  • the server sends the expiration date of the unlock password to the smart door lock;
  • the resource reservation data may include at least: a resource scheduled start time, a resource scheduled end time, user information of a predetermined resource, and the like.
  • the resource reservation data may be customer reservation data for a hotel room, reservation data for an apartment, and predetermined data for a centralized pick-up container.
  • the reservation data for a hotel room may include a hotel name, a hotel room number, and a room door.
  • the reservation data for the apartment may include: apartment name, apartment room number, apartment door lock ID, check-in date, check-out date, cleaning service, moving service, etc.
  • the predetermined data of the pick-up container may include: picking up the container position, picking up the container number, picking up the specific box number in the container, the ID of the specific box number, the estimated time of depositing the item, the type of the expected item, the time of the expected item to be taken, and the like. For the scheduled data of other resources, you can do so.
  • the expiration date of the unlock password starts from the scheduled start time of the resource, and ends at the scheduled end time of the resource.
  • the server may send the unlock password to the client device and the smart separately according to the resource scheduled start time and the predetermined first time period in a first time period from a predetermined start time point or forward or backward.
  • the door lock; the first time period is, for example, one hour.
  • the resource reservation start time described above is a time for the user to schedule the use of the reserved resource to the server through the client device.
  • the server sends, to the client device, the resource reservation time is about to end and asks whether to renew the resource according to the resource scheduled end time and the predetermined second time period in a second time period from the predetermined end time point. information.
  • the second time period is, for example, one hour.
  • the resource reservation start time described above is a time for the user to schedule the use of the reserved resource to the server through the client device.
  • the server receives the predetermined information of the user, and can complete the identity information authentication of the user through the Internet, so as to meet the requirement for the public security organ to verify the identity of the registered name.
  • the method for the server to complete the user identity information authentication includes: the server extracts the ID number input by the user from the resource reservation data, and/or the photo uploaded by the user, and the server queries the ID number information from the Ministry of Public Security database, and/or , compare the photos uploaded by the user with the photos stored in the Ministry of Public Security database.
  • the method for the server to complete the user identity information authentication includes: the server remotely invokes the camera of the client, obtains the photo of the user and the photo of the user ID card through the camera of the client, and compares the information in the database of the Ministry of Public Security.
  • the resource can be reserved and used without being restricted by the region or the group. From the perspective of smart door locks, unified management of multiple resources is realized.
  • the smart door lock receives the unlock password generated by the server and stores the unlock password; and the smart door lock receives the clear unlock password command and clears the unlock password;
  • the smart door lock is compared with the stored unlock code when the current request is unlocked, and the smart door lock performs the unlocking action when the received password is consistent with the stored unlock code when the current request is unlocked.
  • the smart door lock can first connect to the server through the network, and establish a communication relationship with the server, so that the server can know whether the smart door lock is currently available, to avoid useless operation of the server when the smart door lock is unavailable.
  • There is a memory in the smart door lock that can be used to store the unlock password and other data returned by the server, such as the expiration date of the unlock password.
  • the unlockable password is generated by the server and transmitted to the client device or the management device.
  • the unlock password can be transmitted encrypted, and the same encryption and decryption algorithms are executed on both the sending end and the receiving end of the unlocking password.
  • the smart door lock can reject any form of unlock request.
  • a flag register can be created in the smart door lock to identify whether the smart door lock received the unlock code.
  • the smart door lock can first read the flag register in the smart door lock before the comparison password is consistent, and the data stored in the flag register indicates that the current smart door lock is not received.
  • the comparison unit in the smart door lock can refuse to accept the password received when the request is unlocked.
  • the smart door lock when multiple sets of unlocking passwords are stored in the smart door lock, for example, the smart door lock simultaneously stores one or more unlocking passwords sent by the server to the smart door lock and the client device, for example, the first unlocking password. And the unlocking password sent by the server to the smart door lock and the management device at the same time, referred to as the second unlocking password for short; optionally, when the smart door lock stores multiple sets of the first unlocking password with different validity periods, the smart door lock is received. After the unlock password is externally input when the lock is requested, firstly, the validity period of all the first unlock passwords stored is determined, and only the first first unlock password that is in the valid period of use is read, compared with the unlock password that is externally input when the lock is requested. Correct.
  • the smart door lock receives the externally input password when requesting the unlocking, and respectively stores the first unlocking password and the second The unlocking password is compared. If the externally input password is the same as any of the first unlocking password and the second unlocking password when the unlocking is requested, the smart door lock performs an unlocking operation.
  • the smart door lock when the first door unlock password and the one or more second unlock codes are stored in the smart door lock, the smart door lock first determines the use stored in the memory after receiving the unlock code externally input when the unlock is received. Validity period, reading only the first unlocking password in the expiration date and the second unlocking password in the expiration date, and comparing the externally unlocking password when requesting unlocking; when there is a first unlocking password and a second unlocking
  • the smart door lock compares the externally input unlock password with the first unlock password and the second unlock password that are in the valid period when the received request is unlocked, and the externally entered unlock password when the lock is requested.
  • the smart door lock performs an unlocking operation.
  • the validity period of the second unlocking password of the same smart door lock is also not coincident.
  • the method for generating the command for clearing the unlock password may include any one or more of the following: mode 1: when the server detects the expiration date of the unlock password, and when the server receives the resource unsubscribe signal sent by the client device When any one of the two occurs, the server sends an instruction to clear the unlock password to the smart door lock; mode 2: when the resource unsubscribe device connected to the smart door lock receives the trigger signal, the resource unsubscribe device goes to the smart door The lock issues an instruction to clear the unlock password; mode 3: the smart door lock receives the expiration date of the unlock password sent by the server, and when the smart door lock detects the expiration of the use period of the unlock password, the smart door lock generates an instruction to clear the unlock password.
  • the smart door lock can receive an instruction to clear the unlock password through the network, or generate an instruction to clear the unlock password inside the smart door lock.
  • the memory in the smart door lock issues an instruction to clear the unlock password to the control unit, and clears the stored unlock password.
  • the management device receives the resource reservation data and the unlock password transmitted by the server.
  • the management device further receives resource reservation data transmitted by the server.
  • the management device receives the resource reservation data, and can clearly understand the predetermined condition of the resources in the jurisdiction area; optionally, the management device receives the password clear information transmitted by the server, the resource unsubscribe information, the information exceeding the validity period of the user use password, and the like. Understand resource usage.
  • the server allocates and manages the unlock password
  • the user equipment obtains the unlock password with the same password as the password stored in the smart door lock of the predetermined resource, and completes the matching of the password.
  • the smart door lock includes: a memory for storing an unlock password; and an input interface, wherein the input interface further includes: a first input interface, configured to receive an unlock password issued by the server; and a second input interface, configured to receive the server according to the resource a resource usage expiration period for the predetermined information distribution; a third input interface for receiving a trigger signal of the resource unsubscribe device connected to the smart door lock; a fourth input interface for receiving a password used when requesting the unlocking; and a processor for Receive and process data received by the input interface.
  • the step of the smart door lock comparing with the password received when the current request is unlocked and the unlock code returned by the server includes: Step 1: receiving the password used when the current request is unlocked; Step 2: reading the stored memory from the memory Unlock the password; Step 3: Compare the password used when the request is unlocked with the stored unlock password; wherein the method of receiving the password used to unlock the current request includes: the smart door lock through the physical input device connected to the smart door lock Receiving the input unlock password; the smart door lock receives the unlock password transmitted by the client or the management device by interacting with the communication of the client device or the management device.
  • the smart door lock may further include: transmitting means for transmitting, after the smart door lock clears the stored unlocking password, the sending device sends a receipt to the server that the password has been cleared.
  • Receiving device used to receive a new unlocking password generated by the server after the server confirms that the password has been cleared.
  • the smart door lock further includes: an alarm device, configured to manage the smart door lock when the number of times the password received and the stored unlock code are inconsistent when the current request is unlocked reaches a preset threshold.
  • the device sends an alarm signal.
  • the step of the processor receiving and processing the data received by the input interface includes: identifying whether the unlock password in the memory is the same as the unlock password received by the input interface, identifying whether to issue an instruction to clear the unlock password to the memory, and identifying whether to manage the hotel.
  • the central system sends out messages, as well as the category of the message.
  • the client device includes: a personal computer, a notebook computer, a collection, a tablet computer, a smart TV, and an integrated circuit card having a function of synchronizing with the Internet.
  • the smart door lock is directly connected to the Internet through WIFI, GPRS, 3G, 4G, or connected to the Internet through a gateway, wherein the connection mode of the smart door lock and the gateway includes: 2.4G, Bluetooth, Zigbee.
  • the embodiment of the present invention further provides a smart door lock for executing the program code of the step provided by the centralized control method of the smart door lock according to any one of the above-mentioned first embodiments.
  • the embodiment of the invention further provides a storage medium for the smart door lock, which is used for storing the program code executed by the centralized control method of the smart door lock according to any one of the first embodiments.
  • the disclosed apparatus may be implemented in other ways.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or may be Integrate into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be electrical or otherwise.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to On multiple network elements. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium.
  • the technical solution of the present invention which is essential or contributes to the prior art, or all or part of the technical solution, may be embodied in the form of a software product stored in a storage medium.
  • a number of instructions are included to cause a computer device (which may be a personal computer, mobile terminal, server or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes: a U disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk, and the like. .

Landscapes

  • Business, Economics & Management (AREA)
  • Tourism & Hospitality (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Health & Medical Sciences (AREA)
  • Economics (AREA)
  • Health & Medical Sciences (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Primary Health Care (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Lock And Its Accessories (AREA)

Abstract

A centralized control method and system for an intelligent door lock. The method comprises: an intelligent door lock receives an unlocking password returned by a server and stores the unlocking password (S102); the intelligent door lock makes a comparison to determine whether a password received during the current unlocking request is consistent with the stored unlocking password, and when the password received during the current unlocking request is consistent with the stored unlocking password, the intelligent door lock executes an unlocking action (S104); and the intelligent door lock generates or receives an instruction for clearing the unlocking password, and clears the stored unlocking password (S106). The method solves the problems of a complicated unlocking process of an intelligent lock and low safety in the prior art.

Description

一种智能门锁的集中控制方法和***Centralized control method and system for intelligent door lock 技术领域Technical field
本发明涉及互联网领域,具体而言,涉及一种智能门锁的集中控制方法和***。The present invention relates to the field of the Internet, and in particular to a centralized control method and system for a smart door lock.
背景技术Background technique
在现有的资源管理***中,尤其是在酒店管理***中,已经能够实现网络预定,即用户通过登录网页或应用程序,输入指定信息并成功付款就可完成资源预定。在用户预定的使用该资源的时侯,通常需要到局域网资源分配中心,如酒店管理***中的酒店前台,进行登记并领取授权设备。其中,授权设备中存储有经授权的认证信息,该认证信息用于与局域网内指定资源的门锁配对识别。在用户需要退订或取消该资源时,需要到局域网资源分配中心退还该授权设备。由于授权设备的领取与退还均需要人工操作,在用户较多时,存在用户需要排队等待的问题,无法保证良好的用户体验,并且,局域网资源分配中心需要提供全天候服务,增加了人力成本。由上可知,现有技术在对智能锁进行授权解锁的过程中,无法提供便捷且安全性高的解锁方法。In the existing resource management system, especially in the hotel management system, the network reservation can be realized, that is, the user can complete the resource reservation by logging in a webpage or an application, inputting the specified information, and successfully paying. When the user subscribes to the resource, it is usually necessary to go to the local area network resource allocation center, such as the hotel front desk in the hotel management system, to register and obtain the authorized device. The authorized device stores authorized authentication information, and the authentication information is used for pairing and identifying with a door lock of a specified resource in the local area network. When the user needs to unsubscribe or cancel the resource, the authorized device needs to be returned to the local area network resource allocation center. Since the collection and return of the authorized device requires manual operation, when there are many users, there is a problem that the user needs to wait in line, and a good user experience cannot be guaranteed. Moreover, the local area network resource allocation center needs to provide round-the-clock service and increase labor cost. It can be seen from the above that the prior art cannot provide a convenient and highly secure unlocking method in the process of authorizing and unlocking the smart lock.
针对现有技术中对智能锁的解锁过程繁琐且安全性差的问题,目前尚未提出有效的解决方案。In view of the cumbersome and poor security of the unlocking process of the smart lock in the prior art, an effective solution has not been proposed yet.
发明内容Summary of the invention
本发明的主要目的在于提供一种智能门锁的集中控制方法和***,以解决现有技术中对智能锁的解锁过程繁琐且安全性差的问题。The main purpose of the present invention is to provide a centralized control method and system for a smart door lock to solve the problem of cumbersome and poor security of the unlocking process of the smart lock in the prior art.
为了实现上述目的,根据本发明实施例的一个方面,提供了一种智能门锁的集中控制方法。根据本发明的智能门锁的集中控制方法包括:智能门锁接收服务器返回的开锁密码,并存储开锁密码;智能门锁比对当前请求开锁时接收到的密码与存储的开锁密码是否一致;当当前请求开锁时接收到的密码与存储的开锁密码一致时,智能门锁执行开锁动作;智能门锁生成或接收清除开锁密码的指令,并清除存储的开锁密码。In order to achieve the above object, according to an aspect of an embodiment of the present invention, a centralized control method of a smart door lock is provided. The centralized control method of the smart door lock according to the present invention comprises: the smart door lock receiving the unlocking password returned by the server, and storing the unlocking password; the smart door lock is more consistent with the stored unlocking password than the stored unlocking password when the current request is unlocked; When the password received when the current request is unlocked is consistent with the stored unlock password, the smart door lock performs an unlocking action; the smart door lock generates or receives an instruction to clear the unlock password, and clears the stored unlock password.
为了实现上述目的,根据本发明实施例的另一方面,提供了一种智能门锁的集中控制***。根据本发明的智能门锁的集中控制***包括:客户端设备、服务器、智能 门锁和管理设备;其中,客户端设备接收用户触发信号,向服务器发送资源预定数据;并接收服务器返回的开锁密码;服务器接收和存储资源预定数据,并根据资源预定数据生成开锁密码,服务器将开锁密码发送至客户端设备和智能门锁;智能门锁接收服务器生成的开锁密码,并存储开锁密码;以及,智能门锁接收清除开锁密码指令,并清除开锁密码。In order to achieve the above object, according to another aspect of an embodiment of the present invention, a centralized control system for a smart door lock is provided. The centralized control system of the smart door lock according to the present invention comprises: a client device, a server, and an intelligent a door lock and a management device; wherein the client device receives the user trigger signal, and sends the resource reservation data to the server; and receives the unlock password returned by the server; the server receives and stores the resource reservation data, and generates an unlock password according to the resource reservation data, and the server The unlock password is sent to the client device and the smart door lock; the smart door lock receives the unlock password generated by the server and stores the unlock password; and the smart door lock receives the clear unlock password command and clears the unlock password.
为了实现上述目的,根据本发明实施例的另一方面,提供了一种智能门锁的集中控制装置。根据本发明的智能门锁的集中控制装置包括:第一接收模块,用于使智能门锁接收服务器返回的开锁密码;存储模块,用于存储接收到的开锁密码;对比模块:用于智能门锁比对当前请求开锁时接收到的密码与存储的开锁密码与是否一致;当当前请求开锁时接收到的密码与存储的开锁密码一致时,智能门锁执行开锁动作;第二接收模块,用于使智能门锁生成或接收清除开锁密码的指令;清除存储模块,用于清除存储的开锁密码。In order to achieve the above object, according to another aspect of an embodiment of the present invention, a centralized control device for a smart door lock is provided. The centralized control device for the smart door lock according to the present invention comprises: a first receiving module for causing the smart door lock to receive an unlocking password returned by the server; a storage module for storing the received unlocking password; and a comparison module: for the smart door The lock is compared with the stored unlock password when the current request is unlocked; when the current request for unlocking is the same as the stored unlock password, the smart door lock performs the unlocking action; the second receiving module uses The intelligent door lock generates or receives an instruction to clear the unlock password; the storage module is cleared to clear the stored unlock password.
根据发明实施例,通过智能门锁接收服务器返回的开锁密码,并存储开锁密码;和智能门锁生成或接收清除开锁密码的指令,并清除存储的开锁密码,解决了现有技术中对智能门锁的解锁过程繁琐且安全性差的问题,达到了为智能门锁的解锁过程提供便捷且安全性高的解锁方法效果。According to an embodiment of the invention, the unlocking password returned by the server is received by the smart door lock, and the unlocking password is stored; and the smart door lock generates or receives an instruction to clear the unlocking password, and clears the stored unlocking password, thereby solving the prior art The unlocking process of the lock is cumbersome and has poor security, and the effect of providing a convenient and safe unlocking method for the unlocking process of the smart door lock is achieved.
附图说明DRAWINGS
构成本申请的一部分的附图用来提供对本发明的进一步理解,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。通过参考以下结合附图的说明及权利要求书的内容,并且随着对本发明的更全面理解,本发明的其它目的及结果将更加明白及易于理解。在附图中:The accompanying drawings, which are incorporated in the claims Other objects and results of the present invention will become more apparent and appreciated from the <RTIgt; In the drawing:
图1是根据本发明实施例的智能门锁的集中控制方法的流程图;1 is a flow chart of a centralized control method of a smart door lock according to an embodiment of the present invention;
图2是根据本发明实施例的智能门锁的集中控制装置的示意图;以及2 is a schematic diagram of a centralized control device for a smart door lock according to an embodiment of the present invention;
图3是根据本发明实施例的智能门锁的集中控制***的结构示意图。3 is a block diagram showing the structure of a centralized control system for a smart door lock 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 invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is an embodiment of the invention, but not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts shall fall within the scope of the present invention.
需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本发明的实施例。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、***、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。It is to be understood that the terms "first", "second" and the like in the specification and claims of the present invention are used to distinguish similar objects, and are not necessarily used to describe a particular order or order. It will be understood that the data so used may be interchanged where appropriate to facilitate the embodiments of the invention 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.
需要说明的是,在本申请中,资源是指能够通过智能门锁控制的承装物的箱体、酒店/公寓/宿舍/旅馆房间资源等,承装物的箱体,如智能的快递取物柜,资源预定,是指通过提前约定的方式,根据用户的个人信息,约定资源使用的开始时间、结束时间、续约时间或其他服务请求等。在本申请中,服务器不限种类,可以是集中式服务器、分布式服务器、云服务器等,本申请中的集中控制,是指所有的智能门锁都集中地由服务器来进行控制,并非限定服务器的类型为集中式服务器,事实上,进行控制的服务器可以是各种服务器。It should be noted that, in the present application, the resource refers to a box of a package that can be controlled by a smart door lock, a hotel/apartment/dormitory/hotel room resource, etc., and a box of the object, such as an intelligent express delivery. The cabinet, resource reservation, refers to the start time, end time, renewal time or other service request of the resource usage according to the user's personal information by means of advance agreement. In the present application, the server is of an unlimited type, and may be a centralized server, a distributed server, a cloud server, etc. The centralized control in the present application means that all the smart door locks are collectively controlled by the server, and are not limited to the server. The type is a centralized server. In fact, the server that controls it can be various servers.
实施例一Embodiment 1
本发明实施例提供了一种智能门锁的集中控制方法。Embodiments of the present invention provide a centralized control method for a smart door lock.
图1是根据本发明实施例的智能门锁的集中控制方法的流程图。如图1所示,该智能门锁的集中控制方法包括步骤如下:1 is a flow chart of a centralized control method of a smart door lock according to an embodiment of the present invention. As shown in FIG. 1, the centralized control method of the smart door lock includes the following steps:
步骤S102,智能门锁接收服务器返回的开锁密码,并存储开锁密码;Step S102, the smart door lock receives the unlock password returned by the server, and stores the unlock password;
具体的,在上述步骤S102中,智能门锁可以先通过网络与服务器相连,并与服务器建立通信关系,使得服务器能够获知智能门锁当前是否可用,以避免智能门锁不可用时服务器的无用操作。在智能门锁中有存储器,可用于存储开锁密码和服务器返回的诸如开锁密码使用有效期等其他数据。可选的,智能门锁可以存储多组开锁密码。 Specifically, in the foregoing step S102, the smart door lock may first connect to the server through the network, and establish a communication relationship with the server, so that the server can know whether the smart door lock is currently available, to avoid useless operation of the server when the smart door lock is unavailable. There is a memory in the smart door lock that can be used to store the unlock password and other data returned by the server, such as the expiration date of the unlock password. Optionally, the smart door lock can store multiple sets of unlock passwords.
步骤S104,智能门锁比对当前请求开锁时接收到的密码与存储的开锁密码与是否一致;当当前请求开锁时接收到的密码与存储的开锁密码一致时,智能门锁执行开锁动作;Step S104: The smart door lock compares with the stored password and the stored unlock code when the current request is unlocked; when the password received when the current request is unlocked is consistent with the stored unlock password, the smart door lock performs an unlocking action;
具体的,在上述步骤S104中,能够开锁的密码,是由服务器生成的,并传输给客户端设备或管理设备。开锁密码可以采用加密传输,在开锁密码的发送端和接收端执行相同的加密和解密算法。当存储器中没有存储任何密码信息时,智能门锁可以拒绝任何形式的开锁请求,在智能门锁中可以建立一个标志寄存器,用于标识智能门锁是否接收到开锁密码。优选的,在智能门锁出厂并投入使用后,智能门锁在比对密码是否一致之前,可以首先读取智能门锁中的标志寄存器,当标志寄存器中存储的数据表示目前智能门锁没有接收到开锁密码时,智能门锁中的比对单元可以拒绝接受请求开锁时接收到的密码。Specifically, in the above step S104, the password that can be unlocked is generated by the server and transmitted to the client device or the management device. The unlock password can be transmitted encrypted, and the same encryption and decryption algorithm is executed at the transmitting end and the receiving end of the unlock password. When no password information is stored in the memory, the smart door lock can reject any form of unlock request. In the smart door lock, a flag register can be established to identify whether the smart door lock receives the unlock code. Preferably, after the smart door lock is shipped from the factory and put into use, the smart door lock can first read the flag register in the smart door lock before the comparison password is consistent, and the data stored in the flag register indicates that the current smart door lock is not received. When the password is unlocked, the comparison unit in the smart door lock can refuse to accept the password received when the request is unlocked.
可选的,当智能门锁中存储了多组开锁密码时,智能门锁中的控制单元可以选定其中一组开锁密码,与当前请求开锁时使用的密码进行比对;也可以将存储的多组开锁密码,依次与当前请求开锁时使用的密码进行比对。Optionally, when multiple sets of unlock codes are stored in the smart door lock, the control unit in the smart door lock may select one of the unlock codes to be compared with the password used when the current request is unlocked; or may store the Multiple sets of unlock passwords are sequentially compared with the passwords used when the current request is unlocked.
可选的,当智能门锁中存储了多组开锁密码时,例如,智能门锁中同时存储了一个或多个服务器同时发给智能门锁和客户端设备的开锁密码,简称第一开锁密码,以及服务器同时发给智能门锁和管理设备的开锁密码,简称第二开锁密码;可选的,当智能门锁中存储了多组使用有效期不同的第一开锁密码时,智能门锁在接收到请求开锁时外部输入的开锁密码后,首先判断存储的所有第一开锁密码的使用有效期,仅读取处于使用有效期当中的唯一一个第一开锁密码,与请求开锁时外部输入的开锁密码进行比对。Optionally, when multiple sets of unlocking passwords are stored in the smart door lock, for example, the smart door lock simultaneously stores one or more unlocking passwords sent by the server to the smart door lock and the client device, for example, the first unlocking password. And the unlocking password sent by the server to the smart door lock and the management device at the same time, referred to as the second unlocking password for short; optionally, when the smart door lock stores multiple sets of the first unlocking password with different validity periods, the smart door lock is received. After the unlock password is externally input when the lock is requested, firstly, the validity period of all the first unlock passwords stored is determined, and only the first first unlock password that is in the valid period of use is read, compared with the unlock password that is externally input when the lock is requested. Correct.
可选的,当智能门锁中只存储了一个第一开锁密码和一个第二开锁密码时,智能门锁接收到请求开锁时外部输入的密码后,分别与存储的第一开锁密码和第二开锁密码进行比对,如果请求开锁时外部输入的密码与第一开锁密码和第二开锁密码二者中任一相同时,智能门锁执行开锁操作。Optionally, when only one first unlocking password and one second unlocking password are stored in the smart door lock, the smart door lock receives the externally input password when requesting the unlocking, and respectively stores the first unlocking password and the second The unlocking password is compared. If the externally input password is the same as any of the first unlocking password and the second unlocking password when the unlocking is requested, the smart door lock performs an unlocking operation.
可选的,当智能门锁中存储了多个第一开锁密码和一个或多个第二开锁密码时,智能门锁在接收到开锁时外部输入的开锁密码后,首先判断存储器中存储的使用有效期,仅读取处于使用有效期当中的第一开锁密码和处于使用有效期当中的第二开锁密码,与请求开锁时外部输入的开锁密码进行比对;当有一个第一开锁密码和一个第二开锁密码同时处于有效期时,则智能门锁将接收到的请求开锁时外部输入的开锁密码与上述处于有效期的第一开锁密码和第二开锁密码一一对比,当请求开锁时外部输入 的开锁密码与上述处于有效期的第一开锁密码和第二开锁密码中任一相同时,智能门锁执行开锁操作。优选的,同一个智能门锁的第一开锁密码的使用有效期无重合时段。同一个智能门锁的第二开锁密码的使用有效期也无重合时段。Optionally, when the first door unlock password and the one or more second unlock codes are stored in the smart door lock, the smart door lock first determines the use stored in the memory after receiving the unlock code externally input when the unlock is received. Validity period, reading only the first unlocking password in the expiration date and the second unlocking password in the expiration date, and comparing the externally unlocking password when requesting unlocking; when there is a first unlocking password and a second unlocking When the password is in the valid period at the same time, the smart door lock compares the externally input unlock password with the above-mentioned first unlock password and the second unlock password when the received request is unlocked, and external input when the lock is requested. The smart door lock performs an unlocking operation when the unlocking password is the same as any of the first unlocking password and the second unlocking password that are in the validity period described above. Preferably, the use of the first unlocking password of the same smart door lock is valid for no coincidence period. The validity period of the second unlocking password of the same smart door lock is also not coincident.
步骤S106,智能门锁生成或接收清除开锁密码的指令,并清除存储的开锁密码。In step S106, the smart door lock generates or receives an instruction to clear the unlock password, and clears the stored unlock password.
具体的,在上述步骤S106中,智能门锁可以通过网络接收清除开锁密码的指令,也可以在智能门锁的内部生成清除开锁密码的指令。当智能门锁接收或者生成清除开锁密码的指令后,智能门锁中的控制单元会向存储器发出清除开锁密码的指令,将存储的开锁密码清除。Specifically, in the above step S106, the smart door lock may receive an instruction to clear the unlock password through the network, or may generate an instruction to clear the unlock password in the smart door lock. When the smart door lock receives or generates an instruction to clear the unlock password, the control unit in the smart door lock issues an instruction to clear the unlock password to the memory, and clears the stored unlock password.
通过上述步骤S102至步骤S106,服务器对开锁密码进行分配和管理,用户端设备可获得与预定资源的智能门锁中存储密码相同的开锁密码,完成密码的匹配。综上,解决了现有技术中对智能门锁的解锁过程繁琐且安全性差的问题,达到了为智能门锁的解锁过程提供便捷且安全性高的解锁方法效果。Through the above steps S102 to S106, the server allocates and manages the unlock password, and the client device can obtain the unlock password with the same password as the password stored in the smart door lock of the predetermined resource, and complete the matching of the password. In summary, the problem that the unlocking process of the smart door lock is cumbersome and the security is poor in the prior art is solved, and the effect of providing a convenient and high-security unlocking method for the unlocking process of the smart door lock is achieved.
其中,在智能门锁通过接收服务器返回的开锁密码之前,上述方法实施例提供方案还可以包括如下实施步骤:Before the smart door lock is received by the receiving server, the solution provided by the foregoing method embodiment may further include the following implementation steps:
步骤S101a:服务器接收客户端设备传输的资源预定数据;服务器根据资源预定数据生成开锁密码,并将开锁密码分别发送至客户端设备和智能门锁。Step S101a: The server receives the resource reservation data transmitted by the client device; the server generates an unlock password according to the resource reservation data, and sends the unlock password to the client device and the smart door lock respectively.
具体的,上述步骤S101a中的资源预定数据至少可以包括:资源预定开始时间,资源预定结束时间,预定资源的用户信息等。例如,资源预订数据可以是客户对于酒店房间的预订数据、对于公寓的预订数据、对于集中式取货柜的预定数据,例如,对于酒店房间的预定数据可以包括酒店名称、酒店房间号、房间门锁ID、入住日期、退房日期等;对于公寓的预定数据可以包括:公寓名称、公寓房间号、公寓该房间的门锁ID、入住日子、退房日期、清扫服务、搬家服务等;对于集中式取货柜的预定数据可以包括:取货柜位置、取货柜编号、取货柜中具体箱号、该具体箱号的ID、预计存入物品时间、预计存入物品种类、预计取走物品时间等。对于其他资源的预定数据,可以依此类推。Specifically, the resource reservation data in the foregoing step S101a may at least include: a resource scheduled start time, a resource scheduled end time, user information of a predetermined resource, and the like. For example, the resource subscription data may be customer reservation data for a hotel room, reservation data for an apartment, reservation data for a centralized pick-up bin, for example, the reservation data for a hotel room may include a hotel name, a hotel room number, a room door lock ID, check-in date, check-out date, etc.; the reservation data for the apartment may include: apartment name, apartment room number, apartment door lock ID, check-in date, check-out date, cleaning service, moving service, etc.; The predetermined data of the container picking up may include: picking up the container position, picking up the container number, picking up the specific box number in the container, the ID of the specific box number, the estimated time of depositing the item, the type of the item to be deposited, the time of the expected item to be taken, and the like. For the scheduled data of other resources, you can do so.
可选地,服务器可以根据资源预定开始时间和预定的第一时间段,在从预定开始时间点起或向前或向后的第一时间段内,将开锁密码分别发送至客户端设备和智能门锁;第一时间段为,例如,一小时。上述的资源预定开始时间,为用户通过客户端设备向服务器预定的将要开始使用被预定资源的时间。 Optionally, the server may send the unlock password to the client device and the smart separately according to the resource scheduled start time and the predetermined first time period in a first time period from a predetermined start time point or forward or backward. The door lock; the first time period is, for example, one hour. The resource reservation start time described above is a time for the user to schedule the use of the reserved resource to the server through the client device.
可选地,服务器根据资源预定结束时间和预定的第二时间段,在从预定结束时间点向前的第二时间段内,向客户端设备发送资源预定时间即将结束并询问是否续订资源的信息。第二时间段为,例如,一小时。上述的资源预定结束时间,为用户通过客户端设备向服务器预定的将要结束使用被预定资源的时间。Optionally, the server sends, to the client device, the resource reservation time is about to end and asks whether to renew the resource according to the resource scheduled end time and the predetermined second time period in a second time period from the predetermined end time point. information. The second time period is, for example, one hour. The resource reservation end time mentioned above is a time for the user to terminate the use of the reserved resource by the client device to the server.
可选的,服务器接收到用户的预定信息,可以通过互联网完成用户的身份信息认证,以满足公安机关登记身份证实名入住的要求。可选的,服务器从资源预定数据中提取用户输入的身份证号,和/或,用户上传的照片;服务器公安部数据库查询身份证号信息,也可以比对用户上传的照片与公安部数据库中存储的照片。或者,服务器远程调用客户端的摄像头,通过客户端的摄像头获取用户的照片和用户身份证的照片,与公安部数据库中的信息进行比对。Optionally, the server receives the predetermined information of the user, and can complete the identity information authentication of the user through the Internet, so as to meet the requirement for the public security organ to verify the identity of the registered name. Optionally, the server extracts the ID number input by the user from the resource reservation data, and/or the photo uploaded by the user; the server public security department database queries the ID number information, and can also compare the photos uploaded by the user with the database of the Ministry of Public Security. Stored photos. Alternatively, the server remotely invokes the client's camera to obtain a photo of the user and a photo of the user's ID card through the client's camera, and compares the information in the database of the Ministry of Public Security.
可选的,用户在通过服务器进行资源预定时,只要智能门锁与服务器能通过网络连接,并通过同样的协议建立了联系,就可以不受地域或者集团的限制去预定并使用资源,本申请从智能门锁的角度,实现了多资源的统一整合管理。Optionally, when the user makes a resource reservation through the server, as long as the smart door lock and the server can be connected through the network, and the contact is established through the same protocol, the resource can be reserved and used without being restricted by the region or the group. From the perspective of smart door locks, unified management of multiple resources is realized.
其中,在上述步骤S101a之后,上述方法实施例提供方案还可以包括如下实施步骤:After the foregoing step S101a, the solution provided by the foregoing method embodiment may further include the following implementation steps:
步骤S101b:服务器根据资源预定数据设置开锁密码的使用有效期,并将开锁密码的使用有效期发送给智能门锁和管理设备。其中,在上述步骤S101b中,通过设定开锁密码的有效期,可以使服务器密切监控开锁密码的有效时限,可选的,开锁密码的使用有效期始于资源预定开始时间,止于资源预定结束时间。Step S101b: The server sets the expiration date of the unlock password according to the resource reservation data, and sends the expiration date of the unlock password to the smart door lock and the management device. In the above step S101b, by setting the expiration date of the unlock password, the server can closely monitor the effective time limit of the unlock password. Optionally, the expiration date of the unlock password starts from the resource scheduled start time and ends at the resource scheduled end time.
其中,在智能门锁接收清除开锁密码的指令,清除存储的开锁密码之后,上述方法实施例提供的方案还可以包括如下实施步骤:The solution provided by the foregoing method embodiment may further include the following implementation steps: after the smart door lock receives the command to clear the unlock password and clear the stored unlock password.
步骤S108:当智能门锁清除存储的开锁密码之后,智能门锁向服务器发送密码已清除的回执;服务器确认密码已清除后,向智能门锁和管理设备发送服务器生成的新开锁密码。Step S108: After the smart door lock clears the stored unlock password, the smart door lock sends a receipt with the password cleared to the server; after confirming that the password has been cleared, the server sends the new unlock password generated by the server to the smart door lock and the management device.
其中,步骤S104中,智能门锁比对当前请求开锁时接收到的密码与服务器返回的开锁密码与是否一致的步骤包括:步骤S1041:接收当前请求开锁时使用的密码;步骤S1042:从存储器中读取存储的开锁密码;步骤S1043:比对请求开锁时使用的密码与存储的开锁密码与是否一致;其中,接收当前请求开锁时使用的密码的方式包括:智能门锁通过与智能门锁相连的实体输入装置接收输入的开锁密码;智能门锁通过与客户端设备或管理设备的通讯交互,接收客户端或管理设备传输的开锁密码。 In step S104, the step of the smart door lock comparing with the password received when the current request is unlocked and the unlock password returned by the server includes: step S1041: receiving the password currently used for unlocking the request; step S1042: from the memory Reading the stored unlock password; step S1043: comparing the password used when the request is unlocked with the stored unlock password; wherein, the manner of receiving the password used when the current request is unlocked includes: the smart door lock is connected to the smart door lock The entity input device receives the input unlock password; the smart door lock receives the unlock password transmitted by the client or the management device by interacting with the communication of the client device or the management device.
其中,清除开锁密码的指令的生成方式可以包括以下任意一种或多种:方式1:当服务器监测到超出开锁密码的使用有效期,和当服务器接收到客户端设备发送的资源退订信号,二者中任意一种情况发生时,服务器向智能门锁发出清除开锁密码的指令;方式2:当与智能门锁相连的资源退订装置接收到触发信号时,资源退订装置向智能门锁发出清除开锁密码的指令;方式3:智能门锁接收服务器发送的开锁密码的使用有效期,当智能门锁监测到超出开锁密码的使用有效期时,智能门锁生成清除开锁密码的指令。The method for generating the command for clearing the unlock password may include any one or more of the following: mode 1: when the server detects the expiration date of the unlock password, and when the server receives the resource unsubscribe signal sent by the client device, When any one of the situations occurs, the server issues an instruction to clear the unlock password to the smart door lock; mode 2: when the resource unsubscribe device connected to the smart door lock receives the trigger signal, the resource unsubscribe device issues the smart door lock The instruction to clear the unlock password is used. Method 3: The smart door lock receives the expiration date of the unlock password sent by the server. When the smart door lock detects that the use of the unlock password exceeds the expiration date, the smart door lock generates an instruction to clear the unlock password.
其中,客户端设备通过短信息、邮件、即时通讯工具、移动端即时通讯工具或移动端应用,接收或下载服务器生成的开锁密码。The client device receives or downloads the unlock password generated by the server through a short message, an email, an instant messaging tool, a mobile instant messaging tool, or a mobile application.
其中,上述方法实施例提供方案还可以包括:管理设备还接收服务器传输的资源预定数据。管理设备接收资源预定数据,可以清楚了解所管辖区域内的资源的预定情况;可选的,管理设备通过接收服务器传输的密码清除信息、资源退订信息、超出用户使用密码有效期等信息,实时的了解资源使用情况。The solution of the foregoing method embodiment may further include: the management device further receiving resource reservation data transmitted by the server. The management device receives the resource reservation data, and can clearly understand the predetermined condition of the resources in the jurisdiction area; optionally, the management device receives the password clear information transmitted by the server, the resource unsubscribe information, the information exceeding the validity period of the user use password, and the like. Understand resource usage.
其中,智能门锁直连互联网,或通过网关中转连接互联网,其中,智能门锁直连互联网的方式包括:WIFI、GPRS、3G、4G;智能门锁与网关的连接方式包括:2.4G、蓝牙、Zigbee、433MHz等,网关通过有线或无线的方式连接互联网。Among them, the smart door lock is directly connected to the Internet, or connects to the Internet through a gateway. Among them, the smart door lock directly connects to the Internet: WIFI, GPRS, 3G, 4G; the connection mode of the smart door lock and the gateway includes: 2.4G, Bluetooth , Zigbee, 433MHz, etc., the gateway connects to the Internet by wired or wireless means.
可选地,在当当前请求开锁时接收到的密码与存储的开锁密码不一致时,该方法还可以包括:Optionally, when the password received when the current request is unlocked is inconsistent with the stored unlock password, the method may further include:
累计当前请求开锁时接收到的密码与存储的开锁密码不一致次数,当次数达到预设阈值时,智能门锁向管理设备发送报警信号。The number of times the password received when the current request is unlocked is inconsistent with the stored unlock password. When the number of times reaches the preset threshold, the smart door lock sends an alarm signal to the management device.
下面以酒店智能门锁的集中控制方法为例,对本申请实施例一提供的方案进行详细描述:The following provides a detailed description of the solution provided by the first embodiment of the present application by taking the centralized control method of the smart door lock of the hotel as an example:
步骤A:用户通过客户端设备预定酒店房间。用户通过客户端设备访问中央服务器中设置的网页服务器,完成酒店房间的预定操作。此处的中央服务器,即是上述实施例技术方案中指出的服务器的其中一种。中央服务器根据资源预定数据生成开锁密码,并将开锁密码分别发送至客户端设备和智能门锁;中央服务器设置开锁密码的使用有效期。Step A: The user subscribes to the hotel room through the client device. The user accesses the web server set in the central server through the client device, and completes the predetermined operation of the hotel room. The central server here is one of the servers indicated in the technical solutions of the above embodiments. The central server generates an unlock password according to the resource reservation data, and sends the unlock password to the client device and the smart door lock respectively; the central server sets the expiration date of the unlock password.
可选的,客户端设备可以是任何可以访问互联网的设备,如个人计算机、笔记本电脑、手机、平板电脑、智能电视等。 Optionally, the client device can be any device that can access the Internet, such as a personal computer, a laptop, a mobile phone, a tablet, a smart TV, and the like.
具体的,客户端设备通过互联网连接中央服务器,可预定的酒店房间为任一的装有与中央服务器相连的智能门锁的房间。Specifically, the client device connects to the central server via the Internet, and the predetermined hotel room is any room equipped with a smart door lock connected to the central server.
优选的,用户完成付款确定房间后,中央服务器在数据库中保存用户订单信息。中央服务器根据用户订单信息,生成开锁密码,并在入住时间开始前的预定时间段内,将开锁密码加密传输给客户端设备和预定房间的智能门锁。Preferably, after the user completes the payment determination room, the central server saves the user order information in the database. The central server generates an unlock password according to the user order information, and encrypts the unlock password to the client device and the smart door lock of the predetermined room within a predetermined period of time before the check-in time begins.
可选的,中央服务器根据用户订单中的用户身份信息完成用户实名制认证。Optionally, the central server completes the user real-name authentication according to the user identity information in the user order.
可选的,中央服务器将开锁密码传输给客户端设备或管理设备的方式有:短消息、邮件、即时通讯工具(例如,qq等)、移动端即时通讯工具(例如,微信、line)等。Optionally, the central server transmits the unlock password to the client device or the management device by means of short messages, emails, instant messaging tools (eg, qq, etc.), mobile instant messaging tools (eg, WeChat, line), and the like.
可选的,智能门锁可以直接通过wifi、gprs、3g、4g直接互联网,也可以通过网关中转实现,即智能门锁通过2.4g、蓝牙、zigbee、433MHz等方式连接网关,网关通过有线或无线的方式连接互联网。Optional, the smart door lock can be directly connected to the Internet through wifi, gprs, 3g, 4g, or through gateway relay, that is, the smart door lock connects to the gateway through 2.4g, Bluetooth, zigbee, 433MHz, etc., the gateway is wired or wireless. The way to connect to the internet.
步骤B:用户预定房间的智能门锁接收中央服务器返回的开锁密码,并将开锁密码存储在智能门锁的存储器中。Step B: The smart door lock of the user reservation room receives the unlock password returned by the central server, and stores the unlock password in the memory of the smart door lock.
具体的,智能门锁先通过网络与中央服务器相连,并与中央服务器建立通信关系,使得中央服务器能够获知智能门锁当前是否可用,以避免智能门锁不可用时服务器的无用操作。在智能门锁中有存储器,可用于存储开锁密码,和中央服务器返回的诸如开锁密码使用有效期等其他数据。Specifically, the smart door lock is first connected to the central server through the network, and establishes a communication relationship with the central server, so that the central server can know whether the smart door lock is currently available, to avoid useless operation of the server when the smart door lock is unavailable. There is memory in the smart door lock that can be used to store the unlock code and other data returned by the central server, such as the expiration date of the unlock password.
可选的,在本实施例中,存储器还存储了中央服务器返回的开锁密码使用有效期。Optionally, in this embodiment, the memory further stores an unlocking password use validity period returned by the central server.
可选的,存储器中可以存储多组密码,例如,存储器中存储了一个客人密码和一个管理密码。客人密码为中央服务器发送给客户端设备的密码,管理密码为中央服务器发送给管理设备的密码。客人在入住期间,如果需要酒店对房间进行打扫维护或更换日产用品,可以通知酒店管理人员,管理人员凭借管理密码进入房间,而不影响客人密码的使用,即,某一时间段内,可以有客人密码、管理密码同时有效。可选的,可以在智能门锁接收到请求开锁时外部输入的密码后,分别与存储的客人密码和管理密码进行比对,如果请求开锁时外部输入的密码与客人密码和管理密码二者中任一相同时,智能门锁执行开锁操作。Optionally, multiple sets of passwords can be stored in the memory, for example, a guest password and an administrative password are stored in the memory. The guest password is the password sent by the central server to the client device, and the administrative password is the password sent by the central server to the management device. During the stay, if you need to clean the room or replace the Nissan supplies, you can inform the hotel management staff, the management personnel enter the room with the management password, without affecting the use of the guest password, that is, within a certain period of time, there may be The guest password and management password are valid at the same time. Optionally, after the smart door lock receives the externally input password when requesting the unlocking, the password is separately compared with the stored guest password and the management password, and if the external password is entered, the guest password and the management password are both requested. Whenever the same is true, the smart door lock performs an unlock operation.
可选的,存储器中可以存储多组密码,例如,当有多个用户在相邻的日期预定了同一件客房,而中央服务器又没有被设置为在入住开始日期到达才后向智能门锁发送开锁密码,也就是说,在种情况下,智能门锁的存储器中存储了多个客人密码,每个 客人密码都有各自的使用有效期。优选的,在中央服务器设置开锁密码使用有效期时,避免同一智能门锁的不同客人密码的使用有效期重合,即不同的客人密码分别具有不同的有效时间,如此,保证了同一时间内只有一个客人密码有效。在这种情况下,可选的,智能门锁在接收到开锁时外部输入的开锁密码后,首先判断存储器中存储的使用有效期,仅读取处于使用有效期当中的开锁密码,与请求开锁时外部输入的开锁密码进行比对。当求开锁时外部输入的开锁密码与存储器中处于有效期当中的开锁密码相同时,智能门锁执行开锁操作。Optionally, multiple sets of passwords can be stored in the memory. For example, when multiple users subscribe to the same room on an adjacent date, and the central server is not set to arrive at the check-in date, the smart door lock is sent. Unlock the password, that is to say, in the case, the password of the smart door lock stores multiple guest passwords, each Guest passwords have their own expiration date. Preferably, when the central server sets the expiration date of the unlocking password, the expiration date of the different guest passwords of the same smart door lock is avoided, that is, different guest passwords have different effective times, so that only one guest password is guaranteed at the same time. effective. In this case, optionally, after receiving the unlock password externally input, the smart door lock first determines the validity period stored in the memory, and only reads the unlock password in the validity period of the use, and externally when the request is unlocked. The entered unlock password is compared. When the unlock password of the external input is the same as the unlock password in the memory during the unlocking period, the smart door lock performs the unlocking operation.
可选的,存储器中可以存储多组密码,例如,存储了多个客人密码和一个管理密码。优选的,在中央服务器设置开锁密码使用有效期时,保证不同的客人密码分别具有不同的使用有效期,而将管理密码设置为一直有效,或者将管理密码的使用有效期设置为较长的时间段,如此,也能实现管理密码的定期或不定期更新,防止了管理密码被泄露而可能导致的对于用户人身或财产安全的威胁。智能门锁在接收到开锁时外部输入的开锁密码后,首先判断存储器中存储的使用有效期,仅读取处于使用有效期当中的开锁密码,与请求开锁时外部输入的开锁密码进行比对。当有多个密码,如一个客人密码和一个管理密码,同时处于有效期时,则智能门锁将接收到的请求开锁时外部输入的开锁密码与上述处于有效期的多个密码一一对比,当请求开锁时外部输入的开锁密码与上述处于有效期的多个密码中任一相同时,智能门锁执行开锁操作。Optionally, multiple sets of passwords can be stored in the memory, for example, multiple guest passwords and one administrative password are stored. Preferably, when the central server sets the expiration date of the unlocking password, it is ensured that different guest passwords have different expiration dates, and the administrative password is set to be always valid, or the administrative password is valid for a longer period of time, so It can also realize the regular or irregular update of the management password, which prevents the threat of the user's personal or property security caused by the management password being leaked. After receiving the unlock password externally input, the smart door lock first determines the validity period stored in the memory, and only reads the unlock password that is in the validity period of use, and compares it with the unlock password that is externally input when the lock is requested. When there are multiple passwords, such as a guest password and an administrative password, and are in the expiration date, the smart door lock will compare the externally entered unlock password with the above-mentioned multiple passwords when the received request is unlocked. When the unlock code of the external input is unlocked at the same time as any of the plurality of passwords in the expiration date, the smart door lock performs the unlock operation.
步骤C,智能门锁比对当前请求开锁时接收到的密码与中央服务器返回的开锁密码与是否一致;当当前请求开锁时接收到的密码与中央服务器返回的开锁密码一致时,智能门锁执行开锁动作;In step C, the smart door lock is consistent with the unlock password returned by the central server when the current request is unlocked, and the smart door lock is executed when the password received by the current request is the same as the unlock password returned by the central server. Unlocking action;
可选的,当用户需要入住时,直接持有接收并存储有开锁密码的客户端设备,通过客户端设备上的通讯接口模块,如NFC、蓝牙、WIFI、红外等,与智能门锁进行通讯交互,使得客户端设备上的开锁密码被智能门锁读入;Optionally, when the user needs to check in, directly hold the client device that receives and stores the unlock password, and communicates with the smart door lock through a communication interface module on the client device, such as NFC, Bluetooth, WIFI, infrared, etc. Interaction, so that the unlock password on the client device is read by the smart door lock;
可选的,当用户需要入住时,直接持有客户端设备接收到的开锁密码,通过在与智能门锁相连的实体输入装置上输入开锁密码,使得智能门锁读入开锁密码Optionally, when the user needs to check in, directly hold the unlock password received by the client device, and enter the unlock password by inputting the unlock password on the physical input device connected to the smart door lock, so that the smart door lock reads the unlock password.
可选的,当用户在入住期间需要酒店服务时,可直接使用客户端设备访问设置于中央服务器的网页服务器,选择服务内容和服务时间,中央服务器接收到客户的请求后,将客户请求的服务内容和服务时间发送到管理设备。Optionally, when the user needs the hotel service during the stay, the client device can be directly used to access the web server set on the central server, select the service content and the service time, and the central server receives the request from the client and then requests the service requested by the client. Content and service time are sent to the management device.
通过上述技术特征,用户可以通过开锁密码或者存有开锁密码的客户端设备,直接开锁并完成入住,不用在前台等待工作人员确认信息并分配房卡,实现了用户的自主入住,为用户提供了人性化的、智能化的入住体验。 Through the above technical features, the user can directly unlock and complete the check-in by unlocking the password or the client device storing the unlock password, without waiting for the staff to confirm the information and assigning the room card at the front desk, thereby realizing the user's independent occupancy and providing the user with the user. User-friendly, intelligent occupancy experience.
步骤D:入住开始后,智能门锁和服务器监视开锁密码使用有效期。Step D: After the check-in starts, the smart door lock and the server monitor the unlock password to be valid.
优选的,当在开锁密码使用有效期到期前的一个预设时间段内,中央服务器向客户端设备发送提醒信息。Preferably, the central server sends the reminder information to the client device during a preset time period before the expiration of the unlock password usage period.
可选的,当开锁密码使用有效期到期后,即用户预定的入住时间到达时,智能门锁自动生成或接收到中央服务器发出的清除开锁密码的指令。如果用户结束入住但尚未到开锁密码的有效期到期时间,用户就通过客户端设备进行了退订操作,或者用户离开房间时按下与智能门锁相连的退房按钮,那么智能门锁接收到清除开锁密码的指令。Optionally, when the expiration date of the unlock password expires, that is, when the predetermined check-in time of the user arrives, the smart door lock automatically generates or receives an instruction for clearing the unlock password issued by the central server. If the user ends the check-in but has not yet reached the expiration time of the unlock password, the user performs an unsubscribe operation through the client device, or the user presses the check-out button connected to the smart door lock when leaving the room, then the smart door lock receives Clear the command to unlock the password.
步骤E,智能门锁根据步骤D中任意一种方式获得的清除开锁密码的指令,清除存储的开锁密码。In step E, the smart door lock clears the stored unlocking password according to the instruction for clearing the unlocking password obtained in any one of the steps D.
具体的,当智能门锁接收或者生成清除开锁密码的指令后,智能门锁中的存储器会向控制单元发出清除开锁密码的指令,由存储器将存储的开锁密码清除。当房间开锁密码被清除后,智能门锁不再识别用户所持有的开锁密码,用户失去使用房间的权限。Specifically, when the smart door lock receives or generates an instruction to clear the unlock password, the memory in the smart door lock sends an instruction to clear the unlock password to the control unit, and the stored unlock password is cleared by the memory. When the room unlock password is cleared, the smart door lock no longer recognizes the unlock password held by the user, and the user loses the right to use the room.
步骤F:智能门锁清除开锁密码后,向中央服务器发送确认删除密码的回执,中央服务器确认密码已清除后,向智能门锁和管理设备发送中央服务器生成的新开锁密码。Step F: After the smart door lock clears the unlock password, it sends a receipt to the central server to confirm the deletion of the password. After the central server confirms that the password has been cleared, it sends a new unlock password generated by the central server to the smart door lock and the management device.
可选的,中央服务器向管理设备发送当前房间退房的信息,酒店工作人员可持有管理设备接收到的开锁密码,对房间进行清扫和整理。如果用户不小心走错了房间,那么错误房间的智能门锁也有两种状态,一是存储有其他用户预定后生成的开锁密码,另一是由于尚未有用户预定的空闲房间;当用户走错的房间为第一种状态时,智能门锁通过比对密码,发现不一致时,拒绝为未授权用户开锁;并且,可以设置阈值,当输入密码错误次数超过该阈值时,智能门锁向酒店管理设备发送异常警报,可由酒店工作人员协助处理;当用户走错的房间为第二种状态时,智能门锁中如果未存储任何密码信息,那么智能门锁拒绝任何形式的开锁操作;但是在正常情况下,智能门锁中存储着另一开锁密码,此开锁密码与中央服务器在确认退房后向管理设备发送的密码相同。Optionally, the central server sends the current room check-out information to the management device, and the hotel staff can hold the unlock code received by the management device to clean and organize the room. If the user accidentally goes to the wrong room, the smart door lock of the wrong room also has two states. One is to store the unlock code generated by other users after the reservation, and the other is because there is no free room reserved by the user; when the user goes wrong When the room is in the first state, the smart door lock refuses to unlock the unauthorized user when the inconsistency is found by comparing the passwords; and, the threshold can be set, and when the number of input password errors exceeds the threshold, the smart door lock is managed to the hotel. The device sends an abnormal alarm, which can be handled by the hotel staff. When the user's wrong room is in the second state, if no password information is stored in the smart door lock, the smart door lock rejects any form of unlocking operation; but in normal In the case, another unlock password is stored in the smart door lock, and the unlock password is the same as the password sent by the central server to the management device after confirming the check-out.
实施例二 Embodiment 2
本发明实施例还提供了一种智能门锁的集中控制装置。需要说明的是,本发明实施例的智能门锁的集中控制装置可以用于执行本发明实施例所提供的智能门锁的集中控制方法,本发明实施例的智能门锁的集中控制方法也可以通过本发明实施例所提供的智能门锁的集中控制装置来执行。The embodiment of the invention also provides a centralized control device for the intelligent door lock. It should be noted that the centralized control device for the smart door lock according to the embodiment of the present invention may be used to perform the centralized control method for the smart door lock provided by the embodiment of the present invention, and the centralized control method for the smart door lock according to the embodiment of the present invention may also be It is executed by the centralized control device of the smart door lock provided by the embodiment of the present invention.
图2是根据本发明实施例的智能门锁的集中控制装置的结构示意图。如图2所示,该智能门锁的集中控制装置包括:2 is a schematic structural view of a centralized control device for a smart door lock according to an embodiment of the present invention. As shown in FIG. 2, the centralized control device of the smart door lock includes:
第一接收模块10,用于使智能门锁接收服务器返回的开锁密码;The first receiving module 10 is configured to enable the smart door lock to receive an unlock password returned by the server;
存储模块20,用于存储接收到的开锁密码;和服务器返回的诸如开锁密码使用有效期等其他数据;The storage module 20 is configured to store the received unlock password; and other data returned by the server, such as an unlock password use validity period;
对比模块30:用于智能门锁比对当前请求开锁时接收到的密码与存储的开锁密码与是否一致;当当前请求开锁时接收到的密码与存储的开锁密码一致时,智能门锁执行开锁动作;The comparison module 30 is configured to: whether the password received by the smart door lock is the same as the stored unlock password when the current request is unlocked; and when the password received when the current request is unlocked is consistent with the stored unlock password, the smart door lock performs unlocking. action;
第二接收模块40,用于使智能门锁生成或接收清除开锁密码的指令;a second receiving module 40, configured to enable the smart door lock to generate or receive an instruction to clear the unlock password;
清除存储模块50,用于清除存储的开锁密码。The storage module 50 is cleared to clear the stored unlock password.
其中,在第一接收模块10之前,装置还包括:资源预定模块,用于接收客户端的资源预定数据并完成资源预定,资源预定数据中至少包括:资源预定开始时间,资源预定结束时间,预定资源的用户信息等。资源预定模块还包括:子模块1:开锁密码生成单元,用于根据资源预定数据生成开锁密码;子模块2:开锁密码发送单元,用于根据资源预定开始时间和预定的第一时间段,在从预定开始时间点的或向前或向后第一时间段内,将开锁密码分别发送至客户端设备和智能门锁;子模块3:开锁密码使用有效期设置单元,用于根据资源预定结束时间设置开锁密码的使用有效期;子模块4:通知及问询单元,用于根据资源预定结束时间和预定的第二时间段,在从预定结束时间点向前的第二时间段内,向客户端设备发送资源预定时间即将结束的通知并询问是否续订资源的信息。Before the first receiving module 10, the device further includes: a resource reservation module, configured to receive resource reservation data of the client and complete resource reservation, where the resource reservation data includes at least: a resource scheduled start time, a resource scheduled end time, and a predetermined resource. User information, etc. The resource reservation module further includes: a sub-module 1: an unlock password generating unit, configured to generate an unlock password according to the resource reservation data; and a sub-module 2: an unlock password sending unit, configured to: according to the resource scheduled start time and the predetermined first time period, The unlock password is separately sent to the client device and the smart door lock from the scheduled start time point or the forward or backward first time period; the sub-module 3: the unlock password use validity period setting unit is used to reserve the end time according to the resource Setting a validity period of the unlock password; sub-module 4: a notification and inquiry unit, configured to send to the client in a second time period from the predetermined end time point according to the resource scheduled end time and the predetermined second time period The device sends a notification that the resource is scheduled to end and asks whether to renew the resource information.
其中,在清除存储模块50之后,装置还包括:回执确认模块,用于接收密码已清除的回执并确认密码清除信息;以及,发送模块,用于向智能门锁和管理设备发送服务器生成的新开锁密码。After the storage module 50 is cleared, the device further includes: a receipt confirmation module, configured to receive the receipt of the password clear and confirm the password clear information; and a sending module, configured to send the server generated new to the smart door lock and the management device Unlock the password.
其中,比对模块30还包括:接收单元,用于接收当前请求开锁时使用的密码;读取单元,用于从存储器中读取存储的开锁密码;比对单元:用于比对请求开锁时使用 的密码与存储的开锁密码与是否一致。具体的,接收单元包括第一接收单元和/或第二接收单元:第一接收单元用于从与智能门锁相连的实体输入装置接收输入的开锁密码;第二接收单元用于通过与客户端设备或管理设备的通讯交互,接收客户端或管理设备传输的开锁密码。The comparison module 30 further includes: a receiving unit, configured to receive a password used when the current request for unlocking; a reading unit, configured to read the stored unlocking password from the memory; and a comparing unit: when the request is unlocked Use The password is the same as the stored unlock password. Specifically, the receiving unit includes a first receiving unit and/or a second receiving unit: the first receiving unit is configured to receive the input unlocking password from the physical input device connected to the smart door lock; the second receiving unit is configured to pass the client The communication interaction between the device or the management device receives the unlock password transmitted by the client or the management device.
其中,在第二接收模块40之前,装置还可包括:生成模块和/或第三接收模块,生成模块用于当智能门锁监测到超出开锁密码的使用有效期时,生成清除开锁密码的指令。第三接收模块用于接收智能门锁以外的设备生成的清除开锁密码的指令,如服务器监测到超出开锁密码的使用有效期,和当服务器接收到客户端设备发送的资源退订信号,和与智能门锁相连的资源退订装置被触发时,三者中任意一种情况发生时生成的清除开锁密码的信号。Before the second receiving module 40, the device may further include: a generating module and/or a third receiving module, where the generating module is configured to generate an instruction for clearing the unlocking password when the smart door lock detects that the expiration date of the unlocking password is exceeded. The third receiving module is configured to receive an instruction for clearing the unlocking password generated by the device other than the smart door lock, such as the server monitoring the expiration date of the unlocking password, and when the server receives the resource unsubscribing signal sent by the client device, and the smart When the resource unsubscribe device connected to the door lock is triggered, a signal for clearing the unlock code generated when any one of the three conditions occurs occurs.
实施例三Embodiment 3
本发明实施例还提供了一种智能门锁的集中控制***。The embodiment of the invention also provides a centralized control system for a smart door lock.
图3是根据本发明实施例的智能门锁的集中控制***的结构示意图。如图3所示,智能门锁的集中控制***包括:通过网络互相连接的若干个客户端设备、服务器、管理设备和智能门锁;其中,3 is a block diagram showing the structure of a centralized control system for a smart door lock according to an embodiment of the present invention. As shown in FIG. 3, the centralized control system of the smart door lock includes: a plurality of client devices, servers, management devices, and smart door locks connected to each other through a network;
客户端设备接收用户触发信号,向服务器发送资源预定数据;并接收服务器返回的开锁密码;The client device receives the user trigger signal, sends the resource reservation data to the server, and receives the unlock password returned by the server;
服务器接收和存储资源预定数据,并根据资源预定数据生成开锁密码和开锁密码的使用有效期,服务器将开锁密码发送至客户端设备和智能门锁,或将开锁密码发送至管理设备和智能门锁;服务器将开锁密码的使用有效期发送至智能门锁;The server receives and stores the resource reservation data, and generates an expiration date of the unlock password and the unlock password according to the resource reservation data, and the server sends the unlock password to the client device and the smart door lock, or sends the unlock password to the management device and the smart door lock; The server sends the expiration date of the unlock password to the smart door lock;
其中,资源预定数据至少可以包括:资源预定开始时间,资源预定结束时间,预定资源的用户信息等。具体的,资源预订数据可以是客户对于酒店房间的预订数据、对于公寓的预订数据、对于集中式取货柜的预定数据,例如,对于酒店房间的预定数据可以包括酒店名称、酒店房间号、房间门锁ID、入住日期、退房日期等;对于公寓的预定数据可以包括:公寓名称、公寓房间号、公寓该房间的门锁ID、入住日子、退房日期、清扫服务、搬家服务等;对于集中式取货柜的预定数据可以包括:取货柜位置、取货柜编号、取货柜中具体箱号、该具体箱号的ID、预计存入物品时间、预计存入物品种类、预计取走物品时间等。对于其他资源的预定数据,可以依此类推。The resource reservation data may include at least: a resource scheduled start time, a resource scheduled end time, user information of a predetermined resource, and the like. Specifically, the resource reservation data may be customer reservation data for a hotel room, reservation data for an apartment, and predetermined data for a centralized pick-up container. For example, the reservation data for a hotel room may include a hotel name, a hotel room number, and a room door. Lock ID, check-in date, check-out date, etc.; the reservation data for the apartment may include: apartment name, apartment room number, apartment door lock ID, check-in date, check-out date, cleaning service, moving service, etc.; The predetermined data of the pick-up container may include: picking up the container position, picking up the container number, picking up the specific box number in the container, the ID of the specific box number, the estimated time of depositing the item, the type of the expected item, the time of the expected item to be taken, and the like. For the scheduled data of other resources, you can do so.
可选的,开锁密码的使用有效期始于资源预定开始时间,止于资源预定结束时间。 Optionally, the expiration date of the unlock password starts from the scheduled start time of the resource, and ends at the scheduled end time of the resource.
可选地,服务器可以根据资源预定开始时间和预定的第一时间段,在从预定开始时间点起或向前或向后的第一时间段内,将开锁密码分别发送至客户端设备和智能门锁;第一时间段为,例如,一小时。上述的资源预定开始时间,为用户通过客户端设备向服务器预定的将要开始使用被预定资源的时间。Optionally, the server may send the unlock password to the client device and the smart separately according to the resource scheduled start time and the predetermined first time period in a first time period from a predetermined start time point or forward or backward. The door lock; the first time period is, for example, one hour. The resource reservation start time described above is a time for the user to schedule the use of the reserved resource to the server through the client device.
可选地,服务器根据资源预定结束时间和预定的第二时间段,在从预定结束时间点向前的第二时间段内,向客户端设备发送资源预定时间即将结束并询问是否续订资源的信息。第二时间段为,例如,一小时。上述的资源预定开始时间,为用户通过客户端设备向服务器预定的将要开始使用被预定资源的时间。Optionally, the server sends, to the client device, the resource reservation time is about to end and asks whether to renew the resource according to the resource scheduled end time and the predetermined second time period in a second time period from the predetermined end time point. information. The second time period is, for example, one hour. The resource reservation start time described above is a time for the user to schedule the use of the reserved resource to the server through the client device.
可选的,服务器接收到用户的预定信息,可以通过互联网完成用户的身份信息认证,以满足公安机关登记身份证实名入住的要求。例如,服务器完成用户身份信息认证的方法包括:服务器从资源预定数据中提取用户输入的身份证号,和/或,用户上传的照片,服务器从公安部数据库中查询身份证号信息,和/或,比对用户上传的照片与公安部数据库中存储的照片。又或者,例如,服务器完成用户身份信息认证的方法包括:服务器远程调用客户端的摄像头,通过客户端的摄像头获取用户的照片和用户身份证的照片,与公安部数据库中的信息进行比对。Optionally, the server receives the predetermined information of the user, and can complete the identity information authentication of the user through the Internet, so as to meet the requirement for the public security organ to verify the identity of the registered name. For example, the method for the server to complete the user identity information authentication includes: the server extracts the ID number input by the user from the resource reservation data, and/or the photo uploaded by the user, and the server queries the ID number information from the Ministry of Public Security database, and/or , compare the photos uploaded by the user with the photos stored in the Ministry of Public Security database. Or, for example, the method for the server to complete the user identity information authentication includes: the server remotely invokes the camera of the client, obtains the photo of the user and the photo of the user ID card through the camera of the client, and compares the information in the database of the Ministry of Public Security.
可选的,用户在通过服务器进行资源预定时,只要智能门锁与服务器能通过网络连接,并通过同样的协议建立了联系,就可以不受地域或者集团的限制去预定并使用资源,本申请从智能门锁的角度,实现了多资源的统一整合管理。Optionally, when the user makes a resource reservation through the server, as long as the smart door lock and the server can be connected through the network, and the contact is established through the same protocol, the resource can be reserved and used without being restricted by the region or the group. From the perspective of smart door locks, unified management of multiple resources is realized.
智能门锁接收服务器生成的开锁密码,并存储开锁密码;以及,智能门锁接收清除开锁密码指令,并清除开锁密码;The smart door lock receives the unlock password generated by the server and stores the unlock password; and the smart door lock receives the clear unlock password command and clears the unlock password;
可选的,智能门锁比对当前请求开锁时接收到的密码与存储的开锁密码与是否一致,当当前请求开锁时接收到的密码与存储的开锁密码一致时,智能门锁执行开锁动作。Optionally, the smart door lock is compared with the stored unlock code when the current request is unlocked, and the smart door lock performs the unlocking action when the received password is consistent with the stored unlock code when the current request is unlocked.
可选的,智能门锁可以先通过网络与服务器相连,并与服务器建立通信关系,使得服务器能够获知智能门锁当前是否可用,以避免智能门锁不可用时服务器的无用操作。在智能门锁中有存储器,可用于存储开锁密码和服务器返回的诸如开锁密码使用有效期等其他数据。Optionally, the smart door lock can first connect to the server through the network, and establish a communication relationship with the server, so that the server can know whether the smart door lock is currently available, to avoid useless operation of the server when the smart door lock is unavailable. There is a memory in the smart door lock that can be used to store the unlock password and other data returned by the server, such as the expiration date of the unlock password.
可选的,能够开锁的密码,是由服务器生成的,并传输给客户端设备或管理设备。开锁密码可以采用加密传输,在开锁密码的发送端和接收端都执行相同的加密和解密算法。当存储器中没有存储任何密码信息时,智能门锁可以拒绝任何形式的开锁请求, 在智能门锁中可以建立一个标志寄存器,用于标识智能门锁是否接收到开锁密码。优选的,在智能门锁出厂并投入使用后,智能门锁在比对密码是否一致之前,可以首先读取智能门锁中的标志寄存器,当标志寄存器中存储的数据表示目前智能门锁没有接收到开锁密码时,智能门锁中的比对单元可以拒绝接受请求开锁时接收到的密码。Optionally, the unlockable password is generated by the server and transmitted to the client device or the management device. The unlock password can be transmitted encrypted, and the same encryption and decryption algorithms are executed on both the sending end and the receiving end of the unlocking password. When no password information is stored in the memory, the smart door lock can reject any form of unlock request. A flag register can be created in the smart door lock to identify whether the smart door lock received the unlock code. Preferably, after the smart door lock is shipped from the factory and put into use, the smart door lock can first read the flag register in the smart door lock before the comparison password is consistent, and the data stored in the flag register indicates that the current smart door lock is not received. When the password is unlocked, the comparison unit in the smart door lock can refuse to accept the password received when the request is unlocked.
可选的,当智能门锁中存储了多组开锁密码时,例如,智能门锁中同时存储了一个或多个服务器同时发给智能门锁和客户端设备的开锁密码,简称第一开锁密码,以及服务器同时发给智能门锁和管理设备的开锁密码,简称第二开锁密码;可选的,当智能门锁中存储了多组使用有效期不同的第一开锁密码时,智能门锁在接收到请求开锁时外部输入的开锁密码后,首先判断存储的所有第一开锁密码的使用有效期,仅读取处于使用有效期当中的唯一一个第一开锁密码,与请求开锁时外部输入的开锁密码进行比对。Optionally, when multiple sets of unlocking passwords are stored in the smart door lock, for example, the smart door lock simultaneously stores one or more unlocking passwords sent by the server to the smart door lock and the client device, for example, the first unlocking password. And the unlocking password sent by the server to the smart door lock and the management device at the same time, referred to as the second unlocking password for short; optionally, when the smart door lock stores multiple sets of the first unlocking password with different validity periods, the smart door lock is received. After the unlock password is externally input when the lock is requested, firstly, the validity period of all the first unlock passwords stored is determined, and only the first first unlock password that is in the valid period of use is read, compared with the unlock password that is externally input when the lock is requested. Correct.
可选的,当智能门锁中只存储了一个第一开锁密码和一个第二开锁密码时,智能门锁接收到请求开锁时外部输入的密码后,分别与存储的第一开锁密码和第二开锁密码进行比对,如果请求开锁时外部输入的密码与第一开锁密码和第二开锁密码二者中任一相同时,智能门锁执行开锁操作。Optionally, when only one first unlocking password and one second unlocking password are stored in the smart door lock, the smart door lock receives the externally input password when requesting the unlocking, and respectively stores the first unlocking password and the second The unlocking password is compared. If the externally input password is the same as any of the first unlocking password and the second unlocking password when the unlocking is requested, the smart door lock performs an unlocking operation.
可选的,当智能门锁中存储了多个第一开锁密码和一个或多个第二开锁密码时,智能门锁在接收到开锁时外部输入的开锁密码后,首先判断存储器中存储的使用有效期,仅读取处于使用有效期当中的第一开锁密码和处于使用有效期当中的第二开锁密码,与请求开锁时外部输入的开锁密码进行比对;当有一个第一开锁密码和一个第二开锁密码同时处于有效期时,则智能门锁将接收到的请求开锁时外部输入的开锁密码与上述处于有效期的第一开锁密码和第二开锁密码一一对比,当请求开锁时外部输入的开锁密码与上述处于有效期的第一开锁密码和第二开锁密码中任一相同时,智能门锁执行开锁操作。优选的,同一个智能门锁的第二开锁密码的使用有效期也无重合时间段。Optionally, when the first door unlock password and the one or more second unlock codes are stored in the smart door lock, the smart door lock first determines the use stored in the memory after receiving the unlock code externally input when the unlock is received. Validity period, reading only the first unlocking password in the expiration date and the second unlocking password in the expiration date, and comparing the externally unlocking password when requesting unlocking; when there is a first unlocking password and a second unlocking When the password is in the valid period at the same time, the smart door lock compares the externally input unlock password with the first unlock password and the second unlock password that are in the valid period when the received request is unlocked, and the externally entered unlock password when the lock is requested. When any of the first unlocking password and the second unlocking password in the expiration date are the same, the smart door lock performs an unlocking operation. Preferably, the validity period of the second unlocking password of the same smart door lock is also not coincident.
可选的,清除开锁密码的指令的生成方式可以包括以下任意一种或多种:方式1:当服务器监测到超出开锁密码的使用有效期,和当服务器接收到客户端设备发送的资源退订信号,二者中任意一种情况发生时,服务器向智能门锁发出清除开锁密码的指令;方式2:当与智能门锁相连的资源退订装置接收到触发信号时,资源退订装置向智能门锁发出清除开锁密码的指令;方式3:智能门锁接收服务器发送的开锁密码的使用有效期,当智能门锁监测到超出开锁密码的使用有效期时,智能门锁生成清除开锁密码的指令。 Optionally, the method for generating the command for clearing the unlock password may include any one or more of the following: mode 1: when the server detects the expiration date of the unlock password, and when the server receives the resource unsubscribe signal sent by the client device When any one of the two occurs, the server sends an instruction to clear the unlock password to the smart door lock; mode 2: when the resource unsubscribe device connected to the smart door lock receives the trigger signal, the resource unsubscribe device goes to the smart door The lock issues an instruction to clear the unlock password; mode 3: the smart door lock receives the expiration date of the unlock password sent by the server, and when the smart door lock detects the expiration of the use period of the unlock password, the smart door lock generates an instruction to clear the unlock password.
可选的,智能门锁可以通过网络接收清除开锁密码的指令,也可以在智能门锁的内部生成清除开锁密码的指令。当智能门锁接收或者生成清除开锁密码的指令后,智能门锁中的存储器会向控制单元发出清除开锁密码的指令,将存储的开锁密码清除。Optionally, the smart door lock can receive an instruction to clear the unlock password through the network, or generate an instruction to clear the unlock password inside the smart door lock. When the smart door lock receives or generates an instruction to clear the unlock password, the memory in the smart door lock issues an instruction to clear the unlock password to the control unit, and clears the stored unlock password.
管理设备接收服务器传输的资源预定数据和开锁密码。The management device receives the resource reservation data and the unlock password transmitted by the server.
可选的,管理设备还接收服务器传输的资源预定数据。管理设备接收资源预定数据,可以清楚了解所管辖区域内的资源的预定情况;可选的,管理设备通过接收服务器传输的密码清除信息、资源退订信息、超出用户使用密码有效期等信息,实时的了解资源使用情况。Optionally, the management device further receives resource reservation data transmitted by the server. The management device receives the resource reservation data, and can clearly understand the predetermined condition of the resources in the jurisdiction area; optionally, the management device receives the password clear information transmitted by the server, the resource unsubscribe information, the information exceeding the validity period of the user use password, and the like. Understand resource usage.
通过上述***,服务器对开锁密码进行分配和管理,用户端设备可获得与预定资源的智能门锁中存储密码相同的开锁密码,完成密码的匹配。综上,解决了现有技术中对智能门锁的解锁过程繁琐且安全性差的问题,达到了为智能门锁的解锁过程提供便捷且安全性高的解锁方法效果。Through the above system, the server allocates and manages the unlock password, and the user equipment obtains the unlock password with the same password as the password stored in the smart door lock of the predetermined resource, and completes the matching of the password. In summary, the problem that the unlocking process of the smart door lock is cumbersome and the security is poor in the prior art is solved, and the effect of providing a convenient and high-security unlocking method for the unlocking process of the smart door lock is achieved.
其中,智能门锁包括:存储器,用于存储开锁密码;输入接口,其中,输入接口还包括:第一输入接口,用于接收服务器发出的开锁密码;第二输入接口,用于接收服务器根据资源预定信息分配的资源使用有效期;第三输入接口,用于接收与智能门锁相连的资源退订装置的触发信号;第四输入接口,用于接收请求开锁时使用的密码;处理器,用于接收和处理输入接口接收到的数据。The smart door lock includes: a memory for storing an unlock password; and an input interface, wherein the input interface further includes: a first input interface, configured to receive an unlock password issued by the server; and a second input interface, configured to receive the server according to the resource a resource usage expiration period for the predetermined information distribution; a third input interface for receiving a trigger signal of the resource unsubscribe device connected to the smart door lock; a fourth input interface for receiving a password used when requesting the unlocking; and a processor for Receive and process data received by the input interface.
其中,智能门锁比对当前请求开锁时接收到的密码与服务器返回的开锁密码与是否一致的步骤包括:步骤1:接收当前请求开锁时使用的密码;步骤2:从存储器中读取存储的开锁密码;步骤3:比对请求开锁时使用的密码与存储的开锁密码与是否一致;其中,接收当前请求开锁时使用的密码的方式包括:智能门锁通过与智能门锁相连的实体输入装置接收输入的开锁密码;智能门锁通过与客户端设备或管理设备的通讯交互,接收客户端或管理设备传输的开锁密码。The step of the smart door lock comparing with the password received when the current request is unlocked and the unlock code returned by the server includes: Step 1: receiving the password used when the current request is unlocked; Step 2: reading the stored memory from the memory Unlock the password; Step 3: Compare the password used when the request is unlocked with the stored unlock password; wherein the method of receiving the password used to unlock the current request includes: the smart door lock through the physical input device connected to the smart door lock Receiving the input unlock password; the smart door lock receives the unlock password transmitted by the client or the management device by interacting with the communication of the client device or the management device.
在本发明的一个或者多个实施方式中,智能门锁还可以包括:发送装置:用于在智能门锁清除存储的开锁密码之后,发送装置向服务器发送密码已清除的回执。接收装置:用于在服务器确认密码已清除后,接收服务器生成的新开锁密码。In one or more embodiments of the present invention, the smart door lock may further include: transmitting means for transmitting, after the smart door lock clears the stored unlocking password, the sending device sends a receipt to the server that the password has been cleared. Receiving device: used to receive a new unlocking password generated by the server after the server confirms that the password has been cleared.
在本发明的一个或者多个实施方式中,智能门锁还包括:报警装置,用于在当前请求开锁时接收到的密码与存储的开锁密码不一致次数达到预设阈值时,智能门锁向管理设备发送报警信号。 In one or more embodiments of the present invention, the smart door lock further includes: an alarm device, configured to manage the smart door lock when the number of times the password received and the stored unlock code are inconsistent when the current request is unlocked reaches a preset threshold. The device sends an alarm signal.
其中,处理器接收和处理输入接口接收到的数据的步骤包括:识别存储器中的开锁密码与输入接口接收的开锁密码是否相同,识别是否向存储器发出清除开锁密码的指令,以及识别是否向酒店管理中心***发出消息,以及消息的类别。The step of the processor receiving and processing the data received by the input interface includes: identifying whether the unlock password in the memory is the same as the unlock password received by the input interface, identifying whether to issue an instruction to clear the unlock password to the memory, and identifying whether to manage the hotel. The central system sends out messages, as well as the category of the message.
其中,客户端设备包括:个人计算机、笔记本电脑、收集、平板电脑、智能电视和有与互联网同步功能的集成电路卡。Among them, the client device includes: a personal computer, a notebook computer, a collection, a tablet computer, a smart TV, and an integrated circuit card having a function of synchronizing with the Internet.
其中,智能门锁通过WIFI、GPRS、3G、4G直连互联网,或通过网关中转连接互联网,其中,智能门锁与网关的连接方式包括:2.4G、蓝牙、Zigbee。Among them, the smart door lock is directly connected to the Internet through WIFI, GPRS, 3G, 4G, or connected to the Internet through a gateway, wherein the connection mode of the smart door lock and the gateway includes: 2.4G, Bluetooth, Zigbee.
此处需要说明的是,上述实施例三提供的***实施例与上述实施例一提供的各个可选的和优选的实施例所实现的示例和应用场景相同,但不限于上述实施例一所公开的内容。It should be noted that the system embodiment provided in the foregoing Embodiment 3 is the same as the examples and application scenarios implemented by the foregoing optional and preferred embodiments provided in the foregoing Embodiment 1, but is not limited to the foregoing Embodiment 1. Content.
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本发明所必须的。It should be noted that, for the foregoing method embodiments, for the sake of simple description, they are all expressed as a series of action combinations, but those skilled in the art should understand that the present invention is not limited by the described action sequence. Because certain steps may be performed in other sequences or concurrently in accordance with the present invention. In addition, those skilled in the art should also understand that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.
本发明实施例还提供了一种智能门锁,用于执行上述实施例一中任意一项的智能门锁的集中控制方法提供的步骤的程序代码。The embodiment of the present invention further provides a smart door lock for executing the program code of the step provided by the centralized control method of the smart door lock according to any one of the above-mentioned first embodiments.
本发明实施例还提供了一种智能门锁的存储介质,用于保存上述实施例一中任意一项的智能门锁的集中控制方法所执行的程序代码。The embodiment of the invention further provides a storage medium for the smart door lock, which is used for storing the program code executed by the centralized control method of the smart door lock according to any one of the first embodiments.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above embodiments, the descriptions of the various embodiments are different, and the details that are not detailed in a certain embodiment can be referred to the related descriptions of other embodiments.
在本申请所提供的几个实施例中,应该理解到,所揭露的装置,可通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个***,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided herein, it should be understood that the disclosed apparatus may be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner, for example, multiple units or components may be combined or may be Integrate into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be electrical or otherwise.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到 多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to On multiple network elements. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可为个人计算机、移动终端、服务器或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。The integrated unit, if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, or all or part of the technical solution, may be embodied in the form of a software product stored in a storage medium. A number of instructions are included to cause a computer device (which may be a personal computer, mobile terminal, server or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention. The foregoing storage medium includes: a U disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk, and the like. .
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。 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 (16)

  1. 一种智能门锁的集中控制方法,其特征在于,包括:A centralized control method for a smart door lock, characterized in that it comprises:
    智能门锁接收服务器返回的开锁密码,并存储所述开锁密码;The smart door lock receives an unlock password returned by the server, and stores the unlock password;
    所述智能门锁比对当前请求开锁时接收到的密码与存储的所述开锁密码是否一致,其中,当所述当前请求开锁时接收到的密码与存储的所述开锁密码一致时,所述智能门锁执行开锁动作;Whether the password received by the smart door lock is the same as the stored unlock password when the current request is unlocked, wherein when the password that is received when the current request is unlocked is consistent with the stored unlock password, The intelligent door lock performs an unlocking action;
    所述智能门锁生成或接收清除所述开锁密码的指令,并清除存储的所述开锁密码。The smart door lock generates or receives an instruction to clear the unlock password and clears the stored unlock password.
  2. 根据权利要求1所述的方法,其特征在于,在所述智能门锁接收服务器返回的开锁密码之前,所述方法还包括:The method of claim 1, wherein before the smart door lock receives an unlock password returned by the server, the method further comprises:
    所述服务器接收客户端设备传输的资源预定数据;Receiving, by the server, resource reservation data transmitted by the client device;
    所述服务器根据所述资源预定数据生成所述开锁密码,并将所述开锁密码分别发送至所述客户端设备和所述智能门锁。The server generates the unlock password according to the resource reservation data, and sends the unlock password to the client device and the smart door lock respectively.
  3. 根据权利要求2所述的方法,其特征在于,在所述智能门锁接收清除所述开锁密码的指令,清除存储的所述开锁密码之后,所述方法还包括:The method according to claim 2, wherein after the smart door lock receives an instruction to clear the unlock password and clear the stored unlock password, the method further includes:
    当所述智能门锁清除存储的所述开锁密码之后,所述智能门锁向所述服务器发送密码已清除的回执;After the smart door lock clears the stored unlock password, the smart door lock sends a receipt to the server that the password has been cleared;
    所述服务器确认密码已清除后,向所述智能门锁和管理设备发送所述服务器生成的新开锁密码。After the server confirms that the password has been cleared, the server sends the new unlock password generated by the server to the smart door lock and the management device.
  4. 根据权利要求1所述的方法,其特征在于,所述智能门锁比对当前请求开锁时接收到的密码与所述服务器返回的开锁密码与是否一致的步骤包括:The method according to claim 1, wherein the step of the smart door lock comparing with the password received when the current request is unlocked and the unlock code returned by the server comprises:
    接收当前请求开锁时使用的密码;Receive the password used when the current request is unlocked;
    从存储器中读取存储的所述开锁密码;Reading the stored unlock password from the memory;
    比对所述当前请求开锁时使用的密码与存储的所述开锁密码与是否一致;Comparing whether the password used when unlocking the current request is the same as the stored unlock password;
    其中,接收所述当前请求开锁时使用的密码的方式包括:所述智能门锁通过与所述智能门锁相连的实体输入装置接收输入的所述当前请求开锁时使用的 密码;所述智能门锁通过与客户端设备或管理设备的通讯交互,接收所述客户端设备或所述管理设备传输的所述开锁密码。The manner of receiving the password used when the current request is unlocked includes: the smart door lock is used by the physical input device connected to the smart door lock to receive the current request to unlock the current request. a password; the smart door lock receives the unlock password transmitted by the client device or the management device by communicating with a client device or a management device.
  5. 根据权利要求2所述的方法,其特征在于,在所述服务器接收所述客户端设备传输的所述资源预定数据之后,所述方法还包括:所述服务器根据所述资源预订数据设置所述开锁密码的使用有效期。The method according to claim 2, wherein after the server receives the resource reservation data transmitted by the client device, the method further comprises: the server setting the according to the resource subscription data The expiration date of the unlock password is used.
  6. 根据权利要求5所述的方法,其特征在于,清除所述开锁密码的指令的生成方式包括以下任意一种或多种:The method according to claim 5, wherein the generating of the instruction to clear the unlock password comprises any one or more of the following:
    当所述服务器监测到超出所述开锁密码的所述使用有效期,和当所述服务器接收到所述客户端设备发送的资源退订信号,二者中任意一种情况发生时,所述服务器向所述智能门锁发出清除所述开锁密码的指令;When the server detects the expiration date of the use of the unlock password, and when the server receives the resource unsubscribe signal sent by the client device, any one of the conditions occurs, the server The smart door lock issues an instruction to clear the unlock password;
    当与所述智能门锁相连的资源退订装置接收到触发信号时,所述资源退订装置向所述智能门锁发出清除所述开锁密码的指令;When the resource unsubscribe device connected to the smart door lock receives the trigger signal, the resource unsubscribe device issues an instruction to clear the unlock password to the smart door lock;
    所述智能门锁接收所述服务器发送的所述开锁密码的所述使用有效期,当所述智能门锁监测到超出所述开锁密码的所述使用有效期时,所述智能门锁生成清除所述开锁密码的指令。The smart door lock receives the use validity period of the unlock password sent by the server, and when the smart door lock detects the use validity period exceeding the unlock password, the smart door lock generation clears the The command to unlock the password.
  7. 根据权利要求3所述的方法,其特征在于,所述方法还包括:所述管理设备还接收所述服务器传输的所述资源预定数据。The method of claim 3, wherein the method further comprises the management device further receiving the resource reservation data transmitted by the server.
  8. 根据权利要求1至7中任意一项所述的方法,其特征在于,A method according to any one of claims 1 to 7, wherein
    客户端设备通过短信息、邮件、即时通讯工具、移动端即时通讯工具或移动端应用,接收或下载所述服务器生成的所述开锁密码;The client device receives or downloads the unlock password generated by the server by using a short message, a mail, an instant messaging tool, a mobile instant messaging tool, or a mobile application;
    所述智能门锁直连互联网,或通过网关中转连接互联网,其中,所述智能门锁直连互联网的方式包括:WIFI、GPRS、3G和4G;所述智能门锁与所述网关的连接方式包括:2.4G、蓝牙、Zigbee和433MHz技术,所述网关通过有线或无线的方式连接互联网。The smart door lock is directly connected to the Internet, or is connected to the Internet through a gateway. The manner in which the smart door lock is directly connected to the Internet includes: WIFI, GPRS, 3G, and 4G; and the connection manner between the smart door lock and the gateway Including: 2.4G, Bluetooth, Zigbee and 433MHz technology, the gateway connects to the Internet by wired or wireless means.
  9. 根据权利要求3所述的方法,其特征在于,在当所述当前请求开锁时接收到的密码与存储的所述开锁密码不一致时,所述方法还包括:The method according to claim 3, wherein when the password received when the current request is unlocked is inconsistent with the stored unlock password, the method further includes:
    累计所述当前请求开锁时接收到的密码与存储的所述开锁密码不一致的次数,当所述次数达到预设阈值时,所述智能门锁向所述管理设备发送报警信号。 And accumulating the number of times the password received when the current request is unlocked is inconsistent with the stored unlock password, and when the number of times reaches a preset threshold, the smart door lock sends an alarm signal to the management device.
  10. 一种智能门锁的集中控制***,其特征在于,包括:客户端设备、服务器、智能门锁和管理设备;其中,A centralized control system for a smart door lock, comprising: a client device, a server, a smart door lock and a management device; wherein
    所述客户端设备接收用户触发信号,向所述服务器发送资源预定数据,并接收所述服务器返回的开锁密码;The client device receives a user trigger signal, sends resource reservation data to the server, and receives an unlock password returned by the server;
    所述服务器接收和存储所述资源预定数据,并根据所述资源预定数据生成所述开锁密码,所述服务器将所述开锁密码发送至所述客户端设备和所述智能门锁;The server receives and stores the resource reservation data, and generates the unlock password according to the resource reservation data, and the server sends the unlock password to the client device and the smart door lock;
    所述智能门锁接收所述服务器生成的所述开锁密码,并存储所述开锁密码;以及,所述智能门锁接收清除所述开锁密码的指令,并清除所述开锁密码。The smart door lock receives the unlock password generated by the server, and stores the unlock password; and the smart door lock receives an instruction to clear the unlock password and clears the unlock password.
  11. 根据权利要求10所述的***,其特征在于,所述智能门锁包括:The system of claim 10 wherein said smart door lock comprises:
    存储器,用于存储所述开锁密码;a memory for storing the unlock password;
    输入接口,其中,所述输入接口还包括:第一输入接口,用于接收所述服务器发出的所述开锁密码;第二输入接口,用于接收所述服务器根据所述资源预定数据分配的资源使用有效期;第三输入接口,用于接收与所述智能门锁相连的资源退订装置的触发信号;第四输入接口,用于接收请求开锁时使用的密码;The input interface, wherein the input interface further includes: a first input interface, configured to receive the unlock password issued by the server; and a second input interface, configured to receive resources allocated by the server according to the resource reservation data The expiration date is used; the third input interface is configured to receive a trigger signal of the resource unsubscribe device connected to the smart door lock; and the fourth input interface is configured to receive a password used when the unlock is requested;
    处理器,用于接收和处理所述输入接口接收到的数据。And a processor, configured to receive and process data received by the input interface.
  12. 根据权利要求10所述的***,其特征在于,所述智能门锁还包括:The system of claim 10, wherein the smart door lock further comprises:
    发送装置,用于在所述智能门锁清除存储的所述开锁密码之后,向所述服务器发送密码已清除的回执;a sending device, configured to send, to the server, a receipt with a password cleared after the smart door lock clears the stored unlock password;
    接收装置,用于在所述服务器确认所述开锁密码已清除后,接收所述服务器生成的新开锁密码。And a receiving device, configured to receive a new unlock password generated by the server after the server confirms that the unlock password has been cleared.
  13. 根据权利要求10所述的***,其特征在于,所述智能门锁还包括:The system of claim 10, wherein the smart door lock further comprises:
    报警装置,用于在当前请求开锁时接收到的密码与存储的所述开锁密码不一致次数达到预设阈值时,所述智能门锁向所述管理设备发送报警信号。The alarm device is configured to send an alarm signal to the management device when the number of times the password received when the current request is unlocked and the stored unlock password reach a preset threshold.
  14. 一种智能门锁的集中控制装置,其特征在于,包括:A centralized control device for a smart door lock, comprising:
    第一接收模块,用于使智能门锁接收服务器返回的开锁密码;a first receiving module, configured to enable the smart door lock to receive an unlock password returned by the server;
    存储模块,用于存储接收到的所述开锁密码; a storage module, configured to store the received unlock password;
    对比模块,用于所述智能门锁比对当前请求开锁时接收到的密码与存储的所述开锁密码与是否一致,当所述当前请求开锁时接收到的密码与存储的所述开锁密码一致时,所述智能门锁执行开锁动作;a comparison module, configured to: the password received by the smart door lock when the current request is unlocked is consistent with the stored unlock password, and the password received when the current request is unlocked is consistent with the stored unlock password. The smart door lock performs an unlocking action;
    第二接收模块,用于使所述智能门锁生成或接收清除开锁密码的指令;a second receiving module, configured to enable the smart door lock to generate or receive an instruction to clear an unlock password;
    清除存储模块,用于清除存储的所述开锁密码。The storage module is cleared to clear the stored unlock password.
  15. 一种智能门锁,用于执行所述权利要求1至9中任意一项所述的智能门锁的集中控制方法提供的步骤的程序代码。A smart door lock for executing the program code of the steps provided by the centralized control method of the smart door lock according to any one of claims 1 to 9.
  16. 一种智能门锁的存储介质,用于保存所述权利要求1至9中任意一项所述的智能门锁的集中控制方法所执行的程序代码。 A storage medium for a smart door lock for storing a program code executed by the centralized control method of the smart door lock according to any one of claims 1 to 9.
PCT/CN2015/081282 2014-12-29 2015-06-11 Centralized control method and system for intelligent door lock WO2016107088A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410849373.6 2014-12-29
CN201410849373.6A CN104574598B (en) 2014-12-29 2014-12-29 A kind of centralized Control method and system of intelligent door lock

Publications (1)

Publication Number Publication Date
WO2016107088A1 true WO2016107088A1 (en) 2016-07-07

Family

ID=53090557

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/081282 WO2016107088A1 (en) 2014-12-29 2015-06-11 Centralized control method and system for intelligent door lock

Country Status (3)

Country Link
CN (1) CN104574598B (en)
HK (1) HK1205327A1 (en)
WO (1) WO2016107088A1 (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105631268A (en) * 2015-12-29 2016-06-01 惠州Tcl移动通信有限公司 Screen unlocking method based on mobile terminal, system and mobile terminal
CN109472908A (en) * 2019-01-04 2019-03-15 恒鸿达科技有限公司 A kind of intelligence lock administration system and method
EP3483325A1 (en) * 2017-11-08 2019-05-15 BSH Hausgeräte GmbH Control method and system for door lock of washing machine
CN111541755A (en) * 2020-04-16 2020-08-14 北京美住美宿科技有限公司 Hotel management system based on intelligent hardware platform
CN112105003A (en) * 2020-09-15 2020-12-18 公牛集团股份有限公司 Data synchronization system, method and device of intelligent door lock and readable storage medium
US20210039114A1 (en) * 2017-07-11 2021-02-11 Eppendorf Himac Technologies Co., Ltd. Centrifuge
CN112425116A (en) * 2018-05-18 2021-02-26 深圳绿米联创科技有限公司 Intelligent door lock wireless communication method, intelligent door lock, gateway and communication equipment
CN113470223A (en) * 2021-06-04 2021-10-01 广东好太太智能家居有限公司 Intelligent lock user management method, device, storage medium and system
CN113744434A (en) * 2021-08-20 2021-12-03 北京万千维度网络科技有限公司 Automatic multi-mode unlocking method and system
CN113936371A (en) * 2021-09-18 2022-01-14 青岛海信智慧生活科技股份有限公司 Authority management method and device
CN114360111A (en) * 2022-01-15 2022-04-15 东北大学 Bicycle intelligent supervision anti-theft system and method based on Internet of things technology

Families Citing this family (40)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104574598B (en) * 2014-12-29 2018-02-09 托斯卡尼(上海)酒店管理有限公司 A kind of centralized Control method and system of intelligent door lock
CN105139595A (en) * 2015-08-07 2015-12-09 深圳市金立通信设备有限公司 User prompt method and terminal
CN105160736A (en) * 2015-08-28 2015-12-16 移康智能科技(上海)有限公司 Password unlocking system, hotel equipment, door lock terminal and method
CN105120007A (en) * 2015-09-14 2015-12-02 劳海鹏 Method and system for remotely setting and invalidating temporary password of intelligent lock
CN105160222B (en) * 2015-09-30 2018-04-10 宇龙计算机通信科技(深圳)有限公司 A kind of unlocking method and mobile terminal
CN105321240B (en) * 2015-11-04 2018-02-16 北京果加智能科技有限公司 The control method and device and Intelligent door control system of intelligent door lock
CN105761340B (en) * 2016-01-29 2018-05-01 北京三快在线科技有限公司 A kind of network control method of door lock, device, server and PMS
CN105722197A (en) * 2016-02-25 2016-06-29 张泽 Method and device for controlling wireless networking device
CN105656933A (en) * 2016-03-04 2016-06-08 江苏盟广信息技术有限公司 Method and equipment used for controlling facility use
CN106056720A (en) * 2016-06-29 2016-10-26 上海救要救信息科技有限公司 Method and system for unloading emergency supplies storage apparatus
CN106157416A (en) * 2016-07-28 2016-11-23 黄仲波 A kind of electronic password lock and anti-counterfeit package, method for anti-counterfeit
CN106570960A (en) * 2016-11-01 2017-04-19 中控智慧科技股份有限公司 Intelligent unlocking method, and radio frequency card device thereof
CN110036419B (en) * 2016-12-06 2021-09-07 亚萨合莱有限公司 Providing access to a lock through a service consumer device
CN106780190B (en) * 2016-12-27 2020-04-07 安恒世通(北京)网络科技有限公司 Apartment management system
CN107230139A (en) * 2017-06-01 2017-10-03 天网互联科技(深圳)有限公司 A kind of unattended Management System on Public Rooms based on arrowband Internet of Things
CN107437212A (en) * 2017-07-03 2017-12-05 深圳市皇沙建筑科技有限公司 Floor space hires out management method
CN109215178A (en) * 2017-07-04 2019-01-15 华为技术有限公司 Method for generating cipher code, device, storage medium, electronic lock, server and terminal
CN107369234B (en) * 2017-07-24 2020-02-07 深圳市创维群欣安防科技股份有限公司 Unlocking method and system
CN107527414A (en) * 2017-09-25 2017-12-29 上海斐讯数据通信技术有限公司 A kind of method and system of the remote-control door lock based on router
TWI667632B (en) * 2017-10-05 2019-08-01 林勁璋 Access control system and management method thereof
CN107886602B (en) * 2017-10-23 2020-11-06 东莞市云谷光电科技有限公司 Method for unlocking and sharing house and system for unlocking and sharing house
CN109697770A (en) * 2017-10-24 2019-04-30 深圳悦宝贝家政有限公司 Intelligent door lock system and intelligent door lock control method
CN107945319A (en) * 2017-11-06 2018-04-20 广东源自家信息服务有限公司 Independently move in house cloud service system
CN107835187A (en) * 2017-11-27 2018-03-23 肖南萍 A kind of smart lock wireless transmitting system and its transmission method
CN107977816A (en) * 2017-12-01 2018-05-01 移康智能科技(上海)股份有限公司 Express mail delivering method and server
CN108230503A (en) * 2017-12-29 2018-06-29 中国船舶重工集团公司第七八研究所 A kind of half network type apartment door-locking system based on Bluetooth door lock
CN108109245A (en) * 2017-12-29 2018-06-01 惠州Tcl家电集团有限公司 Unlocking method, system, intelligent door lock, mobile terminal and storage medium
CN108320357A (en) * 2018-02-05 2018-07-24 周孝银 A kind of hotel's safety management system
CN108984463A (en) * 2018-06-07 2018-12-11 深圳市小石安防科技有限公司 The method and device of smart lock data dump
CN108510635A (en) * 2018-07-04 2018-09-07 蒙建波 A kind of intelligent lock system and its method for unlocking based on light sensation identification
CN109191620A (en) * 2018-07-17 2019-01-11 佛山市艾凯电器有限公司 A kind of car refrigerator smart lock control system
CN110796798A (en) * 2018-08-01 2020-02-14 北京思源理想控股集团有限公司 Intelligent inbox system and method
CN108846595A (en) * 2018-08-03 2018-11-20 重庆阿拉丁魔方科技有限公司 A kind of distribution Internet of Things Hospitality management system
CN111199596A (en) * 2018-10-31 2020-05-26 云丁网络技术(北京)有限公司 Intelligent door lock control method, device and system
CN109584419B (en) * 2018-12-03 2020-06-23 哈尔滨学院 Unified dynamic configuration interface system of intelligent door lock
CN109598828A (en) * 2018-12-28 2019-04-09 宁波大红鹰学院 A kind of intelligent door lock control system and method
CN111354112A (en) * 2019-02-18 2020-06-30 杭州海康威视数字技术股份有限公司 Access control system, access method and device of access control equipment and gateway equipment
CN109886786A (en) * 2019-02-18 2019-06-14 广州常盈网络股份有限公司 Space rent method, device, computer equipment and storage medium
CN110047181B (en) * 2019-04-20 2022-05-20 广东珠江智联信息科技股份有限公司 Intelligent door lock safety control method based on Zigbee
CN110766833A (en) * 2019-10-17 2020-02-07 广州微证互联网有限公司 Intelligent door lock and control method thereof

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007080508A2 (en) * 2006-01-13 2007-07-19 Yebo Tech (Proprietary) Limited An electronic access control system
CN102426715A (en) * 2011-09-30 2012-04-25 华为技术有限公司 Unlocking method for electronic door lock, electronic door lock and electronic door lock system
CN202534028U (en) * 2012-03-21 2012-11-14 济南大学 Internet of things authorization identity (ID) and ID card confirmation-based networked access control system
KR20130133532A (en) * 2012-05-29 2013-12-09 김철 Unmanned-accommodating system using digital door lock
CN104091219A (en) * 2013-11-22 2014-10-08 张泽 Intelligent door lock hotel unified management system and realizing method thereof
CN104574598A (en) * 2014-12-29 2015-04-29 张泽 Centralized control method and system for intelligent door lock

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8401468B2 (en) * 2008-05-28 2013-03-19 Sharp Laboratories Of America, Inc. Method and system for facilitating scheduling using a mobile device
CN103345790B (en) * 2013-06-26 2015-11-25 深圳市同创新佳科技有限公司 Based on electronic lock management method and the system of NFC intelligent electronic device
CN104063817A (en) * 2014-05-29 2014-09-24 深圳市同创新佳科技有限公司 Hotel room management method and system based on electronic key management server
CN104050510A (en) * 2014-06-06 2014-09-17 江门市联创发展有限公司 Intelligent room reservation system based on mobile terminal
CN104182798B (en) * 2014-09-02 2017-08-01 广州商景网络科技有限公司 Self-service booking method and system based on mobile device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007080508A2 (en) * 2006-01-13 2007-07-19 Yebo Tech (Proprietary) Limited An electronic access control system
CN102426715A (en) * 2011-09-30 2012-04-25 华为技术有限公司 Unlocking method for electronic door lock, electronic door lock and electronic door lock system
CN202534028U (en) * 2012-03-21 2012-11-14 济南大学 Internet of things authorization identity (ID) and ID card confirmation-based networked access control system
KR20130133532A (en) * 2012-05-29 2013-12-09 김철 Unmanned-accommodating system using digital door lock
CN104091219A (en) * 2013-11-22 2014-10-08 张泽 Intelligent door lock hotel unified management system and realizing method thereof
CN104574598A (en) * 2014-12-29 2015-04-29 张泽 Centralized control method and system for intelligent door lock

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105631268A (en) * 2015-12-29 2016-06-01 惠州Tcl移动通信有限公司 Screen unlocking method based on mobile terminal, system and mobile terminal
US20210039114A1 (en) * 2017-07-11 2021-02-11 Eppendorf Himac Technologies Co., Ltd. Centrifuge
EP3483325A1 (en) * 2017-11-08 2019-05-15 BSH Hausgeräte GmbH Control method and system for door lock of washing machine
CN112425116B (en) * 2018-05-18 2023-09-26 深圳绿米联创科技有限公司 Intelligent door lock wireless communication method, intelligent door lock, gateway and communication equipment
CN112425116A (en) * 2018-05-18 2021-02-26 深圳绿米联创科技有限公司 Intelligent door lock wireless communication method, intelligent door lock, gateway and communication equipment
CN109472908A (en) * 2019-01-04 2019-03-15 恒鸿达科技有限公司 A kind of intelligence lock administration system and method
CN109472908B (en) * 2019-01-04 2023-12-19 恒鸿达科技有限公司 Intelligent lock management system and method
CN111541755A (en) * 2020-04-16 2020-08-14 北京美住美宿科技有限公司 Hotel management system based on intelligent hardware platform
CN111541755B (en) * 2020-04-16 2023-03-24 北京美住美宿科技有限公司 Hotel management system based on intelligent hardware platform
CN112105003A (en) * 2020-09-15 2020-12-18 公牛集团股份有限公司 Data synchronization system, method and device of intelligent door lock and readable storage medium
CN112105003B (en) * 2020-09-15 2024-05-03 宁波公牛智能科技有限公司 Data synchronization system, method and device of intelligent door lock and readable storage medium
CN113470223A (en) * 2021-06-04 2021-10-01 广东好太太智能家居有限公司 Intelligent lock user management method, device, storage medium and system
CN113744434A (en) * 2021-08-20 2021-12-03 北京万千维度网络科技有限公司 Automatic multi-mode unlocking method and system
CN113744434B (en) * 2021-08-20 2023-09-01 北京万千维度网络科技有限公司 Automatic multi-mode unlocking method and system
CN113936371A (en) * 2021-09-18 2022-01-14 青岛海信智慧生活科技股份有限公司 Authority management method and device
CN114360111A (en) * 2022-01-15 2022-04-15 东北大学 Bicycle intelligent supervision anti-theft system and method based on Internet of things technology

Also Published As

Publication number Publication date
CN104574598A (en) 2015-04-29
CN104574598B (en) 2018-02-09
HK1205327A1 (en) 2015-12-11

Similar Documents

Publication Publication Date Title
WO2016107088A1 (en) Centralized control method and system for intelligent door lock
KR102256856B1 (en) Door lock network control method, device, server and PMS
JP6239778B2 (en) Delivery delivery box and delivery receipt method and password authentication method using the delivery delivery box
US11144873B2 (en) Package management system with accelerated delivery
US10192383B2 (en) First entry notification
CN104732668B (en) A kind of express delivery SRU sending-receiving unit and receiving-transmitting method
KR102478098B1 (en) Method and apparatus for controlling visitor calling in home network system
CN101964901B (en) Right management method and equipment for video monitoring equipment
AU2017286911A1 (en) Scheduled temporary rental property access
WO2016145748A1 (en) Remote control method, device and system for terminal device
US20160364928A1 (en) Integrated real estate showing scheduling and key management system
US20160005248A1 (en) First entry notification
US20140236350A1 (en) Integrated real estate showing scheduling and key management system
US11188636B2 (en) System for controlling access to an account
US20180114384A1 (en) Cloud-based keyless access control system for housing facilities
CN104813685A (en) Subscription-notification mechanisms for synchronization of distributed states
CN112187831A (en) Equipment network access method and device, storage medium and electronic equipment
KR20130129429A (en) Identity management method and device for mobile terminal
CN103516514A (en) Account access right setting method and manipulator
WO2015117362A1 (en) Method and device for sharing personal information on terminal
CN101443777A (en) Network system
KR101796145B1 (en) Method for user registration of unnamed post or delivery service and system applying the same
CN104038789A (en) LED display screen terminal management system and method
CN112422479A (en) Equipment binding method, device and system
KR102211777B1 (en) A password reused iot-control system and method it

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: 15874779

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: 15874779

Country of ref document: EP

Kind code of ref document: A1