CN107419968B - A kind of locking method and intelligent lock - Google Patents

A kind of locking method and intelligent lock Download PDF

Info

Publication number
CN107419968B
CN107419968B CN201710902744.6A CN201710902744A CN107419968B CN 107419968 B CN107419968 B CN 107419968B CN 201710902744 A CN201710902744 A CN 201710902744A CN 107419968 B CN107419968 B CN 107419968B
Authority
CN
China
Prior art keywords
processor
motor
telescoping mechanism
control signal
state
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
CN201710902744.6A
Other languages
Chinese (zh)
Other versions
CN107419968A (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.)
Xuzhou Guolong Electric Power Parts Foundry Co.,Ltd.
Original Assignee
SHENZHEN QUANAN MODERN 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 SHENZHEN QUANAN MODERN TECHNOLOGY Co Ltd filed Critical SHENZHEN QUANAN MODERN TECHNOLOGY Co Ltd
Priority to CN201710902744.6A priority Critical patent/CN107419968B/en
Publication of CN107419968A publication Critical patent/CN107419968A/en
Application granted granted Critical
Publication of CN107419968B publication Critical patent/CN107419968B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • EFIXED CONSTRUCTIONS
    • E05LOCKS; KEYS; WINDOW OR DOOR FITTINGS; SAFES
    • E05BLOCKS; ACCESSORIES THEREFOR; HANDCUFFS
    • E05B47/00Operating or controlling locks or other fastening devices by electric or magnetic means
    • E05B47/0001Operating or controlling locks or other fastening devices by electric or magnetic means with electric actuators; Constructional features thereof
    • E05B47/0012Operating or controlling locks or other fastening devices by electric or magnetic means with electric actuators; Constructional features thereof with rotary electromotors
    • 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

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Lock And Its Accessories (AREA)

Abstract

The present invention provides a kind of locking method and intelligent locks, the intelligent lock includes processor, the first telescoping mechanism, the second telescoping mechanism and first motor, this method comprises: the processor is when detecting that first telescoping mechanism is adjusted to locked state by contraction state, start timing, obtains timing duration;The processor judges whether the timing duration is greater than or equal to the first preset duration, if, the processor sends first control signal to the first motor, so that the first motor drives second telescoping mechanism to be adjusted to the locked state by the contraction state by executing the first control signal, so that the intelligent lock is in the lock state.With this method can alleviate traditional lockset be easy to appear the problem of failure leads to locking failure and solve traditional lockset as the fault of operator and caused by security hidden trouble.

Description

A kind of locking method and intelligent lock
Technical field
The present invention relates to field of intelligent control, in particular to a kind of locking method and intelligent lock.
Background technique
With the development of the society, lockset technology has also obtained certain development.In daily life, common lockset is substantially It is divided into two class of smart lock and mechanical lock.Traditional mechanical lock, is easy to appear mechanical breakdown, causes to lock unsuccessful, and tradition Mechanical lock need optional equipment touching organ and mounting device, higher cost.Traditional smart lock mainly uses infrared ray Signal, photosignal, electromagnetic induction signal, wireless remote control signals etc. are the switch that trigger condition carries out lockset, however these are touched Clockwork spring part is all easy to be locked and fail by reasons such as extraneous interference, even if operator is caused to have been sent from locking order, Smart lock is still in unlocked state, meanwhile, either traditional mechanical lock or traditional smart lock, be not avoided that by In operator itself operation error (as forgotten to lock) and caused by security risk.
Summary of the invention
In view of this, the embodiment of the present invention is designed to provide a kind of intelligent lock and its locking method, passed with alleviating The lockset of system is easy to appear the problem of failure leads to locking failure and solves traditional lockset and made due to the fault of operator At security hidden trouble.
In a first aspect, the method is applied to intelligent lock, the intelligence the embodiment of the invention provides a kind of locking method Energy lockset includes processor, the first telescoping mechanism, the second telescoping mechanism and first motor, which comprises the processing Device starts timing, obtains timing duration when detecting that first telescoping mechanism is adjusted to locked state by contraction state;Institute It states processor and judges whether the timing duration is greater than or equal to the first preset duration, if so, the processor is to described first Motor sends first control signal, so that the first motor drives described second to stretch by executing the first control signal Mechanism is adjusted to the locked state by the contraction state, so that the intelligent lock is in the lock state.
Second aspect, the embodiment of the invention provides a kind of intelligent lock, the intelligent lock includes: processor, first Telescoping mechanism, the second telescoping mechanism and first motor, the processor are electrically connected with the first motor, the first motor It is connect with second telescoping mechanism, the processor, for detecting that first telescoping mechanism adjusts by contraction state When to locked state, starts timing, obtain timing duration;Judge the timing duration whether be greater than or equal to first it is default when It is long, if so, sending first control signal to the first motor;The first motor, for executing the first control signal Second telescoping mechanism is driven to be adjusted to the locked state by the contraction state, so that the intelligent lock is in locking State.
Compared with prior art, the beneficial effect of various embodiments of the present invention propose a kind of locking method and intelligent lock Be: processor starts timing, when obtaining timing when detecting that the first telescoping mechanism is adjusted to locked state by contraction state It is long, by comparing the size relation of timing duration and the first preset duration, when timing duration is default more than or equal to first When long, first control signal is sent to first motor, so that first motor is by executing the first control signal driving second Telescoping mechanism is adjusted to the locked state by the contraction state, so that the intelligent lock is in the lock state.Realize Controlling intelligent lock by the time reaches automatic lock state, avoid operator as forget locking and caused by safety Hidden danger also avoids traditional lockset and is easy by the problem of failing of locking caused by the reasons such as extraneous interference.
To enable the above objects, features and advantages of the present invention to be clearer and more comprehensible, preferred embodiment is cited below particularly, and cooperate Appended attached drawing, is described in detail below.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to needed in the embodiment attached Figure is briefly described, it should be understood that the following drawings illustrates only certain embodiments of the present invention, therefore is not construed as pair The restriction of range for those of ordinary skill in the art without creative efforts, can also be according to this A little attached drawings obtain other relevant attached drawings.
Fig. 1 is a kind of flow chart of locking method provided in an embodiment of the present invention;
Fig. 2 is the flow chart of another locking method provided in an embodiment of the present invention;
Fig. 3 is the flow chart of another locking method provided in an embodiment of the present invention;
Fig. 4 is a kind of structural block diagram of intelligent lock provided in an embodiment of the present invention.
Specific embodiment
Below in conjunction with attached drawing in the embodiment of the present invention, technical solution in the embodiment of the present invention carries out clear, complete Ground description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Usually exist The component of the embodiment of the present invention described and illustrated in attached drawing can be arranged and be designed with a variety of different configurations herein.Cause This, is not intended to limit claimed invention to the detailed description of the embodiment of the present invention provided in the accompanying drawings below Range, but it is merely representative of selected embodiment of the invention.Based on the embodiment of the present invention, those skilled in the art are not doing Every other embodiment obtained under the premise of creative work out, shall fall within the protection scope of the present invention.
It should also be noted that similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi It is defined in a attached drawing, does not then need that it is further defined and explained in subsequent attached drawing.Meanwhile of the invention In description, term " first ", " second " etc. are only used for distinguishing description, are not understood to indicate or imply relative importance.
First embodiment
Fig. 1 is please referred to, Fig. 1 is a kind of flow chart for locking method that first embodiment of the invention provides, the locking method Can be applied to door lock, safe lock, door-control lock etc., all carry out the intelligent lock of locking protection.The intelligent lock packet Include processor, the first telescoping mechanism, the second telescoping mechanism and first motor.Process shown in FIG. 1 will be carried out below detailed It illustrates, which comprises
Step S110: the processor is detecting that first telescoping mechanism is adjusted to locked state by contraction state When, start timing, obtains timing duration.
Wherein, first telescoping mechanism be in contraction state locked state can by with it is first flexible Pressure suffered by the spring of mechanism connection is judged.When processor is detecting first telescoping mechanism by contraction state When being adjusted to locked state, during user's shutdown can be characterized, so that the first telescoping mechanism enters in the groove of doorframe.
At this point, processor (such as single-chip microcontroller of model STM8S105K4T6) can timer internally initiate timing Signal so that timer starts timing, and obtains timing duration in real time.
Step S120: the processor judges whether the timing duration is greater than or equal to the first preset duration.
Wherein, as an implementation, the numerical value of first preset duration can be by manufacturer in smart lock It is uniformly set in advance when tool factory, such as the first preset duration of unified setting is 20S.As another embodiment, institute Stating the first preset duration can also be by processor when receiving the first preset duration control command of user's input, according to user The numerical value actually entered is adjusted, such as user can increase 5S on the basis of the 20S of unified setting, using 25S as in advance If duration.
Step S130: if so, the processor sends first control signal to the first motor, so that first electricity Machine drives second telescoping mechanism to be adjusted to the locking shape by the contraction state by executing the first control signal State, so that the intelligent lock is in the lock state.
If timing duration is greater than or equal to the first preset duration, processor sends the first control letter to the first motor Number, so that the first motor by executing the first control signal, is revolved according to first direction (clockwise or counter-clockwise) Turn, so that the second telescoping mechanism connected to it be driven to be adjusted to the locked state by the contraction state.If intelligence at this time Lockset is mounted on a door, it can on insertion doorframe in groove corresponding with the second telescoping mechanism position and size.At this point, intelligence The first telescoping mechanism and the second telescoping mechanism of energy lockset are in locked state, and entire intelligent lock is in the lock state.
If timing duration less than the first preset duration, illustrates the time of not up to locking, then continue timing, until timing duration More than or equal to the first preset duration intelligent lock is in the lock state.
In view of the living habit of most of user is that intelligent lock can just be arranged at night to be in the lock state that (first stretches Shrinking structure and the second stretching structure are in locked state), and on daytime, it is only necessary to intelligent lock is in half lock state ( One stretching structure is in locked state, and the second stretching structure is in contraction state), Fig. 2 is please referred to, as an implementation, Before step S110, the method can also include:
Step S101: whether the processor judges current time in preset time range.
Wherein, the preset time range is that user can be arranged according to self-demand.When within this time range, root It is effective to control the function that intelligent lock is in the lock state whether to be greater than or equal to the first preset duration according to timing duration, when not When within this time range, the first preset duration is greater than or equal to by timing duration and is in the lock state to control intelligent lock Disabler.
When to be, execute step S110, it may be assumed that the processor judge the timing duration whether be equal to first it is default when It is long.
When to be no, terminate process.
As an implementation, Fig. 3 is please referred to, before step S110, the method can also include:
Step S102: the processor receives the unlocking signal of unlocking terminal transmission.
The unlocking terminal can be the portable remote controller carried out telecommunication with processor.Further, remote controler Built-in coding chip HCS301, the chip can issue the rolling code of a 433MHz at random, and processor can be electrically connected reception Module H3V4F, which, which receives, is input to the decoding chip TDH6301 being electrically connected with processor after rolling code and is solved Decoded unlocking signal, is inputed to processor by code.
Step S103: the processor is based on the unlocking signal and generates and send the second control letter to the first motor Number, so that the first motor drives second telescoping mechanism from the locked state by executing the second control signal It is altered to the contraction state, so that the first motor drives first telescopic machine by executing the second control signal Structure is altered to the contraction state from the locked state.
Wherein, the first motor is revolved by executing the second control signal according to first party in the opposite direction Turn, the first motor is rotated, intelligent lock in the opposite direction by executing the second control signal according to first party Realize unlocking function.
Further, the processor is after sending the second preset duration after the second control signal, Xiang Suoshu the One motor sends third and controls signal, so that the first motor is stretched by executing the third control signal driving described first Contracting mechanism is adjusted to the locked state from the contraction state.
In addition, as an implementation, the processor can also be in the unlocking signal for receiving the transmission of unlocking terminal When, start timing, obtains timing duration.
It is worth noting that the quantity of the first motor can also to be multiple, each first motor with it is described First telescoping mechanism, the second telescoping mechanism and processor connection can play the first telescoping mechanism, the second telescoping mechanism To control action.Wherein, the completion locked every time, by some in multiple first motors come complete independently, remaining first electricity Machine is as spare motor.Further, first motor can be to the processor feedback operation signal, and reacting the first motor is It is no to be in normal working condition.Abnormal operating state is in when the feedback signal that processor receives characterizes the first motor When, another spare first motor can be switched and continue work, the failure due to some first motor is avoided, lead The problem of causing entire intelligent lock operational failure.
First embodiment of the invention proposes that a kind of locking method, processor are detecting the first telescoping mechanism by contraction state When being adjusted to locked state, start timing, obtain timing duration, is closed by comparing the size of timing duration and the first preset duration System sends first control signal to first motor when timing duration is more than or equal to the first preset duration, so that the first electricity Machine drives the second telescoping mechanism to be adjusted to the locked state by the contraction state by executing the first control signal, with It is in the lock state the intelligent lock.This method is realized and is reached by the time to control intelligent lock by process control Automatic lock state, avoid operator as forget locking and caused by security risk, also avoid traditional lockset be easy By the problem of failing of locking caused by the reasons such as extraneous interference.
Second embodiment
Referring to figure 4., Fig. 4 is a kind of structural block diagram for intelligent lock 100 that second embodiment of the invention provides.The intelligence Lockset 100 can be applied to locking method described in first embodiment, the intelligent lock 100 may include: memory 110, Storage processor 120, processor 130, Peripheral Interface 140, input-output unit 150, the first telescoping mechanism 160, second are flexible Mechanism 170, first motor 180.
The memory 110, storage processor 120, processor 130, Peripheral Interface 140, input-output unit 150 and Each element of first motor 180 is directly or indirectly electrically connected between each other, to realize the transmission or interaction of data.For example, this A little elements can be realized by one or more communication bus or signal wire be electrically connected between each other.The processor 130 is used for Execute the executable module stored in memory 110.First motor 180 is used for and the first telescoping mechanism 160, the second telescoping mechanism 170 connections, control the retracted position of the first telescoping mechanism 160 and the second stretching structure 170.
Wherein, memory 110 may be, but not limited to, random access memory (Random Access Memory, RAM), read-only memory (Read Only Memory, ROM), programmable read only memory (Programmable Read-Only Memory, PROM), erasable read-only memory (Erasable Programmable Read-Only Memory, EPROM), Electricallyerasable ROM (EEROM) (Electric Erasable Programmable Read-Only Memory, EEPROM) etc.. Wherein, memory 110 is for storing program, and the processor 130 executes described program after receiving and executing instruction, aforementioned Method performed by the intelligent lock 100 for the flow definition that any embodiment of the embodiment of the present invention discloses can be applied to processor In 130, or realized by processor 130.
Processor 130 may be a kind of IC chip, the processing capacity with signal.Above-mentioned processor 130 can To be general processor, including central processing unit (Central Processing Unit, abbreviation CPU), network processing unit (Network Processor, abbreviation NP) etc.;Can also be digital signal processor (DSP), specific integrated circuit (ASIC), Ready-made programmable gate array (FPGA) either other programmable logic device, discrete gate or transistor logic, discrete hard Part component.It may be implemented or execute disclosed each method, step and the logic diagram in the embodiment of the present invention.General processor It can be microprocessor or the processor be also possible to any conventional processor etc..Further, in this present embodiment, institute Stating processor can be the single-chip microcontroller of model STM8S105K4T6.
Various input/output devices are couple processor 130 and memory 110 by the Peripheral Interface 140.Some In embodiment, Peripheral Interface 140, processor 130 and storage processor 120 can be realized in one single chip.Other one In a little examples, they can be realized by independent chip respectively.
Input-output unit 150 is used to be supplied to the interaction that user input data realizes user and intelligent lock 100.It is described Input-output unit 150 may be, but not limited to, key or keyboard etc..
First telescoping mechanism 160, the i.e. lock tongue of intelligent lock 100 can play basic locking function to intelligent lock 100 Energy.
Second telescoping mechanism 170 is locked that is, in intelligent lock 100 for playing the role of, and guarantees the lock of locking safety Tongue, wherein the weight of the second telescoping mechanism 170 can be greater than the weight of first telescoping mechanism 160.
Certainly, intelligent lock 100 can also include display unit, power module, motor drive module.
Display unit provides an interactive interface (such as user interface) or is used between intelligent lock 100 and user It is referred in display data to user, so that user is adjusted certain adjustable parameters in intelligent lock 100.In this implementation In example, the display unit can be liquid crystal display or touch control display.If touch control display, can for support single-point and Capacitance type touch control screen or resistance type touch control screen of multi-point touch operation etc..Single-point and multi-point touch operation is supported to refer to that touch-control is shown Device can sense one or more positions while the touch control operation generated on the touch control display, and this is sensed Touch control operation transfers to processor 130 to be calculated and handled.
Power module can power for entire intelligent lock 100, such as battery etc..
Motor drive module can drive first motor 180 clockwise after the driving instruction for receiving processor 130 Or rotation counterclockwise, to change the second stretching structure 160 and/or the second stretching structure 170 connecting with first motor 180 Retracted position.Wherein, the motor drive module can be motor drive ic RZ7886.
Further, the processor 130, for detecting that 160 structure of the first telescopic machine adjusts by contraction state When to locked state, starts timing, obtain timing duration;Judge the timing duration whether be greater than or equal to first it is default when It is long, if so, sending first control signal to the first motor 180;
The first motor 180 drives second telescoping mechanism 170 by described for executing the first control signal Contraction state is adjusted to the locked state, so that the intelligent lock 100 is in the lock state.
Wherein, the numerical value of first preset duration can be by the processor 130 by receiving the first of user's input Preset duration control command is adjusted.
As an implementation, whether the processor 130 is also used to judge current time in preset time range; When to be, execution judges whether the timing duration is equal to the first preset duration.
As an implementation, unlocking terminal, the processor 130 are electrically connected with the unlocking terminal.Wherein, described Unlocking terminal can be to wirelessly communicate with processor 130 and connect, and can also be directly electrically coupled by data line.
The unlocking terminal, for sending unlocking signal;
The processing 130 is also used to be generated based on the unlocking signal and sends the second control to the first motor 180 Signal;
The first motor 180 drives second telescoping mechanism 170 from described for executing the second control signal Locked state is altered to the contraction state;It is also used to execute the second control signal and drives first telescoping mechanism 160 The contraction state is altered to from the locked state.
The processor 130 is also used to after sending the second preset duration after the second control signal, Xiang Suoshu the One motor 180 sends third and controls signal;
The first motor 180 is also used to execute the third control signal and drives first telescoping mechanism 160 from institute It states contraction state and is adjusted to the locked state.
The present embodiment realizes the process of respective function to each component of intelligent lock 100, refers to above-mentioned Fig. 1 to Fig. 3 institute Show content described in embodiment, details are not described herein again.
In conclusion a kind of locking method and intelligent lock that the embodiment of the present invention proposes, intelligent lock includes: processing Device, the first telescoping mechanism, the second telescoping mechanism and first motor.Processor is detecting the first telescoping mechanism by contraction state When being adjusted to locked state, start timing, obtain timing duration, is closed by comparing the size of timing duration and the first preset duration System sends first control signal to first motor when timing duration is more than or equal to the first preset duration, so that the first electricity Machine drives the second telescoping mechanism to be adjusted to the locked state by the contraction state by executing the first control signal, with It is in the lock state the intelligent lock.It realizes through the time and controls intelligent lock and reach automatic lock state, keep away Exempted from operator as forget locking and caused by security risk, also avoid traditional lockset and be easy by extraneous interference etc. Caused by reason the problem of locking failure.
In several embodiments provided herein, it should be understood that disclosed device and method can also pass through Other modes are realized.The apparatus embodiments described above are merely exemplary, for example, flow chart and block diagram in attached drawing Show the device of multiple embodiments according to the present invention, the architectural framework in the cards of method and computer program product, Function and operation.In this regard, each box in flowchart or block diagram can represent the one of a module, section or code Part, a part of the module, section or code, which includes that one or more is for implementing the specified logical function, to be held Row instruction.It should also be noted that function marked in the box can also be to be different from some implementations as replacement The sequence marked in attached drawing occurs.For example, two continuous boxes can actually be basically executed in parallel, they are sometimes It can execute in the opposite order, this depends on the function involved.It is also noted that every in block diagram and or flow chart The combination of box in a box and block diagram and or flow chart can use the dedicated base for executing defined function or movement It realizes, or can realize using a combination of dedicated hardware and computer instructions in the system of hardware.
In addition, each functional module in each embodiment of the present invention can integrate one independent portion of formation together Point, it is also possible to modules individualism, an independent part can also be integrated to form with two or more modules.
It, can be with if the function is realized and when sold or used as an independent product in the form of software function module It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention. And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited The various media that can store program code such as reservoir (RAM, Random Access Memory), magnetic or disk.It needs Illustrate, herein, relational terms such as first and second and the like be used merely to by an entity or operation with Another entity or operation distinguish, and without necessarily requiring or implying between these entities or operation, there are any this realities The relationship or sequence on border.Moreover, the terms "include", "comprise" or its any other variant are intended to the packet of nonexcludability Contain, so that the process, method, article or equipment for including a series of elements not only includes those elements, but also including Other elements that are not explicitly listed, or further include for elements inherent to such a process, method, article, or device. In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including the element Process, method, article or equipment in there is also other identical elements.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, made any to repair Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.It should also be noted that similar label and letter exist Similar terms are indicated in following attached drawing, therefore, once being defined in a certain Xiang Yi attached drawing, are then not required in subsequent attached drawing It is further defined and explained.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. a kind of locking method, which is characterized in that the method be applied to intelligent lock, the intelligent lock include processor, First telescoping mechanism, the second telescoping mechanism and first motor, which comprises
The processor starts timing, obtains when detecting that first telescoping mechanism is adjusted to locked state by contraction state To timing duration;
The processor judges whether the timing duration is greater than or equal to the first preset duration,
If so, the processor sends first control signal to the first motor, so that the first motor is by executing institute Stating first control signal drives second telescoping mechanism to be adjusted to the locked state by the contraction state, so that the intelligence Energy lockset is in the lock state.
2. the method according to claim 1, wherein judging whether the timing duration is greater than in the processor Or be equal to before the first preset duration, the method also includes:
Whether the processor judges current time in preset time range;
When to be, execute step: the processor judges whether the timing duration is equal to the first preset duration.
3. the method according to claim 1, wherein detecting first telescoping mechanism in the processor When in locked state, start timing, before obtaining timing duration, the method also includes:
The processor receives the unlocking signal of unlocking terminal transmission;
The processor is based on the unlocking signal and generates and send second control signal to the first motor, so that described the One motor drives second telescoping mechanism to be altered to the receipts from the locked state by executing the second control signal Contracting state, so that the first motor drives first telescoping mechanism from the locking by executing the second control signal Status Change is to the contraction state.
4. according to the method described in claim 3, it is characterized in that, the processor sends the second control to the first motor Signal makes the first motor drive first telescoping mechanism from the locked state by executing the second control signal It is altered to after the contraction state, further includes:
For the processor after sending the second preset duration after the second control signal, Xiang Suoshu first motor sends third Signal is controlled, so that the first motor controls signal driving first telescoping mechanism from the receipts by executing the third Contracting state is adjusted to the locked state, wherein the processor is by receiving described in the adjustment of the first preset duration control command The numerical value of first preset duration adjusts the numerical value of second preset duration by receiving the second preset duration control command.
5. according to the method described in claim 3, it is characterized in that, the quantity of the first motor is multiple.
6. a kind of intelligent lock, which is characterized in that the intelligent lock includes: processor, the first telescoping mechanism, the second telescopic machine Structure and first motor, the processor are electrically connected with the first motor, the first motor and second telescoping mechanism And the first telescoping mechanism connection,
The processor, for starting to count when detecting that first telescoping mechanism is adjusted to locked state by contraction state When, obtain timing duration;Judge whether the timing duration is greater than or equal to the first preset duration, if so, to first electricity Machine sends first control signal;
The first motor drives second telescoping mechanism by the contraction state tune for executing the first control signal It is whole to arrive the locked state, so that the intelligent lock is in the lock state.
7. intelligent lock according to claim 6, which is characterized in that the processor is also used to judge that current time is It is no in preset time range;When to be, execution judges whether the timing duration is equal to the first preset duration.
8. intelligent lock according to claim 6, which is characterized in that the processor, for default by receiving first Duration control command adjusts the numerical value of first preset duration.
9. intelligent lock according to claim 6, which is characterized in that the intelligent lock further includes unlocking terminal, described Processor is electrically connected with the unlocking terminal respectively,
The unlocking terminal, for sending unlocking signal;
The processor is also used to be generated based on the unlocking signal and sends second control signal to the first motor;
The first motor drives second telescoping mechanism to become from the locked state for executing the second control signal More arrive the contraction state;
The first motor is also used to execute the second control signal and drives first telescoping mechanism from the locked state It is altered to the contraction state.
10. intelligent lock according to claim 9, which is characterized in that the processor is also used to sending described second After the second preset duration after controlling signal, Xiang Suoshu first motor sends third and controls signal;
The first motor is also used to execute the third control signal and drives first telescoping mechanism from the contraction state It is adjusted to the locked state.
CN201710902744.6A 2017-09-28 2017-09-28 A kind of locking method and intelligent lock Active CN107419968B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710902744.6A CN107419968B (en) 2017-09-28 2017-09-28 A kind of locking method and intelligent lock

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710902744.6A CN107419968B (en) 2017-09-28 2017-09-28 A kind of locking method and intelligent lock

Publications (2)

Publication Number Publication Date
CN107419968A CN107419968A (en) 2017-12-01
CN107419968B true CN107419968B (en) 2019-09-17

Family

ID=60436358

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710902744.6A Active CN107419968B (en) 2017-09-28 2017-09-28 A kind of locking method and intelligent lock

Country Status (1)

Country Link
CN (1) CN107419968B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109389714B (en) * 2018-09-14 2020-12-22 深圳市沃特沃德股份有限公司 Unlocking method, device and equipment of intelligent lock
CN112343429B (en) * 2019-08-06 2021-12-24 云丁网络技术(北京)有限公司 Door lock state detection method, device and system
WO2021023276A1 (en) 2019-08-06 2021-02-11 云丁网络技术(北京)有限公司 Smart lock control method and device
CN114922511A (en) * 2022-06-13 2022-08-19 广东臣家智能科技有限公司 Intelligent lock capable of adjusting rotation time of driving motor and intelligent lock control method

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012162856A (en) * 2011-02-03 2012-08-30 Miwa Lock Co Ltd Electric lock controller
GB201115303D0 (en) * 2011-09-05 2011-10-19 Pegasus Innovation Ltd Fastening device
CN105275278B (en) * 2015-08-27 2018-06-26 深圳市顺易通信息技术有限公司 A kind of smart lock based on Internet of Things Storage Cabinets
CN105225311A (en) * 2015-09-14 2016-01-06 成都猴子软件有限公司 A kind of intelligent door lock
CN106761008B (en) * 2017-01-24 2022-06-17 浙江王力安防产品有限公司 Locking control mechanism of automatic door lock and automatic door thereof

Also Published As

Publication number Publication date
CN107419968A (en) 2017-12-01

Similar Documents

Publication Publication Date Title
CN107419968B (en) A kind of locking method and intelligent lock
CN103927809B (en) A kind of smart electronics lock management system and management method thereof
US9797166B2 (en) Electronic lock with selectable power off function
CN103295303B (en) Bluetooth module based access control system and access control method thereof
CN103190822B (en) A kind of electric curtain body drive system and driving method thereof
CN202694100U (en) Three-dimensional garage automatic electric control system based on control area network (CAN) bus
WO2019134404A1 (en) Smart door lock control method and device, and related apparatus
CN101070855A (en) Pump smart control system based PROFIBUS-DP communication interface
CN102606006A (en) Wireless cloud drawer lock and operating method thereof
CN207780867U (en) A kind of Bluetooth of mobile phone Intelligent gate control system
CN105023320A (en) Bluetooth intelligent lock and method for remotely controlling Bluetooth intelligent lock through Bluetooth mobile terminal
CN104991455A (en) Member self-adaptive adjusting method of intelligent household system
CN102280021A (en) Infrared remote control switch
CN209908371U (en) Modular control system of automatic garage door
CN108625112A (en) A kind of control system for washing machine
CN217157116U (en) But human-computer interaction's heat pump controller and heat pump
CN106021137A (en) Electronic device, peripheral and method for controlling electronic device
CN2908708Y (en) Key lock separated electronic trick lock
CN201826623U (en) Electronic coded lock
CN205490628U (en) Plc gateway device
CN203747851U (en) General communication halt detecting and restoring apparatus for network exchange equipment
CN103389802A (en) Multichip compatible method and device based on capacitive touch press keys as well as electrical equipment
CN113219848A (en) Intelligent household system containing main and standby indoor controllers
CN202249269U (en) Solar coded lock circuit
CN210091267U (en) Access control system based on singlechip

Legal Events

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

Effective date of registration: 20210105

Address after: 221600 North Side of Xiaohe Road, Peixian Development Zone, Xuzhou City, Jiangsu Province

Patentee after: Xuzhou Guolong Electric Power Parts Foundry Co.,Ltd.

Address before: 518110 102 / F, No.90, Fuqian Road, Fumin community, Fucheng street, Longhua New District, Shenzhen City, Guangdong Province

Patentee before: SHENZHEN QUANAN MODERN TECHNOLOGY Co.,Ltd.