WO2020215749A1 - Method and apparatus for controlling intelligent door lock, and system, terminal and storage medium - Google Patents

Method and apparatus for controlling intelligent door lock, and system, terminal and storage medium Download PDF

Info

Publication number
WO2020215749A1
WO2020215749A1 PCT/CN2019/125507 CN2019125507W WO2020215749A1 WO 2020215749 A1 WO2020215749 A1 WO 2020215749A1 CN 2019125507 W CN2019125507 W CN 2019125507W WO 2020215749 A1 WO2020215749 A1 WO 2020215749A1
Authority
WO
WIPO (PCT)
Prior art keywords
app
interface
door lock
smart door
control
Prior art date
Application number
PCT/CN2019/125507
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 WO2020215749A1 publication Critical patent/WO2020215749A1/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
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00309Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated with bidirectional data transmission between data carrier and locks
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/725Cordless telephones

Definitions

  • the present disclosure relates to the technical field of door locks, and in particular to a control method, device, system, terminal and storage medium of a smart door lock.
  • the current smart door lock can be controlled through a terminal.
  • the specific terminal is pre-installed with an APP for controlling the smart door lock.
  • the APP installed in the terminal can be used to unlock and close the smart door lock and perform smart lock operations.
  • the monitoring of the opening state of the door lock, etc. solves the trouble that people forget to bring the key or forget the unlock password.
  • the user uses the APP to operate the smart door lock, he may not log out of the APP. At this time, the APP and the smart door lock are still connected. If the terminal is lost and picked up by someone else at this time, the APP in the background running state will be called out, and the APP and the smart door lock are still connected, and other people can directly use the APP to maliciously control the smart door lock. Cause a great safety hazard.
  • the control method known to the inventor cannot guarantee the security of the smart door lock control.
  • the embodiment of the present disclosure provides a method for controlling a smart door lock, the method including:
  • the detecting whether the current interface is an interface of an APP that performs smart door lock control, and jumping to other interfaces other than the interface of the APP include:
  • the detecting whether the current interface is an interface of an APP that performs smart door lock control, and jumping to other interfaces other than the interface of the APP include:
  • the detecting whether the current interface is an interface of an APP that performs smart door lock control, and jumping to other interfaces other than the interface of the APP include:
  • the disconnecting the APP from the smart door lock includes:
  • the state of the pointer to the APP in the control task manager changes, so that the APP disconnects from the smart door lock according to the state of the changed pointer.
  • the method further includes:
  • An embodiment of the present disclosure provides a control device for a smart door lock, the device includes:
  • the detection module is used to detect whether the current interface is the interface of the APP that performs smart door lock control, and jump to other interfaces than the interface of the APP;
  • the control module is used to disconnect the APP from the smart door lock and control the APP to log out when the current interface jumps from the APP interface to another interface other than the APP interface. And clear the login information of the APP.
  • the detection module is specifically configured to detect whether the Home button is triggered when the display interface is the interface of the APP; if it is, it is determined that the current interface is from the interface of the APP and jumps to a non-all. The other interfaces of the APP interface are described.
  • the detection module is specifically configured to detect whether the lock screen key is triggered when the display interface is the interface of the APP; if it is, it is determined that the current interface is from the interface of the APP and jumps to non Other interfaces of the interface of the APP.
  • the detection module is specifically configured to detect whether the return key is triggered when the display interface is the main interface of the APP; if it is, it is determined that the current interface is from the APP interface and jumps to non Other interfaces of the interface of the APP.
  • control module is specifically configured to control the state of the pointer to the APP in the task manager to change, so that the APP is disconnected from the smart door according to the state of the changed pointer. The connection of the lock.
  • the device further includes:
  • the sending module is configured to send instructions to the smart door lock, so that the smart door lock receives the instruction indicating that it is in a disconnected state from the APP.
  • the embodiment of the present disclosure provides a control system for a smart door lock, the system including: a terminal including any of the above-mentioned control devices for the smart door lock, and a smart door lock controlled by the terminal.
  • the embodiments of the present disclosure provide a terminal, including: a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete mutual communication through the communication bus;
  • a computer program is stored in the memory, and when the program is executed by the processor, the processor is caused to execute the steps of any one of the foregoing methods.
  • the embodiments of the present disclosure provide a computer-readable storage medium that stores a computer program executable by a terminal, and when the program runs on the terminal, the terminal executes the steps of any one of the above methods .
  • the embodiments of the present disclosure provide a method, device, system, terminal, and storage medium for controlling a smart door lock.
  • the method includes: detecting whether the current interface is an APP interface that controls the smart door lock, and jumping to a Other interfaces of the APP interface; if yes, disconnect the APP from the smart door lock, control the APP to log out, and clear the APP login information. Since in the embodiments of the present disclosure, if it is detected that the current interface is from the APP interface and jumps to other interfaces that are not the APP interface, it means that the APP is no longer used. In order to ensure the security of the smart door lock control, this When you can disconnect the APP and the smart door lock, control the APP to log out, and clear the APP login information.
  • FIG. 1 is a schematic flowchart of a method for controlling a smart door lock according to Embodiment 1 of the disclosure
  • FIG. 2 is a schematic diagram of a method for controlling a smart door lock according to Embodiment 5 of the disclosure
  • FIG. 3 is a schematic structural diagram of a control device for a smart door lock provided in Embodiment 6 of the disclosure.
  • FIG. 4 is a terminal provided by Embodiment 8 of the disclosure.
  • FIG. 1 is a schematic flowchart of a method for controlling a smart door lock provided by an embodiment of the present disclosure. The process includes the following steps:
  • S101 Detect whether the current interface is the interface of the APP that performs smart door lock control, and jump to other interfaces than the interface of the APP.
  • the control method provided by the embodiments of the present disclosure is applied to a terminal, which can be a mobile phone or a tablet, etc., in order to realize the control of the smart door lock by the terminal, an APP for controlling the smart door lock can be pre-installed in the terminal.
  • the APP in the terminal can open and close the smart door lock or monitor the status of the smart door lock.
  • a communication module with communication function is provided in the terminal, and information interaction with the smart door lock is realized through the communication module.
  • the terminal can detect whether the current interface of the terminal is from the interface of the APP and jump to other interfaces that are not the interface of the APP, where the other interfaces can be the main interface of the terminal or the interface of other APPs in the terminal.
  • the smart door lock is provided with a communication module, and the connection between the smart door lock and the APP is established through the communication module of the smart door lock and the communication module of the terminal.
  • the communication module may be a Bluetooth module.
  • the terminal disconnects the APP from the smart door lock, controls the APP to log out, and clears the APP's login information. After the APP disconnects from the smart door lock and logs out, if you want to use the APP, you can only log in again. When logging in, you need to enter the user name and password information, because the APP’s login information is cleared. If the user is not the user Operation, will not be able to obtain the login user name and password information, and there is no way to use the APP to control the smart door lock.
  • the detection of whether the current interface is controlled by the smart door lock includes:
  • the terminal is generally provided with a Home key, which can be triggered to return to the main interface of the terminal with one key. If the Home button of the terminal is triggered, it means that the user currently most likely wants to operate other apps displayed in the main interface, and because before the Home button is triggered, the terminal’s display interface is the interface of the APP that controls the smart door lock. When the Home button is triggered, the APP will enter the background running state.
  • the display interface is the interface of the APP
  • the current interface is The APP interface
  • jump to other interfaces than the APP interface in order to ensure the safety of the smart door lock control, disconnect the APP and the smart door lock, control the APP to log out, and clear the APP login information .
  • a lock screen key is set in the terminal. After the lock screen key is triggered, the screen of the terminal will be displayed.
  • the lock screen key can be a specific hardware button set on the terminal, or it can be set in the shortcut menu of the terminal Software buttons. As long as the keys that can realize the screen rest of the terminal are the lock screen keys described in the embodiments of the present disclosure.
  • the terminal When the lock screen key is triggered, the terminal will stop the screen regardless of the current display interface. At this time, if the display interface of the terminal is the interface of an APP for smart door lock control, when the user triggers the lock screen key, the terminal will stop the screen, and the APP will enter the background running state. When the terminal is turned on again, the current interface of the terminal is still the interface before the screen, that is, the interface of the APP. In order to prevent other people from operating the APP after the terminal is lost, in the embodiment of the present disclosure, the display interface is In the APP interface, when it is detected that the lock screen key is triggered, it can be determined that the current interface is from the APP interface and jumps to other interfaces other than the APP interface. In order to ensure the security of the smart door lock control, the Open the connection between the APP and the smart door lock, control the APP to log out, and clear the APP's login information.
  • the terminal is also provided with a return key, which can return to the previous interface of the current display interface after being triggered. If the current display interface of the terminal is the main interface of the APP, if the return key is triggered at this time, the APP will enter the background running state, then the display interface of the terminal will jump from the main interface of the APP to the terminal at this time
  • the main interface of the APP is the interface after the user opens the APP and successfully logs in, that is to say, the main interface is the interface without any other operations after the successful login, or the interface without any functions.
  • the display interface is the main interface of the APP
  • the return key when it is detected that the return key is triggered, it can be determined that the current interface is The APP interface jumps to other interfaces other than the APP interface.
  • disconnect the APP and the smart door lock control the APP to log out, and clear the APP’s login information.
  • the disconnecting the APP from the smart door lock includes:
  • the state of the pointer to the APP in the control task manager changes, so that the APP disconnects from the smart door lock according to the state of the changed pointer.
  • each pointer is used to point to each APP installed in the terminal and to indicate the running status of the APP.
  • the pointer can indicate the current state of the APP, where the state of the APP generally includes the background running state and the foreground running state.
  • the state of the APP is the foreground running state.
  • the state of the APP changes from the foreground operation state to the background operation state; and when the display interface is the main interface of the APP, when detecting When the return key is triggered, the state of the APP will also change from the foreground running state to the background running state.
  • the state of the pointer to the APP in the control task manager changes.
  • the APP recognizes that the status of the APP in the task manager has changed, the APP disconnects from the smart door lock.
  • the method further includes:
  • the specific smart door lock may be provided with a display panel or indicator light for indicating.
  • the different colors of the indicator light can be used to indicate whether the smart door lock and the terminal are in a connected state. For example, if the smart door lock is in the connected state, the color of the indicator light is red, and if it is in the disconnected state, the color of the indicator light is green.
  • the instruction sent by the terminal is received through the communication module provided in the smart door lock.
  • the terminal sends an instruction to the smart door lock, and the smart door lock receives the instruction and changes the indicator light according to the instruction
  • the user can determine whether the smart door lock is connected to the APP according to the color of the indicator light.
  • Figure 2 is a schematic flow chart of a method for controlling a smart door lock provided by an embodiment of the present disclosure.
  • the left side in Figure 2 (left and right in the figure) is a mobile phone, that is, a terminal, and the right side in Figure 2 (left and right in the figure) is Smart door lock.
  • the display interface is the interface of the APP
  • the APP when it is detected that the lock screen key or the home key is triggered, the APP is disconnected from the smart door lock, the APP is controlled to log out, and the APP login information is cleared ;
  • the display interface is the main interface of the APP
  • the return button when the return button is detected to be pressed, the APP is disconnected from the smart door lock, the APP is controlled to log out, and the APP login information is cleared, thus ensuring The security of smart door lock control.
  • an indicator light can be set on the smart door lock, which is used to indicate whether the smart door lock is connected to the APP, so the user can determine whether the smart door lock is connected to the APP according to the color of the indicator light.
  • Connection status for example, when the indicator light is red, it means that the APP is connected to the smart door lock, and the user can perform corresponding control operations on the smart door lock on the APP; when the indicator light is green, it means that the APP is connected to the smart door lock.
  • the door lock is disconnected.
  • the terminal can send instructions to the smart door lock through the communication module to inform that the APP in the smart door lock terminal has been disconnected from the smart door lock.
  • the smart door lock receives the message sent by the terminal After the instruction, change the color of the indicator light so that the user can determine whether the smart door lock is connected to the APP according to the color of the indicator light.
  • FIG. 3 is a schematic structural diagram of a control device for a smart door lock provided by an embodiment of the disclosure, and the device includes:
  • the detection module 301 is used to detect whether the current interface is the interface of the APP that performs smart door lock control, and jump to other interfaces other than the interface of the APP;
  • the control module 302 is configured to disconnect the APP from the smart door lock and control the APP to log out when the current interface jumps from the APP interface to another interface other than the APP interface. , And clear the login information of the APP.
  • the detection module 301 is specifically configured to detect whether the Home button is triggered when the display interface is the interface of the APP; if it is, it is determined that the current interface is from the interface of the APP and jumps to non Other interfaces of the interface of the APP.
  • the detection module 301 is specifically configured to detect whether the lock screen key is triggered when the display interface is the interface of the APP; if it is, it is determined that the current interface is from the interface of the APP and jumps to Other interfaces than the interface of the APP.
  • the detection module 301 is specifically configured to detect whether the return key is triggered when the display interface is the main interface of the APP; if it is, it is determined that the current interface is jumped from the APP interface to Other interfaces than the interface of the APP.
  • control module 302 is specifically configured to control the state of the pointer to the APP in the task manager to change, so that the APP disconnects from the smart device according to the changed state of the pointer.
  • the connection of the door lock is specifically configured to control the state of the pointer to the APP in the task manager to change, so that the APP disconnects from the smart device according to the changed state of the pointer. The connection of the door lock.
  • the device further includes:
  • the sending module 303 is configured to send an instruction to the smart door lock, so that the smart door lock receives the instruction and indicates that it is in a disconnected state from the APP.
  • the embodiment of the present disclosure provides a control system for a smart door lock, the system including: a terminal including any of the above-mentioned control devices for the smart door lock, and a smart door lock controlled by the terminal.
  • the detecting whether the current interface is an interface of an APP that performs smart door lock control, and jumping to other interfaces other than the interface of the APP include:
  • the detecting whether the current interface is an interface of an APP that performs smart door lock control, and jumping to other interfaces other than the interface of the APP include:
  • the detecting whether the current interface is an interface of an APP that performs smart door lock control, and jumping to other interfaces other than the interface of the APP include:
  • the disconnecting the APP from the smart door lock includes:
  • the state of the pointer to the APP in the control task manager changes, so that the APP disconnects from the smart door lock according to the state of the changed pointer.
  • the method further includes:
  • an embodiment of the present disclosure further provides a terminal 400, as shown in FIG. 4, including: a processor 401, a communication interface 402, a memory 403, and a communication bus 404, wherein the processor 401, Communication interface 402, memory 403 completes mutual communication through communication bus 404;
  • a computer program is stored in the memory 403, and when the program is executed by the processor 401, the processor 401 is caused to perform the following steps:
  • the communication bus mentioned by the above terminal may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus.
  • PCI Peripheral Component Interconnect
  • EISA Extended Industry Standard Architecture
  • the communication bus can be divided into address bus, data bus, control bus and so on. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.
  • the communication interface 402 is used for communication between the aforementioned terminal and other devices.
  • the processor 401 further executes the following steps:
  • the detecting whether the current interface is the interface of the APP that performs smart door lock control, and jumping to other interfaces that are not the interface of the APP include:
  • the detecting whether the current interface is an interface of an APP that performs smart door lock control, and jumping to other interfaces other than the interface of the APP include:
  • the detecting whether the current interface is an interface of an APP that performs smart door lock control, and jumping to other interfaces other than the interface of the APP include:
  • the disconnecting the APP from the smart door lock includes:
  • the state of the pointer to the APP in the control task manager changes, so that the APP disconnects from the smart door lock according to the state of the changed pointer.
  • the method further includes:
  • the memory may include random access memory (Random Access Memory, RAM), and may also include non-volatile memory (Non-Volatile Memory, NVM), such as at least one disk storage.
  • NVM non-Volatile Memory
  • the memory may also be at least one storage device located far away from the foregoing processor.
  • the foregoing processor may be a general-purpose processor, including a central processing unit, a network processor (Network Processor, NP), etc.; it may also be a digital instruction processor (Digital Signal Processing, DSP), an application specific integrated circuit, a field programmable gate display, or Other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
  • NP Network Processor
  • DSP Digital Signal Processing
  • the embodiments of the present disclosure also provide a computer-readable storage medium, which stores a computer program executable by a terminal, when the program is in the terminal When the terminal is running, the following steps are realized when the terminal is executed:
  • the detecting whether the current interface is an interface of an APP that performs smart door lock control, and jumping to other interfaces other than the interface of the APP include:
  • the detecting whether the current interface is an interface of an APP that performs smart door lock control, and jumping to other interfaces other than the interface of the APP include:
  • the detecting whether the current interface is an interface of an APP that performs smart door lock control, and jumping to other interfaces other than the interface of the APP include:
  • the disconnecting the APP from the smart door lock includes:
  • the state of the pointer to the APP in the control task manager changes, so that the APP disconnects from the smart door lock according to the state of the changed pointer.
  • the method further includes:
  • the above-mentioned computer-readable storage medium may be any available medium or data storage device that can be accessed by the processor in the terminal, including but not limited to magnetic storage such as floppy disk, hard disk, magnetic tape, magneto-optical disk (MO), etc., optical storage such as CD, DVD, BD, HVD, etc., and semiconductor memory such as ROM, EPROM, EEPROM, non-volatile memory (NAND FLASH), solid state drive (SSD), etc.
  • magnetic storage such as floppy disk, hard disk, magnetic tape, magneto-optical disk (MO), etc.
  • optical storage such as CD, DVD, BD, HVD, etc.
  • semiconductor memory such as ROM, EPROM, EEPROM, non-volatile memory (NAND FLASH), solid state drive (SSD), etc.
  • These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing equipment to work in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including the instruction device.
  • the device implements the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
  • These computer program instructions can also be loaded on a computer or other programmable data processing equipment, so that a series of operation steps are executed on the computer or other programmable equipment to produce computer-implemented processing, so that the The instructions provide steps for implementing functions specified in a flow or multiple flows in the flowchart and/or a block or multiple blocks in the block diagram.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Signal Processing (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

A method and apparatus for controlling an intelligent door lock, and a system, a terminal and a storage medium. The method comprises: detecting whether the current interface jumps from an interface of an APP for intelligent door lock control to interfaces other than the interface of the APP for intelligent door lock control (S101); and if yes, disconnecting the APP from the intelligent door lock, controlling the APP to log out, and clearing login information of the APP (S102). If the current interface is detected to jump from the interface of the APP for intelligent door lock control to interfaces other than the interface of the APP, it is indicated that the APP is no longer in use at present, and in order to ensure the safety of intelligent door lock control, in this case, the APP is disconnected from the intelligent door lock, the APP is controlled to log out, and login information of the APP is cleared.

Description

一种智能门锁的控制方法、装置、系统、终端及存储介质Control method, device, system, terminal and storage medium of smart door lock
相关申请Related application
本公开要求2019年04月25日申请的,申请号为201910337462.5,名称为“一种智能门锁的控制方法、装置、系统、终端及存储介质”的中国专利申请的优先权,在此将其全文引入作为参考。This disclosure claims the priority of the Chinese patent application filed on April 25, 2019, with the application number 201910337462.5, titled "A control method, device, system, terminal and storage medium of a smart door lock", hereby The full text is incorporated as a reference.
技术领域Technical field
本公开涉及门锁技术领域,尤其涉及一种智能门锁的控制方法、装置、系统、终端及存储介质。The present disclosure relates to the technical field of door locks, and in particular to a control method, device, system, terminal and storage medium of a smart door lock.
背景技术Background technique
随着移动互联网技术的发展,智能门锁已经介入人们的生活。目前的智能门锁可以通过终端进行控制,具体的终端中预先安装有对智能门锁进行控制的APP,可以通过该终端中在安装的该APP进行智能门锁的开锁、关锁操作以及对智能门锁的开启状态的监控等,解决了人们忘记带钥匙或忘记开锁密码的烦恼。With the development of mobile Internet technology, smart door locks have been involved in people's lives. The current smart door lock can be controlled through a terminal. The specific terminal is pre-installed with an APP for controlling the smart door lock. The APP installed in the terminal can be used to unlock and close the smart door lock and perform smart lock operations. The monitoring of the opening state of the door lock, etc., solves the trouble that people forget to bring the key or forget the unlock password.
而用户使用该APP对智能门锁操作结束后,可能并未退出登录该APP,这时APP与智能门锁仍然处于连接状态。若此时终端丢失并被其他人捡到,处于后台运行状态的APP会被调出,而APP与智能门锁仍然处于连接状态,则其他人可以直接通过该APP对智能门锁进行恶意操控,导致很大的安全隐患。After the user uses the APP to operate the smart door lock, he may not log out of the APP. At this time, the APP and the smart door lock are still connected. If the terminal is lost and picked up by someone else at this time, the APP in the background running state will be called out, and the APP and the smart door lock are still connected, and other people can directly use the APP to maliciously control the smart door lock. Cause a great safety hazard.
发明内容Summary of the invention
为了解决本公开实施例提供了一种智能门锁的控制方法、装置、系统、终端及存储介质,用以解决发明人所知的控制方法中无法保证智能门锁控制的安全性的问题。In order to solve the problem of a smart door lock control method, device, system, terminal, and storage medium provided by the embodiments of the present disclosure, the control method known to the inventor cannot guarantee the security of the smart door lock control.
本公开实施例提供了一种智能门锁的控制方法,所述方法包括:The embodiment of the present disclosure provides a method for controlling a smart door lock, the method including:
检测当前界面是否由进行智能门锁控制的APP的界面跳转到非所述APP的界面的其他界面;Detecting whether the current interface is jumped from the interface of the APP that performs smart door lock control to other interfaces than the interface of the APP;
如果是,断开所述APP与所述智能门锁的连接,控制所述APP退出登录,并清除所述APP的登录信息。If so, disconnect the APP from the smart door lock, control the APP to log out, and clear the APP login information.
在一个实施例中,所述检测当前界面是否由进行智能门锁控制的APP的界面,跳转到非所述APP的界面的其他界面包括:In one embodiment, the detecting whether the current interface is an interface of an APP that performs smart door lock control, and jumping to other interfaces other than the interface of the APP include:
在显示界面为所述APP的界面时,检测Home键是否被触发;When the display interface is the interface of the APP, detecting whether the Home button is triggered;
如果是,确定当前界面由所述APP的界面,跳转到非所述APP的界面的其他界面。If so, it is determined that the current interface is from the interface of the APP and jumps to other interfaces that are not the interface of the APP.
在一个实施例中,所述检测当前界面是否由进行智能门锁控制的APP的界面,跳转到非所述APP的界面的其他界面包括:In one embodiment, the detecting whether the current interface is an interface of an APP that performs smart door lock control, and jumping to other interfaces other than the interface of the APP include:
在显示界面为所述APP的界面时,检测锁屏键是否被触发;When the display interface is the interface of the APP, detecting whether the lock screen key is triggered;
如果是,确定当前界面由所述APP的界面,跳转到非所述APP的界面的其他界面。If so, it is determined that the current interface is from the interface of the APP and jumps to other interfaces that are not the interface of the APP.
在一个实施例中,所述检测当前界面是否由进行智能门锁控制的APP的界面,跳转到非所述APP的界面的其他界面包括:In one embodiment, the detecting whether the current interface is an interface of an APP that performs smart door lock control, and jumping to other interfaces other than the interface of the APP include:
在显示界面为所述APP的主界面时,检测返回键是否被触发;When the display interface is the main interface of the APP, detecting whether the return key is triggered;
如果是,确定当前界面由所述APP的界面,跳转到非所述APP的界面的其他界面。If so, it is determined that the current interface is from the interface of the APP and jumps to other interfaces that are not the interface of the APP.
在一个实施例中,所述断开所述APP与所述智能门锁的连接包括:In an embodiment, the disconnecting the APP from the smart door lock includes:
控制任务管理器中指向所述APP的指针的状态发生变化,使所述APP根据所述变化后的指针的状态断开与所述智能门锁的连接。The state of the pointer to the APP in the control task manager changes, so that the APP disconnects from the smart door lock according to the state of the changed pointer.
在一个实施例中,所述断开所述APP与所述智能门锁的连接后,所述方法还包括:In one embodiment, after the disconnection of the APP and the smart door lock, the method further includes:
发送指令到所述智能门锁,以使所述智能门锁接收所述指令指示与所述APP处于断开状态。Send an instruction to the smart door lock, so that the smart door lock receives the instruction indicating that it is in a disconnected state from the APP.
本公开实施例提供了一种智能门锁的控制装置,所述装置包括:An embodiment of the present disclosure provides a control device for a smart door lock, the device includes:
检测模块,用于检测当前界面是否由进行智能门锁控制的APP的界面,跳转到非所述APP的界面的其他界面;The detection module is used to detect whether the current interface is the interface of the APP that performs smart door lock control, and jump to other interfaces than the interface of the APP;
控制模块,用于当当前界面由所述APP的界面,跳转到非所述APP的界面的其他界面时,断开所述APP与所述智能门锁的连接,控制所述APP退出登录,并清除所述APP的登录信息。The control module is used to disconnect the APP from the smart door lock and control the APP to log out when the current interface jumps from the APP interface to another interface other than the APP interface. And clear the login information of the APP.
在一个实施例中,所述检测模块,具体用于在显示界面为所述APP的界面时,检测Home键是否被触发;如果是,确定当前界面由所述APP的界面,跳转到非所述APP的界面的其他界面。In one embodiment, the detection module is specifically configured to detect whether the Home button is triggered when the display interface is the interface of the APP; if it is, it is determined that the current interface is from the interface of the APP and jumps to a non-all. The other interfaces of the APP interface are described.
在一个实施例中,所述检测模块,具体用于在显示界面为所述APP的界面时,检测锁屏键是否被触发;如果是,确定当前界面由所述APP的界面,跳转到非所述APP的界面的其他界面。In one embodiment, the detection module is specifically configured to detect whether the lock screen key is triggered when the display interface is the interface of the APP; if it is, it is determined that the current interface is from the interface of the APP and jumps to non Other interfaces of the interface of the APP.
在一个实施例中,所述检测模块,具体用于在显示界面为所述APP的主界面时,检测返回键是否被触发;如果是,确定当前界面由所述APP的界面,跳转到非所述APP的界面的其他界面。In one embodiment, the detection module is specifically configured to detect whether the return key is triggered when the display interface is the main interface of the APP; if it is, it is determined that the current interface is from the APP interface and jumps to non Other interfaces of the interface of the APP.
在一个实施例中,所述控制模块,具体用于控制任务管理器中指向所述APP的指针的状态发生变化,使所述APP根据所述变化后的指针的状态断开与所述智能门锁的连接。In one embodiment, the control module is specifically configured to control the state of the pointer to the APP in the task manager to change, so that the APP is disconnected from the smart door according to the state of the changed pointer. The connection of the lock.
在一个实施例中,所述装置还包括:In an embodiment, the device further includes:
发送模块,用于发送指令到所述智能门锁,以使所述智能门锁接收所述指令指示与所述APP处于断开状态。The sending module is configured to send instructions to the smart door lock, so that the smart door lock receives the instruction indicating that it is in a disconnected state from the APP.
本公开实施例提供了一种智能门锁的控制系统,所述系统包括:包括上述任一所述智能门锁的控制装置的终端,及被所述终端控制的智能门锁。The embodiment of the present disclosure provides a control system for a smart door lock, the system including: a terminal including any of the above-mentioned control devices for the smart door lock, and a smart door lock controlled by the terminal.
本公开实施例提供了一种终端,包括:处理器、通信接口、存储器和通信总线,其中,处理器,通信接口,存储器通过通信总线完成相互间的通信;The embodiments of the present disclosure provide a terminal, including: a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete mutual communication through the communication bus;
所述存储器中存储有计算机程序,当所述程序被所述处理器执行时,使得所述处理器执行上述任一项所述方法的步骤。A computer program is stored in the memory, and when the program is executed by the processor, the processor is caused to execute the steps of any one of the foregoing methods.
本公开实施例提供了一种计算机可读存储介质,其存储有可由终端执行的计算机程序,当所述程序在所述终端上运行时,使得所述终端执行上述任一项所述方法的步骤。The embodiments of the present disclosure provide a computer-readable storage medium that stores a computer program executable by a terminal, and when the program runs on the terminal, the terminal executes the steps of any one of the above methods .
本公开实施例提供了一种智能门锁的控制方法、装置、系统、终端及存储介质,所述方法包括:检测当前界面是否由进行智能门锁控制的APP的界面,跳转到非所述APP的界面的其他界面;如果是,断开所述APP与所述智能门锁的连接,控制所述APP退出登录,并清除所述APP的登录信息。由于在本公开实施例中,如果检测到当前界面由APP的界面,跳转到非该APP的界面的其他界面,说明当前该APP不再被使用,为了保证智能门锁控制的安全性,此时可以断开该APP与智能门锁的连接,控制该APP退出登录,并清除该APP的登录信息。The embodiments of the present disclosure provide a method, device, system, terminal, and storage medium for controlling a smart door lock. The method includes: detecting whether the current interface is an APP interface that controls the smart door lock, and jumping to a Other interfaces of the APP interface; if yes, disconnect the APP from the smart door lock, control the APP to log out, and clear the APP login information. Since in the embodiments of the present disclosure, if it is detected that the current interface is from the APP interface and jumps to other interfaces that are not the APP interface, it means that the APP is no longer used. In order to ensure the security of the smart door lock control, this When you can disconnect the APP and the smart door lock, control the APP to log out, and clear the APP login information.
附图说明Description of the drawings
为了更清楚地说明本公开实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简要介绍,显而易见地,下面描述中的附图仅仅是本公开的一些实施例,对于本领域的普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly describe the technical solutions in the embodiments of the present disclosure, the following will briefly introduce the drawings that need to be used in the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present disclosure. For those of ordinary skill in the art, without creative work, other drawings can be obtained from these drawings.
图1为本公开实施例1提供的一种智能门锁的控制方法的流程示意图;FIG. 1 is a schematic flowchart of a method for controlling a smart door lock according to Embodiment 1 of the disclosure;
图2为本公开实施例5提供的一种智能门锁的控制方法的示意图;2 is a schematic diagram of a method for controlling a smart door lock according to Embodiment 5 of the disclosure;
图3为本公开实施例6提供的一种智能门锁的控制装置的结构示意图;3 is a schematic structural diagram of a control device for a smart door lock provided in Embodiment 6 of the disclosure;
图4为本公开实施例8提供的一种终端。FIG. 4 is a terminal provided by Embodiment 8 of the disclosure.
具体实施方式Detailed ways
为了下面将结合附图对本公开作进一步地详细描述,显然,所描述的实施例仅仅是本公开一部分实施例,而不是全部的实施例。基于本公开中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本公开保护的范围。In order to further describe the present disclosure in detail below with reference to the accompanying drawings, it is obvious that the described embodiments are only a part of the embodiments of the present disclosure, rather than all the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present disclosure.
实施例1:Example 1:
图1为本公开实施例提供的一种智能门锁的控制方法的流程示意图,该过程包括以下步骤:FIG. 1 is a schematic flowchart of a method for controlling a smart door lock provided by an embodiment of the present disclosure. The process includes the following steps:
S101:检测当前界面是否由进行智能门锁控制的APP的界面,跳转到非所述APP的界面的其他界面。S101: Detect whether the current interface is the interface of the APP that performs smart door lock control, and jump to other interfaces than the interface of the APP.
本公开实施例提供的该控制方法应用于终端,该终端可以是手机或平板等,为了实现该终端对智能门锁的控制,在该终端中可以预先安装对智能门锁进行控制的APP,通过终端中的该APP可以对智能门锁进行开锁、关锁或监控智能门锁的状态等操作。在终端中设置有具有通信功能的通信模块,通过该通信模块实现与智能门锁之间的信息交互。The control method provided by the embodiments of the present disclosure is applied to a terminal, which can be a mobile phone or a tablet, etc., in order to realize the control of the smart door lock by the terminal, an APP for controlling the smart door lock can be pre-installed in the terminal. The APP in the terminal can open and close the smart door lock or monitor the status of the smart door lock. A communication module with communication function is provided in the terminal, and information interaction with the smart door lock is realized through the communication module.
具体的,该终端可以检测终端的当前界面是否由该APP的界面,跳转到非该APP的界面的其他界面,其中,其他界面可以为终端的主界面,或终端中其他APP的界面等。Specifically, the terminal can detect whether the current interface of the terminal is from the interface of the APP and jump to other interfaces that are not the interface of the APP, where the other interfaces can be the main interface of the terminal or the interface of other APPs in the terminal.
S102:如果是,断开所述APP与所述智能门锁的连接,控制所述APP退出登录,并清除所述APP的登录信息。S102: If yes, disconnect the APP from the smart door lock, control the APP to log out, and clear the APP login information.
用户通过该APP对智能门锁进行控制时,首先需要在该APP中进行登录,登录成功后APP与智能门锁建立连接才可以对智能门锁进行相应的控制操作。具体的,该智能门锁中设置有通信模块,通过智能门锁的通信模块与终端的通信模块,建立智能门锁与该APP的连接,在具体实施过程中,该通信模块可以是蓝牙模块。When the user controls the smart door lock through the APP, he first needs to log in to the APP. After the login is successful, the APP can establish a connection with the smart door lock before the smart door lock can be controlled accordingly. Specifically, the smart door lock is provided with a communication module, and the connection between the smart door lock and the APP is established through the communication module of the smart door lock and the communication module of the terminal. In the specific implementation process, the communication module may be a Bluetooth module.
为了保证智能门锁的安全性,当终端检测到当前界面由该APP的界面,跳转到非该APP的界面的其他界面时,说明当前该APP不再被使用,为了保证智能门锁控制的安全性,终端断开该APP与智能门锁的连接,控制该APP退出登录,并且清除该APP的登录信息。该APP断开与该智能门锁的连接并退出登录后,如果需要想使用该APP只能重新登录,登录时需要输入用户名和密码的信息,因为清除了该APP的登录信息,如果非用户本人操作,将无法获取到进行登录的用户名和密码的信息,也就没办法使用该APP对智能门锁进行控制。In order to ensure the security of the smart door lock, when the terminal detects that the current interface is from the APP interface and jumps to other interfaces that are not the APP interface, it means that the current APP is no longer in use. In order to ensure the smart door lock control Security: The terminal disconnects the APP from the smart door lock, controls the APP to log out, and clears the APP's login information. After the APP disconnects from the smart door lock and logs out, if you want to use the APP, you can only log in again. When logging in, you need to enter the user name and password information, because the APP’s login information is cleared. If the user is not the user Operation, will not be able to obtain the login user name and password information, and there is no way to use the APP to control the smart door lock.
如果检测当前界面还是进行智能门锁控制的APP的界面,则无需断开该APP与智能门锁的连接,继续根据相应的操作进行界面跳转即可。If it is detected that the current interface is still the interface of the APP for smart door lock control, there is no need to disconnect the APP and the smart door lock, and continue to jump to the interface according to the corresponding operation.
由于在本公开实施例中,如果检测到当前界面由APP的界面,跳转到非该APP的界面 的其他界面,说明当前该APP不再被使用,为了保证智能门锁控制的安全性,此时可以断开该APP与智能门锁的连接,控制该APP退出登录,并清除该APP的登录信息。Since in the embodiments of the present disclosure, if it is detected that the current interface is from the APP interface and jumps to other interfaces that are not the APP interface, it means that the APP is no longer used. In order to ensure the security of the smart door lock control, this When you can disconnect the APP and the smart door lock, control the APP to log out, and clear the APP login information.
实施例2:Example 2:
为了准确的确定当前界面是否由APP的界面,跳转到非APP的界面的其他界面,在上述实施例的基础上,在本公开实施例中,所述检测当前界面是否由进行智能门锁控制的APP的界面,跳转到非所述APP的界面的其他界面包括:In order to accurately determine whether the current interface is from the APP interface and jump to other interfaces other than the APP interface, on the basis of the above embodiment, in the embodiment of the present disclosure, the detection of whether the current interface is controlled by the smart door lock The interface of the APP, other interfaces that jump to the interface of the APP include:
在显示界面为所述APP的界面时,检测Home键是否被触发;When the display interface is the interface of the APP, detecting whether the Home button is triggered;
如果是,确定当前界面由所述APP的界面,跳转到非所述APP的界面的其他界面。If so, it is determined that the current interface is from the interface of the APP and jumps to other interfaces that are not the interface of the APP.
在终端中一般设置有Home键,该Home键被触发后可以一键返回到终端的主界面。如果终端的Home键被触发,说明用户当前很可能想对主界面中显示的其他APP进行操作,而因为Home键被触发之前,终端的显示界面为对智能门锁进行控制的APP的界面,如果Home键被触发则该APP将会进入后台运行状态。为了避免终端丢失后被其他人调出后台运行的APP,因此在本公开实施例中,在显示界面为该APP的界面时,当检测到该Home键被触发时,则可确定当前界面由该APP的界面,跳转到非该APP的界面的其他界面,为了保证智能门锁控制的安全性,断开该APP与智能门锁的连接,控制该APP退出登录,并且清除该APP的登录信息。The terminal is generally provided with a Home key, which can be triggered to return to the main interface of the terminal with one key. If the Home button of the terminal is triggered, it means that the user currently most likely wants to operate other apps displayed in the main interface, and because before the Home button is triggered, the terminal’s display interface is the interface of the APP that controls the smart door lock. When the Home button is triggered, the APP will enter the background running state. In order to prevent the terminal from being called out by others to run the APP in the background after the terminal is lost, therefore, in the embodiment of the present disclosure, when the display interface is the interface of the APP, when it is detected that the Home button is triggered, it can be determined that the current interface is The APP interface, jump to other interfaces than the APP interface, in order to ensure the safety of the smart door lock control, disconnect the APP and the smart door lock, control the APP to log out, and clear the APP login information .
实施例3:Example 3:
为了准确的确定当前界面是否由APP的界面,跳转到非该APP的界面的其他界面,在上述各实施例的基础上,在本公开实施例中,检测当前界面是否由进行智能门锁控制的APP的界面,跳转到非所述APP的界面的其他界面包括:In order to accurately determine whether the current interface is from the APP interface and jump to other interfaces that are not the APP interface, on the basis of the above embodiments, in the embodiments of the present disclosure, it is detected whether the current interface is controlled by the smart door lock The interface of the APP, other interfaces that jump to the interface of the APP include:
在显示界面为所述APP的界面时,检测锁屏键是否被触发;When the display interface is the interface of the APP, detecting whether the lock screen key is triggered;
如果是,确定当前界面由所述APP的界面,跳转到非所述APP的界面的其他界面。If so, it is determined that the current interface is from the interface of the APP and jumps to other interfaces that are not the interface of the APP.
在终端中一般设置有锁屏键,该锁屏键被触发后终端的屏幕息屏,具体的,该锁屏键可以是终端上设置的具体的硬件按键,也可以是终端的快捷菜单中设置的软件按键。只要可以实现终端的屏幕息屏的按键都是本公开实施例中所述的锁屏键。Generally, a lock screen key is set in the terminal. After the lock screen key is triggered, the screen of the terminal will be displayed. Specifically, the lock screen key can be a specific hardware button set on the terminal, or it can be set in the shortcut menu of the terminal Software buttons. As long as the keys that can realize the screen rest of the terminal are the lock screen keys described in the embodiments of the present disclosure.
当锁屏键被触发时,终端不管当前在什么显示界面,都会息屏。此时如果终端的显示界面为进行智能门锁控制的APP的界面,当用户触发锁屏键时,终端息屏,此时该APP将会进入后台运行状态。当终端被再次打开时,终端的当前界面仍然是息屏前的界面,即该APP的界面,为了避免终端丢失后其他人对该APP进行操作,因此在本公开实施例中,在显示界面为该APP的界面时,当检测到锁屏键被触发时,则可确定当前界面由该APP的界面,跳转到非该APP的界面的其他界面,为了保证智能门锁控制的安全性,断开该APP与 智能门锁的连接,控制该APP退出登录,并清除该APP的登录信息。When the lock screen key is triggered, the terminal will stop the screen regardless of the current display interface. At this time, if the display interface of the terminal is the interface of an APP for smart door lock control, when the user triggers the lock screen key, the terminal will stop the screen, and the APP will enter the background running state. When the terminal is turned on again, the current interface of the terminal is still the interface before the screen, that is, the interface of the APP. In order to prevent other people from operating the APP after the terminal is lost, in the embodiment of the present disclosure, the display interface is In the APP interface, when it is detected that the lock screen key is triggered, it can be determined that the current interface is from the APP interface and jumps to other interfaces other than the APP interface. In order to ensure the security of the smart door lock control, the Open the connection between the APP and the smart door lock, control the APP to log out, and clear the APP's login information.
实施例4:Example 4:
为了准确的确定当前界面是否由APP的界面,跳转到非该APP的界面的其他界面,在上述各实施例的基础上,在本公开实施例中,检测当前界面是否由进行智能门锁控制的APP的界面,跳转到非所述APP的界面的其他界面包括:In order to accurately determine whether the current interface is from the APP interface and jump to other interfaces that are not the APP interface, on the basis of the above embodiments, in the embodiments of the present disclosure, it is detected whether the current interface is controlled by the smart door lock The interface of the APP, other interfaces that jump to the interface of the APP include:
在显示界面为所述APP的主界面时,检测返回键是否被触发;When the display interface is the main interface of the APP, detecting whether the return key is triggered;
如果是,确定当前界面由所述APP的界面,跳转到非所述APP的界面的其他界面。If so, it is determined that the current interface is from the interface of the APP and jumps to other interfaces that are not the interface of the APP.
在终端中还设置有返回键,该返回键被触发后可以返回当前的显示界面的上一个界面。如果终端的当前的显示界面为该APP的主界面,若此时返回键被触发,该APP将会进入后台运行状态,则此时终端的显示界面由该APP的主界面,跳转为该终端的主界面,其中该APP的主界面为用户打开该APP并登陆成功后的界面,也就是说该主界面是登录成功后,未进行其他任何操作的界面,或者说未使用任何功能的界面。The terminal is also provided with a return key, which can return to the previous interface of the current display interface after being triggered. If the current display interface of the terminal is the main interface of the APP, if the return key is triggered at this time, the APP will enter the background running state, then the display interface of the terminal will jump from the main interface of the APP to the terminal at this time The main interface of the APP is the interface after the user opens the APP and successfully logs in, that is to say, the main interface is the interface without any other operations after the successful login, or the interface without any functions.
为了避免终端丢失后被其他人调出后台运行的该APP,因此在本公开实施例中,在显示界面为该APP的主界面时,当检测到返回键被触发时,则可确定当前界面由该APP的界面,跳转到非该APP的界面的其他界面,为了保证了智能门锁控制的安全性,断开该APP与智能门锁的连接,控制该APP退出登录,并清除该APP的登录信息。In order to avoid the terminal being lost and being called out by others to run the APP in the background, in the embodiments of the present disclosure, when the display interface is the main interface of the APP, when it is detected that the return key is triggered, it can be determined that the current interface is The APP interface jumps to other interfaces other than the APP interface. In order to ensure the safety of the smart door lock control, disconnect the APP and the smart door lock, control the APP to log out, and clear the APP’s login information.
实施例5:Example 5:
为了准确的保证智能门锁控制的安全性,在上述各实施例的基础上,在本公开实施例中,所述断开所述APP与所述智能门锁的连接包括:In order to accurately ensure the security of the smart door lock control, on the basis of the foregoing embodiments, in the embodiments of the present disclosure, the disconnecting the APP from the smart door lock includes:
控制任务管理器中指向所述APP的指针的状态发生变化,使所述APP根据所述变化后的指针的状态断开与所述智能门锁的连接。The state of the pointer to the APP in the control task manager changes, so that the APP disconnects from the smart door lock according to the state of the changed pointer.
终端的任务管理器中设置有多个指针,每个指针用于指向终端中安装的每个APP,并用于指示该APP的运行状态。具体的在任务管理器中存在一个指针指向该进行智能门锁控制的APP,该指针可以表示该APP的当前状态,其中该APP的状态一般包括后台运行状态和前台运行状态。There are multiple pointers in the task manager of the terminal, and each pointer is used to point to each APP installed in the terminal and to indicate the running status of the APP. Specifically, there is a pointer in the task manager that points to the APP for smart door lock control, and the pointer can indicate the current state of the APP, where the state of the APP generally includes the background running state and the foreground running state.
当显示界面为该APP的界面时,该APP的状态为前台运行状态。显示界面为该APP的界面时,当检测到锁屏键或Home键被触发时,该APP的状态由前台运行状态变为后台运行状态;并且在显示界面为该APP的主界面时,当检测到返回键被触发时,该APP的状态也会由前台运行状态变为后台运行状态。When the display interface is the interface of the APP, the state of the APP is the foreground running state. When the display interface is the interface of the APP, when it is detected that the lock screen key or the home key is triggered, the state of the APP changes from the foreground operation state to the background operation state; and when the display interface is the main interface of the APP, when detecting When the return key is triggered, the state of the APP will also change from the foreground running state to the background running state.
当识别到该APP的状态由前台运行状态变为后台运行状态时,控制任务管理器中指向该APP的指针的状态发生变化。当APP识别到任务管理器中指向该APP的状态发生变化, 该APP断开与所述智能门锁的连接。When it is recognized that the state of the APP changes from the foreground running state to the background running state, the state of the pointer to the APP in the control task manager changes. When the APP recognizes that the status of the APP in the task manager has changed, the APP disconnects from the smart door lock.
为了提高用户的体验效果,在上述各实施例的基础上,在本公开实施例中,所述断开所述APP与所述智能门锁的连接后,所述方法还包括:In order to improve the user experience effect, on the basis of the foregoing embodiments, in the embodiments of the present disclosure, after the disconnection of the APP and the smart door lock, the method further includes:
发送指令到所述智能门锁,以使所述智能门锁接收所述指令指示与所述APP处于断开状态。Send an instruction to the smart door lock, so that the smart door lock receives the instruction indicating that it is in a disconnected state from the APP.
具体的智能门锁中可以设置有进行指示的显示面板,或者指示灯。The specific smart door lock may be provided with a display panel or indicator light for indicating.
当通过指示灯指示时,可以通过指示灯的不同颜色,指示智能门锁与终端是否处于连接状态,例如如果处于连接状态则指示灯的颜色为红色,如果处于断开状态则指示灯的颜色为绿色。具体的,通过该智能门锁中设置的通信模块接收终端发送的指令。When indicated by the indicator light, the different colors of the indicator light can be used to indicate whether the smart door lock and the terminal are in a connected state. For example, if the smart door lock is in the connected state, the color of the indicator light is red, and if it is in the disconnected state, the color of the indicator light is green. Specifically, the instruction sent by the terminal is received through the communication module provided in the smart door lock.
为了使智能门锁确定是否应该改变指示灯的颜色,当断开该APP与智能门锁的连接后,终端向该智能门锁发送指令,智能门锁接收该指令,并根据该指令改变指示灯的颜色,用户可以根据该指示灯的颜色确定智能门锁是否与APP处于连接状态。In order for the smart door lock to determine whether the color of the indicator light should be changed, when the APP is disconnected from the smart door lock, the terminal sends an instruction to the smart door lock, and the smart door lock receives the instruction and changes the indicator light according to the instruction The user can determine whether the smart door lock is connected to the APP according to the color of the indicator light.
图2为本公开实施例提供的一种智能门锁的控制方法流程示意图,其中图2中的左边(图中的左右)为手机,即终端,图2中的右边(图中的左右)为智能门锁。具体的,在显示界面为该APP的界面时,当检测到锁屏键或Home键被触发时,断开该APP与智能门锁的连接,控制该APP退出登录,并清除该APP的登录信息;或者在显示界面为该APP的主界面时,检测返回键被按下时,断开该APP与该智能门锁的连接,控制该APP退出登录,并清除该APP的登录信息,从而保证了智能门锁控制的安全性。Figure 2 is a schematic flow chart of a method for controlling a smart door lock provided by an embodiment of the present disclosure. The left side in Figure 2 (left and right in the figure) is a mobile phone, that is, a terminal, and the right side in Figure 2 (left and right in the figure) is Smart door lock. Specifically, when the display interface is the interface of the APP, when it is detected that the lock screen key or the home key is triggered, the APP is disconnected from the smart door lock, the APP is controlled to log out, and the APP login information is cleared ; Or when the display interface is the main interface of the APP, when the return button is detected to be pressed, the APP is disconnected from the smart door lock, the APP is controlled to log out, and the APP login information is cleared, thus ensuring The security of smart door lock control.
在具体实施过程中,智能门锁上可以设置一个指示灯,该指示灯用于指示智能门锁与该APP是否处于连接状态,因此用户可以根据该指示灯的颜色确定智能门锁是否与APP处于连接状态,例如,当指示灯为红色时,表示该APP与智能门锁处于连接状态,用户可在该APP上对智能门锁进行相应控制操作;当指示灯为绿色时,表示该APP与智能门锁处于断开状态。当检测到上述任一情况发生时,终端可以通过通信模块向智能门锁发送指令,告知智能门锁终端中的APP已断开与智能门锁的连接,当智能门锁接收到终端发送的该指令后,改变指示灯的颜色,使用户可以根据指示灯的颜色确定智能门锁与该APP是否处于连接状态。In the specific implementation process, an indicator light can be set on the smart door lock, which is used to indicate whether the smart door lock is connected to the APP, so the user can determine whether the smart door lock is connected to the APP according to the color of the indicator light. Connection status, for example, when the indicator light is red, it means that the APP is connected to the smart door lock, and the user can perform corresponding control operations on the smart door lock on the APP; when the indicator light is green, it means that the APP is connected to the smart door lock. The door lock is disconnected. When any of the above situations is detected, the terminal can send instructions to the smart door lock through the communication module to inform that the APP in the smart door lock terminal has been disconnected from the smart door lock. When the smart door lock receives the message sent by the terminal After the instruction, change the color of the indicator light so that the user can determine whether the smart door lock is connected to the APP according to the color of the indicator light.
实施例6:Example 6:
图3为本公开实施例提供的一种智能门锁的控制装置的结构示意图,该装置包括:FIG. 3 is a schematic structural diagram of a control device for a smart door lock provided by an embodiment of the disclosure, and the device includes:
检测模块301,用于检测当前界面是否由进行智能门锁控制的APP的界面,跳转到非所述APP的界面的其他界面;The detection module 301 is used to detect whether the current interface is the interface of the APP that performs smart door lock control, and jump to other interfaces other than the interface of the APP;
控制模块302,用于当当前界面由所述APP的界面,跳转到非所述APP的界面的其他 界面时,断开所述APP与所述智能门锁的连接,控制所述APP退出登录,并清除所述APP的登录信息。The control module 302 is configured to disconnect the APP from the smart door lock and control the APP to log out when the current interface jumps from the APP interface to another interface other than the APP interface. , And clear the login information of the APP.
在一个实施例中,所述检测模块301,具体用于在显示界面为所述APP的界面时,检测Home键是否被触发;如果是,确定当前界面由所述APP的界面,跳转到非所述APP的界面的其他界面。In one embodiment, the detection module 301 is specifically configured to detect whether the Home button is triggered when the display interface is the interface of the APP; if it is, it is determined that the current interface is from the interface of the APP and jumps to non Other interfaces of the interface of the APP.
在一个实施例中,所述检测模块301,具体用于在显示界面为所述APP的界面时,检测锁屏键是否被触发;如果是,确定当前界面由所述APP的界面,跳转到非所述APP的界面的其他界面。In one embodiment, the detection module 301 is specifically configured to detect whether the lock screen key is triggered when the display interface is the interface of the APP; if it is, it is determined that the current interface is from the interface of the APP and jumps to Other interfaces than the interface of the APP.
在一个实施例中,所述检测模块301,具体用于在显示界面为所述APP的主界面时,检测返回键是否被触发;如果是,确定当前界面由所述APP的界面,跳转到非所述APP的界面的其他界面。In one embodiment, the detection module 301 is specifically configured to detect whether the return key is triggered when the display interface is the main interface of the APP; if it is, it is determined that the current interface is jumped from the APP interface to Other interfaces than the interface of the APP.
在一个实施例中,所述控制模块302,具体用于控制任务管理器中指向所述APP的指针的状态发生变化,使所述APP根据所述变化后的指针的状态断开与所述智能门锁的连接。In one embodiment, the control module 302 is specifically configured to control the state of the pointer to the APP in the task manager to change, so that the APP disconnects from the smart device according to the changed state of the pointer. The connection of the door lock.
在一个实施例中,所述装置还包括:In an embodiment, the device further includes:
发送模块303,用于发送指令到所述智能门锁,以使所述智能门锁接收所述指令指示与所述APP处于断开状态。The sending module 303 is configured to send an instruction to the smart door lock, so that the smart door lock receives the instruction and indicates that it is in a disconnected state from the APP.
实施例7:Example 7:
本公开实施例提供了一种智能门锁的控制系统,所述系统包括:包括上述任一所述智能门锁的控制装置的终端,及被所述终端控制的智能门锁。The embodiment of the present disclosure provides a control system for a smart door lock, the system including: a terminal including any of the above-mentioned control devices for the smart door lock, and a smart door lock controlled by the terminal.
检测当前界面是否由进行智能门锁控制的APP的界面跳转到非所述APP的界面的其他界面;Detecting whether the current interface is jumped from the interface of the APP that performs smart door lock control to other interfaces than the interface of the APP;
如果是,断开所述APP与所述智能门锁的连接,控制所述APP退出登录,并清除所述APP的登录信息。If so, disconnect the APP from the smart door lock, control the APP to log out, and clear the APP login information.
在一个实施例中,所述检测当前界面是否由进行智能门锁控制的APP的界面,跳转到非所述APP的界面的其他界面包括:In one embodiment, the detecting whether the current interface is an interface of an APP that performs smart door lock control, and jumping to other interfaces other than the interface of the APP include:
在显示界面为所述APP的界面时,检测Home键是否被触发;When the display interface is the interface of the APP, detecting whether the Home button is triggered;
如果是,确定当前界面由所述APP的界面,跳转到非所述APP的界面的其他界面。If so, it is determined that the current interface is from the interface of the APP and jumps to other interfaces that are not the interface of the APP.
在一个实施例中,所述检测当前界面是否由进行智能门锁控制的APP的界面,跳转到非所述APP的界面的其他界面包括:In one embodiment, the detecting whether the current interface is an interface of an APP that performs smart door lock control, and jumping to other interfaces other than the interface of the APP include:
在显示界面为所述APP的界面时,检测锁屏键是否被触发;When the display interface is the interface of the APP, detecting whether the lock screen key is triggered;
如果是,确定当前界面由所述APP的界面,跳转到非所述APP的界面的其他界面。If so, it is determined that the current interface is from the interface of the APP and jumps to other interfaces that are not the interface of the APP.
在一个实施例中,所述检测当前界面是否由进行智能门锁控制的APP的界面,跳转到非所述APP的界面的其他界面包括:In one embodiment, the detecting whether the current interface is an interface of an APP that performs smart door lock control, and jumping to other interfaces other than the interface of the APP include:
在显示界面为所述APP的主界面时,检测返回键是否被触发;When the display interface is the main interface of the APP, detecting whether the return key is triggered;
如果是,确定当前界面由所述APP的界面,跳转到非所述APP的界面的其他界面。If so, it is determined that the current interface is from the interface of the APP and jumps to other interfaces that are not the interface of the APP.
在一个实施例中,所述断开所述APP与所述智能门锁的连接包括:In an embodiment, the disconnecting the APP from the smart door lock includes:
控制任务管理器中指向所述APP的指针的状态发生变化,使所述APP根据所述变化后的指针的状态断开与所述智能门锁的连接。The state of the pointer to the APP in the control task manager changes, so that the APP disconnects from the smart door lock according to the state of the changed pointer.
在一个实施例中,所述断开所述APP与所述智能门锁的连接后,所述方法还包括:In one embodiment, after the disconnection of the APP and the smart door lock, the method further includes:
发送指令到所述智能门锁,以使所述智能门锁接收所述指令指示与所述APP处于断开状态。Send an instruction to the smart door lock, so that the smart door lock receives the instruction indicating that it is in a disconnected state from the APP.
实施例8:Example 8:
在上述各实施例的基础上,本公开实施例还提供了一种终端400,如图4所述,包括:处理器401、通信接口402、存储器403和通信总线404,其中,处理器401,通信接口402,存储器403通过通信总线404完成相互间的通信;On the basis of the foregoing embodiments, an embodiment of the present disclosure further provides a terminal 400, as shown in FIG. 4, including: a processor 401, a communication interface 402, a memory 403, and a communication bus 404, wherein the processor 401, Communication interface 402, memory 403 completes mutual communication through communication bus 404;
所述存储器403中存储有计算机程序,当所述程序被所述处理器401执行时,使得所述处理器401执行如下步骤:A computer program is stored in the memory 403, and when the program is executed by the processor 401, the processor 401 is caused to perform the following steps:
检测当前界面是否由进行智能门锁控制的APP的界面,跳转到非所述APP的界面的其他界面;Detect whether the current interface is the interface of the APP that performs smart door lock control, and jump to other interfaces that are not the interface of the APP;
如果是,断开所述APP与所述智能门锁的连接,控制所述APP退出登录,并清除所述APP的登录信息。If so, disconnect the APP from the smart door lock, control the APP to log out, and clear the APP login information.
上述终端提到的通信总线可以是外设部件互连标准(Peripheral Component Interconnect,PCI)总线或扩展工业标准结构(Extended Industry Standard Architecture,EISA)总线等。该通信总线可以分为地址总线、数据总线、控制总线等。为便于表示,图中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。The communication bus mentioned by the above terminal may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The communication bus can be divided into address bus, data bus, control bus and so on. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.
通信接口402用于上述终端与其他设备之间的通信。The communication interface 402 is used for communication between the aforementioned terminal and other devices.
所述处理器401还执行如下步骤:The processor 401 further executes the following steps:
所述检测当前界面是否由进行智能门锁控制的APP的界面,跳转到非所述APP的界面的其他界面包括:The detecting whether the current interface is the interface of the APP that performs smart door lock control, and jumping to other interfaces that are not the interface of the APP include:
在显示界面为所述APP的界面时,检测Home键是否被触发;When the display interface is the interface of the APP, detecting whether the Home button is triggered;
如果是,确定当前界面由所述APP的界面,跳转到非所述APP的界面的其他界面。If so, it is determined that the current interface is from the interface of the APP and jumps to other interfaces that are not the interface of the APP.
在一个实施例中,所述检测当前界面是否由进行智能门锁控制的APP的界面,跳转到 非所述APP的界面的其他界面包括:In one embodiment, the detecting whether the current interface is an interface of an APP that performs smart door lock control, and jumping to other interfaces other than the interface of the APP include:
在显示界面为所述APP的界面时,检测锁屏键是否被触发;When the display interface is the interface of the APP, detecting whether the lock screen key is triggered;
如果是,确定当前界面由所述APP的界面,跳转到非所述APP的界面的其他界面。If so, it is determined that the current interface is from the interface of the APP and jumps to other interfaces that are not the interface of the APP.
在一个实施例中,所述检测当前界面是否由进行智能门锁控制的APP的界面,跳转到非所述APP的界面的其他界面包括:In one embodiment, the detecting whether the current interface is an interface of an APP that performs smart door lock control, and jumping to other interfaces other than the interface of the APP include:
在显示界面为所述APP的主界面时,检测返回键是否被触发;When the display interface is the main interface of the APP, detecting whether the return key is triggered;
如果是,确定当前界面由所述APP的界面,跳转到非所述APP的界面的其他界面。If so, it is determined that the current interface is from the interface of the APP and jumps to other interfaces that are not the interface of the APP.
在一个实施例中,所述断开所述APP与所述智能门锁的连接包括:In an embodiment, the disconnecting the APP from the smart door lock includes:
控制任务管理器中指向所述APP的指针的状态发生变化,使所述APP根据所述变化后的指针的状态断开与所述智能门锁的连接。The state of the pointer to the APP in the control task manager changes, so that the APP disconnects from the smart door lock according to the state of the changed pointer.
在一个实施例中,所述断开所述APP与所述智能门锁的连接后,所述方法还包括:In one embodiment, after the disconnection of the APP and the smart door lock, the method further includes:
发送指令到所述智能门锁,以使所述智能门锁接收所述指令指示与所述APP处于断开状态。Send an instruction to the smart door lock, so that the smart door lock receives the instruction indicating that it is in a disconnected state from the APP.
存储器可以包括随机存取存储器(Random Access Memory,RAM),也可以包括非易失性存储器(Non-Volatile Memory,NVM),例如至少一个磁盘存储器。可选地,存储器还可以是至少一个位于远离前述处理器的存储装置。The memory may include random access memory (Random Access Memory, RAM), and may also include non-volatile memory (Non-Volatile Memory, NVM), such as at least one disk storage. Optionally, the memory may also be at least one storage device located far away from the foregoing processor.
上述处理器可以是通用处理器,包括中央处理器、网络处理器(Network Processor,NP)等;还可以是数字指令处理器(Digital Signal Processing,DSP)、专用集成电路、现场可编程门陈列或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。The foregoing processor may be a general-purpose processor, including a central processing unit, a network processor (Network Processor, NP), etc.; it may also be a digital instruction processor (Digital Signal Processing, DSP), an application specific integrated circuit, a field programmable gate display, or Other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
实施例9:Example 9:
在上述各实施例的基础上,本公开实施例还提供了一种计算机存储可读存储介质,所述计算机可读存储介质内存储有可由终端执行的计算机程序,当所述程序在所述终端上运行时,使得所述终端执行时实现如下步骤:On the basis of the above-mentioned embodiments, the embodiments of the present disclosure also provide a computer-readable storage medium, which stores a computer program executable by a terminal, when the program is in the terminal When the terminal is running, the following steps are realized when the terminal is executed:
检测当前界面是否由进行智能门锁控制的APP的界面跳转到非所述APP的界面的其他界面;Detecting whether the current interface is jumped from the interface of the APP that performs smart door lock control to other interfaces than the interface of the APP;
如果是,断开所述APP与所述智能门锁的连接,控制所述APP退出登录,并清除所述APP的登录信息。If so, disconnect the APP from the smart door lock, control the APP to log out, and clear the APP login information.
在一个实施例中,所述检测当前界面是否由进行智能门锁控制的APP的界面,跳转到非所述APP的界面的其他界面包括:In one embodiment, the detecting whether the current interface is an interface of an APP that performs smart door lock control, and jumping to other interfaces other than the interface of the APP include:
在显示界面为所述APP的界面时,检测Home键是否被触发;When the display interface is the interface of the APP, detecting whether the Home button is triggered;
如果是,确定当前界面由所述APP的界面,跳转到非所述APP的界面的其他界面。If so, it is determined that the current interface is from the interface of the APP and jumps to other interfaces that are not the interface of the APP.
在一个实施例中,所述检测当前界面是否由进行智能门锁控制的APP的界面,跳转到非所述APP的界面的其他界面包括:In one embodiment, the detecting whether the current interface is an interface of an APP that performs smart door lock control, and jumping to other interfaces other than the interface of the APP include:
在显示界面为所述APP的界面时,检测锁屏键是否被触发;When the display interface is the interface of the APP, detecting whether the lock screen key is triggered;
如果是,确定当前界面由所述APP的界面,跳转到非所述APP的界面的其他界面。If so, it is determined that the current interface is from the interface of the APP and jumps to other interfaces that are not the interface of the APP.
在一个实施例中,所述检测当前界面是否由进行智能门锁控制的APP的界面,跳转到非所述APP的界面的其他界面包括:In one embodiment, the detecting whether the current interface is an interface of an APP that performs smart door lock control, and jumping to other interfaces other than the interface of the APP include:
在显示界面为所述APP的主界面时,检测返回键是否被触发;When the display interface is the main interface of the APP, detecting whether the return key is triggered;
如果是,确定当前界面由所述APP的界面,跳转到非所述APP的界面的其他界面。If so, it is determined that the current interface is from the interface of the APP and jumps to other interfaces that are not the interface of the APP.
在一个实施例中,所述断开所述APP与所述智能门锁的连接包括:In an embodiment, the disconnecting the APP from the smart door lock includes:
控制任务管理器中指向所述APP的指针的状态发生变化,使所述APP根据所述变化后的指针的状态断开与所述智能门锁的连接。The state of the pointer to the APP in the control task manager changes, so that the APP disconnects from the smart door lock according to the state of the changed pointer.
在一个实施例中,所述断开所述APP与所述智能门锁的连接后,所述方法还包括:In one embodiment, after the disconnection of the APP and the smart door lock, the method further includes:
发送指令到所述智能门锁,以使所述智能门锁接收所述指令指示与所述APP处于断开状态。Send an instruction to the smart door lock, so that the smart door lock receives the instruction indicating that it is in a disconnected state from the APP.
上述计算机可读存储介质可以是终端中的处理器能够存取的任何可用介质或数据存储设备,包括但不限于磁性存储器如软盘、硬盘、磁带、磁光盘(MO)等、光学存储器如CD、DVD、BD、HVD等、以及半导体存储器如ROM、EPROM、EEPROM、非易失性存储器(NAND FLASH)、固态硬盘(SSD)等。The above-mentioned computer-readable storage medium may be any available medium or data storage device that can be accessed by the processor in the terminal, including but not limited to magnetic storage such as floppy disk, hard disk, magnetic tape, magneto-optical disk (MO), etc., optical storage such as CD, DVD, BD, HVD, etc., and semiconductor memory such as ROM, EPROM, EEPROM, non-volatile memory (NAND FLASH), solid state drive (SSD), etc.
本公开是参照根据本公开实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present disclosure is described with reference to flowcharts and/or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present disclosure. It should be understood that each process and/or block in the flowchart and/or block diagram, and the combination of processes and/or blocks in the flowchart and/or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing equipment to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing equipment are generated It is a device that realizes the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing equipment to work in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including the instruction device. The device implements the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机 或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable data processing equipment, so that a series of operation steps are executed on the computer or other programmable equipment to produce computer-implemented processing, so that the The instructions provide steps for implementing functions specified in a flow or multiple flows in the flowchart and/or a block or multiple blocks in the block diagram.
尽管已描述了本公开的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例作出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本公开范围的所有变更和修改。Although the preferred embodiments of the present disclosure have been described, those skilled in the art can make additional changes and modifications to these embodiments once they learn the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present disclosure.
显然,本领域的技术人员可以对本公开进行各种改动和变型而不脱离本公开的精神和范围。这样,倘若本公开的这些修改和变型属于本公开权利要求及其等同技术的范围之内,则本公开也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the present disclosure without departing from the spirit and scope of the present disclosure. In this way, if these modifications and variations of the present disclosure fall within the scope of the claims of the present disclosure and equivalent technologies, the present disclosure also intends to include these modifications and variations.

Claims (15)

  1. 一种智能门锁的控制方法,其特征在于,所述方法包括:A method for controlling a smart door lock, characterized in that the method includes:
    检测当前界面是否由进行智能门锁控制的APP的界面,跳转到非所述APP的界面的其他界面;Detect whether the current interface is the interface of the APP that performs smart door lock control, and jump to other interfaces that are not the interface of the APP;
    如果是,断开所述APP与所述智能门锁的连接,控制所述APP退出登录,并清除所述APP的登录信息。If so, disconnect the APP from the smart door lock, control the APP to log out, and clear the APP login information.
  2. 如权利要求1所述的方法,其特征在于,所述检测当前界面是否由进行智能门锁控制的APP的界面,跳转到非所述APP的界面的其他界面包括:The method of claim 1, wherein the detecting whether the current interface is an interface of an APP that performs smart door lock control, and jumping to another interface that is not an interface of the APP comprises:
    在显示界面为所述APP的界面时,检测Home键是否被触发;When the display interface is the interface of the APP, detecting whether the Home button is triggered;
    如果是,确定当前界面由所述APP的界面,跳转到非所述APP的界面的其他界面。If so, it is determined that the current interface is from the interface of the APP and jumps to other interfaces that are not the interface of the APP.
  3. 如权利要求1所述的方法,其特征在于,所述检测当前界面是否由进行智能门锁控制的APP的界面,跳转到非所述APP的界面的其他界面包括:The method of claim 1, wherein the detecting whether the current interface is an interface of an APP that performs smart door lock control, and jumping to another interface that is not an interface of the APP comprises:
    在显示界面为所述APP的界面时,检测锁屏键是否被触发;When the display interface is the interface of the APP, detecting whether the lock screen key is triggered;
    如果是,确定当前界面由所述APP的界面,跳转到非所述APP的界面的其他界面。If so, it is determined that the current interface is from the interface of the APP and jumps to other interfaces that are not the interface of the APP.
  4. 如权利要求1所述的方法,其特征在于,所述检测当前界面是否由进行智能门锁控制的APP的界面,跳转到非所述APP的界面的其他界面包括:The method of claim 1, wherein the detecting whether the current interface is an interface of an APP that performs smart door lock control, and jumping to another interface that is not an interface of the APP comprises:
    在显示界面为所述APP的主界面时,检测返回键是否被触发;When the display interface is the main interface of the APP, detecting whether the return key is triggered;
    如果是,确定当前界面由所述APP的界面,跳转到非所述APP的界面的其他界面。If so, it is determined that the current interface is from the interface of the APP and jumps to other interfaces that are not the interface of the APP.
  5. 如权利要求1所述的方法,其特征在于,所述断开所述APP与所述智能门锁的连接包括:The method of claim 1, wherein the disconnecting the APP from the smart door lock comprises:
    控制任务管理器中指向所述APP的指针的状态发生变化,使所述APP根据所述变化后的指针的状态断开与所述智能门锁的连接。The state of the pointer to the APP in the control task manager changes, so that the APP disconnects from the smart door lock according to the state of the changed pointer.
  6. 如权利要求1所述的方法,其特征在于,所述断开所述APP与所述智能门锁的连接后,所述方法还包括:The method according to claim 1, wherein after the disconnection of the APP and the smart door lock, the method further comprises:
    发送指令到所述智能门锁,以使所述智能门锁接收所述指令指示与所述APP处于断开状态。Send an instruction to the smart door lock, so that the smart door lock receives the instruction indicating that it is in a disconnected state from the APP.
  7. 一种智能门锁的控制装置,其特征在于,所述装置包括:A control device for a smart door lock, characterized in that the device comprises:
    检测模块,用于检测当前界面是否由进行智能门锁控制的APP的界面,跳转到非所述APP的界面的其他界面;The detection module is used to detect whether the current interface is the interface of the APP that performs smart door lock control, and jump to other interfaces than the interface of the APP;
    控制模块,用于当当前界面由所述APP的界面,跳转到非所述APP的界面的其他界面时,断开所述APP与所述智能门锁的连接,控制所述APP退出登录,并清除所述APP的登 录信息。The control module is used to disconnect the APP from the smart door lock and control the APP to log out when the current interface jumps from the APP interface to another interface other than the APP interface. And clear the login information of the APP.
  8. 如权利要求7所述的装置,其特征在于,所述检测模块,具体用于在显示界面为所述APP的界面时,检测Home键是否被触发;如果是,确定当前界面由所述APP的界面,跳转到非所述APP的界面的其他界面。The device according to claim 7, wherein the detection module is specifically configured to detect whether the Home button is triggered when the display interface is the interface of the APP; if it is, determine that the current interface is controlled by the APP Interface, jump to other interfaces than the interface of the APP.
  9. 如权利要求7所述的装置,其特征在于,所述检测模块,具体用于在显示界面为所述APP的界面时,检测锁屏键是否被触发;如果是,确定当前界面由所述APP的界面,跳转到非所述APP的界面的其他界面。The device according to claim 7, wherein the detection module is specifically configured to detect whether the lock screen key is triggered when the display interface is an interface of the APP; if it is, determine that the current interface is controlled by the APP Interface, jump to other interfaces than the interface of the APP.
  10. 如权利要求7所述的装置,其特征在于,所述检测模块,具体用于在显示界面为所述APP的主界面时,检测返回键是否被触发;如果是,确定当前界面由所述APP的界面,跳转到非所述APP的界面的其他界面。The device according to claim 7, wherein the detection module is specifically configured to detect whether the return key is triggered when the display interface is the main interface of the APP; if so, determine that the current interface is controlled by the APP Interface, jump to other interfaces than the interface of the APP.
  11. 如权利要求7所述的装置,其特征在于,所述控制模块,具体用于控制任务管理器中指向所述APP的指针的状态发生变化,使所述APP根据所述变化后的指针的状态断开与所述智能门锁的连接。The device according to claim 7, wherein the control module is specifically configured to control the change of the state of the pointer to the APP in the task manager, so that the APP is based on the state of the changed pointer. Disconnect the connection with the smart door lock.
  12. 如权利要求7所述的装置,其特征在于,所述装置还包括:The device of claim 7, wherein the device further comprises:
    发送模块,用于发送指令到所述智能门锁,以使所述智能门锁接收所述指令指示与所述APP处于断开状态。The sending module is configured to send instructions to the smart door lock, so that the smart door lock receives the instruction indicating that it is in a disconnected state from the APP.
  13. 一种智能门锁的控制系统,其特征在于,所述系统包括:包括如权利要求7-12任一所述智能门锁的控制装置的终端,及被所述终端控制的智能门锁。A control system for a smart door lock, characterized in that the system comprises: a terminal including the control device for the smart door lock according to any one of claims 7-12, and a smart door lock controlled by the terminal.
  14. 一种终端,其特征在于,包括:处理器、通信接口、存储器和通信总线,其中,处理器,通信接口,存储器通过通信总线完成相互间的通信;A terminal, characterized by comprising: a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory complete mutual communication through the communication bus;
    所述存储器中存储有计算机程序,当所述程序被所述处理器执行时,使得所述处理器执行权利要求1~6任一项所述方法的步骤。A computer program is stored in the memory, and when the program is executed by the processor, the processor is caused to execute the steps of the method according to any one of claims 1 to 6.
  15. 一种计算机可读存储介质,其特征在于,其存储有可由终端执行的计算机程序,当所述程序在所述终端上运行时,使得所述终端执行权利要求1~6任一项所述方法的步骤。A computer-readable storage medium, characterized in that it stores a computer program executable by a terminal, and when the program runs on the terminal, the terminal is caused to execute the method according to any one of claims 1 to 6 A step of.
PCT/CN2019/125507 2019-04-25 2019-12-16 Method and apparatus for controlling intelligent door lock, and system, terminal and storage medium WO2020215749A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910337462.5A CN111932718A (en) 2019-04-25 2019-04-25 Control method, device, system, terminal and storage medium of intelligent door lock
CN201910337462.5 2019-04-25

Publications (1)

Publication Number Publication Date
WO2020215749A1 true WO2020215749A1 (en) 2020-10-29

Family

ID=72941441

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/125507 WO2020215749A1 (en) 2019-04-25 2019-12-16 Method and apparatus for controlling intelligent door lock, and system, terminal and storage medium

Country Status (2)

Country Link
CN (1) CN111932718A (en)
WO (1) WO2020215749A1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103780759A (en) * 2014-01-16 2014-05-07 东莞安尔发智能科技股份有限公司 GSM anti-theft function type smart lock APP operation guiding method
CN104966336A (en) * 2015-05-29 2015-10-07 深圳光启智能光子技术有限公司 Intelligent lock, intelligent lock authorization management method, and intelligent lock authorization management apparatus
CN105554461A (en) * 2015-12-23 2016-05-04 成都家易通信息技术有限公司 Video monitoring and Bluetooth door lock application system and method
US20160239001A1 (en) * 2015-02-16 2016-08-18 Polaris Tech Global Limited Indoor automation and control method and system thereof using rfid-to-bluetooth selective adapter
CN107621967A (en) * 2017-09-27 2018-01-23 深圳市道通科技股份有限公司 The implementation method and device of a kind of system user interface
CN107770849A (en) * 2016-08-18 2018-03-06 国民技术股份有限公司 Communication equipment and its electricity-saving control method and system in Bluetooth communication

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4694894B2 (en) * 2005-06-03 2011-06-08 株式会社アート Access control system
CN101661639A (en) * 2009-09-11 2010-03-03 王远洲 Method and system for controlling intelligent door lock
EP2869541A4 (en) * 2012-06-28 2015-12-16 Meizu Technology Co Ltd User equipment and operation control method therefor
CN103856798A (en) * 2012-12-04 2014-06-11 联想(北京)有限公司 Operation method and electronic equipment
CN106157396B (en) * 2016-04-28 2019-08-23 法法汽车(中国)有限公司 Mobile terminal and electron key for unlock
CN107370873A (en) * 2017-06-19 2017-11-21 北京珠穆朗玛移动通信有限公司 Using management-control method, mobile terminal and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103780759A (en) * 2014-01-16 2014-05-07 东莞安尔发智能科技股份有限公司 GSM anti-theft function type smart lock APP operation guiding method
US20160239001A1 (en) * 2015-02-16 2016-08-18 Polaris Tech Global Limited Indoor automation and control method and system thereof using rfid-to-bluetooth selective adapter
CN104966336A (en) * 2015-05-29 2015-10-07 深圳光启智能光子技术有限公司 Intelligent lock, intelligent lock authorization management method, and intelligent lock authorization management apparatus
CN105554461A (en) * 2015-12-23 2016-05-04 成都家易通信息技术有限公司 Video monitoring and Bluetooth door lock application system and method
CN107770849A (en) * 2016-08-18 2018-03-06 国民技术股份有限公司 Communication equipment and its electricity-saving control method and system in Bluetooth communication
CN107621967A (en) * 2017-09-27 2018-01-23 深圳市道通科技股份有限公司 The implementation method and device of a kind of system user interface

Also Published As

Publication number Publication date
CN111932718A (en) 2020-11-13

Similar Documents

Publication Publication Date Title
US9763098B2 (en) Bypassing security authentication scheme on a lost device to return the device to the owner
US8749375B2 (en) Hands-free home automation application
US20160226674A1 (en) Method and apparatus for controlling smart device
CN112887954B (en) Method, computing device, and computer storage medium for vehicle interaction
CN105573748B (en) Shortcut key customization method and intelligent terminal
US20200169629A1 (en) Verification Code Input Method and Apparatus
CN107908351A (en) Display methods, device and the storage medium of application interface
US10061273B2 (en) Intelligent security hub for providing smart alerts
CN105589619B (en) terminal multi-window display method and device
JP5566309B2 (en) Information processing apparatus and information processing method
CN104866752B (en) A kind of application guard method and user terminal
US20200149204A1 (en) Washing machine control method, and washing machine
EP3472699B1 (en) Method and electronic device for managing functionality of applications
EP3246844A1 (en) System processing method, system processing device and terminal
CN104468993A (en) Method for checking messages
CN107370872A (en) Method, terminal and the control device of a kind of terminal lock machine and control terminal lock machine
WO2017161761A1 (en) Method and terminal for starting app
US9015456B1 (en) Indicator for developer mode
CN104516704B (en) Application activation control method and device in multi-screen system and mobile terminal
WO2020215749A1 (en) Method and apparatus for controlling intelligent door lock, and system, terminal and storage medium
CN109905389A (en) Method for controlling mobile terminal, device and computer readable storage medium
US11576021B2 (en) Data processing system for detecting events and providing notifications
CN108763014B (en) Information reminding method and device, mobile terminal and computer readable medium
US10278024B2 (en) Apparatus and method for facilitating return of a mobile device
CN105260678A (en) Mobile equipment and equipment operating method

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

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

Country of ref document: EP

Kind code of ref document: A1