Detailed Description
The following detailed description of embodiments of the present invention is provided in connection with the accompanying drawings and examples. The following examples are intended to illustrate the invention but are not intended to limit the scope of the invention. All other embodiments obtained by a person of ordinary skill in the art without any inventive step based on the embodiments of the present invention shall fall within the scope of protection of the present invention.
It is to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the specification of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
The terms "comprises" and "comprising" indicate the presence of the described features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
The term "and/or" refers to and includes any and all possible combinations of one or more of the associated listed items.
In a first aspect:
referring to fig. 1 to 3, an embodiment of the present invention provides an intelligent door lock control method, including:
s10, responding to the triggered power-on instruction, and enabling the intelligent door lock system to be powered on; the power-on instruction is triggered by a user operating an activation key;
s20, controlling the intelligent door lock to unlock after the unlocking verification of the intelligent door lock is passed;
s30, when the unlocking state duration of the intelligent door lock is larger than or equal to a preset time threshold value, or the intelligent door lock is closed, the intelligent door lock system is automatically powered off.
It should be noted that, the intelligent door lock is a lock which is improved on the basis of being different from the traditional mechanical lock and is more intelligent and convenient in the aspects of user safety, identification and manageability. The intelligent door lock is an execution component for locking a door in an access control system, and has the advantages of safety, convenience and advanced technology. The fingerprint lock is mainly unlocked by collecting fingerprints, and has high safety performance; the iris discernment entrance guard's principle is biological identification class intelligence lock, and it possesses the security height, does not have the advantage and the inconvenient configuration of losing the damage, shortcoming with high costs. The TM card intelligent lock is in a contact type, has high safety, is made of stainless steel, is very convenient to configure and carry, and has lower price; the main application scenarios of the intelligent lock include: banks, governments, hotels, school dormitories, residential quarters, villas, hotels, etc.
In step S10, when the user triggers the activation button, the smart door lock responds to the triggered power-on instruction, and then controls the smart door lock to initiate unlocking verification, and during the period before the unlocking verification passes, the power supply on the control board supplies power; after the unlocking verification of the intelligent door lock is passed, controlling the intelligent door lock to unlock; and when the unlocking state duration of the intelligent door lock is greater than or equal to a preset time threshold value, for example, 3 minutes, or the intelligent door lock is closed, the intelligent door lock system is automatically powered off.
It should be noted that, the control board in this embodiment is disposed inside the door lock, and a low power consumption controller, a power conversion circuit, a verification module, a power control circuit, and a driving circuit are disposed on the control board. The activation key is mainly electrically connected with the controller and used for sending a power-on instruction to the controller when being triggered, then the controller controls the power circuit to supply power to the door lock system, and meanwhile, the activation key sends an instruction of a verification request to the verification module. Wherein, power supply circuit comprises power control circuit and power conversion circuit two parts, and wherein, common power conversion circuit includes: and the DC-DC conversion circuit is used for converting the output voltage into a voltage size matched with other modules of the door lock system so as to normally supply power to the other modules.
The power supply control circuit is additionally provided with a key control circuit, and the circuit mainly comprises a first diode D3, a second diode D4, a first resistor R2, a second resistor R1, a third resistor R3, a fourth resistor R7, a fifth resistor R8, a PMOS tube Q1, a triode Q2 and a switch K1; one end of the third resistor R3 is connected with the grid of the PMOS tube Q1, and the other end is connected with the collector of the triode Q2; the second resistor R1 is connected between the source and the gate of the PMOS transistor Q1; the fourth resistor R7 is connected with the base electrode of the triode Q2, and the fifth resistor R8 is connected between the base electrode and the emitter electrode of the triode Q2; the anode of the first diode D4 is connected with the collector of the triode Q2, the cathode is connected with the cathode of the second triode D4, and the first resistor R2 is connected between the anode of the second triode D4 and the power supply.
The working principle of realizing power supply comprises the following steps:
the method comprises the following steps: under the condition of not operating the fingerprint lock, the activation key K1 is in a disconnected state, Q1 is cut off, and the whole system is not powered and consumes no current;
step two: when the activation key K1 is pressed, the G stage of the Q1 is pulled low, the Q1 conducts the D stage output power supply voltage, and the voltage is converted into 3.3V through the U1 to supply power to the controller;
step three: when the controller is successfully powered on, the 17-pin CTRL immediately outputs high level to enable the triode Q2 to be conducted, and the G level of the MOS transistor Q1 is continuously pulled to low level. The conduction time of the Q1 and the Q2 is nS level, the conversion time of the U1 is nS level, the controller U3 is powered on and reset to the normal operation time of not more than 100mS, therefore, the pressing holding time of the key K1 is longer than the sum of the previous time, and the system can normally operate;
step four: the system normally operates, a user can open the door by means of fingerprints, passwords, cards and the like, and due to the isolation effect of D3 and D4, the activation key K1 can be used as a function key after the system normally operates;
step five: after the lockset does not operate for a certain time (for example, 3 minutes), the controller RL stops outputting a high level by the pin C of the controller 17, Q2 is cut off, and the power supply is cut off and the system is powered off when Q1 is cut off; waiting for the next activation key K1 to be pressed for waking up.
According to the intelligent door lock control method provided by the invention, the activation key is additionally arranged on the handle, the power is supplied by the control panel power supply after the activation key is pressed for a certain time, and the door lock system is controlled to automatically power off after the intelligent door lock is unlocked or locked, so that zero power consumption is achieved when the door lock is in a standby state, and the requirements of energy conservation and emission reduction are met.
In a second aspect:
referring to fig. 4, an embodiment of the present invention further provides an intelligent door lock 100, including:
the intelligent door lock comprises afront base body 10, alock body 3 and acontrol panel 4 arranged inside the intelligent door lock;
thefront base body 10 is provided with a fingerprintlock front panel 1 and ahandle 2, and thehandle 2 is provided with afingerprint acquisition area 201 and theactivation key 202.
In the device, as theactivation key 202 is arranged on thehandle 2, when theactivation key 202 is pressed for a certain time, the power is supplied by the power supply of thewhole control panel 4, the controller on thecontrol panel 4 works normally, after the verification is successful, the driving circuit drives the lock body to unlock and open the door, after the door is opened for a certain time, the controller closes the power conversion circuit through the status port, and the whole system is in a non-consumption state when power is cut off.
Further, a card swipingarea 101 and akey number area 102 are arranged on the front panel of the fingerprint lock.
The card swiping area can adopt a certain mode that a non-contact IC card (radio frequency card) is used as an entrance guard card for entering and exiting to contact the sensing part of the card swiping area. The basic principle of the work is as follows: the radio frequency reader-writer sends a group of electromagnetic waves with fixed frequency to the IC card, the card is internally provided with an IC series resonance circuit, the frequency of the IC series resonance circuit is the same as the frequency sent by the reader-writer, and thus, under the excitation of the electromagnetic waves, the LC resonance circuit generates resonance, so that the capacitor is internally provided with charges; the other end of the charge is connected with a one-way conductive electronic pump, the charge in the capacitor is transmitted to the other capacitor for storage, and when the accumulated charge reaches 2V, the capacitor can be used as a power supply to provide working voltage for other circuits, and data in the card is transmitted out or received by a reader-writer.
Furthermore, the key number area adopts a touch screen.
It should be noted that a Touch screen (Touch Panel), also called "Touch screen" or "Touch Panel", is an inductive liquid crystal display device capable of receiving input signals such as a Touch, and when a graphical button on a screen is touched, a tactile feedback system on the screen can drive various connecting devices according to a pre-programmed program, so as to replace a mechanical button Panel and produce vivid video and audio effects by means of a liquid crystal display screen. As a latest computer input device, the touch screen is a simple, convenient and natural man-machine interaction mode. The method is mainly applied to inquiry of public information, industrial control, military command, electronic games, multimedia teaching and the like.
Touch screens are broadly classified into four types, infrared type, resistive type, surface acoustic wave type, and capacitive type touch screens, according to the type of sensor. Infrared touch screen. The infrared touch screen is provided with a circuit board outer frame in front of the display, and the circuit board is provided with infrared transmitting tubes and infrared receiving tubes on four sides of the screen, and the infrared transmitting tubes and the infrared receiving tubes are in one-to-one correspondence to form a transverse-vertical crossed infrared matrix. When a user touches the screen, two infrared rays in the transverse direction and the vertical direction passing through the position can be blocked by fingers, so that the position of a touch point on the screen can be judged. Any touching object can change the infrared ray on the touch point to realize the touch screen operation. The infrared touch screen is free from current, voltage and static interference and is suitable for certain severe environmental conditions. Its main advantages are low cost, easy installation, and no need of card or any other controller. In addition, because no capacitance charging and discharging process exists, the response speed is higher than that of a capacitance type, but the resolution is lower.
The outermost layer of the resistive screen of the resistive touch screen is generally a soft screen, and the inner contacts are connected up and down by pressing. The inner layer is filled with a physical material of metal oxide, namely an N-type oxide semiconductor, namely Indium Tin Oxide (ITO), also called indium oxide, the light transmittance of the inner layer is 80%, and the upper layer and the lower layer are spaced. The ITO is a main material used for both the resistance touch screen and the capacitance touch screen, the working surfaces of the ITO and the resistance touch screen are ITO coatings, the outer layer is pressed by fingertips or any object, the surface film is inwards concave and deformed, and the inner two layers of ITO are contacted with each other to be conductive, so that the coordinates of the pressed points are positioned to realize control. The screen has 4 lines, 5 lines and a plurality of lines according to the number of the lead-out lines of the screen, and has the advantages of low threshold, relatively low cost and no influence of dust, temperature and humidity. The disadvantage is also evident in that the outer screen is easily scratched and does not allow the use of sharp objects to touch the screen. Generally, multi-touch cannot be realized, that is, only a single point can be supported, and if two or more touch points are pressed simultaneously, accurate coordinates cannot be recognized and found. When a picture is to be amplified on the resistive screen, the user can only click the "+" for multiple times, so that the picture is amplified step by step in a stepwise manner, which is the basic technical principle of the resistive screen. Which is controlled using pressure sensing. When a finger touches the screen, the two conductive layers are in contact at the position of the touch point, and the resistance changes. Signals are generated in both the X and Y directions and then transmitted to the touch screen controller. The controller detects the contact and calculates the position of (X, Y), and then operates according to the mode of simulating the mouse. The resistance-type touch screen is not affected by dust, water and dirt and can work in severe environment. However, the outer layer of the composite film is made of plastic materials, so that the anti-explosion performance is poor, and the service life is influenced to a certain extent. The resistance-type touch screen is controlled by pressure induction, the surface layer of the resistance-type touch screen is a layer of plastic, the bottom layer of the resistance-type touch screen is a layer of glass, the resistance-type touch screen can bear the interference of severe environment factors, but the hand feeling and the light transmission are poor, and the resistance-type touch screen is suitable for wearing gloves and occasions which can not be directly touched by hands.
In a surface acoustic wave touch screen, a surface acoustic wave is a mechanical wave that propagates along the surface of a medium. The corners of the touch screen are provided with ultrasonic transducers. A high frequency sound wave can be transmitted across the screen surface and when a finger touches the screen, the sound wave at the touch point is blocked, thereby determining the coordinate position. The surface acoustic wave touch screen is not influenced by environmental factors such as temperature, humidity and the like, has high resolution, scratch resistance, long service life and high light transmittance, can keep clear and transparent image quality, and is most suitable for public places. However, dust, water and dirt can seriously affect the performance of the panels and require frequent maintenance to maintain the smoothness of the panels.
The capacitive touch screen works by utilizing current induction of a human body, a layer of transparent special metal conductive substance is attached to the surface of glass, and when a conductive object touches the touch screen, the capacitance of a contact point can be changed, so that the touched position can be detected. But does not react to touch with a gloved hand or a hand-held non-conductive object because of the addition of a more insulating medium. The capacitive touch screen can well sense slight and quick touch, prevent scraping, is not afraid of dust, water and dirt influence, and is suitable for being used under severe environment. However, the capacitance varies with temperature, humidity or environmental electric field, so that the stability is poor, the resolution is low and the drift is easy. In practical application, the selection can be carried out according to specific needs.
While the invention has been described with reference to a preferred embodiment, it will be understood by those skilled in the art that various changes in form and detail may be made therein without departing from the spirit and scope of the invention.