CN110417866B - Door lock control method and device - Google Patents

Door lock control method and device Download PDF

Info

Publication number
CN110417866B
CN110417866B CN201910585595.4A CN201910585595A CN110417866B CN 110417866 B CN110417866 B CN 110417866B CN 201910585595 A CN201910585595 A CN 201910585595A CN 110417866 B CN110417866 B CN 110417866B
Authority
CN
China
Prior art keywords
door lock
mode
working mode
current
working
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201910585595.4A
Other languages
Chinese (zh)
Other versions
CN110417866A (en
Inventor
何文豪
董明珠
谭建明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Gree Electric Appliances Inc of Zhuhai
Zhuhai Lianyun Technology Co Ltd
Original Assignee
Gree Electric Appliances Inc of Zhuhai
Zhuhai Lianyun Technology Co Ltd
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 Gree Electric Appliances Inc of Zhuhai, Zhuhai Lianyun Technology Co Ltd filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN201910585595.4A priority Critical patent/CN110417866B/en
Publication of CN110417866A publication Critical patent/CN110417866A/en
Application granted granted Critical
Publication of CN110417866B publication Critical patent/CN110417866B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/00571Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated by interacting with a central unit
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • H04L67/125Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
    • 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
    • G07C2009/00365Electronically 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 in combination with a wake-up circuit

Landscapes

  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Lock And Its Accessories (AREA)

Abstract

The application provides a door lock control method and device, which are used for reducing the power consumption of a door lock and improving the endurance time of the door lock while ensuring the normal function of the door lock. The method comprises the following steps: determining the time period of the current moment; determining the door opening frequency corresponding to the time period to which the current moment belongs; determining the current working mode of the door lock according to the door opening frequency corresponding to the time period to which the current moment belongs; the current working mode is one of a first working mode and a second working mode; the first working mode is a mode that the number of the functional modules in the working state in the functional modules included in the door lock is smaller than or equal to a first preset number, the second working mode is a mode that the number of the functional modules in the working state in the functional modules included in the door lock is smaller than or equal to a second preset number, and the first preset number is larger than the second preset number.

Description

Door lock control method and device
Technical Field
The application relates to the technical field of intelligent control, in particular to a door lock control method and device.
Background
With the coming of the era of internet of things and the improvement of living standard of people, more and more families and enterprises begin to use intelligent security products. The intelligent door lock belongs to equipment which is widely applied in intelligent security products.
The functions of the intelligent door lock are also enriched with the continuous progress of the technology, such as: finger vein unblanking, face recognition unblanking, remote unlocking, video monitoring and the like. While the function of the intelligent door lock is increased, the power consumption of the intelligent door lock is increased. The current intelligent door lock is generally powered by a battery, under the condition that the power consumption of the intelligent door lock is increased, the electric quantity of the battery is easily exhausted, so that a user of the intelligent door lock is required to frequently replace the battery, and inconvenience is brought to use.
Therefore, how to make the intelligent door lock guarantee normal functions, reduce the power consumption of the intelligent door lock, and improve the endurance time of the intelligent door lock is a technical problem to be solved urgently in the field.
Disclosure of Invention
The embodiment of the application provides a door lock control method and device, which are used for reducing the power consumption of a door lock and improving the endurance time of the door lock while ensuring the normal function of the door lock.
In a first aspect, the present application provides a door lock control method, including:
determining the time period of the current moment;
determining the door opening frequency corresponding to the time period to which the current moment belongs;
determining the current working mode of the door lock according to the door opening frequency corresponding to the time period at the current moment; the current working mode is one of a first working mode and a second working mode; the first working mode is a mode that the number of the functional modules in the working state in the functional modules included in the door lock is smaller than or equal to a first preset number, the second working mode is a mode that the number of the functional modules in the working state in the functional modules included in the door lock is smaller than or equal to a second preset number, and the first preset number is larger than the second preset number.
In the embodiment of the application, the time period to which the current moment belongs is determined, and the working mode of the door lock is further determined according to the door opening frequency corresponding to the time period to which the current moment belongs, so that the door lock can automatically determine the working mode of the door lock according to the door opening frequencies of different time periods, the power consumption of the door lock is reduced, the cruising ability of the door lock is improved, and the user experience is further improved.
In one possible design, the method further includes:
counting the number of times that the door lock is opened in different time periods;
and determining the door opening frequency of the door lock in different time periods according to the opening times of the door lock in different time periods.
In this application embodiment, the door opening frequency of different time periods may be preset in the door lock by the user according to the self condition, or the door lock may be obtained from the connected electronic device or the cloud, or the door lock may be obtained through long-term statistical learning, for example, a day is divided into a plurality of time periods, the number of times the door lock is opened in each time period is respectively counted, and then the door opening frequency of the door lock corresponding to different time periods is determined.
In one possible design, determining the current operating mode of the door lock according to the door opening frequency corresponding to the time period at the current moment includes:
if the door opening frequency is greater than or equal to a preset frequency, determining that the current working mode of the door lock is the first working mode; or
And if the door opening frequency is less than the preset frequency, determining that the current working mode of the door lock is the second working mode.
In this application embodiment, different operating mode that the frequency of opening the door corresponds to when guaranteeing the normal function's of lock demand, reduce the consumption of lock, reduce the change number of times of the battery of lock, in order to improve user's experience degree.
In one possible design, when the current operation mode of the door lock is the first operation mode or the second operation mode, the method further includes:
determining whether a wake-up instruction is received; the wake-up instruction is used for triggering the current working mode of the door lock to be switched from the first working mode to a third working mode, or the current working mode of the door lock is switched from the second working mode to the third working mode, and the third working mode is a mode in which all functional modules included in the door lock are in a working state;
if the awakening instruction is received, switching the current working mode of the door lock from the first working mode to the third working mode, or switching the current working mode of the door lock from the second working mode to the third working mode.
In this embodiment of the application, no matter whether the current working mode of the door lock is the first working mode or the second working mode, when the wake-up instruction is received, the current working mode of the door lock is switched from the first working mode to the third working mode, or the current working mode of the door lock is switched from the second working mode to the third working mode, where the third working mode is a mode in which all functional modules included in the door lock are in a working state.
In an embodiment of the present application, the wake-up instruction is an instruction sent by an electronic device connected to the door lock; or the awakening instruction is generated when the fact that the distance between the user and the door lock is smaller than a preset distance is detected; or the awakening instruction is an instruction generated when the touch operation of the user on the door lock is detected.
In one possible design, when the current operation mode of the door lock is the first operation mode, the method further includes:
acquiring the door opening mode used by the user;
controlling other unlocking modules except the unlocking module corresponding to the door opening mode habituated to the user to be in a non-working state according to the door opening mode habituated to the user; the unlocking module is used for acquiring unlocking information which is input by the user and used for unlocking the door lock.
In this embodiment, the door lock may include a plurality of unlocking modules, such as a fingerprint acquisition module, a face acquisition module, a palm print acquisition module, and a password input module.
If the plurality of unlocking modules are all in the working state, the user may only use one unlocking mode to unlock the door lock, which results in higher power consumption of the door lock. In order to further reduce the power consumption of the door lock, the door opening mode which is used by the user can be acquired, the unlocking module corresponding to the door opening mode which is used by the user in the unlocking module is controlled to be in a working state, and other unlocking modules are in a non-working state.
In a second aspect, the present application provides a door lock control device including:
the first determining unit is used for determining the time period to which the current moment belongs;
the second determining unit is used for determining the door opening frequency corresponding to the time period to which the current moment belongs;
the third determining unit is used for determining the current working mode of the door lock according to the door opening frequency corresponding to the time period to which the current moment belongs; the current working mode is one of a first working mode and a second working mode; the first working mode is a mode that the number of the functional modules in the working state in the functional modules included in the door lock is smaller than or equal to a first preset number, the second working mode is a mode that the number of the functional modules in the working state in the functional modules included in the door lock is smaller than or equal to a second preset number, and the first preset number is larger than the second preset number.
In one possible design, the apparatus further includes:
the counting unit is used for counting the number of times that the door lock is opened in different time periods;
and the fourth determining unit is used for determining the door opening frequency of the door lock in different time periods according to the number of times that the door lock is opened in different time periods.
In one possible design, the third determining unit determines the current operating mode of the door lock according to the door opening frequency corresponding to the time period to which the current time belongs, and is specifically configured to:
if the door opening frequency is greater than or equal to a preset frequency, determining that the current working mode of the door lock is the first working mode; or
And if the door opening frequency is less than the preset frequency, determining that the current working mode of the door lock is the second working mode.
In one possible design, the apparatus further includes:
the acquiring unit is used for acquiring the door opening mode used by the user;
the control unit is used for controlling other unlocking modules except the unlocking module corresponding to the door opening mode habituated to the user to be in a non-working state according to the door opening mode habituated to the user; the unlocking module is used for acquiring unlocking information which is input by the user and used for unlocking the door lock.
In one possible design, when the current operation mode of the door lock is the first operation mode or the second operation mode, the apparatus further includes:
a fifth determining unit, configured to determine whether a wake-up instruction is received; the wake-up instruction is used for triggering the current working mode of the door lock to be switched from the first working mode to a third working mode, or the current working mode of the door lock is switched from the second working mode to the third working mode, and the third working mode is a mode in which all functional modules included in the door lock are in a working state;
and the switching unit is used for switching the current working mode of the door lock from the first working mode to the third working mode or switching the current working mode of the door lock from the second working mode to the third working mode when the awakening instruction is received.
In a third aspect, an embodiment of the present application further provides a door lock control device, including: a memory to store instructions; at least one processor configured to read instructions from the memory to implement the method as performed by the electronic device of the first aspect or any one of the possible designs of the first aspect.
In a fourth aspect, embodiments of the present application further provide a computer storage medium for storing computer software instructions for the door lock control device described in the second aspect or the door lock control device described in the third aspect, and containing a program designed for the door lock control device in any one of the possible designs of the first aspect or the first aspect.
Drawings
Fig. 1 is a schematic structural diagram of a door lock according to an embodiment of the present application;
fig. 2 is a schematic flow chart of a door lock control method provided by the present application;
fig. 3 is a schematic structural diagram of a door lock control device provided by the present application;
fig. 4 is a schematic structural diagram of another door lock control device provided by the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.
Hereinafter, some terms in the embodiments of the present application are explained to facilitate understanding by those skilled in the art.
The term "and/or" herein is merely an association describing an associated object, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship, unless otherwise specified. Also, in the description of the embodiments of the present application, the terms "first," "second," and the like are used for descriptive purposes only and are not intended to indicate or imply relative importance nor order to indicate or imply order.
Fig. 1 shows a schematic view of the structure of a door lock 100.
The door lock 100 may include a processor 110, an internal memory 120, a communication module 130, buttons 140, a sensor module 150, a display screen 160, and the like. It is to be understood that the illustrated structure of the embodiment of the present application does not specifically limit the door lock 100. In other embodiments of the present application, the door lock 100 may include more or fewer components than shown, or some components may be combined, some components may be split, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
The processor 110 may be a Micro Controller Unit (MCU) in a specific implementation. A memory may also be provided in processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. Avoiding repeated accesses reduces the latency of the processor 110, thereby increasing the efficiency of the system.
Internal memory 120 may be used to store computer-executable program code, including instructions. The processor 110 executes various functional applications and data processing of the door lock 100 by executing instructions stored in the internal memory 120. The internal memory 120 may include a program storage area and a data storage area. The storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required by at least one function, and the like. The data storage area may store data (e.g., audio data, a phone book, etc.) created during use of the door lock 100, and the like. The internal memory 120 may include a high-speed random access memory, and may further include a nonvolatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (UFS), and the like.
The communication module 130 may be connected to the smart home device or the external communication device through a local area network or the internet, and the communication module 130 may receive information, instructions, and parameters sent by the smart home device or the external communication device. The external communication device may be a portable device, such as a mobile phone, a tablet computer, a notebook computer, or a wearable device (e.g., a smart watch or smart glasses) with a wireless communication function. Exemplary embodiments of the mobile device include, but are not limited to, a piggy-back
Figure BDA0002114307680000071
Figure BDA0002114307680000072
Or other operating system device. The intelligent household equipment can be an air conditioner, a refrigerator and the like. In a specific implementation process, the Communication module 130 may be a BlueTooth (BLE) module, a Near Field Communication (NFC) module, or a ZigBee module, or another Communication module.
The sensor module 150 may be a fingerprint sensor, a palm print sensor, a switch sensor of a handle of a door lock, a distance sensor, an infrared sensor, a touch sensor, and the like.
The display screen 160 is used to output prompt information. In addition, the door lock 100 can implement audio functions through an audio module (speaker, receiver, microphone, earphone interface), the processor 110, and the like. Such as capturing voice input from a user, etc. The door lock 100 may receive key 140 inputs, generating key signal inputs relating to user settings and function control of the door lock 100.
Although not shown in fig. 1, the door lock 100 may further include a camera for collecting face information of the user; a motor may also be included for generating a vibration alert (such as an incoming call vibration alert); the door lock also comprises an indicator such as an indicator lamp for indicating the change of the electric quantity of the battery of the door lock, and the like, and also comprises a non-contact IC card antenna, a door lock motor driving module and a battery electric quantity monitoring module.
The technical solution provided by the embodiment of the present application is described below with reference to the accompanying drawings, and in the following description, the technical solution provided by the embodiment of the present application is applied to the door lock shown in fig. 1 as an example.
Referring to fig. 2, a method for controlling a door lock according to an embodiment of the present application is described as follows:
s201: and determining the time period to which the current moment belongs.
In the embodiment of the present application, the time period to which the current time belongs may be a time period within a set time for recording the number of times of unlocking the door lock. In a specific implementation process, 24 hours a day may be divided into a plurality of time periods, for example, the time periods are divided into a plurality of time periods such as 8:00-10:00,10:00-12:00,4:00-18:00,18:00-20:00,22:00-24:00, and the manner of dividing time is not limited to the time division according to equal intervals, and may also be divided according to unequal intervals. And further, the time period to which the current time belongs can be determined according to the divided time periods.
S202: determining the door opening frequency corresponding to the time period to which the current moment belongs;
in the embodiment of the application, the door opening frequency of the door lock in different time periods can be preset in the door lock by a user according to self conditions, can be sent by other electronic equipment, and can also be obtained from a cloud, for example, the frequency is 8:00-10:00 and corresponds to 4 times/hour; 10:00-12:00 for 2 times/hour, 4:00-18:00 for 8 times/hour, 18:00-20:00 for 2 times/hour, and 22:00-24:00 for 2 times/hour.
Of course, in the embodiment of the present application, the door lock may also determine the unlocking frequency of the door lock in different time periods in a learning manner, and specifically includes the following steps:
counting the number of times that the door lock is opened in different time periods;
and determining the door opening frequency of the door lock in different time periods according to the opening times of the door lock in different time periods.
In a specific implementation process, the door lock can count the number of times the door lock is opened in different time periods, and the number of times the door lock is opened in different time periods is divided by the length of each time period, so that the unlocking frequency of the door lock corresponding to different time periods can be determined.
After step S202 is executed, step S203 is executed: determining the current working mode of the door lock according to the door opening frequency corresponding to the time period at the current moment; the current working mode is one of a first working mode and a second working mode; the first working mode is a mode that the number of the functional modules in the working state in the functional modules included in the door lock is smaller than or equal to a first preset number, the second working mode is a mode that the number of the functional modules in the working state in the functional modules included in the door lock is smaller than or equal to a second preset number, and the first preset number is larger than the second preset number.
In the embodiment of the application, the first operation mode is that some functional modules in the functional modules included in the door lock are in an operation state, and some functions are in a non-operation state. Taking the functional modules included in the door lock structure shown in fig. 1 as an example, in the first working mode, the processor MCU of the door lock controls the communication module 130, the display screen 160, the door lock motor driving module, and the battery power monitoring module of the door lock to be turned off, and the reserved key 140, the sensor module 150, the camera, and the non-contact IC card antenna are turned on.
The second working mode is that part of the functional modules which are in the working state in the first working mode are in the working state. Continuing with the above example, in the second operation mode, the MCU of the door lock controls the keys 140, the sensor module 150 (fingerprint sensor, palm print sensor), the camera, and the non-contact IC card antenna of the door lock to be in the non-operation state. Only the MCU and the sensor module 150 (infrared sensor, switch sensor of handle of door lock, distance sensor) of the door lock are kept in working state to further reduce the power consumption of the door lock.
After the door opening frequency corresponding to the time period to which the current moment belongs is determined, the working mode of the door lock can be determined, and the method comprises the following steps in the concrete implementation process:
if the door opening frequency is greater than or equal to a preset frequency, determining that the current working mode of the door lock is the first working mode; or
And if the door opening frequency is less than the preset frequency, determining that the current working mode of the door lock is the second working mode.
In the embodiment of the present application, the preset door opening frequency may be set according to the actual situation of the user of the door lock, for example, 5 times/hour, 8 times/hour or 10 times/hour, and may also be other values. When the door opening frequency of the time period which belongs to the current moment is greater than or equal to the preset frequency, namely the door is opened frequently in the time period, determining that the working mode of the door lock is the first working mode, namely adjusting the working mode of the door lock to the first working mode; when the door opening frequency of the time period which belongs to the current moment is smaller than the preset frequency, namely the door is opened less frequently in the time period, the working mode of the door lock is determined to be the second working mode, namely the working mode of the door lock is adjusted to be the second working mode.
In an embodiment of the present application, when the current operation mode of the door lock is the first operation mode, the method further includes:
acquiring the door opening mode used by the user;
controlling other unlocking modules except the unlocking module corresponding to the door opening mode habituated to the user to be in a non-working state according to the door opening mode habituated to the user; the unlocking module is used for acquiring unlocking information which is input by the user and used for unlocking the door lock.
In a specific implementation process, when the current working mode of the door lock is the first working mode, the door opening mode that the user is accustomed to can also be acquired, including but not limited to: the password input door opening mode, the face recognition door opening mode, the remote control door opening mode, the fingerprint recognition door opening mode or the palm print recognition door opening mode. The different door opening modes correspond to different unlocking modules, for example, the unlocking module corresponding to the door opening mode of password input is a password board, the unlocking module corresponding to the door opening mode of face recognition is a camera, the unlocking module corresponding to the door opening mode of fingerprint recognition is a fingerprint sensor, and the unlocking module corresponding to the door opening mode of palm print recognition is a palm print sensor.
However, in the actual use process, a user of the door lock usually only uses one door opening mode, such as password unlocking or fingerprint unlocking, but not uses several door opening modes at the same time, and in this case, if all unlocking modules are to be kept in the working state, the power consumption of the door lock is inevitably increased. Therefore, in the embodiment of the application, the door opening mode which is used by the user can be obtained first, the unlocking module corresponding to the door opening mode which is used by the user in the partial functional modules is controlled to be in the working state according to the door opening mode which is used by the user, and other unlocking modules are in the non-working state, so that the power consumption of the door lock is reduced. For example, when the door opening mode used for acquiring the habit of the user is fingerprint unlocking, the fingerprint sensor is controlled to be in a working state, and the password board, the camera and the non-contact type IC antenna are controlled to be in a non-working state.
In an embodiment of the present application, when the current operation mode of the door lock is in the first operation mode and the second operation mode, the method further includes:
determining whether a wake-up instruction is received; the wake-up instruction is used for triggering the current working mode of the door lock to be switched from the first working mode to a third working mode, or the current working mode of the door lock is switched from the second working mode to the third working mode, and the third working mode is a mode in which all functional modules included in the door lock are in a working state;
if the awakening instruction is received, switching the current working mode of the door lock from the first working mode to the third working mode, or switching the current working mode of the door lock from the second working mode to the third working mode.
In an embodiment of the present application, the wake-up command may be a command sent by an electronic device connected to the door lock. The specific application scenario may be that a user is on the way home, in order to enable the door lock to respond quickly, the operating mode of the door lock may be switched through remote control, that is, the electronic device sends a wake-up instruction to the door lock, and the door lock receives and responds to the wake-up instruction to trigger switching of the current operating mode of the door lock from the first operating mode to the third operating mode, or switching of the current operating mode from the second operating mode to the third operating mode.
The wake-up instruction may also be an instruction generated when the door lock detects that the distance from the user to the door lock is less than a preset distance. In the specific implementation process, the door lock detects whether a user approaches the door lock according to a preset time interval, when the distance between the user and the door lock is smaller than a preset value, it is indicated that the door lock is possibly opened, and at this time, the current working mode of the door lock is triggered to be switched from the first working mode to the third working mode, or the current working mode is switched from the second working mode to the third working mode, so that the response speed of the door lock is improved.
The wake-up instruction may also be an instruction generated when a touch operation of the door lock by the user is detected. In a specific implementation process, when the door lock detects that a user of the door lock performs touch operation on the door lock, it indicates that the door lock may be opened, and at this time, the current working mode of the door lock is triggered to be switched from the first working mode to the third working mode, or the current working mode is switched from the second working mode to the third working mode, so as to improve the response speed of the door lock.
In the embodiment of the application, the third working mode is a mode in which all the functional modules included in the door lock are in a working state, and in the mode, the door lock can quickly respond to the operation of a user of the door lock, so that better use experience is brought to the user.
In the embodiments provided in the present application, the method provided in the embodiments of the present application is described from the perspective of the door lock 100 as an execution subject.
Referring to fig. 3, based on the same inventive concept, an embodiment of the present application provides an electronic device 300, including:
a first determination unit 301 configured to determine a time period to which a current time belongs;
a second determining unit 302, configured to determine a door opening frequency corresponding to a time period to which the current time belongs;
a third determining unit 303, configured to determine a working mode of the door lock according to a door opening frequency corresponding to the time period to which the current time belongs; the working mode is one of a first working mode and a second working mode; the first operation mode is a mode in which some of the functional modules included in the door lock are in an operation state, and the second operation mode is a mode in which some of the functional modules are in an operation state.
In one possible design, the apparatus further includes:
the counting unit is used for counting the number of times that the door lock is opened in different time periods;
and the fourth determining unit is used for determining the door opening frequency of the door lock in different time periods according to the number of times that the door lock is opened in different time periods.
In one possible design, the third determining unit 303 determines the operating mode of the door lock according to the door opening frequency corresponding to the time period to which the current time belongs, and is specifically configured to:
if the door opening frequency is greater than or equal to a preset frequency, determining that the working mode of the door lock is the first working mode; or
And if the door opening frequency is less than the preset frequency, determining that the working mode of the door lock is the second working mode.
In one possible design, the apparatus further includes:
the acquiring unit is used for acquiring the door opening mode used by the user;
the control unit is used for controlling unlocking modules corresponding to the door opening modes except the door opening modes used by the user to be in a working state and other unlocking modules corresponding to the door opening modes used by the user to be in a non-working state according to the door opening modes used by the user; the unlocking module is used for acquiring unlocking information input by the user for unlocking the door lock.
In one possible design, when the current operation mode of the door lock is the first operation mode or the second operation mode, the apparatus further includes:
a fifth determining unit, configured to determine whether a wake-up instruction is received; the awakening instruction is used for awakening to switch the current working mode of the door lock from the first working mode to a third working mode, or switching the current working mode of the door lock from the second working mode to the third working mode, and the third working mode is a mode in which all functional modules included in the door lock are in a working state;
and the switching unit is used for switching the current working mode of the door lock from the first working mode to the third working mode or switching the current working mode of the door lock from the second working mode to the third working mode when the awakening instruction is received.
Referring to fig. 4, an embodiment of the present application further provides a door lock control device 400, including:
a memory 401 for storing instructions; at least one processor 402 configured to read instructions from the memory to implement the method performed by the door lock according to the first aspect or any one of the possible designs of the first aspect, the door lock control device may further include a display screen 403.
The present application also provides a computer storage medium, which may include a memory, where the memory may store a program, and the program includes all the steps executed by the door lock as described in the method embodiment shown in fig. 2.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (8)

1. A method of door lock control, comprising:
determining the time period of the current moment;
counting the times of door lock opening in different time periods, and determining the door opening frequency of the door lock in different time periods according to the times of the door lock opening in different time periods;
determining the door opening frequency corresponding to the time period to which the current time belongs according to the door opening frequency corresponding to the door lock in different time periods;
if the door opening frequency corresponding to the time period of the current moment is greater than or equal to the preset frequency, determining that the current working mode of the door lock is a first working mode;
if the door opening frequency corresponding to the time period of the current moment is less than the preset frequency, determining that the current working mode of the door lock is a second working mode;
the first working mode is a mode that the number of functional modules in working states in the functional modules included in the door lock is smaller than or equal to a first preset number, the second working mode is a mode that the number of functional modules in working states in the functional modules included in the door lock is smaller than or equal to a second preset number, and the first preset number is larger than the second preset number.
2. The method of claim 1, wherein when the current operating mode of the door lock is the first operating mode, the method further comprises:
acquiring a door opening mode used by a user;
controlling other unlocking modules except the unlocking module corresponding to the door opening mode habituated to the user to be in a non-working state according to the door opening mode habituated to the user; the unlocking module is used for acquiring unlocking information which is input by the user and used for unlocking the door lock.
3. The method of claim 1 or 2, wherein when the current operating mode of the door lock is the first operating mode or the second operating mode, the method further comprises:
determining whether a wake-up instruction is received; the wake-up instruction is used for triggering the current working mode of the door lock to be switched from the first working mode to a third working mode, or the current working mode of the door lock is switched from the second working mode to the third working mode, and the third working mode is a mode in which all functional modules included in the door lock are in a working state;
if the awakening instruction is received, switching the current working mode of the door lock from the first working mode to the third working mode, or switching the current working mode of the door lock from the second working mode to the third working mode.
4. A door lock control apparatus, characterized by comprising:
the first determining unit is used for determining the time period to which the current moment belongs;
the second determining unit is used for counting the times of door lock opening in different time periods, and determining the door opening frequency of the door lock in different time periods according to the times of door lock opening in different time periods; the third determining unit is used for determining the door opening frequency corresponding to the time period to which the current time belongs according to the door opening frequency corresponding to the door lock in different time periods;
the fourth determining unit is used for determining that the current working mode of the door lock is the first working mode if the door opening frequency corresponding to the time period to which the current time belongs is greater than or equal to the preset frequency; if the door opening frequency corresponding to the time period of the current moment is less than the preset frequency, determining that the current working mode of the door lock is a second working mode; the first working mode is a mode that the number of functional modules in working states in the functional modules included in the door lock is smaller than or equal to a first preset number, the second working mode is a mode that the number of functional modules in working states in the functional modules included in the door lock is smaller than or equal to a second preset number, and the first preset number is larger than the second preset number.
5. The apparatus of claim 4, further comprising:
the acquiring unit is used for acquiring the door opening mode used by the user;
the control unit is used for controlling other unlocking modules except the unlocking module corresponding to the door opening mode habituated to the user to be in a non-working state according to the door opening mode habituated to the user; the unlocking module is used for acquiring unlocking information which is input by the user and used for unlocking the door lock.
6. The apparatus of claim 4 or 5, wherein when the current operation mode of the door lock is the first operation mode or the second operation mode, the apparatus further comprises:
a fifth determining unit, configured to determine whether a wake-up instruction is received; the wake-up instruction is used for triggering the current working mode of the door lock to be switched from the first working mode to a third working mode, or the current working mode of the door lock is switched from the second working mode to the third working mode, and the third working mode is a mode in which all functional modules included in the door lock are in a working state;
and the switching unit is used for switching the current working mode of the door lock from the first working mode to the third working mode or switching the current working mode of the door lock from the second working mode to the third working mode when the awakening instruction is received.
7. A door lock control apparatus, characterized by comprising:
a memory to store instructions;
at least one processor configured to read instructions from the memory to implement the method of any of claims 1-3.
8. A computer storage medium having stored therein instructions that, when executed on a computer, cause the computer to perform the method of any one of claims 1-3.
CN201910585595.4A 2019-07-01 2019-07-01 Door lock control method and device Active CN110417866B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910585595.4A CN110417866B (en) 2019-07-01 2019-07-01 Door lock control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910585595.4A CN110417866B (en) 2019-07-01 2019-07-01 Door lock control method and device

Publications (2)

Publication Number Publication Date
CN110417866A CN110417866A (en) 2019-11-05
CN110417866B true CN110417866B (en) 2022-01-11

Family

ID=68358898

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910585595.4A Active CN110417866B (en) 2019-07-01 2019-07-01 Door lock control method and device

Country Status (1)

Country Link
CN (1) CN110417866B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111161452A (en) * 2019-12-30 2020-05-15 珠海格力电器股份有限公司 Scanning method and scanning device for controlling electronic lock authentication module
CN111080860A (en) * 2019-12-31 2020-04-28 常州科新永安电子锁有限公司 Intelligent lock, control method, readable storage medium, server side and system
CN111145398B (en) * 2019-12-31 2022-04-12 深圳绿米联创科技有限公司 Intelligent door lock control method and device, intelligent door lock and storage medium
CN113947827A (en) * 2021-10-09 2022-01-18 珠海格力电器股份有限公司 Method and device for adjusting running power consumption of door lock, electronic equipment and storage medium
CN113850940A (en) * 2021-10-14 2021-12-28 睿云联(厦门)网络通讯技术有限公司 Bluetooth-based access control method, device and equipment
CN114999033A (en) * 2022-05-31 2022-09-02 珠海格力电器股份有限公司 Door lock control method and device, intelligent door lock and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104950862A (en) * 2015-07-28 2015-09-30 苏州大学 Intelligent home control method based on truth and false values
WO2019048735A1 (en) * 2017-09-08 2019-03-14 Ovaa Oy Electronic locking device and apparatus for providing an authorization to unlock a door lock
CN109830019A (en) * 2019-02-21 2019-05-31 广州技象科技有限公司 A kind of working method of the intelligent door lock based on LoRa technology

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104460935A (en) * 2013-09-18 2015-03-25 联想(北京)有限公司 Information processing method and electronic equipment
CN103559081B (en) * 2013-11-01 2017-11-07 贝壳网际(北京)安全技术有限公司 Recommendation method, device and the mobile terminal of working mode of mobile terminal
CN104159281B (en) * 2014-08-27 2018-09-04 努比亚技术有限公司 The electricity saving method and device of mobile terminal
CN104534620B (en) * 2014-12-11 2017-02-22 广东美的制冷设备有限公司 Air conditioner with Bluetooth module as well as Bluetooth module power-saving device and method thereof
KR102579694B1 (en) * 2015-11-20 2023-09-19 삼성전자주식회사 Method of function operation and electronic device supporting the same

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104950862A (en) * 2015-07-28 2015-09-30 苏州大学 Intelligent home control method based on truth and false values
WO2019048735A1 (en) * 2017-09-08 2019-03-14 Ovaa Oy Electronic locking device and apparatus for providing an authorization to unlock a door lock
CN109830019A (en) * 2019-02-21 2019-05-31 广州技象科技有限公司 A kind of working method of the intelligent door lock based on LoRa technology

Also Published As

Publication number Publication date
CN110417866A (en) 2019-11-05

Similar Documents

Publication Publication Date Title
CN110417866B (en) Door lock control method and device
US10069953B2 (en) Electronic device with a touch sensor and method for operating the same
KR101918421B1 (en) Raise gesture detection in a device
EP3525124B1 (en) Fingerprint unlocking
CN105511625B (en) The awakening method and device of screen
US7110799B1 (en) Mobile terminal for interoperating with a standard or push-button enabled headset
CN105138171B (en) Touch key-press and fingerprint identification method
RU2637900C2 (en) Element activation method and device
CN105306718B (en) Incidence prompt method and device
CN104657057A (en) Terminal waking method and device
US20210329526A1 (en) Terminal Behavior Triggering Method and Terminal
CN103488924A (en) Terminal unlocking processing method, device and equipment
CN104950775A (en) Circuit, method and device for waking up main MCU (micro control unit)
CN106371643B (en) Touch chip crash handling method and device
CN112650405B (en) Interaction method of electronic equipment and electronic equipment
CN109040451B (en) Method and device for controlling equipment use, terminal equipment and storage medium
US11620995B2 (en) Voice interaction processing method and apparatus
US20140317429A1 (en) Electronic device and method for resuming from hibernation for the same
CN106021077A (en) Warning method and device of terminal
CN109086124A (en) Method, apparatus, electronic equipment and the storage medium of adjustment time
CN107257408B (en) Main screen page display method, terminal and computer readable storage medium
CN105242775B (en) The method and device of state adjustment
CN106778169A (en) Unlocked by fingerprint method and device
US9541966B2 (en) Systems and methods for utilizing acceleration event signatures
CN107368175A (en) Reduce processing method, device and the terminal of power consumption of terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant