CN110417866A - A kind of method and device of door lock control - Google Patents
A kind of method and device of door lock control Download PDFInfo
- Publication number
- CN110417866A CN110417866A CN201910585595.4A CN201910585595A CN110417866A CN 110417866 A CN110417866 A CN 110417866A CN 201910585595 A CN201910585595 A CN 201910585595A CN 110417866 A CN110417866 A CN 110417866A
- Authority
- CN
- China
- Prior art keywords
- door lock
- mode
- operating mode
- operation mode
- door
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME 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/00—Individual registration on entry or exit
- G07C9/00174—Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
- G07C9/00571—Electronically 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
- H04L67/125—Protocols 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
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME 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/00—Individual registration on entry or exit
- G07C9/00174—Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
- G07C9/00309—Electronically 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/00365—Electronically 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
Abstract
The method and device that the application provides a kind of door lock control improves the cruise duration of door lock for reducing door lock power consumption while guaranteeing the normal function of door lock.This method comprises: determining the period belonging to current time;Determine corresponding enabling frequency of affiliated period at the current time;According to corresponding enabling frequency of affiliated period at the current time, the current operation mode of door lock is determined;Wherein, the current operation mode is one of the first operating mode, the second operating mode;First operating mode is that the number of functional module in running order in functional module that the door lock includes is less than or equal to the mode of the first predetermined number, second operating mode is that the number of the in running order functional module of functional module that the door lock includes is less than or equal to the mode of the second predetermined number, and first predetermined number is greater than second predetermined number.
Description
Technical field
This application involves field of intelligent control technology, in particular to a kind of method and device of door lock control.
Background technique
With the arrival and the improvement of people's living standards of the internet of things era, more and more families and enterprise begin to use
Intelligent security guard product.Wherein, intelligent door lock just belongs to a widely used equipment in intelligent security guard product.
The function of intelligent door lock is enriched also with being constantly progressive for technology, such as: refer to vein unlocking, recognition of face
Unlocking, remote unlocking, video monitoring etc..While intelligent door lock function increases, incident is exactly intelligent door lock
The increase of power consumption.And what current intelligent door lock was powered generally by battery, the case where intelligent door lock power consumption increases
Under, battery capacity is easy for exhausting, this just needs the user of intelligent door lock often to replace battery, makes troubles to using.
Therefore, how to make intelligent door lock while guaranteeing normal function, reduce the power consumption of intelligent door lock, improve intelligence
The cruise duration of door lock is this field technical problem urgently to be resolved.
Summary of the invention
The embodiment of the present application provides a kind of method and device of door lock control, for while guaranteeing door lock normal function
Door lock power consumption is reduced, the cruise duration of door lock is improved.
In a first aspect, this application provides a kind of control method for door lock, comprising:
Determine the period belonging to current time;
Determine corresponding enabling frequency of affiliated period at the current time;
According to the corresponding enabling frequency of period described in the current time, the current operation mode of the door lock is determined;
Wherein, the current operation mode is one of the first operating mode, the second operating mode;First operating mode is institute
The number for stating functional module in running order in the functional module that door lock includes is less than or equal to the mould of the first predetermined number
Formula, second operating mode be the number of the in running order functional module of functional module that the door lock includes be less than or
Equal to the mode of the second predetermined number, first predetermined number is greater than second predetermined number.
In the embodiment of the present application, the period belonging to current time is determined, and according to the affiliated period pair at current time
The enabling frequency answered, and then determine the operating mode of door lock, so that door lock can be automatically according to enabling in different time periods
Frequency determines the operating mode of door lock, to reduce the power consumption of door lock, improves the cruising ability of door lock, and then improve the experience of user
Degree.
In a possible design, the method also includes:
Count the number that the door lock is opened in different time period;
According to the number that the door lock is opened in different time period, determine the door lock in the different time sections pair
The enabling frequency answered.
In the embodiment of the present application, enabling frequency in different time periods can be user and is set in advance according to own situation
In door lock, it is also possible to what door lock was obtained from the electronic equipment of connection or cloud, is also possible to system of the door lock by long-term
Meter study obtains, such as is divided into multiple periods for one day, counts the number that each time Inner door lock is opened respectively, then
Determine door lock in the corresponding enabling frequency of different time sections.
In a possible design, according to the corresponding enabling frequency of period described in the current time, determine described in
The current operation mode of door lock, comprising:
If the enabling frequency is greater than or equal to predeterminated frequency, determine that the current operation mode of the door lock is described first
Operating mode;Or
If the enabling frequency is less than the predeterminated frequency, determine that the current operation mode of the door lock is second work
Operation mode.
In the embodiment of the present application, different enabling frequencies corresponds to different operating modes, to guarantee the normal of door lock
While the demand of function, the power consumption of door lock is reduced, reduces the replacement number of the battery of door lock, to improve the Experience Degree of user.
It is first operating mode or described in the current operation mode of the door lock in a possible design
When two operating modes, the method also includes:
Determine whether to receive wake up instruction;Wherein, the wake up instruction is for triggering the current work of the door lock
Operation mode switches to third operating mode by first operating mode, or by the current operation mode of the door lock by described
Two operating modes switch to the instruction of third operating mode, and the third operating mode is that the functional module that the door lock includes is equal
In running order mode;
If receiving the wake up instruction, the current operation mode of the door lock is switched to by first operating mode
The third operating mode, or the current operation mode of the door lock is switched into the third work by second operating mode
Operation mode.
In the embodiment of the present application, no matter the current operation mode of door lock is the first operating mode or the second Working mould
The current operation mode of door lock is then switched to third operating mode by the first operating mode when receiving wake up instruction by formula,
Or the current operation mode of door lock is switched into third operating mode by the second operating mode, wherein third operating mode is door
The functional module that lock includes is in the mode of working condition.
In the embodiment of the present application, the wake up instruction is the instruction sent by the electronic equipment connecting with the door lock;
Or the wake up instruction is the instruction generated when the distance for detecting door lock described in the user distance is less than pre-determined distance;Or
The wake up instruction is the instruction generated when detecting that the user operates the touching that the door lock carries out.
It is described when the current operation mode of the door lock is first operating mode in a possible design
Method further include:
Obtain the door-opening mode of user's habit;
According to the door-opening mode that the user is accustomed to, control removes solution mode locking corresponding with the door-opening mode that the user is accustomed to
Other unlocked states outside block are in off working state;Wherein, the unlocked state is the use for acquiring user's input
In the module for the unlocking information for opening the door lock.
In the embodiment of the present application, door lock may include multiple unlocked states, such as finger print acquisition module, face acquire mould
Block, palmmprint acquisition module, Password Input module.
So when the current operation mode of door lock is the first operating mode, if above-mentioned multiple unlocked states are in work
State, and user can only may be unlocked using a kind of unlocking manner, cause door lock power consumption higher.For the function for further decreasing door lock
Consumption can also obtain the door-opening mode of user's habit, control unlock corresponding with the door-opening mode of user's habit in unlocked state
Module is in running order, and other unlocked states are in off working state.
Second aspect, this application provides a kind of door-lock controllers, comprising:
First determination unit, for determining the period belonging to current time;
Second determination unit, for determining corresponding enabling frequency of affiliated period at the current time;
Third determination unit, for determining the door according to corresponding enabling frequency of affiliated period at the current time
The current operation mode of lock;Wherein, the current operation mode is one of the first operating mode, the second operating mode;Institute
The number that the first operating mode is functional module in running order in functional module that the door lock includes is stated to be less than or wait
In the mode of the first predetermined number, second operating mode is the in running order function of functional module that the door lock includes
The number of energy module is less than or equal to the mode of the second predetermined number, and first predetermined number is greater than described second default
Number.
In a possible design, described device further include:
Statistic unit, the number being opened in different time period for counting the door lock;
4th determination unit, the number for being opened in different time period according to the door lock, determines the door lock
In the corresponding enabling frequency of the different time sections.
It is corresponding according to the affiliated period at the current time in the third determination unit in a possible design
Enabling frequency determines the current operation mode of the door lock, is specifically used for:
If the enabling frequency is greater than or equal to predeterminated frequency, determine that the current operation mode of the door lock is described first
Operating mode;Or
If the enabling frequency is less than the predeterminated frequency, determine that the current operation mode of the door lock is second work
Operation mode.
In a possible design, described device further include:
Acquiring unit, for obtaining the door-opening mode of user's habit;
Control unit, the door-opening mode for being accustomed to according to the user, control is except the enabling side being accustomed to the user
Other unlocked states outside the corresponding unlocked state of formula are in off working state;Wherein, the unlocked state is for acquiring
State the module of the unlocking information for being used to open the door lock of user's input.
It is first operating mode or described in the current operation mode of the door lock in a possible design
When two operating modes, described device further include:
5th determination unit is used to determine whether to receive wake up instruction;Wherein, the wake up instruction is incited somebody to action for triggering
The current operation mode of the door lock switches to third operating mode by first operating mode, or by the current of the door lock
Operating mode is switched to the instruction of third operating mode by second operating mode, and the third operating mode is the door lock
Including functional module be in the mode of working condition;
Switch unit, for when receiving the wake up instruction, by the current operation mode of the door lock by described
One operating mode switches to the third operating mode, or by the current operation mode of the door lock by second operating mode
Switch to the third operating mode.
The third aspect, the embodiment of the present application also provide a kind of door-lock controller, comprising: memory, for storing instruction;
At least one processor realizes such as any one of first aspect or first aspect for reading the instruction in the memory
Method performed by electronic equipment in possible design.
Fourth aspect, the embodiment of the present application also provide a kind of computer storage medium, for being stored as above-mentioned second aspect
Computer software instructions used in door-lock controller described in described door-lock controller or the third aspect, and include
It is journey designed by door-lock controller in any one possible design for executing above-mentioned first aspect or first aspect
Sequence.
Detailed description of the invention
Fig. 1 is a kind of structural schematic diagram for door lock that one embodiment of the application provides;
Fig. 2 is a kind of flow diagram of control method for door lock provided by the present application;
Fig. 3 is a kind of structural schematic diagram of door-lock controller provided by the present application;
Fig. 4 is the structural schematic diagram of another door-lock controller provided by the present application.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application is described.
Hereinafter, the part term in the embodiment of the present application is explained, in order to those skilled in the art understand that.
The terms "and/or", only a kind of incidence relation for describing affiliated partner, indicates that there may be three kinds of passes
System, for example, A and/or B, can indicate: individualism A exists simultaneously A and B, these three situations of individualism B.In addition, herein
Middle character "/" typicallys represent the relationship that forward-backward correlation object is a kind of "or" unless otherwise specified.And in the embodiment of the present application
Description in, the vocabulary such as " first ", " second " are only used for distinguishing the purpose of description, be not understood to indicate or imply opposite
Importance can not be interpreted as indication or suggestion sequence.
Fig. 1 shows the structural schematic diagram of door lock 100.
Door lock 100 may include processor 110, internal storage 120, communication module 130, key 140, sensor module
150 and display screen 160 etc..It is understood that the structure of the embodiment of the present application signal does not constitute the tool to door lock 100
Body limits.In other embodiments of the application, door lock 100 may include than illustrating more or fewer components, or combination
Certain components perhaps split certain components or different component layouts.The component of diagram can be with hardware, software or software
Combination with hardware is realized.
Processor 110 can be micro-control unit (Microcontroller Unit, MCU) during specific implementation.
Memory can also be set in processor 110, for storing instruction and data.In some embodiments, depositing in processor 110
Reservoir is cache memory.The memory can save the instruction or data that processor 110 is just used or is recycled.Such as
Fruit processor 110 needs to reuse the instruction or data, can call directly from the memory.Repeated access is avoided,
Reduce the waiting time of processor 110, thus improves the efficiency of system.
Internal storage 120 can be used for storing computer executable program code, and the executable program code includes
Instruction.Processor 110 is stored in the instruction of internal storage 120 by operation, thereby executing the various function application of door lock 100
And data processing.Internal storage 120 may include storing program area and storage data area.Wherein, storing program area can deposit
Store up operating system, application program (such as sound-playing function, image player function etc.) needed at least one function etc..Storage
Data field can store the data (such as audio data, phone directory etc.) etc. created in 100 use process of door lock.Wherein, internal
Memory 120 may include high-speed random access memory, can also include nonvolatile memory, for example, at least a disk
Memory device, flush memory device, generic flash memory (universal flash storage, UFS) etc..
Communication module 130 can be connect by local area network or internet with smart home device or external communications equipment, be led to
Letter module 130 can receive information, instruction and the parameter that smart home device or external communications equipment are sent.Wherein, external logical
News equipment can be portable device, as example mobile device, such as mobile phone, tablet computer, notebook computer or have
Wearable device (such as smartwatch or intelligent glasses) of wireless communication function etc..The exemplary embodiment packet of the mobile device
It includes but is not limited to carry Or the equipment of other operating systems.Smart home is set
It is standby to can be air-conditioning, refrigerator etc..During specific implementation, communication module 130 can be bluetooth (BlueTooth, BLE) mould
Block, near-field communication (Near Field Communication, NFC) module either ZigBee module, or be other communications
Module.
Sensor module 150 can be fingerprint sensor, palmprint sensor, the switch sensor of the handle of door lock, distance
Sensor, infrared sensor, touch sensor etc..
Display screen 160 is for exporting prompt information.In addition, door lock 100 can by audio-frequency module (loudspeaker, receiver,
Microphone, earphone interface) and processor 110 etc. realize audio-frequency function.Such as voice input of acquisition user etc..Door lock 100
It can receive the input of key 140, generate key signals input related with the user setting of door lock 100 and function control.
Although Fig. 1 is not shown, door lock 100 can also include camera, for acquiring the face information of user;It can also wrap
Motor is included, for generating vibration prompt (such as calling vibration prompt);It can also include indicator such as indicator light, be used to indicate
The electric quantity change etc. of the battery of door lock can also include contactless IC card antenna, door-lock motor drive module, monitoring cell electricity quantity
Module.
Technical solution provided by the embodiments of the present application then is introduced in conjunction with attached drawing below, it, will during following introduction
Technical solution provided by the embodiments of the present application is applied for door lock shown in Fig. 1.
Fig. 2 is referred to, for a kind of control method for door lock that one embodiment of the application provides, the process description of this method is such as
Under:
S201: the period belonging to current time is determined.
In the embodiment of the present application, the period belonging to current time can be for door lock recording unlocking times and when setting
The interior period.During specific implementation, one day 24 hour can be divided into multiple periods, such as be divided into 8:
Multiple periods such as 00-10:00,10:00-12:00,4:00-18:00,18:00-20:00,22:00-24:00 divide certainly
The mode of time is not limited to divide according to the equally spaced time, is also possible to be divided according to the time of unequal interval.Into
And the period belonging to current time can be determined according to the period of division.
S202: corresponding enabling frequency of affiliated period at the current time is determined;
In the embodiment of the present application, door lock can be user according to own situation in door in enabling frequency in different time periods
It is pre-set in lock, can be and receive what other electronic equipments were sent, be also possible to from cloud acquisition, such as 8:
00-10:00 corresponds to 4 times/hour;10:00-12:00 corresponds to 2 times/hour, and 4:00-18:00 corresponds to 8 times/hour, 18:00-20:
00 corresponding 2 times/hour, corresponding 2 times/hour of 22:00-24:00.
Certainly, in the embodiment of the present application, door lock can also determine door lock in different time periods by way of study
Unlocking frequency, specifically comprises the following steps:
Count the number that the door lock is opened in different time period;
According to the number that the door lock is opened in different time period, determine the door lock in the different time sections pair
The enabling frequency answered.
During specific implementation, door lock can count the number that door lock is opened in different time period, when will be different
Between the number that is opened of section Inner door lock respectively divided by the length of each period, and then can determine door lock in different time sections pair
The unlocking frequency answered.
After executing the step S202, S203 is thened follow the steps: corresponding according to the period described in the current time
Enabling frequency determines the current operation mode of the door lock;Wherein, the current operation mode is the first operating mode, second
One of operating mode;First operating mode is function in running order in functional module that the door lock includes
The number of module is less than or equal to the mode of the first predetermined number, and second operating mode is the function mould that the door lock includes
The number of the in running order functional module of block is less than or equal to the mode of the second predetermined number, and first predetermined number is big
In second predetermined number.
In the embodiment of the present application, the first operating mode is that have partial function module to be in functional module that door lock includes
Working condition has partial function to be in off working state.By taking the functional module for including in door latch structure shown in FIG. 1 as an example, In
Under first operating mode, the communication module 130 of the processor MCU control door lock of door lock, display screen 160, door-lock motor drive mould
Block, the shutdown of monitoring cell electricity quantity module retain key 140, sensor module 150, camera, contactless IC card antenna and connect.
Second operating mode is the part operational module in functional module in running order in the first operation mode
It is in running order.Continue to continue to use the example above, in the second operation mode, the key 140 of the MCU control door lock of door lock passes
Sensor module 150 (fingerprint sensor, palmprint sensor), camera, contactless IC card antenna are in off working state.Only keep
The MCU and sensor module 150 (infrared sensor, the switch sensor of the handle of door lock, range sensor) of door lock are in work
Make state, to further decrease the power consumption of door lock.
After determining corresponding enabling frequency of affiliated period at current time, then the operating mode of door lock can be determined,
During specific implementation, include the following steps:
If the enabling frequency is greater than or equal to predeterminated frequency, determine that the current operation mode of the door lock is described first
Operating mode;Or
If the enabling frequency is less than the predeterminated frequency, determine that the current operation mode of the door lock is second work
Operation mode.
In the embodiment of the present application, presetting enabling frequency can be according to the setting of the actual conditions of the user of door lock, example
Such as 5 times/hour, 8 times/hour or 10 times/hour, or other values.So in the enabling of affiliated period at current time
When frequency is greater than or equal to predeterminated frequency, that is to say, that in the period, open the door more frequent, it is determined that the operating mode of door lock
It is the first operating mode, that is, the operating mode of door lock is adjusted to the first operating mode;In the affiliated period at current time
Enabling frequency when being less than predeterminated frequency, that is to say, that in the period, open the door without so frequently, it is determined that the work of door lock
Mode is the second operating mode, that is, the operating mode of door lock is adjusted to the second operating mode.
In the embodiment of the present application, when the current operation mode of door lock is the first operating mode, the method also includes:
Obtain the door-opening mode of user's habit;
According to the door-opening mode that the user is accustomed to, control removes solution mode locking corresponding with the door-opening mode that the user is accustomed to
Other unlocked states outside block are in off working state;Wherein, the unlocked state is the use for acquiring user's input
In the module for the unlocking information for opening the door lock.
During specific implementation, when the current operation mode of door lock is the first operating mode, user can also be obtained
The door-opening mode of habit, including but not limited to: the door-opening mode of Password Input, recognition of face door-opening mode, remotely control
The door-opening mode of door-opening mode, the door-opening mode of fingerprint recognition or personal recognition.And different door-opening modes then correspond to it is different
Unlocked state, such as the corresponding unlocked state of door-opening mode of Password Input is then password board, the door-opening mode pair of recognition of face
The unlocked state answered be then camera, fingerprint recognition the corresponding unlocked state of door-opening mode be then fingerprint sensor, palmmprint is known
The corresponding unlocked state of other door-opening mode is then palmprint sensor etc..
However in actual use, the user of door lock usually only will use a kind of door-opening mode, such as password unlocking
Or fingerprint is unlocked, without using several door-opening modes simultaneously, in this case, to keep all unlocked states to locate
In working condition, the power consumption of door lock is necessarily caused to increase.For this purpose, in the embodiment of the present application, can first obtain user's habit
Door-opening mode, according to corresponding with the door-opening mode of user's habit in the door-opening mode control section functional module of user's habit
Unlocked state is in running order, and other unlocked states are in off working state, to reduce the power consumption of door lock.For example, obtaining
The door-opening mode of user's habit is unlocked by fingerprint, then it is in running order to control fingerprint sensor, and controls password board, camera shooting
Head, non-contact IC antenna are in off working state.
In the embodiment of the present application, the first operating mode and the second operating mode are in the current operation mode of door lock
When, the method also includes:
Determine whether to receive wake up instruction;Wherein, the wake up instruction is for triggering the current work of the door lock
Operation mode switches to third operating mode by first operating mode, or by the current operation mode of the door lock by described
Two operating modes switch to the instruction of third operating mode, and the third operating mode is that the functional module that the door lock includes is equal
In running order mode;
If receiving the wake up instruction, the current operation mode of the door lock is switched to by first operating mode
The third operating mode, or the current operation mode of the door lock is switched into the third work by second operating mode
Operation mode.
In the embodiment of the present application, wake up instruction can be the instruction sent by the electronic equipment connecting with the door lock.
Concrete application scene can be user on the way home, to be enable to respond quickly door lock, can remotely control switching door lock
Operating mode, that is, electronic equipment sends wake up instruction to door lock, and door lock receives and respond wake up instruction, triggers door lock
Current operation mode third operating mode is switched to by the first operating mode, or by current operation mode by the second Working mould
Formula switches to third operating mode.
The wake up instruction can also be door lock the distance for detecting door lock described in the user distance be less than it is default away from
From when the instruction that generates.During specific implementation, door lock has detected whether user close to door lock, according to prefixed time interval
When the distance between user and door lock are less than preset value, then show that door lock may be opened, at this moment then triggers working as door lock
Preceding operating mode switches to third operating mode by the first operating mode, or current operation mode is cut by the second operating mode
Third operating mode is shifted to, to improve the response speed of door lock.
The wake up instruction can also be to be generated when detecting that the user operates the touching that the door lock carries out
Instruction.During specific implementation, door lock then shows door lock when the user for detecting door lock locks the touch control operation of progress on the door
It may be opened, at this moment then trigger and the current operation mode of door lock is switched into third operating mode by the first operating mode,
Or current operation mode is switched into third operating mode by the second operating mode, to improve the response speed of door lock.
In the embodiment of the present application, third operating mode is that the functional module that door lock includes is in the mould of working condition
Formula, in this mode, door lock are enable to respond quickly the operation of door lock user, bring preferable usage experience to user.
In above-mentioned embodiment provided by the present application, the angle from door lock 100 as executing subject proposes the embodiment of the present application
The method of confession is described.
Fig. 3 is referred to, based on the same inventive concept, the embodiment of the present application provides a kind of electronic equipment 300, comprising:
First determination unit 301, for determining the period belonging to current time;
Second determination unit 302, for determining corresponding enabling frequency of affiliated period at the current time;
Third determination unit 303, described in determining according to corresponding enabling frequency of affiliated period at the current time
The operating mode of door lock;Wherein, the operating mode is one of the first operating mode, the second operating mode;Described first
Operating mode is the in running order mode of the partial function module in the functional module that the door lock includes, second work
Operation mode is the in running order mode of the partial function module in the partial function module.
In a possible design, described device further include:
Statistic unit, the number being opened in different time period for counting the door lock;
4th determination unit, the number for being opened in different time period according to the door lock, determines the door lock
In the corresponding enabling frequency of the different time sections.
In a possible design, in the third determination unit 303 according to the affiliated period pair at the current time
The enabling frequency answered, determines the operating mode of the door lock, is specifically used for:
If the enabling frequency is greater than or equal to predeterminated frequency, determine that the operating mode of the door lock is first work
Mode;Or
If the enabling frequency is less than the predeterminated frequency, determine that the operating mode of the door lock is second Working mould
Formula.
In a possible design, described device further include:
Acquiring unit, for obtaining the door-opening mode of user's habit;
Control unit, the door-opening mode for being accustomed to according to the user, control in the partial function module with except with
The corresponding unlocked state of door-opening mode of user's habit is in running order, except the door-opening mode pair being accustomed to the user
Other unlocked states outside the unlocked state answered are in off working state;Wherein, the unlocked state is for acquiring the use
Family input is used to open the module of the unlocking information of the door lock.
It is first operating mode or described in the current operation mode of the door lock in a possible design
When two operating modes, described device further include:
5th determination unit is used to determine whether to receive wake up instruction;Wherein, the wake up instruction is incited somebody to action for waking up
The current operation mode of the door lock switches to third operating mode by first operating mode, or by the current of the door lock
Operating mode is switched to the instruction of third operating mode by second operating mode, and the third operating mode is the door lock
Including functional module be in the mode of working condition;
Switch unit, for when receiving the wake up instruction, by the current operation mode of the door lock by described
One operating mode switches to the third operating mode, or by the current operation mode of the door lock by second operating mode
Switch to the third operating mode.
Fig. 4 is referred to, the embodiment of the present application also provides a kind of door-lock controller 400, comprising:
Memory 401, for storing instruction;At least one processor 402, for reading the instruction in the memory,
The method as performed by door lock in the possible design of any one of first aspect or first aspect of realization, door-lock controller is also
It may include display screen 403.
The embodiment of the present application also provides a kind of computer storage medium, which may include memory, the storage
Device can be stored with program, which includes as performed by the door lock recorded in preceding embodiment of the method shown in Fig. 2 when executing
Overall Steps.
It should be understood by those skilled in the art that, embodiments herein can provide as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the application
Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the application, which can be used in one or more,
The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces
The form of product.
The application be referring to according to the present processes, equipment (system) and computer program product flow chart and/or
Block diagram describes.It should be understood that each process that can be realized by computer program instructions in flowchart and/or the block diagram and/or
The combination of process and/or box in box and flowchart and/or the block diagram.It can provide these computer program instructions to arrive
General purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices processor to generate one
Machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for realizing flowing
The device for the function of being specified in journey figure one process or multiple processes and/or block diagrams one box or multiple boxes.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
Obviously, those skilled in the art can carry out various modification and variations without departing from the essence of the application to the application
Mind and range.In this way, if these modifications and variations of the application belong to the range of the claim of this application and its equivalent technologies
Within, then the application is also intended to include these modifications and variations.
Claims (12)
1. a kind of method of door lock control characterized by comprising
Determine the period belonging to current time;
Determine corresponding enabling frequency of affiliated period at the current time;
According to corresponding enabling frequency of affiliated period at the current time, the current operation mode of door lock is determined;Wherein, described
Current operation mode is one of the first operating mode, the second operating mode;First operating mode is the door lock packet
The number of in running order functional module is less than or equal to the mode of the first predetermined number in the functional module included, and described the
Two operating modes are that the number of the in running order functional module of functional module that the door lock includes is less than or equal to second
The mode of predetermined number, first predetermined number are greater than second predetermined number.
2. the method according to claim 1, wherein the method also includes:
Count the number that the door lock is opened in different time period;
According to the number that the door lock is opened in different time period, determine that the door lock is corresponding in the different time sections
Enabling frequency.
3. the method according to claim 1, wherein according to the corresponding enabling of affiliated period at the current time
Frequency determines the current operation mode of the door lock, comprising:
If the enabling frequency is greater than or equal to predeterminated frequency, determine that the current operation mode of the door lock is first work
Mode;Or
If the enabling frequency is less than the predeterminated frequency, determine that the current operation mode of the door lock is second Working mould
Formula.
4. according to the method described in claim 3, it is characterized in that, the current operation mode in the door lock is first work
When operation mode, the method also includes:
Obtain the door-opening mode of user's habit;
According to the door-opening mode that the user is accustomed to, control is in addition to the corresponding unlocked state of the door-opening mode being accustomed to the user
Other unlocked states be in off working state;Wherein, the unlocked state be for acquire user input for beating
Open the module of the unlocking information of the door lock.
5. method according to claim 1-4, which is characterized in that in the current operation mode of the door lock be institute
When stating the first operating mode or second operating mode, the method also includes:
Determine whether to receive wake up instruction;Wherein, the wake up instruction is for triggering the work at present mould of the door lock
Formula switches to third operating mode by first operating mode, or by the current operation mode of the door lock by second work
Operation mode switches to the instruction of third operating mode, and the third operating mode is that the functional module that the door lock includes is in
The mode of working condition;
If receiving the wake up instruction, the current operation mode of the door lock is switched to by first operating mode described
Third operating mode, or the current operation mode of the door lock is switched into the third Working mould by second operating mode
Formula.
6. a kind of door-lock controller characterized by comprising
First determination unit, for determining the period belonging to current time;
Second determination unit, for determining corresponding enabling frequency of affiliated period at the current time;
Third determination unit, for determining the door lock according to corresponding enabling frequency of affiliated period at the current time
Current operation mode;Wherein, the current operation mode is one of the first operating mode, the second operating mode;Described
One operating mode is that the number of functional module in running order in functional module that the door lock includes is less than or equal to the
The mode of one predetermined number, second operating mode are the in running order function moulds of functional module that the door lock includes
The number of block is less than or equal to the mode of the second predetermined number, and first predetermined number is greater than second predetermined number.
7. device according to claim 6, which is characterized in that described device further include:
Statistic unit, the number being opened in different time period for counting the door lock;
4th determination unit, the number for being opened in different time period according to the door lock determine the door lock in institute
State the corresponding enabling frequency of different time sections.
8. device according to claim 6, which is characterized in that in the third determination unit according to the current time institute
Belong to period corresponding enabling frequency, determine the current operation mode of the door lock, be specifically used for:
If the enabling frequency is greater than or equal to predeterminated frequency, determine that the current operation mode of the door lock is first work
Mode;Or
If the enabling frequency is less than the predeterminated frequency, determine that the current operation mode of the door lock is second Working mould
Formula.
9. device according to claim 8, which is characterized in that described device further include:
Acquiring unit, for obtaining the door-opening mode of user's habit;
Control unit, the door-opening mode for being accustomed to according to the user, control is except the door-opening mode pair being accustomed to the user
Other unlocked states outside the unlocked state answered are in off working state;Wherein, the unlocked state is for acquiring the use
The module of the unlocking information for being used to open the door lock of family input.
10. according to the described in any item devices of claim 6-9, which is characterized in that be in the current operation mode of the door lock
When first operating mode or second operating mode, described device further include:
5th determination unit is used to determine whether to receive wake up instruction;Wherein, the wake up instruction is for trigger will be described
The current operation mode of door lock switches to third operating mode by first operating mode, or by the work at present of the door lock
Mode is switched to the instruction of third operating mode by second operating mode, and the third operating mode is that the door lock includes
Functional module be in the mode of working condition;
Switch unit, for when receiving the wake up instruction, by the current operation mode of the door lock by first work
Operation mode switches to the third operating mode, or the current operation mode of the door lock is switched by second operating mode
To the third operating mode.
11. a kind of door-lock controller characterized by comprising
Memory, for storing instruction;
At least one processor is realized according to any one of claims 1 to 5 for reading the instruction in the memory
Method.
12. a kind of computer storage medium, which is characterized in that instruction is stored in the computer storage medium, when the finger
When order is run on computers, so that the computer executes the method as described in claim 1-5 any claim.
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 true CN110417866A (en) | 2019-11-05 |
CN110417866B 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) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111080860A (en) * | 2019-12-31 | 2020-04-28 | 常州科新永安电子锁有限公司 | Intelligent lock, control method, readable storage medium, server side and system |
CN111145398A (en) * | 2019-12-31 | 2020-05-12 | 深圳绿米联创科技有限公司 | Intelligent door lock control method and device, intelligent door lock and storage medium |
CN111161452A (en) * | 2019-12-30 | 2020-05-15 | 珠海格力电器股份有限公司 | Scanning method and scanning device for controlling electronic lock authentication module |
CN113850940A (en) * | 2021-10-14 | 2021-12-28 | 睿云联(厦门)网络通讯技术有限公司 | Bluetooth-based access control method, device and equipment |
CN113947827A (en) * | 2021-10-09 | 2022-01-18 | 珠海格力电器股份有限公司 | Method and device for adjusting running power consumption of door lock, electronic equipment and storage medium |
CN114999033A (en) * | 2022-05-31 | 2022-09-02 | 珠海格力电器股份有限公司 | Door lock control method and device, intelligent door lock and storage medium |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103559081A (en) * | 2013-11-01 | 2014-02-05 | 贝壳网际(北京)安全技术有限公司 | Recommending method for mobile terminal working modes, device and mobile terminal |
CN104159281A (en) * | 2014-08-27 | 2014-11-19 | 深圳市中兴移动通信有限公司 | A method and a device for saving electricity of a mobile terminal |
CN104460935A (en) * | 2013-09-18 | 2015-03-25 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN104534620A (en) * | 2014-12-11 | 2015-04-22 | 广东美的制冷设备有限公司 | Air conditioner with Bluetooth module as well as Bluetooth module power-saving device and method thereof |
CN104950862A (en) * | 2015-07-28 | 2015-09-30 | 苏州大学 | Intelligent home control method based on truth and false values |
US20180292882A1 (en) * | 2015-11-20 | 2018-10-11 | Samsung Electronics Co., Ltd. | Function operating method and electronic apparatus supporting same |
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 |
-
2019
- 2019-07-01 CN CN201910585595.4A patent/CN110417866B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104460935A (en) * | 2013-09-18 | 2015-03-25 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN103559081A (en) * | 2013-11-01 | 2014-02-05 | 贝壳网际(北京)安全技术有限公司 | Recommending method for mobile terminal working modes, device and mobile terminal |
CN104159281A (en) * | 2014-08-27 | 2014-11-19 | 深圳市中兴移动通信有限公司 | A method and a device for saving electricity of a mobile terminal |
CN104534620A (en) * | 2014-12-11 | 2015-04-22 | 广东美的制冷设备有限公司 | Air conditioner with Bluetooth module as well as Bluetooth module power-saving device and method thereof |
CN104950862A (en) * | 2015-07-28 | 2015-09-30 | 苏州大学 | Intelligent home control method based on truth and false values |
US20180292882A1 (en) * | 2015-11-20 | 2018-10-11 | Samsung Electronics Co., Ltd. | Function operating method and electronic apparatus supporting same |
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 |
Cited By (7)
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 |
CN111145398A (en) * | 2019-12-31 | 2020-05-12 | 深圳绿米联创科技有限公司 | Intelligent door lock control method and device, intelligent door lock and storage medium |
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 |
Also Published As
Publication number | Publication date |
---|---|
CN110417866B (en) | 2022-01-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110417866A (en) | A kind of method and device of door lock control | |
CN103488924B (en) | A kind of unlocking processing method of terminal, device and equipment | |
CN106462687B (en) | Touch device and method, electronic equipment | |
CN103150050B (en) | Touch screen terminal and method of work thereof | |
EP3779105B1 (en) | Door lock, door lock control method | |
CN104216505B (en) | The control method and device of portable intelligent terminal | |
CN104571921A (en) | Unlocking method, device and terminal | |
CN103473494A (en) | Application running method, device and terminal device | |
CN103186793A (en) | Mobile terminal screen unlocking method and device | |
EP2976754B1 (en) | Electronic lock with selectable power sources | |
CN104950775A (en) | Circuit, method and device for waking up main MCU (micro control unit) | |
US9395793B2 (en) | Electronic device and method for resuming from hibernation for the same | |
CN103631508A (en) | Portable electronic device and automatic unlocking method thereof | |
CN104461327A (en) | Information processing method and electronic device | |
CN109040451B (en) | Method and device for controlling equipment use, terminal equipment and storage medium | |
CN110424831A (en) | Low power-consumption intelligent door lock | |
WO2020253495A1 (en) | Screen lock control method, device, handheld terminal, and storage medium | |
CN108920922A (en) | unlocking method, device, mobile terminal and computer-readable medium | |
CN105808115A (en) | Control method and system of terminal, and terminal | |
CN104850220A (en) | Operation starting method and system based on motion detection | |
CN106355684B (en) | Control method, the device and system of controlled plant | |
CN106455002A (en) | Wireless search method and device, and terminal | |
CN108874281A (en) | A kind of application program launching method and terminal device | |
US9779567B1 (en) | Door lock using a mobile device as an input interface | |
CN106066953B (en) | Fingerprint unlocking control method and terminal equipment |
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 |