WO2017075952A1 - Method and device for controlling intelligent door lock, and intelligent door control system - Google Patents

Method and device for controlling intelligent door lock, and intelligent door control system Download PDF

Info

Publication number
WO2017075952A1
WO2017075952A1 PCT/CN2016/080960 CN2016080960W WO2017075952A1 WO 2017075952 A1 WO2017075952 A1 WO 2017075952A1 CN 2016080960 W CN2016080960 W CN 2016080960W WO 2017075952 A1 WO2017075952 A1 WO 2017075952A1
Authority
WO
WIPO (PCT)
Prior art keywords
door lock
unlocking
mobile terminal
unlocking instruction
terminal
Prior art date
Application number
PCT/CN2016/080960
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 WO2017075952A1 publication Critical patent/WO2017075952A1/en

Links

Images

Classifications

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

Definitions

  • the present application relates to the field of intelligent door control, and in particular to a method and device for controlling a smart door lock and an intelligent door control system.
  • smart locks Many of the door control systems use smart locks, and various types of door opening methods can be realized through smart locks, such as fingerprint opening, password opening, and card opening.
  • fingerprint For the fingerprint to open the door, it is necessary to set the fingerprint machine at the door end, and preset the door opening fingerprint in the door control system. The user needs to brush the correct fingerprint through the fingerprint machine to unlock the door; for the password to open the door, the keyboard needs to be set at the door end, and The preset door opening password is saved in the door control system. The user can only open the door by inputting the correct password through the keyboard.
  • the user needs to touch or close the unlocking device on the door to unlock the user. The experience of opening the door is poor, and even if there is a problem with the unlocking device, the door lock cannot be opened even.
  • the user For the card opening method usually adopted by the hotel, the user needs to go to the front desk to register, and then collect the room card to open the door lock through the room card. This way of registering to receive the room card at the front desk will cause a lot of inconvenience to the user, thereby affecting the user. Experience.
  • the embodiment of the present application provides a method and device for controlling a smart door lock and an intelligent door control system to at least solve the technical problem that the user experience is poor when the door opening operation is performed.
  • a method for controlling a smart door lock includes: establishing a wireless connection with a mobile terminal; receiving an unlocking instruction sent by the mobile terminal; determining whether to open the smart door lock based on the unlocking instruction. .
  • the mobile terminal has a touch-sensitive display, and the touch-sensitive display is used to display a user interface.
  • the control method further includes: when the touch-sensitive display displays the user interface, the mobile terminal detects and touches Sensitive display contact; and when the detected contact is in the unlocked area of the user interface, The mobile terminal sends an unlock command to the door lock terminal or sends an unlock command to the door lock terminal through the server.
  • the controlling method before determining whether to open the smart door lock based on the unlocking instruction, the controlling method further includes: if the unlocking instruction is an encrypted unlocking instruction, decoding the encrypted unlocking instruction to obtain an unencrypted unlocking instruction.
  • determining whether to open the smart door lock based on the unlocking instruction comprises: determining whether the unlocking instruction matches the preset unlocking instruction; and opening the smart door lock if the unlocking instruction matches the preset unlocking instruction.
  • the control method further includes: determining whether the opening time of the smart door lock reaches a first preset time; and detecting the opening and closing of the door when the opening time reaches the first preset time State; if the door is in the closed state, the smart door lock is closed; if the door is in the open state, it is judged whether the door opening time reaches the second preset time; and when the door opening time reaches the second preset time, an alarm is generated. information.
  • the preset unlocking instruction is valid within a preset time period, and after determining whether the unlocking instruction is matched with the preset unlocking instruction, the controlling method further includes: sending, if the unlocking instruction does not match the preset unlocking instruction, sending Unlock the failure message to the mobile terminal.
  • a control device for a smart door lock includes: a communication module, configured to establish a wireless connection with the mobile terminal; and a receiving module, configured to receive, sent by the mobile terminal And an unlocking module, configured to determine whether to open the smart door lock based on the unlocking instruction.
  • an intelligent gating system includes: a server, connected to the door lock terminal, configured to send a preset unlocking command generated based on the account information to the door a lock terminal; the mobile terminal is wirelessly connected to the door lock terminal and the server, and configured to perform an unlocking operation of sending an unlock command to the door lock terminal or sending an unlock command to the door lock terminal through the server; and a door lock terminal for receiving the When the unlock command matches the preset unlock command, the smart door lock is turned on.
  • the server is further configured to resend the preset unlocking command generated based on the changed account information to the door lock terminal when the account information changes.
  • the mobile terminal has a touch sensitive display for displaying a user interface, wherein when the touch sensitive display displays the user interface, the mobile terminal is further configured to detect contact with the touch sensitive display when the detected contact is located When the unlocking area of the user interface is performed, the mobile terminal performs an unlocking operation.
  • a wireless connection with the mobile terminal is established, and an unlocking instruction sent by the mobile terminal is received, and then the smart door lock is determined based on the unlocking instruction.
  • the application is implemented by using a mobile terminal that is wirelessly connected with the door lock terminal.
  • FIG. 1 is a schematic diagram of a smart gating system in accordance with an embodiment of the present application.
  • FIG. 2 is a schematic diagram of an unlocking interface according to an embodiment of the present application.
  • FIG. 3 is a flowchart of a method of controlling a smart door lock according to an embodiment of the present application
  • FIG. 4 is a flow chart of an optional smart door lock control method according to an embodiment of the present application.
  • FIG. 5 is a flow chart of another alternative smart door lock control method in accordance with an embodiment of the present application.
  • FIG. 6 is a schematic diagram of a control device for a smart door lock according to an embodiment of the present application.
  • WIFI A technology that can connect terminals such as personal computers and handheld devices (such as pads and mobile phones) to each other wirelessly.
  • Bluetooth A wireless technology standard that enables short-distance data exchange between fixed devices, mobile terminals, and building personal area networks.
  • GPRS short for General Packet Radio Service, which is a mobile data service available to GSM mobile phone users.
  • Radio Frequency Identification The full name of English is Radio Frequency Identification.
  • the Chinese name is Radio Frequency Identification. It is a communication technology that can identify specific targets and read and write related data through radio signals without establishing mechanical or optical contact between the system and a specific target.
  • FIG. 1 is a schematic diagram of a smart gating system according to an embodiment of the present application.
  • the smart gating system includes: a server 10 , The door lock terminal 20 and the mobile terminal 30.
  • a server connected to the door lock terminal, configured to send a preset unlocking command generated based on the account information to the door lock terminal;
  • the mobile terminal is wirelessly connected with the door lock terminal and the server, and configured to execute the sending the unlocking command to the door lock terminal or through the server Sending an unlocking command to the unlocking operation of the door lock terminal, wherein the unlocking command may include account information, order information, and an unlocking password; and the door lock terminal is configured to enable the smart device if the received unlocking command matches the preset unlocking command Door lock.
  • the server sends a preset unlocking command generated based on the account information to the door lock terminal.
  • the mobile terminal sends an unlocking command to the door lock terminal, and the door lock terminal determines whether the unlocking command and the preset unlocking command are Match, if the two match, turn on the smart door lock.
  • the application realizes the door opening operation by adopting the mobile terminal wirelessly connected with the door lock terminal and the server, thereby solving the technical problem that the user experience is poor when the door opening operation is performed in the related art, and the effect of improving the user experience is achieved.
  • the third preset time may be 1 second, 2 seconds or a time set by the user;
  • the mobile terminal may be a smart portable device such as a mobile phone or a tablet computer, and the unlocking instruction in the mobile phone may be sent by the server or may be a user.
  • the application for placing the order is automatically generated according to the order information, and the unlocking instruction may be an encrypted instruction (ie, an encryption unlocking instruction). If it is an encryption unlocking instruction, the encryption unlocking instruction is also required to be decoded at the door locking terminal to obtain the Encrypted unlock command.
  • the server is further configured to resend the preset unlocking command generated based on the changed account information to the door lock terminal when the account information changes.
  • the mobile terminal has a touch sensitive display for displaying a user interface, wherein when the touch sensitive display displays the user interface, the mobile terminal is further configured to detect contact with the touch sensitive display when the detected contact When located in the unlocked area of the user interface, the mobile terminal performs an unlocking operation.
  • the user can place an order through the application on the mobile terminal, and after the order is confirmed by the background system of the server terminal, the system determines the order status of the check-in order, and when the result of the determination is that the order has been paid and is not checked, the order is parsed.
  • Information from the order information to analyze the check-in and check-out time, contact number, account name, name of the apartment, the type of room occupancy, etc., and then generate a timely opening finger based on the parsed order information
  • the information or the unlocking instruction information ie, the preset unlocking instruction
  • the server will update the command information and re-issue it to the door lock terminal to overwrite the original command information.
  • the unlocking interface can be opened by the unlocking interface displayed by the touch-sensitive display of the mobile terminal, and the information displayed by the unlocking interface includes the hotel name, Check-in time, room information, whether the user is in the store, and the password (such as "12345#" in Figure 2), etc., during the user's check-in period, unlock the unlocked area in the interface (ie the circle shown in Figure 2) A) is in a clickable state, otherwise it is in a non-clickable state, the user can unlock by long pressing the circle A, and when the mobile terminal detects that the user touches the unlocking area for 1 second, the encryption is sent to the door lock terminal through the wireless network.
  • the corresponding door lock terminal compares the preset unlock command stored by the door lock terminal after receiving the encrypted unlock command, and if the two match, the door lock is opened, and if the match fails, a warning message is issued. .
  • the user may request to update the unlocking command by using the mobile phone, and the server re-issues the updated unlocking command to the door lock terminal and the mobile phone.
  • the unlocking command of the door opening in time is correspondingly changed, and the user experience can be further improved.
  • a method embodiment of a method for controlling a smart door lock is also provided.
  • the steps shown in the flowchart of the drawing may be in a computer system such as a set of computer executable instructions.
  • the steps shown and described may be performed in a different order than the ones described herein, although the logical order is shown in the flowchart.
  • FIG. 3 is a flowchart of a method for controlling a smart door lock according to an embodiment of the present application. As shown in FIG. 3, the method includes the following steps:
  • Step S302 establishing a wireless connection with the mobile terminal.
  • connection between the door lock terminal and the mobile terminal may be directly established through the wireless network, or the mobile terminal and the door lock terminal may be connected to the same server through the wireless network, thereby establishing the door lock terminal and Indirect connection to the mobile terminal.
  • Step S304 receiving an unlocking instruction sent by the mobile terminal.
  • Step S306 determining whether to open the smart door lock based on the unlocking instruction.
  • a wireless connection with the mobile terminal is established, and an unlocking instruction sent by the mobile terminal is received, and then the smart door lock is determined based on the unlocking instruction.
  • the present application adopts a mobile connection wirelessly with the door lock terminal.
  • the terminal is used to realize the door opening operation, thereby solving the problem of opening the door operation in the related art.
  • the technical problems with poor user experience have achieved the effect of improving the user experience.
  • the connection mode adopted is any one of Bluetooth, WIFI, GPRS, 2G, 3G, 4G, and RFID.
  • the user is provided with a plurality of alternative wireless connection modes, and the user can connect to the door lock terminal through WIFI or GPRS when there is a network, and if there is no network, the user can also connect to the door lock through Bluetooth or RFID. terminal.
  • the control method of the present application includes: if the unlocking instruction is an encrypted unlocking instruction, decoding the encrypted unlocking instruction to obtain an unencrypted unlocking instruction. Determining whether to open the smart door lock based on the unlocking instruction includes: determining whether the unlocking instruction matches the preset unlocking instruction; and opening the smart door lock if the unlocking instruction matches the preset unlocking instruction.
  • the preset unlocking command is valid for a preset time period. After determining whether the unlocking command is matched with the preset unlocking command, the control method may further include: if the unlocking command does not match the preset unlocking command, the sending unlocking fails. Information to the mobile terminal.
  • the method for opening a door of the present application may include the following two types.
  • One is that the mobile terminal sends the encryption unlock command to the corresponding door lock terminal, the door lock terminal parses the encryption unlock command, and the parsed unlock command (ie, the unlock information) Matching with the preset unlocking command stored in the door lock terminal, if the matching is successful, the door opening is successful; the other is that the mobile terminal sends the encrypted unlocking command to the server, and the server parses the encrypted unlocking command to obtain the user account and the unlocking instruction (ie, unlocking) Information, etc., the server calls the information of the associated door lock terminal from the database through the unlocked user account and other information, and sends the unlock command to the corresponding door lock terminal, and the door lock terminal will receive the unlock command and the pre-stored information.
  • the default unlock command is used for matching. If the match is successful, the door is opened successfully. If the match fails, the door fails to open.
  • the resolution of the unlocking command may be performed at the door lock terminal or at the server end, and the unlocking command of the mobile terminal is preferentially sent to the server, and then the server is matched to the corresponding door lock terminal, and then the command is sent to the server.
  • the door lock terminal is matched with the preset command, which facilitates the storage of the door open data and the door lock monitoring management.
  • the above preset time period refers to the time period from the check-in date in the order to the departure date after the user's order is paid.
  • step S402 an order confirmation success instruction is sent.
  • the hotel system will receive the check-in order and set the order.
  • the order status of the single is judged.
  • the order confirmation success command is sent to the server.
  • Step S404 the server terminal receives the instruction and generates a preset unlocking instruction.
  • the server terminal When the server terminal receives the instruction, or the authorized operator confirms the order information through the input device of the server, the server generates a corresponding preset unlocking instruction according to the order information.
  • Step S406 sending a preset unlocking instruction to the door lock terminal.
  • the door lock terminal After receiving the preset unlocking command, the door lock terminal encrypts the preset unlocking command according to a fixed encryption algorithm to obtain a preset encryption unlocking instruction.
  • Step S408 the preset unlocking instruction is sent to the mobile terminal.
  • the server sends the preset unlocking instruction information to the door lock terminal of the corresponding room according to the room number in the order information, and sends the unlocking instruction information to the corresponding mobile terminal, such as a mobile phone, according to the account information or the telephone information in the order information.
  • Step S410 sending an encrypted unlocking instruction.
  • the mobile terminal encrypts the preset unlocking instruction, and sends the encrypted unlocking instruction (ie, the encryption unlocking instruction) to the door lock terminal.
  • step S412 the unlock information is returned.
  • the door lock terminal decodes the encryption unlock command, obtains the unlock command, and compares it with the local preset unlock command. If it matches, the door is opened, and the door open success information is returned to the mobile terminal. If it does not match, the door fails to be opened, and the door is opened. Failure information to the mobile terminal.
  • Steps S410 and S412 can be implemented by the steps shown in FIG. 5:
  • Step S502 triggering an unlock display interface of the mobile terminal.
  • the mobile terminal has a touch-sensitive display, and the touch-sensitive display can be used for displaying a user interface (ie, unlocking the display interface).
  • the control method of the present application further includes: when the touch-sensitive display displays the user interface The mobile terminal detects contact with the touch sensitive display; and when the detected contact is located in the unlocked area of the user interface, the mobile terminal sends an unlock command to the door lock terminal or sends an unlock command to the door lock terminal through the server.
  • the user can open the door lock through the application of the mobile phone.
  • the unlock interface of the application is accessed through the mobile phone. If the order is within the validity period, the solution can be unlocked by clicking the unlock interface. Lock the area to achieve the door opening operation.
  • the mobile terminal and the door lock terminal cannot establish a connection within a certain time, the mobile terminal fails to open the door by default.
  • the connection between the mobile terminal and the door lock terminal fails, or the user cannot open the door through the unlock interface, the user can re-request the unlock command through the mobile terminal.
  • the privilege account can request an unlock command through the server, and the server regenerates the corresponding unlock command after being received by the server and delivers the command to the door lock terminal and the mobile terminal.
  • Step S504 the corresponding door lock terminal receives the encrypted unlock instruction.
  • the mobile phone After the user clicks on the unlocked area of the unlock interface, the mobile phone sends the encrypted unlock command to the door lock terminal.
  • Step S506 determining whether the encryption unlocking instruction matches the preset encryption unlocking instruction stored by the door lock terminal.
  • the door lock terminal determines whether the encryption unlock command matches the preset encryption unlock command stored by the door lock terminal, and if yes, step S508 is performed; otherwise, step S510 is performed.
  • whether the determining whether the encryption unlocking instruction matches the preset encryption unlocking instruction may be determining whether the data length of the encryption unlocking instruction and the preset encryption unlocking instruction are consistent, or may be determining the encryption unlocking instruction and the preset encryption unlocking instruction. Whether the code is consistent or not, the number of digits of the check code is 12 bits.
  • Step S508 returning the door opening failure information to the mobile terminal.
  • Step S510 determining whether the unlocking instruction matches the preset unlocking instruction.
  • the decoding module of the door lock terminal decodes the preset encryption unlocking instruction and the encryption unlocking instruction, that is, firstly extracts the 12-bit verification code data of the preset encryption unlocking instruction and the encryption unlocking instruction, and then uses the hash algorithm to calculate the remaining The data is processed to obtain a preset unlocking command and an unlocking command respectively, and it is determined whether the unlocking command matches the preset unlocking command. If yes, step S512 is performed; otherwise, step S508 is performed.
  • Step S512 returning the door opening success information to the mobile terminal.
  • the door lock terminal opens the smart door lock and returns the door opening success information to the mobile phone end to prompt the user to open the door successfully.
  • the user can implement the door opening operation through the mobile phone application, and even when the door opening fails, the door lock can be re-opened by updating the key, thereby further improving the user experience.
  • the control method may further include the following steps: determining whether the opening time of the smart door lock reaches a first preset time; and detecting the door when the opening time reaches the first preset time The opening and closing state; if the door is in the closed state, the smart door lock is closed; if the door is in the open state, it is determined whether the door opening time reaches the second preset time; when the door opening time reaches the second preset time, Generate an alarm message.
  • the first preset time and the second preset time may be 1 minute, 5 minutes, or a value set by a user.
  • the door lock is opened for a certain period of time, which is convenient for the customer to enter the room.
  • the door lock opening time reaches 5 minutes
  • the door opening and closing state is automatically detected.
  • the smart door lock will be automatically locked. If the door is open, the customer may have entered the room, but the customer has forgotten to close the door.
  • a warning tone will be sounded to remind The customer closes.
  • the door lock is automatically closed after being opened for a period of time, and when the user forgets to close the door, the user is reminded to close the door, which can improve the safety of the room and prevent the loss of property caused by an external person entering the door.
  • the embodiment of the present application also provides a control device for a smart door lock. It should be noted that the control device for the smart door lock of the embodiment of the present application can be used to implement the control method of the smart door lock provided by the embodiment of the present application. The control method of the smart door lock of the embodiment of the present application can also pass the present application. The control device of the smart door lock provided by the embodiment is executed.
  • FIG. 6 is a schematic diagram of a control device for a smart door lock according to an embodiment of the present application.
  • the control device may include: a communication module 40, a receiving module 50, and an unlocking module 60, wherein the communication module 40 is configured to establish a wireless connection with the mobile terminal; and the receiving module 50 is configured to receive the unlocking sent by the mobile terminal.
  • the unlocking module 60 is configured to determine whether to open the smart door lock based on the unlocking instruction.
  • the server sends a preset unlocking command generated based on the account information to the door lock terminal.
  • the mobile terminal sends an unlocking command to the door lock terminal, and the door lock terminal determines whether the unlocking command and the preset unlocking command are Match, if the two match, turn on the smart door lock.
  • the application realizes the door opening operation by adopting the mobile terminal wirelessly connected with the door lock terminal, thereby solving the user experience when the door opening operation is performed in the related art. Poor technical problems have achieved the effect of improving the user experience.
  • the mobile terminal has a touch sensitive display
  • the touch sensitive display is used to display the user interface
  • the control device further includes: a detecting module, configured to move when the touch sensitive display displays the user interface before receiving the unlocking instruction sent by the mobile terminal The terminal detects contact with the touch-sensitive display; and a transmitting module, configured to: when the detected contact is located in the unlocked area of the user interface, the mobile terminal sends an unlock command to the door lock terminal or sends an unlock command to the door lock terminal through the server.
  • the unlocking interface can be displayed through the touch-sensitive display of the mobile terminal.
  • the information displayed on the unlocking interface includes the hotel name, check-in time, room information, whether the user is in the store, and the password.
  • the unlocked area in the unlocking interface ie, the circle A shown in FIG.
  • the user can open the door lock by using a mobile terminal such as a mobile phone or a tablet computer that is carried around, thereby improving the user experience.
  • a mobile terminal such as a mobile phone or a tablet computer that is carried around
  • the respective modules provided in this embodiment are the same as the usage methods provided in the corresponding steps of the method embodiment, and the application scenarios may be the same.
  • the communication module 40, the receiving module 50, and the unlocking module 60 correspond to step S302 in the foregoing embodiment. Go to step S306.
  • the solution involved in the above module may not be limited to the content and scenario in the foregoing embodiment, and the foregoing module may be run on a computer terminal or a mobile terminal, and may be implemented by software or hardware.
  • the disclosed technical contents may be implemented in other manners.
  • the device embodiments described above are only schematic.
  • the division of cells may be a logical function division.
  • multiple units or components may be combined or integrated 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, unit or module, and may be electrical or otherwise.
  • the units described as separate components may or may not be physically separate, displayed as a unit
  • the components may or may not be physical units, ie may be located in one place or may be distributed over multiple units. 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 application 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.
  • An integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, can be stored in a computer readable storage medium.
  • the technical solution of the present application in essence or the contribution 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, server or network device, etc.) to perform all or part of the steps of the various embodiments of the present application.
  • 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. .

Abstract

A method and device for controlling an intelligent door lock, and an intelligent door control system. The control method comprises: establishing a wireless connection with a mobile terminal (30); receiving an unlocking instruction sent by the mobile terminal (30); and determining, according to the unlocking instruction, whether to unlock the intelligent door lock. The method and device for controlling an intelligent door lock and the intelligent door control system resolve the problem of poor user experience during door opening operations.

Description

智能门锁的控制方法和装置及智能门控系统Intelligent door lock control method and device and intelligent door control system 技术领域Technical field
本申请涉及智能门控领域,具体而言,涉及一种智能门锁的控制方法和装置及智能门控系统。The present application relates to the field of intelligent door control, and in particular to a method and device for controlling a smart door lock and an intelligent door control system.
背景技术Background technique
大多数的门控系统采用了智能锁,通过智能锁可以实现多种开门方式,如指纹开门、密码开门及刷卡开门等等。对于指纹开门,需要在门端设置指纹机,并在门控系统内预设开门指纹,用户需要通过指纹机刷入正确的指纹才能解锁开门;对于密码开门,需要在门端设置键盘,并在门控系统内保存预设的开门密码,用户只有通过键盘输入了正确的密码才能开门,对于这一类的开门方式,都需要用户接触或者靠近门上的解锁装置才能解锁,用户对于这一类的开门方式的体验较差,一旦解锁装置出现问题,甚至都无法开启门锁。Most of the door control systems use smart locks, and various types of door opening methods can be realized through smart locks, such as fingerprint opening, password opening, and card opening. For the fingerprint to open the door, it is necessary to set the fingerprint machine at the door end, and preset the door opening fingerprint in the door control system. The user needs to brush the correct fingerprint through the fingerprint machine to unlock the door; for the password to open the door, the keyboard needs to be set at the door end, and The preset door opening password is saved in the door control system. The user can only open the door by inputting the correct password through the keyboard. For this type of door opening method, the user needs to touch or close the unlocking device on the door to unlock the user. The experience of opening the door is poor, and even if there is a problem with the unlocking device, the door lock cannot be opened even.
对于酒店通常采用的刷卡开门方式,需要用户到前台进行登记,然后领取房卡,以通过房卡开启门锁,这种需要到前台登记领取房卡的方式会给用户造成诸多不便,从而影响用户的体验。For the card opening method usually adopted by the hotel, the user needs to go to the front desk to register, and then collect the room card to open the door lock through the room card. This way of registering to receive the room card at the front desk will cause a lot of inconvenience to the user, thereby affecting the user. Experience.
针对相关技术中进行开门操作时用户体验较差的技术问题,目前尚未提出有效的解决方案。In view of the technical problem that the user experience is poor when the door opening operation is performed in the related art, an effective solution has not been proposed yet.
发明内容Summary of the invention
本申请实施例提供了一种智能门锁的控制方法和装置及智能门控系统,以至少解决进行开门操作时用户体验较差的技术问题。The embodiment of the present application provides a method and device for controlling a smart door lock and an intelligent door control system to at least solve the technical problem that the user experience is poor when the door opening operation is performed.
根据本申请实施例的一个方面,提供了一种智能门锁的控制方法,该控制方法包括:建立与移动终端的无线连接;接收移动终端发送的解锁指令;基于解锁指令确定是否开启智能门锁。According to an aspect of the embodiments of the present application, a method for controlling a smart door lock is provided. The control method includes: establishing a wireless connection with a mobile terminal; receiving an unlocking instruction sent by the mobile terminal; determining whether to open the smart door lock based on the unlocking instruction. .
可选地,移动终端具有触敏显示器,触敏显示器用于显示用户界面,在接收移动终端发送的解锁指令之前,该控制方法还包括:当触敏显示器显示用户界面时,移动终端检测与触敏显示器的接触;以及当检测到的接触位于用户界面的解锁区域时,移 动终端发送解锁指令至门锁终端或通过服务器发送解锁指令至门锁终端。Optionally, the mobile terminal has a touch-sensitive display, and the touch-sensitive display is used to display a user interface. Before receiving the unlocking command sent by the mobile terminal, the control method further includes: when the touch-sensitive display displays the user interface, the mobile terminal detects and touches Sensitive display contact; and when the detected contact is in the unlocked area of the user interface, The mobile terminal sends an unlock command to the door lock terminal or sends an unlock command to the door lock terminal through the server.
可选地,在基于解锁指令确定是否开启智能门锁之前,该控制方法还包括:若解锁指令为加密的解锁指令,则对加密的解锁指令进行解码,得到未加密的解锁指令。Optionally, before determining whether to open the smart door lock based on the unlocking instruction, the controlling method further includes: if the unlocking instruction is an encrypted unlocking instruction, decoding the encrypted unlocking instruction to obtain an unencrypted unlocking instruction.
可选地,基于解锁指令确定是否开启智能门锁包括:判断解锁指令与预设解锁指令是否匹配;以及在解锁指令与预设解锁指令匹配的情况下,开启智能门锁。Optionally, determining whether to open the smart door lock based on the unlocking instruction comprises: determining whether the unlocking instruction matches the preset unlocking instruction; and opening the smart door lock if the unlocking instruction matches the preset unlocking instruction.
可选地,在开启智能门锁之后,该控制方法还包括:判断智能门锁的开启时间是否达到第一预设时间;在开启时间达到第一预设时间的情况下,检测门的开闭状态;若门处于关闭状态,则关闭智能门锁;若门处于开启状态,则判断门的开门时间是否达到第二预设时间;以及在开门时间达到第二预设时间的情况下,生成报警信息。Optionally, after the smart door lock is opened, the control method further includes: determining whether the opening time of the smart door lock reaches a first preset time; and detecting the opening and closing of the door when the opening time reaches the first preset time State; if the door is in the closed state, the smart door lock is closed; if the door is in the open state, it is judged whether the door opening time reaches the second preset time; and when the door opening time reaches the second preset time, an alarm is generated. information.
可选地,预设解锁指令在预设时间段内有效,在判断解锁指令与预设解锁指令是否匹配之后,该控制方法还包括:在解锁指令与预设解锁指令不匹配的情况下,发送解锁失败信息至移动终端。Optionally, the preset unlocking instruction is valid within a preset time period, and after determining whether the unlocking instruction is matched with the preset unlocking instruction, the controlling method further includes: sending, if the unlocking instruction does not match the preset unlocking instruction, sending Unlock the failure message to the mobile terminal.
根据本申请实施例的另一方面,还提供了一种智能门锁的控制装置,该控制装置包括:通讯模块,用于建立与移动终端的无线连接;接收模块,用于接收移动终端发送的解锁指令;以及开锁模块,用于基于解锁指令确定是否开启智能门锁。According to another aspect of the embodiments of the present application, a control device for a smart door lock is further provided, the control device includes: a communication module, configured to establish a wireless connection with the mobile terminal; and a receiving module, configured to receive, sent by the mobile terminal And an unlocking module, configured to determine whether to open the smart door lock based on the unlocking instruction.
根据本申请实施例的第三个方面,还提供了一种智能门控系统,该智能门控系统包括:服务器,与门锁终端连接,用于发送基于账户信息生成的预设解锁指令至门锁终端;移动终端,与门锁终端和服务器无线连接,用于执行发送解锁指令至门锁终端或通过服务器发送解锁指令至门锁终端的解锁操作;以及门锁终端,用于在接收到的解锁指令与预设解锁指令匹配的情况下,开启智能门锁。According to a third aspect of the embodiments of the present application, an intelligent gating system is provided, the smart gating system includes: a server, connected to the door lock terminal, configured to send a preset unlocking command generated based on the account information to the door a lock terminal; the mobile terminal is wirelessly connected to the door lock terminal and the server, and configured to perform an unlocking operation of sending an unlock command to the door lock terminal or sending an unlock command to the door lock terminal through the server; and a door lock terminal for receiving the When the unlock command matches the preset unlock command, the smart door lock is turned on.
可选地,服务器还用于在账户信息发生变化时,将基于变化后的账户信息生成的预设解锁指令重新发送至门锁终端。Optionally, the server is further configured to resend the preset unlocking command generated based on the changed account information to the door lock terminal when the account information changes.
可选地,移动终端具有触敏显示器,触敏显示器用于显示用户界面,其中,当触敏显示器显示用户界面时,移动终端还用于检测与触敏显示器的接触,当检测到的接触位于用户界面的解锁区域时,移动终端执行解锁操作。Optionally, the mobile terminal has a touch sensitive display for displaying a user interface, wherein when the touch sensitive display displays the user interface, the mobile terminal is further configured to detect contact with the touch sensitive display when the detected contact is located When the unlocking area of the user interface is performed, the mobile terminal performs an unlocking operation.
在本申请实施例中,建立与移动终端的无线连接,并接收移动终端发送的解锁指令,然后基于解锁指令确定是否开启智能门锁,本申请通过采用与门锁终端无线连接的移动终端来实现开门操作,从而解决了相关技术中进行开门操作时用户体验较差的技术问题,达到了提升用户体验的效果。 In the embodiment of the present application, a wireless connection with the mobile terminal is established, and an unlocking instruction sent by the mobile terminal is received, and then the smart door lock is determined based on the unlocking instruction. The application is implemented by using a mobile terminal that is wirelessly connected with the door lock terminal. The door opening operation solves the technical problem that the user experience is poor when the door opening operation is performed in the related art, and the effect of improving the user experience is achieved.
附图说明DRAWINGS
此处所说明的附图用来提供对本申请的进一步理解,构成本申请的一部分,本申请的示意性实施例及其说明用于解释本申请,并不构成对本申请的不当限定。在附图中:The drawings described herein are intended to provide a further understanding of the present application, and are intended to be a part of this application. In the drawing:
图1是根据本申请实施例的智能门控系统的示意图;1 is a schematic diagram of a smart gating system in accordance with an embodiment of the present application;
图2是根据本申请实施例的解锁界面的示意图;2 is a schematic diagram of an unlocking interface according to an embodiment of the present application;
图3是根据本申请实施例的智能门锁的控制方法的流程图;3 is a flowchart of a method of controlling a smart door lock according to an embodiment of the present application;
图4是根据本申请实施例的一个可选的智能门锁的控制方法的流程图;4 is a flow chart of an optional smart door lock control method according to an embodiment of the present application;
图5是根据本申请实施例的另一个可选的智能门锁的控制方法的流程图;以及5 is a flow chart of another alternative smart door lock control method in accordance with an embodiment of the present application;
图6是根据本申请实施例的智能门锁的控制装置的示意图。FIG. 6 is a schematic diagram of a control device for a smart door lock according to an embodiment of the present application.
具体实施方式detailed description
为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分的实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本申请保护的范围。The technical solutions in the embodiments of the present application are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present application. It is an embodiment of the present application, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present application without departing from the inventive scope shall fall within the scope of the application.
需要说明的是,本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。It should be noted that the terms "first", "second" and the like in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or order. It is to be understood that the data so used may be interchanged where appropriate, so that the embodiments of the present application described herein can be implemented in a sequence other than those illustrated or 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.
首先,在对本申请实施例进行描述的过程中出现的部分名词或术语适用于如下解释:First, some of the nouns or terms that appear in the process of describing the embodiments of the present application are applicable to the following explanations:
WIFI:一种可以将个人电脑、手持设备(如pad、手机)等终端以无线方式互相连接的技术。WIFI: A technology that can connect terminals such as personal computers and handheld devices (such as pads and mobile phones) to each other wirelessly.
蓝牙:是一种无线技术标准,可实现固定设备、移动终端和楼宇个人域网之间的短距离数据交换。 Bluetooth: A wireless technology standard that enables short-distance data exchange between fixed devices, mobile terminals, and building personal area networks.
GPRS:是通用分组无线服务技术(General Packet Radio Service)的简称,它是GSM移动电话用户可用的一种移动数据业务。GPRS: short for General Packet Radio Service, which is a mobile data service available to GSM mobile phone users.
RFID:英文全称是Radio Frequency Identification,中文名称是无线射频识别,是一种通信技术,可通过无线电讯号识别特定目标并读写相关数据,而无需识别系统与特定目标之间建立机械或光学接触。RFID: The full name of English is Radio Frequency Identification. The Chinese name is Radio Frequency Identification. It is a communication technology that can identify specific targets and read and write related data through radio signals without establishing mechanical or optical contact between the system and a specific target.
根据本申请实施例,提供了一种智能门控系统的实施例,图1是根据本申请实施例的智能门控系统的示意图,如图1所示,该智能门控系统包括:服务器10、门锁终端20以及移动终端30。服务器,与门锁终端连接,用于发送基于账户信息生成的预设解锁指令至门锁终端;移动终端,与门锁终端和服务器无线连接,用于执行发送解锁指令至门锁终端或通过服务器发送解锁指令至门锁终端的解锁操作,其中,解锁指令可以包括账户信息、订单信息以及解锁密码;门锁终端,用于在接收到的解锁指令与预设解锁指令匹配的情况下,开启智能门锁。An embodiment of the smart gating system is provided according to the embodiment of the present application. FIG. 1 is a schematic diagram of a smart gating system according to an embodiment of the present application. As shown in FIG. 1 , the smart gating system includes: a server 10 , The door lock terminal 20 and the mobile terminal 30. a server, connected to the door lock terminal, configured to send a preset unlocking command generated based on the account information to the door lock terminal; the mobile terminal is wirelessly connected with the door lock terminal and the server, and configured to execute the sending the unlocking command to the door lock terminal or through the server Sending an unlocking command to the unlocking operation of the door lock terminal, wherein the unlocking command may include account information, order information, and an unlocking password; and the door lock terminal is configured to enable the smart device if the received unlocking command matches the preset unlocking command Door lock.
通过上述实施例,服务器将基于账户信息生成的预设解锁指令发送至门锁终端,在需要开门时,移动终端将解锁指令发送至门锁终端,门锁终端判断解锁指令与预设解锁指令是否匹配,若二者匹配,则开启智能门锁。本申请通过采用与门锁终端和服务器无线连接的移动终端来实现开门操作,从而解决了相关技术中进行开门操作时用户体验较差的技术问题,达到了提升用户体验的效果。Through the above embodiment, the server sends a preset unlocking command generated based on the account information to the door lock terminal. When the door needs to be opened, the mobile terminal sends an unlocking command to the door lock terminal, and the door lock terminal determines whether the unlocking command and the preset unlocking command are Match, if the two match, turn on the smart door lock. The application realizes the door opening operation by adopting the mobile terminal wirelessly connected with the door lock terminal and the server, thereby solving the technical problem that the user experience is poor when the door opening operation is performed in the related art, and the effect of improving the user experience is achieved.
上述第三预设时间可以是1秒、2秒或者用户设定的时间;上述移动终端可以是手机或者平板电脑等智能便携设备,手机中的解锁指令可以是服务器下发的,也可以是用户用于下单的应用根据订单信息自动生成的,该解锁指令可以是加密的指令(即加密解锁指令),如果是加密解锁指令,那么在门锁终端还需要对加密解锁指令进行解码以得到未加密的解锁指令。The third preset time may be 1 second, 2 seconds or a time set by the user; the mobile terminal may be a smart portable device such as a mobile phone or a tablet computer, and the unlocking instruction in the mobile phone may be sent by the server or may be a user. The application for placing the order is automatically generated according to the order information, and the unlocking instruction may be an encrypted instruction (ie, an encryption unlocking instruction). If it is an encryption unlocking instruction, the encryption unlocking instruction is also required to be decoded at the door locking terminal to obtain the Encrypted unlock command.
在上述实施例中,服务器还用于在账户信息发生变化时,将基于变化后的账户信息生成的预设解锁指令重新发送至门锁终端。In the above embodiment, the server is further configured to resend the preset unlocking command generated based on the changed account information to the door lock terminal when the account information changes.
需要说明的是,移动终端具有触敏显示器,触敏显示器用于显示用户界面,其中,当触敏显示器显示用户界面时,移动终端还用于检测与触敏显示器的接触,当检测到的接触位于用户界面的解锁区域时,移动终端执行解锁操作。It should be noted that the mobile terminal has a touch sensitive display for displaying a user interface, wherein when the touch sensitive display displays the user interface, the mobile terminal is further configured to detect contact with the touch sensitive display when the detected contact When located in the unlocked area of the user interface, the mobile terminal performs an unlocking operation.
可选地,用户可以通过移动终端上的应用下订单,订单在服务器终端的后台系统确认后,系统对入住订单的订单状态进行判定,当判定结果为订单已支付且未入住时,就解析订单信息,从订单信息中解析出入住和离店时间、联系电话、账户名、入住公寓名称、入住房间类型等信息,然后依据解析后的订单信息生成具有时效性的开门指 令信息或者解锁指令信息(即预设解锁指令),并通过服务器将解锁指令信息下发到对应的门锁终端。当用户对入住的订单信息进行更改或者商家对订单中的信息进行变更后,服务器便会更新指令信息并重新下发到门锁终端以覆盖原有指令信息。Optionally, the user can place an order through the application on the mobile terminal, and after the order is confirmed by the background system of the server terminal, the system determines the order status of the check-in order, and when the result of the determination is that the order has been paid and is not checked, the order is parsed. Information, from the order information to analyze the check-in and check-out time, contact number, account name, name of the apartment, the type of room occupancy, etc., and then generate a timely opening finger based on the parsed order information The information or the unlocking instruction information (ie, the preset unlocking instruction) is sent, and the unlocking instruction information is sent to the corresponding door lock terminal through the server. When the user changes the order information of the check-in or the merchant changes the information in the order, the server will update the command information and re-issue it to the door lock terminal to overwrite the original command information.
在图2示出的实施例中,在用户的入住时间到来之后并且在离店时间之前,可以通过移动终端的触敏显示器所展示的解锁界面开启门锁,解锁界面展示的信息包括酒店名称、入住时间、房间信息,用户是否在店,以及密码(如图2中的“12345#”)等信息,在用户的入住时间段内,解锁界面内的解锁区域(即图2示出的圆形A)处于可点击状态,否则处于不可点击状态,用户可通过长按圆形A来解锁,当移动终端检测到用户触摸解锁区域的时间达到1秒的时候就通过无线网络向门锁终端发送加密解锁指令,对应的门锁终端在接收到加密解锁指令后,将其解码后与门锁终端存储的预设解锁指令进行比对,若二者匹配则门锁开启,若匹配失败则发出警告信息。In the embodiment shown in FIG. 2, after the arrival of the user's check-in time and before the departure time, the unlocking interface can be opened by the unlocking interface displayed by the touch-sensitive display of the mobile terminal, and the information displayed by the unlocking interface includes the hotel name, Check-in time, room information, whether the user is in the store, and the password (such as "12345#" in Figure 2), etc., during the user's check-in period, unlock the unlocked area in the interface (ie the circle shown in Figure 2) A) is in a clickable state, otherwise it is in a non-clickable state, the user can unlock by long pressing the circle A, and when the mobile terminal detects that the user touches the unlocking area for 1 second, the encryption is sent to the door lock terminal through the wireless network. After the unlock command is received, the corresponding door lock terminal compares the preset unlock command stored by the door lock terminal after receiving the encrypted unlock command, and if the two match, the door lock is opened, and if the match fails, a warning message is issued. .
可选地,当手机出现问题或者门锁终端出现故障时,用户可以通过手机请求更新解锁指令,服务器将更新后的解锁指令重新下发至门锁终端和手机。Optionally, when the mobile phone has a problem or the door lock terminal is faulty, the user may request to update the unlocking command by using the mobile phone, and the server re-issues the updated unlocking command to the door lock terminal and the mobile phone.
通过上述实施例,在订单信息发生变更时,及时的对开门的解锁指令进行对应的变更,可以进一步地提升用户的体验。According to the above embodiment, when the order information is changed, the unlocking command of the door opening in time is correspondingly changed, and the user experience can be further improved.
根据本申请实施例,还提供了一种智能门锁的控制方法的方法实施例,需要说明的是,在附图的流程图示出的步骤可以在诸如一组计算机可执行指令的计算机系统中执行,并且,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。According to an embodiment of the present application, a method embodiment of a method for controlling a smart door lock is also provided. It should be noted that the steps shown in the flowchart of the drawing may be in a computer system such as a set of computer executable instructions. The steps shown and described may be performed in a different order than the ones described herein, although the logical order is shown in the flowchart.
图3是根据本申请实施例的智能门锁的控制方法的流程图,如图3所示,该方法包括如下步骤:FIG. 3 is a flowchart of a method for controlling a smart door lock according to an embodiment of the present application. As shown in FIG. 3, the method includes the following steps:
步骤S302,建立与移动终端的无线连接。Step S302, establishing a wireless connection with the mobile terminal.
需要说明的是,在这个步骤中,可以是通过无线网络直接建立门锁终端与移动终端的连接,也可以将移动终端和门锁终端通过无线网络连接至同一个服务器,从而建立门锁终端和移动终端的间接连接。It should be noted that, in this step, the connection between the door lock terminal and the mobile terminal may be directly established through the wireless network, or the mobile terminal and the door lock terminal may be connected to the same server through the wireless network, thereby establishing the door lock terminal and Indirect connection to the mobile terminal.
步骤S304,接收移动终端发送的解锁指令。Step S304, receiving an unlocking instruction sent by the mobile terminal.
步骤S306,基于解锁指令确定是否开启智能门锁。Step S306, determining whether to open the smart door lock based on the unlocking instruction.
通过上述实施例,在需要开门时,建立与移动终端的无线连接,并接收移动终端发送的解锁指令,然后基于解锁指令确定是否开启智能门锁,本申请通过采用与门锁终端无线连接的移动终端来实现开门操作,从而解决了相关技术中进行开门操作时用 户体验较差的技术问题,达到了提升用户体验的效果。Through the above embodiment, when the door needs to be opened, a wireless connection with the mobile terminal is established, and an unlocking instruction sent by the mobile terminal is received, and then the smart door lock is determined based on the unlocking instruction. The present application adopts a mobile connection wirelessly with the door lock terminal. The terminal is used to realize the door opening operation, thereby solving the problem of opening the door operation in the related art. The technical problems with poor user experience have achieved the effect of improving the user experience.
可选地,在建立与移动终端的无线连接的步骤中,采用的连接方式为蓝牙、WIFI、GPRS、2G、3G、4G及RFID中的任意一种。Optionally, in the step of establishing a wireless connection with the mobile terminal, the connection mode adopted is any one of Bluetooth, WIFI, GPRS, 2G, 3G, 4G, and RFID.
通过上述实施例,为用户提供了多种供选择的无线连接方式,用户可以在有网络的时候通过WIFI或者GPRS连接至门锁终端,如果没有网络,用户也可以通过蓝牙或者RFID连接至门锁终端。Through the above embodiments, the user is provided with a plurality of alternative wireless connection modes, and the user can connect to the door lock terminal through WIFI or GPRS when there is a network, and if there is no network, the user can also connect to the door lock through Bluetooth or RFID. terminal.
在上述实施例中,在基于解锁指令确定是否开启智能门锁之前,本申请的控制方法包括:若解锁指令为加密的解锁指令,则对加密的解锁指令进行解码,得到未加密的解锁指令。基于解锁指令确定是否开启智能门锁包括:判断解锁指令与预设解锁指令是否匹配;以及在解锁指令与预设解锁指令匹配的情况下,开启智能门锁。In the above embodiment, before determining whether to open the smart door lock based on the unlocking instruction, the control method of the present application includes: if the unlocking instruction is an encrypted unlocking instruction, decoding the encrypted unlocking instruction to obtain an unencrypted unlocking instruction. Determining whether to open the smart door lock based on the unlocking instruction includes: determining whether the unlocking instruction matches the preset unlocking instruction; and opening the smart door lock if the unlocking instruction matches the preset unlocking instruction.
上述预设解锁指令在预设时间段内有效,在判断解锁指令是否与预设解锁指令匹配之后,该控制方法还可以包括:在解锁指令与预设解锁指令不匹配的情况下,发送解锁失败信息至移动终端。The preset unlocking command is valid for a preset time period. After determining whether the unlocking command is matched with the preset unlocking command, the control method may further include: if the unlocking command does not match the preset unlocking command, the sending unlocking fails. Information to the mobile terminal.
本申请的开门方式可以包括以下两种,其一是移动终端将加密解锁指令下发到对应的门锁终端,门锁终端对加密解锁指令进行解析,并将解析后的解锁指令(即解锁信息)与门锁终端存储的预设解锁指令进行匹配,匹配成功则开门成功;另外一种是移动终端将加密解锁指令发送到服务器,服务器对加密解锁指令进行解析得到用户账户、解锁指令(即解锁信息)等信息,服务器通过解锁后的用户账户等信息从数据库中调用关联的门锁终端的信息,并将解锁指令发送到相应的门锁终端,门锁终端将接收到解锁指令与预先存储的预设解锁指令进行匹配,匹配成功则开门成功,匹配失败则开门失败。The method for opening a door of the present application may include the following two types. One is that the mobile terminal sends the encryption unlock command to the corresponding door lock terminal, the door lock terminal parses the encryption unlock command, and the parsed unlock command (ie, the unlock information) Matching with the preset unlocking command stored in the door lock terminal, if the matching is successful, the door opening is successful; the other is that the mobile terminal sends the encrypted unlocking command to the server, and the server parses the encrypted unlocking command to obtain the user account and the unlocking instruction (ie, unlocking) Information, etc., the server calls the information of the associated door lock terminal from the database through the unlocked user account and other information, and sends the unlock command to the corresponding door lock terminal, and the door lock terminal will receive the unlock command and the pre-stored information. The default unlock command is used for matching. If the match is successful, the door is opened successfully. If the match fails, the door fails to open.
通过上述实施例,解锁指令的解析可以在门锁终端进行,也可以在服务器端进行,移动终端的解锁指令优先下发到服务器,再通过服务器匹配到相应门锁终端,再将指令下发到门锁终端与预设指令进行匹配,便于服务器对开门数据的存储和门锁监控管理。With the above embodiment, the resolution of the unlocking command may be performed at the door lock terminal or at the server end, and the unlocking command of the mobile terminal is preferentially sent to the server, and then the server is matched to the corresponding door lock terminal, and then the command is sent to the server. The door lock terminal is matched with the preset command, which facilitates the storage of the door open data and the door lock monitoring management.
上述预设时间段是指用户的订单支付后从订单中的入住日期到离开日期之间的时间段。The above preset time period refers to the time period from the check-in date in the order to the departure date after the user's order is paid.
下面结合图4和图5详述本申请的实施例。Embodiments of the present application are described in detail below with reference to FIGS. 4 and 5.
步骤S402,发送订单确认成功指令。In step S402, an order confirmation success instruction is sent.
如用户通过电脑端的网页下订单后,酒店的系统会接收到入住订单,并对入住订 单的订单状态进行判定,当判定结果为订单已支付且未入住时确认订单处于有效期内,则发送订单确认成功指令至服务器端。If the user places an order through the web page of the computer, the hotel system will receive the check-in order and set the order. The order status of the single is judged. When the result of the judgment is that the order has been paid and the order is not valid, the order confirmation success command is sent to the server.
步骤S404,服务器终端接收指令,并生成预设解锁指令。Step S404, the server terminal receives the instruction and generates a preset unlocking instruction.
在服务器终端接收到指令时,或者有权限的操作人员通过服务器端的输入设备确认订单信息时,服务器根据订单信息生成对应的预设解锁指令。When the server terminal receives the instruction, or the authorized operator confirms the order information through the input device of the server, the server generates a corresponding preset unlocking instruction according to the order information.
步骤S406,将预设解锁指令发送至门锁终端。Step S406, sending a preset unlocking instruction to the door lock terminal.
门锁终端接收到预设解锁指令后,会按照固定的加密算法对预设解锁指令进行加密,得到预设加密解锁指令。After receiving the preset unlocking command, the door lock terminal encrypts the preset unlocking command according to a fixed encryption algorithm to obtain a preset encryption unlocking instruction.
步骤S408,将预设解锁指令发送至移动终端。Step S408, the preset unlocking instruction is sent to the mobile terminal.
服务器根据订单信息中的房间号将预设解锁指令信息下发至对应房间的门锁终端,并根据订单信息中的账户信息或者电话信息将解锁指令信息下发至对应的移动终端,如手机。The server sends the preset unlocking instruction information to the door lock terminal of the corresponding room according to the room number in the order information, and sends the unlocking instruction information to the corresponding mobile terminal, such as a mobile phone, according to the account information or the telephone information in the order information.
步骤S410,发送加密解锁指令。Step S410, sending an encrypted unlocking instruction.
移动终端对预设解锁指令进行加密,并将加密后的解锁指令(即加密解锁指令)发送至门锁终端。The mobile terminal encrypts the preset unlocking instruction, and sends the encrypted unlocking instruction (ie, the encryption unlocking instruction) to the door lock terminal.
步骤S412,返回解锁信息。In step S412, the unlock information is returned.
门锁终端将加密解锁指令进行解码,得到解锁指令,并将其与本地的预设解锁指令进行对比,若匹配则开门,并返回开门成功信息至移动终端,若不匹配则开门失败,返回开门失败信息至移动终端。The door lock terminal decodes the encryption unlock command, obtains the unlock command, and compares it with the local preset unlock command. If it matches, the door is opened, and the door open success information is returned to the mobile terminal. If it does not match, the door fails to be opened, and the door is opened. Failure information to the mobile terminal.
步骤S410和S412可以通过如图5所示的步骤实现:Steps S410 and S412 can be implemented by the steps shown in FIG. 5:
步骤S502,触发移动终端的解锁展示界面。Step S502, triggering an unlock display interface of the mobile terminal.
上述的移动终端具有触敏显示器,触敏显示器可以用于显示用户界面(即解锁展示界面),在接收移动终端发送的解锁指令之前,本申请的控制方法还包括:当触敏显示器显示用户界面时,移动终端检测与触敏显示器的接触;以及当检测到的接触位于用户界面的解锁区域时,移动终端发送解锁指令至门锁终端或通过服务器发送解锁指令至门锁终端。The mobile terminal has a touch-sensitive display, and the touch-sensitive display can be used for displaying a user interface (ie, unlocking the display interface). Before receiving the unlocking command sent by the mobile terminal, the control method of the present application further includes: when the touch-sensitive display displays the user interface The mobile terminal detects contact with the touch sensitive display; and when the detected contact is located in the unlocked area of the user interface, the mobile terminal sends an unlock command to the door lock terminal or sends an unlock command to the door lock terminal through the server.
可选地,用户可以通过手机端的应用实现开启门锁的操作,在用户需要开门时,通过手机进入应用的解锁界面,若订单处于有效期内,则可以通过点击解锁界面的解 锁区域来实现开门操作。Optionally, the user can open the door lock through the application of the mobile phone. When the user needs to open the door, the unlock interface of the application is accessed through the mobile phone. If the order is within the validity period, the solution can be unlocked by clicking the unlock interface. Lock the area to achieve the door opening operation.
需要说明的是,当移动终端与门锁终端在一定时间内无法建立连接时,移动终端默认开门请求失败。当移动终端与门锁终端连接失败,或者用户不能通过解锁界面开门时,用户可以通过移动终端重新请求解锁指令。It should be noted that when the mobile terminal and the door lock terminal cannot establish a connection within a certain time, the mobile terminal fails to open the door by default. When the connection between the mobile terminal and the door lock terminal fails, or the user cannot open the door through the unlock interface, the user can re-request the unlock command through the mobile terminal.
在需要的时候,权限账户可以通过服务器请求解锁指令,服务器收到请求后重新生成对应的解锁指令并下发至门锁终端和移动终端。When required, the privilege account can request an unlock command through the server, and the server regenerates the corresponding unlock command after being received by the server and delivers the command to the door lock terminal and the mobile terminal.
步骤S504,对应的门锁终端接收加密解锁指令。Step S504, the corresponding door lock terminal receives the encrypted unlock instruction.
在用户点击了解锁界面的解锁区域后,手机就会将加密后的解锁指令发送到门锁终端。After the user clicks on the unlocked area of the unlock interface, the mobile phone sends the encrypted unlock command to the door lock terminal.
步骤S506,判断加密解锁指令与门锁终端存储的预设加密解锁指令是否匹配。Step S506, determining whether the encryption unlocking instruction matches the preset encryption unlocking instruction stored by the door lock terminal.
可选地,门锁终端判断加密解锁指令与门锁终端存储的预设加密解锁指令是否匹配,不匹配就执行步骤S508,否则执行步骤S510。Optionally, the door lock terminal determines whether the encryption unlock command matches the preset encryption unlock command stored by the door lock terminal, and if yes, step S508 is performed; otherwise, step S510 is performed.
可选地,上述判断加密解锁指令与预设加密解锁指令是否匹配可以是判断加密解锁指令与预设加密解锁指令的数据长度是否一致,也可以是判断加密解锁指令与预设加密解锁指令的校验码是否一致,校验码的位数为12位。Optionally, whether the determining whether the encryption unlocking instruction matches the preset encryption unlocking instruction may be determining whether the data length of the encryption unlocking instruction and the preset encryption unlocking instruction are consistent, or may be determining the encryption unlocking instruction and the preset encryption unlocking instruction. Whether the code is consistent or not, the number of digits of the check code is 12 bits.
步骤S508,返回开门失败信息至移动终端。Step S508, returning the door opening failure information to the mobile terminal.
步骤S510,判断解锁指令与预设解锁指令是否匹配。Step S510, determining whether the unlocking instruction matches the preset unlocking instruction.
可选地,门锁终端的解码模块对预设加密解锁指令和加密解锁指令进行解码,即先取出预设加密解锁指令和加密解锁指令的12位验证码数据,然后利用哈希算法对剩余的数据进行处理,以分别得到预设解锁指令和解锁指令,并判断解锁指令与预设解锁指令是否匹配,若匹配则执行步骤S512,否则执行步骤S508。Optionally, the decoding module of the door lock terminal decodes the preset encryption unlocking instruction and the encryption unlocking instruction, that is, firstly extracts the 12-bit verification code data of the preset encryption unlocking instruction and the encryption unlocking instruction, and then uses the hash algorithm to calculate the remaining The data is processed to obtain a preset unlocking command and an unlocking command respectively, and it is determined whether the unlocking command matches the preset unlocking command. If yes, step S512 is performed; otherwise, step S508 is performed.
步骤S512,返回开门成功信息至移动终端。Step S512, returning the door opening success information to the mobile terminal.
在解锁成功后,门锁终端开启智能门锁,并返回开门成功信息至手机端,以提示用户开门成功。After the unlocking is successful, the door lock terminal opens the smart door lock and returns the door opening success information to the mobile phone end to prompt the user to open the door successfully.
通过上述实施例,用户可以通过手机应用实现开门操作,即使在开门失败时,也能通过更新密钥来重新开启门锁,从而可以进一步地提升用户的体验度。Through the above embodiment, the user can implement the door opening operation through the mobile phone application, and even when the door opening fails, the door lock can be re-opened by updating the key, thereby further improving the user experience.
可选地,在开启智能门锁之后,该控制方法还可以包括如下步骤:判断智能门锁的开启时间是否达到第一预设时间;在开启时间达到第一预设时间的情况下,检测门 的开闭状态;若门处于关闭状态,则关闭智能门锁;若门处于开启状态,则判断门的开门时间是否达到第二预设时间;在开门时间达到第二预设时间的情况下,生成报警信息。Optionally, after the smart door lock is enabled, the control method may further include the following steps: determining whether the opening time of the smart door lock reaches a first preset time; and detecting the door when the opening time reaches the first preset time The opening and closing state; if the door is in the closed state, the smart door lock is closed; if the door is in the open state, it is determined whether the door opening time reaches the second preset time; when the door opening time reaches the second preset time, Generate an alarm message.
上述第一预设时间和第二预设时间可以是1分钟、5分钟或者用户设定的值。The first preset time and the second preset time may be 1 minute, 5 minutes, or a value set by a user.
可选地,在用户通过移动终端开门成功后,门锁会在一定时间内呈开启状态,方便客户进入房间,在门锁的开启时间达到5分钟时,会自动检测门的开闭状态,若门处于关闭状态,智能门锁就会自动锁定,若门处于开启状态,就可能是客户已经进入房间,但是客户忘记了关门,在门的开门时间达到5分钟时,就会发出警示音以提醒客户关门。Optionally, after the user successfully opens the door through the mobile terminal, the door lock is opened for a certain period of time, which is convenient for the customer to enter the room. When the door lock opening time reaches 5 minutes, the door opening and closing state is automatically detected. When the door is closed, the smart door lock will be automatically locked. If the door is open, the customer may have entered the room, but the customer has forgotten to close the door. When the door opening time reaches 5 minutes, a warning tone will be sounded to remind The customer closes.
需要说明的是,在门锁定后,在没有正确的开门信号的情况下,外人不能从房间外开门,但是,房间客户可以通过手机设定开门密码并将该密码发送给屋外的其它人员,以使其通过输入正确的密码来开门。It should be noted that after the door is locked, the outsider cannot open the door from outside the room without the correct door opening signal. However, the room customer can set the door opening password through the mobile phone and send the password to other people outside the house. Let it open the door by entering the correct password.
通过上述实施例,在门锁开启一段时间之后自动关闭,在用户忘记关门的情况下提醒用户关门,可以提升房间的安全性,防止外人误入等造成的财物损失。Through the above embodiment, the door lock is automatically closed after being opened for a period of time, and when the user forgets to close the door, the user is reminded to close the door, which can improve the safety of the room and prevent the loss of property caused by an external person entering the door.
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请并不受所描述的动作顺序的限制,因为依据本申请,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本申请所必须的。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 application is not limited by the described action sequence. Because certain steps may be performed in other sequences or concurrently in accordance with the present application. In the following, 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 application.
本申请实施例还提供了一种智能门锁的控制装置。需要说明的是,本申请实施例的智能门锁的控制装置可以用于执行本申请实施例所提供的智能门锁的控制方法,本申请实施例的智能门锁的控制方法也可以通过本申请实施例所提供的智能门锁的控制装置来执行。The embodiment of the present application also provides a control device for a smart door lock. It should be noted that the control device for the smart door lock of the embodiment of the present application can be used to implement the control method of the smart door lock provided by the embodiment of the present application. The control method of the smart door lock of the embodiment of the present application can also pass the present application. The control device of the smart door lock provided by the embodiment is executed.
图6是根据本申请实施例的智能门锁的控制装置的示意图。如图6所示,该控制装置可以包括:通讯模块40、接收模块50以及开锁模块60,其中,通讯模块40用于建立与移动终端的无线连接;接收模块50用于接收移动终端发送的解锁指令;开锁模块60用于基于解锁指令确定是否开启智能门锁。FIG. 6 is a schematic diagram of a control device for a smart door lock according to an embodiment of the present application. As shown in FIG. 6, the control device may include: a communication module 40, a receiving module 50, and an unlocking module 60, wherein the communication module 40 is configured to establish a wireless connection with the mobile terminal; and the receiving module 50 is configured to receive the unlocking sent by the mobile terminal. The unlocking module 60 is configured to determine whether to open the smart door lock based on the unlocking instruction.
通过上述实施例,服务器将基于账户信息生成的预设解锁指令发送至门锁终端,在需要开门时,移动终端将解锁指令发送至门锁终端,门锁终端判断解锁指令与预设解锁指令是否匹配,若二者匹配,则开启智能门锁。本申请通过采用与门锁终端无线连接的移动终端来实现开门操作,从而解决了相关技术中进行开门操作时用户体验较 差的技术问题,达到了提升用户体验的效果。Through the above embodiment, the server sends a preset unlocking command generated based on the account information to the door lock terminal. When the door needs to be opened, the mobile terminal sends an unlocking command to the door lock terminal, and the door lock terminal determines whether the unlocking command and the preset unlocking command are Match, if the two match, turn on the smart door lock. The application realizes the door opening operation by adopting the mobile terminal wirelessly connected with the door lock terminal, thereby solving the user experience when the door opening operation is performed in the related art. Poor technical problems have achieved the effect of improving the user experience.
可选地,移动终端具有触敏显示器,触敏显示器用于显示用户界面,控制装置还包括:检测模块,用于在接收移动终端发送的解锁指令之前,当触敏显示器显示用户界面时,移动终端检测与触敏显示器的接触;以及发送模块,用于当检测到的接触位于用户界面的解锁区域时,移动终端发送解锁指令至门锁终端或通过服务器发送解锁指令至门锁终端。Optionally, the mobile terminal has a touch sensitive display, the touch sensitive display is used to display the user interface, and the control device further includes: a detecting module, configured to move when the touch sensitive display displays the user interface before receiving the unlocking instruction sent by the mobile terminal The terminal detects contact with the touch-sensitive display; and a transmitting module, configured to: when the detected contact is located in the unlocked area of the user interface, the mobile terminal sends an unlock command to the door lock terminal or sends an unlock command to the door lock terminal through the server.
在用户的入住时间到来之后并且在离店时间之前,可以通过移动终端的触敏显示器展示解锁界面,解锁界面展示的信息包括酒店名称、入住时间、房间信息,用户是否在店,以及密码,在用户的入住时间段内,解锁界面内的解锁区域(即图2示出的圆形A)处于可点击状态,否则处于不可点击状态,用户可通过长按圆形A来解锁,当移动终端检测到用户触摸解锁区域的时间达到第三预设时间的时候就通过无线网络向门锁终端发送加密解锁指令,对应的门锁终端在接收到加密解锁指令后,将其与门锁终端存储的预设解锁指令进行比对,若二者匹配则门锁开启,若匹配失败则发出警告信息。After the user's check-in time arrives and before the departure time, the unlocking interface can be displayed through the touch-sensitive display of the mobile terminal. The information displayed on the unlocking interface includes the hotel name, check-in time, room information, whether the user is in the store, and the password. During the user's check-in period, the unlocked area in the unlocking interface (ie, the circle A shown in FIG. 2) is in a clickable state, otherwise it is in a non-clickable state, and the user can unlock by long pressing the circle A, when the mobile terminal detects When the time when the user touches the unlocking area reaches the third preset time, the encrypted unlocking instruction is sent to the door lock terminal through the wireless network, and the corresponding door lock terminal stores the encrypted unlocking instruction with the door lock terminal after receiving the encrypted unlocking instruction. Set the unlock command for comparison. If the two match, the door lock is opened. If the match fails, a warning message is issued.
通过上述实施例,用户可以通过随身携带的手机或者平板电脑等移动终端开启门锁,提高了用户的体验度。Through the above embodiments, the user can open the door lock by using a mobile terminal such as a mobile phone or a tablet computer that is carried around, thereby improving the user experience.
本实施例中所提供的各个模块与方法实施例对应步骤所提供的使用方法相同、应用场景也可以相同,如上述通讯模块40、接收模块50以及开锁模块60对应于前述实施例中的步骤S302至步骤S306。当然,需要注意的是,上述模块涉及的方案可以不限于上述实施例中的内容和场景,且上述模块可以运行在计算机终端或移动终端,可以通过软件或硬件实现。The respective modules provided in this embodiment are the same as the usage methods provided in the corresponding steps of the method embodiment, and the application scenarios may be the same. For example, the communication module 40, the receiving module 50, and the unlocking module 60 correspond to step S302 in the foregoing embodiment. Go to step S306. Of course, it should be noted that the solution involved in the above module may not be limited to the content and scenario in the foregoing embodiment, and the foregoing module may be run on a computer terminal or a mobile terminal, and may be implemented by software or hardware.
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the embodiments of the present application are merely for the description, and do not represent the advantages and disadvantages of the embodiments.
在本申请的上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above-mentioned embodiments of the present application, the descriptions of the various embodiments are different, and the parts that are not detailed in a certain embodiment can be referred to the related descriptions of other embodiments.
在本申请所提供的几个实施例中,应该理解到,所揭露的技术内容,可通过其它的方式实现。其中,以上所描述的装置实施例仅仅是示意性的,例如单元的划分,可以为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,单元或模块的间接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided by the present application, it should be understood that the disclosed technical contents may be implemented in other manners. The device embodiments described above are only schematic. For example, the division of cells may be a logical function division. In actual implementation, there may be another division manner. For example, multiple units or components may be combined or integrated 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, unit or module, and may be electrical or otherwise.
作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的 部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separate, displayed as a unit The components may or may not be physical units, ie may be located in one place or may be distributed over multiple units. 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 application 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)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。An integrated unit, if implemented in the form of a software functional unit and sold or used as a standalone product, can be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application, in essence or the contribution 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, server or network device, etc.) to perform all or part of the steps of the various embodiments of the present application. 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 is only a preferred embodiment of the present application, and it should be noted that those skilled in the art can also make several improvements and retouchings without departing from the principles of the present application. These improvements and retouchings should also be considered. This is the scope of protection of this application.

Claims (12)

  1. 一种智能门锁的控制方法,包括:A method for controlling a smart door lock, comprising:
    建立与移动终端的无线连接;Establish a wireless connection with the mobile terminal;
    接收所述移动终端发送的解锁指令;以及Receiving an unlocking instruction sent by the mobile terminal;
    基于所述解锁指令确定是否开启智能门锁。Whether to activate the smart door lock is determined based on the unlocking instruction.
  2. 根据权利要求1所述的控制方法,其中,所述移动终端具有触敏显示器,所述触敏显示器用于显示用户界面,在接收所述移动终端发送的解锁指令之前,所述控制方法还包括:The control method according to claim 1, wherein the mobile terminal has a touch-sensitive display for displaying a user interface, and the control method further comprises, before receiving the unlocking instruction sent by the mobile terminal :
    当所述触敏显示器显示所述用户界面时,所述移动终端检测与所述触敏显示器的接触;以及The mobile terminal detects contact with the touch sensitive display when the touch sensitive display displays the user interface;
    当检测到的所述接触位于所述用户界面的解锁区域时,所述移动终端发送所述解锁指令至门锁终端或通过服务器发送所述解锁指令至所述门锁终端。When the detected contact is located in an unlocked area of the user interface, the mobile terminal sends the unlocking command to a door lock terminal or sends the unlocking command to the door lock terminal through a server.
  3. 根据权利要求2所述的控制方法,其中,在基于所述解锁指令确定是否开启智能门锁之前,所述控制方法还包括:The control method according to claim 2, wherein before the determining whether to open the smart door lock based on the unlocking instruction, the control method further comprises:
    若所述解锁指令为加密的解锁指令,则对所述加密的解锁指令进行解码,得到未加密的解锁指令。If the unlocking instruction is an encrypted unlocking instruction, the encrypted unlocking instruction is decoded to obtain an unencrypted unlocking instruction.
  4. 根据权利要求1或3所述的控制方法,其中,基于所述解锁指令确定是否开启智能门锁包括:The control method according to claim 1 or 3, wherein determining whether to activate the smart door lock based on the unlocking instruction comprises:
    判断所述解锁指令与预设解锁指令是否匹配;以及Determining whether the unlocking instruction matches a preset unlocking instruction;
    在所述解锁指令与所述预设解锁指令匹配的情况下,开启所述智能门锁。In the case that the unlocking instruction matches the preset unlocking command, the smart door lock is turned on.
  5. 根据权利要求4所述的控制方法,其中,在开启所述智能门锁之后,所述控制方法还包括:The control method according to claim 4, wherein after the smart door lock is opened, the control method further comprises:
    判断所述智能门锁的开启时间是否达到第一预设时间;Determining whether the opening time of the smart door lock reaches a first preset time;
    在所述开启时间达到所述第一预设时间的情况下,检测门的开闭状态;When the opening time reaches the first preset time, detecting an opening and closing state of the door;
    若所述门处于关闭状态,则关闭所述智能门锁;Closing the smart door lock if the door is in a closed state;
    若所述门处于开启状态,则判断所述门的开门时间是否达到第二预设时间; 以及If the door is in an open state, determining whether the door opening time of the door reaches a second preset time; as well as
    在所述开门时间达到所述第二预设时间的情况下,生成报警信息。When the door opening time reaches the second preset time, an alarm message is generated.
  6. 根据权利要求4所述的控制方法,其中,所述预设解锁指令在预设时间段内有效,在判断所述解锁指令与预设解锁指令是否匹配之后,所述控制方法还包括:The control method according to claim 4, wherein the preset unlocking command is valid for a preset time period, and after determining whether the unlocking command and the preset unlocking command are matched, the control method further includes:
    在所述解锁指令与所述预设解锁指令不匹配的情况下,发送解锁失败信息至所述移动终端。And if the unlocking instruction does not match the preset unlocking instruction, sending an unlocking failure information to the mobile terminal.
  7. 根据权利要求1所述的控制方法,其中,在建立与移动终端的无线连接的步骤中,采用的连接方式为蓝牙、WIFI、GPRS、2G、3G、4G及RFID中的任意一种。The control method according to claim 1, wherein in the step of establishing a wireless connection with the mobile terminal, the connection mode adopted is any one of Bluetooth, WIFI, GPRS, 2G, 3G, 4G, and RFID.
  8. 一种智能门锁的控制装置,包括:A smart door lock control device includes:
    通讯模块,用于建立与移动终端的无线连接;a communication module for establishing a wireless connection with the mobile terminal;
    接收模块,用于接收所述移动终端发送的解锁指令;以及a receiving module, configured to receive an unlocking instruction sent by the mobile terminal;
    开锁模块,用于基于所述解锁指令确定是否开启智能门锁。And an unlocking module, configured to determine whether to open the smart door lock based on the unlocking instruction.
  9. 根据权利要求8所述的控制装置,其中,所述移动终端具有触敏显示器,所述触敏显示器用于显示用户界面,所述控制装置还包括:The control device according to claim 8, wherein the mobile terminal has a touch-sensitive display, the touch-sensitive display is used to display a user interface, and the control device further comprises:
    检测模块,用于在接收所述移动终端发送的解锁指令之前,当所述触敏显示器显示所述用户界面时,所述移动终端检测与所述触敏显示器的接触;以及a detecting module, configured to detect contact with the touch-sensitive display when the touch-sensitive display displays the user interface before receiving an unlocking instruction sent by the mobile terminal;
    发送模块,用于当检测到的所述接触位于所述用户界面的解锁区域时,所述移动终端发送所述解锁指令至门锁终端或通过服务器发送所述解锁指令至所述门锁终端。And a sending module, configured to: when the detected contact is located in an unlocking area of the user interface, the mobile terminal sends the unlocking instruction to a door lock terminal or sends the unlocking instruction to the door lock terminal by using a server.
  10. 一种智能门控系统,包括:An intelligent door control system comprising:
    服务器,与门锁终端连接,用于发送基于账户信息生成的预设解锁指令至所述门锁终端;a server, connected to the door lock terminal, configured to send a preset unlocking command generated based on the account information to the door lock terminal;
    移动终端,与所述门锁终端和所述服务器无线连接,用于执行发送解锁指令至所述门锁终端或通过所述服务器发送所述解锁指令至所述门锁终端的解锁操作;以及a mobile terminal wirelessly connected to the door lock terminal and the server, configured to perform an unlocking operation of transmitting an unlocking command to the door lock terminal or transmitting the unlocking command to the door lock terminal through the server;
    所述门锁终端,用于在接收到的所述解锁指令与所述预设解锁指令匹配的情况下,开启智能门锁。The door lock terminal is configured to enable the smart door lock if the received unlocking command matches the preset unlocking command.
  11. 根据权利要求10所述的智能门控系统,其中,所述服务器还用于在所述账户信息 发生变化时,将基于变化后的所述账户信息生成的所述预设解锁指令重新发送至所述门锁终端。The intelligent gating system of claim 10 wherein said server is further for use in said account information When the change occurs, the preset unlocking command generated based on the changed account information is resent to the door lock terminal.
  12. 根据权利要求10或11所述的智能门控系统,其中,所述移动终端具有触敏显示器,所述触敏显示器用于显示用户界面,其中,当所述触敏显示器显示所述用户界面时,所述移动终端还用于检测与所述触敏显示器的接触,当检测到的所述接触位于所述用户界面的解锁区域时,所述移动终端执行所述解锁操作。 A smart gating system according to claim 10 or 11, wherein said mobile terminal has a touch sensitive display for displaying a user interface, wherein when said touch sensitive display displays said user interface The mobile terminal is further configured to detect contact with the touch-sensitive display, and when the detected contact is located in an unlocked area of the user interface, the mobile terminal performs the unlocking operation.
PCT/CN2016/080960 2015-11-04 2016-05-04 Method and device for controlling intelligent door lock, and intelligent door control system WO2017075952A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510741121.6A CN105321240B (en) 2015-11-04 2015-11-04 The control method and device and Intelligent door control system of intelligent door lock
CN201510741121.6 2015-11-04

Publications (1)

Publication Number Publication Date
WO2017075952A1 true WO2017075952A1 (en) 2017-05-11

Family

ID=55248546

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/080960 WO2017075952A1 (en) 2015-11-04 2016-05-04 Method and device for controlling intelligent door lock, and intelligent door control system

Country Status (3)

Country Link
CN (1) CN105321240B (en)
HK (1) HK1217052A1 (en)
WO (1) WO2017075952A1 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110363888A (en) * 2019-05-29 2019-10-22 深圳绿米联创科技有限公司 Door lock management method, device, electronic equipment and read/write memory medium
CN110398900A (en) * 2019-07-22 2019-11-01 密码精灵有限公司 Long-range control method, device, medium and the server of Intelligent illumination device
CN111275862A (en) * 2020-02-14 2020-06-12 京东方科技集团股份有限公司 Unlocking method, door lock and door lock system
CN111866783A (en) * 2019-12-27 2020-10-30 北京骑胜科技有限公司 Order processing method and device, computer equipment and storage medium
CN113341735A (en) * 2020-02-18 2021-09-03 佛山市云米电器科技有限公司 Control method of intelligent door, intelligent door and storage medium
EP3886058A1 (en) * 2020-03-25 2021-09-29 Beijing Xiaomi Mobile Software Co., Ltd. Hotel room door check-in
CN114495338A (en) * 2022-03-10 2022-05-13 珠海格力电器股份有限公司 Door lock control method and device, electronic equipment and storage medium

Families Citing this family (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105321240B (en) * 2015-11-04 2018-02-16 北京果加智能科技有限公司 The control method and device and Intelligent door control system of intelligent door lock
CN105913532A (en) * 2016-06-24 2016-08-31 广东欧珀移动通信有限公司 Access control method, device and system
CN106898065B (en) * 2017-01-21 2020-01-17 云丁网络技术(北京)有限公司 Unlocking method of intelligent door lock
CN106968525A (en) * 2017-03-27 2017-07-21 深圳市华盈联创数字技术有限公司 The remote control exchange method and system of a kind of intelligent door lock
CN107067522A (en) * 2017-05-26 2017-08-18 协鑫电力设计研究有限公司 Guest room control method for door lock and system
CN107204061A (en) * 2017-06-24 2017-09-26 武汉慧居宝互联科技有限公司 A kind of mobile phone open-door system based on technology of Internet of things
CN107701064A (en) * 2017-10-17 2018-02-16 移康智能科技(上海)股份有限公司 The based reminding method and intelligent door of intelligent door
CN108053527A (en) * 2017-12-11 2018-05-18 上海众人网络安全技术有限公司 A kind of control method of intelligent door lock, apparatus and system
CN109979073B (en) * 2017-12-27 2021-03-23 杭州海康威视数字技术股份有限公司 Pedestrian passageway gate control method and device and pedestrian passageway gate
CN108035621B (en) * 2017-12-29 2019-12-03 深圳市欧瑞博科技有限公司 A kind of intelligent door lock control method and device
US20210256784A1 (en) * 2018-06-28 2021-08-19 Metis Ip (Suzhou) Llc Intelligent door lock control method, related device and system
CN108961501A (en) * 2018-06-28 2018-12-07 云丁网络技术(北京)有限公司 A kind of intelligent door lock control method, relevant device and system
CN109379403B (en) * 2018-09-12 2021-04-06 珠海德百祺科技有限公司 Control method and device of Internet of things equipment, server and terminal equipment
CN109584414A (en) * 2018-11-16 2019-04-05 江苏科技大学 A kind of control method of access control system
CN112200937A (en) * 2019-06-20 2021-01-08 深圳市银方加博科技有限公司 Door lock control method, door lock and intelligent door
CN110379060A (en) * 2019-07-23 2019-10-25 移康智能科技(上海)股份有限公司 Smart lock based on Intelligent internet of things locks method
CN111258603A (en) * 2020-01-10 2020-06-09 青岛海信智慧家居系统股份有限公司 Intelligent door lock firmware upgrading method and intelligent door lock
CN111554014A (en) * 2020-05-30 2020-08-18 德施曼机电(中国)有限公司 Face recognition door lock system
CN111882706A (en) * 2020-07-13 2020-11-03 深圳市国邦泰富科技有限公司 Intelligent house management method
CN115457682A (en) * 2021-06-09 2022-12-09 华为技术有限公司 Unlocking method, device and storage medium
CN115100767A (en) * 2022-06-27 2022-09-23 深圳市永达电子信息股份有限公司 Control system and method of remote control door

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040205350A1 (en) * 2000-08-28 2004-10-14 Paul Waterhouse Low cost secure ID card and system
CN103248484A (en) * 2013-04-03 2013-08-14 张泽 Door access control system and method
EP1423826B1 (en) * 2001-05-22 2014-07-09 Ericsson Inc. Security system
CN104091219A (en) * 2013-11-22 2014-10-08 张泽 Intelligent door lock hotel unified management system and realizing method thereof
CN104217478A (en) * 2014-08-13 2014-12-17 王波 Hotel Bluetooth access control intelligent management method
CN104574599A (en) * 2014-12-30 2015-04-29 张泽 Authentication method and device, and intelligent door lock
CN104574598A (en) * 2014-12-29 2015-04-29 张泽 Centralized control method and system for intelligent door lock
CN104851169A (en) * 2015-05-25 2015-08-19 惠州Tcl移动通信有限公司 Wireless smart lock and unlocking control method thereof
CN105321240A (en) * 2015-11-04 2016-02-10 张泽 Control method and device of intelligent door lock and intelligent door control system

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1843237A3 (en) * 2006-03-17 2012-08-08 Phoniro AB Wake-up device and method for generating a control signal
CN201072585Y (en) * 2007-08-09 2008-06-11 肖声扬 Door closing reminder
CN104063935B (en) * 2014-06-30 2015-04-15 深圳市同创新佳科技有限公司 Hotel guest room management method and system based on electronic key management server
CN104517336B (en) * 2014-12-09 2017-11-14 深圳市麦驰安防技术有限公司 Yunmen access control system and its implementation based on mobile internet
CN104766398B (en) * 2015-04-28 2017-10-20 李翀 A kind of door access control system and method
CN104929498B (en) * 2015-06-25 2017-05-24 苏州工业职业技术学院 Intelligent safety door and control method thereof

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040205350A1 (en) * 2000-08-28 2004-10-14 Paul Waterhouse Low cost secure ID card and system
EP1423826B1 (en) * 2001-05-22 2014-07-09 Ericsson Inc. Security system
CN103248484A (en) * 2013-04-03 2013-08-14 张泽 Door access control system and method
CN104091219A (en) * 2013-11-22 2014-10-08 张泽 Intelligent door lock hotel unified management system and realizing method thereof
CN104217478A (en) * 2014-08-13 2014-12-17 王波 Hotel Bluetooth access control intelligent management method
CN104574598A (en) * 2014-12-29 2015-04-29 张泽 Centralized control method and system for intelligent door lock
CN104574599A (en) * 2014-12-30 2015-04-29 张泽 Authentication method and device, and intelligent door lock
CN104851169A (en) * 2015-05-25 2015-08-19 惠州Tcl移动通信有限公司 Wireless smart lock and unlocking control method thereof
CN105321240A (en) * 2015-11-04 2016-02-10 张泽 Control method and device of intelligent door lock and intelligent door control system

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110363888A (en) * 2019-05-29 2019-10-22 深圳绿米联创科技有限公司 Door lock management method, device, electronic equipment and read/write memory medium
CN110398900A (en) * 2019-07-22 2019-11-01 密码精灵有限公司 Long-range control method, device, medium and the server of Intelligent illumination device
CN110398900B (en) * 2019-07-22 2022-07-19 密码精灵有限公司 Remote control method, device, medium and server for intelligent lighting equipment
CN111866783A (en) * 2019-12-27 2020-10-30 北京骑胜科技有限公司 Order processing method and device, computer equipment and storage medium
CN111275862A (en) * 2020-02-14 2020-06-12 京东方科技集团股份有限公司 Unlocking method, door lock and door lock system
CN113341735A (en) * 2020-02-18 2021-09-03 佛山市云米电器科技有限公司 Control method of intelligent door, intelligent door and storage medium
EP3886058A1 (en) * 2020-03-25 2021-09-29 Beijing Xiaomi Mobile Software Co., Ltd. Hotel room door check-in
US11263846B2 (en) 2020-03-25 2022-03-01 Beijing Xiaomi Mobile Software Co., Ltd. Authentication method and user equipment
US11875622B2 (en) 2020-03-25 2024-01-16 Beijing Xiaomi Mobile Software Co., Ltd. Authentication method and user equipment
CN114495338A (en) * 2022-03-10 2022-05-13 珠海格力电器股份有限公司 Door lock control method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN105321240A (en) 2016-02-10
HK1217052A1 (en) 2016-12-16
CN105321240B (en) 2018-02-16

Similar Documents

Publication Publication Date Title
WO2017075952A1 (en) Method and device for controlling intelligent door lock, and intelligent door control system
US11354955B2 (en) Universal access control device
US11830306B2 (en) Systems and methods for controlling access to physical space
US11438169B2 (en) Time-bound secure access
KR101829018B1 (en) Digital doorlock system
CN104517338B (en) Distance entrance and its implementation based on wireless network
US10171444B1 (en) Securitization of temporal digital communications via authentication and validation for wireless user and access devices
CN104778765B (en) mobile access control system and method
CN105593911B (en) Access control method and access control system
RU2608002C2 (en) Handling encoded information
US10318854B2 (en) Systems and methods for protecting sensitive information stored on a mobile device
EP1980049A1 (en) Wireless authentication
CN206522020U (en) A kind of intelligent door lock and system
JP5359848B2 (en) IC card authentication system and IC card authentication method
CN106716429A (en) Monitoring method and device, and electronic equipment
US20220255929A1 (en) Systems and methods for preventing unauthorized network access
CN104820805A (en) Method and device for burglary prevention of user identity identification card information
KR20180062692A (en) Method, user terminal, door lock device and entry security system for controlling of opening and closing door
US10645070B2 (en) Securitization of temporal digital communications via authentication and validation for wireless user and access devices
TWM557769U (en) Electronic lock and information login system capable of enhancing accuracy of information login
KR102199091B1 (en) Door lock control system and operating method thereof
TWI624580B (en) Electronic lock, information login system and method for improving information
CN117119030A (en) Remote control method, device, equipment and medium for intelligent packaging bag
KR20230123283A (en) Smart door lock device linked to a blockchain-based contact app
WO2019045960A1 (en) Temporal identity vaulting

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

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

Country of ref document: EP

Kind code of ref document: A1