Small intelligent padlock unlocked based on three keys and unlocking method thereofTechnical Field
The invention relates to the technical field of intelligent anti-theft locks, in particular to a small intelligent padlock unlocked based on three keys and an unlocking method thereof.
Background
Along with the increasing popularization of intelligent locks, a lot of small mechanical padlocks are transformed into an intelligent unlocking mode, but the padlocks are small in size and have limitations on the design of the unlocking mode; the padlock is a relatively cheap product, but the price of the intelligent padlock is often several times that of a common mechanical lock, and the product design needs to consider the price cost;
unlocking by fingerprints: the cost is higher, the power consumption is large, the use effect can be influenced after the fingerprint head is rubbed with patterns or is stuck with water in use, and the unlocking possibility can be achieved by destroying the fingerprint head;
bluetooth unlocking: the metal shell has a shielding effect on wireless signals, needs to sacrifice some structural performances to meet the transmission of the wireless signals, and needs to be matched with a mobile phone for use;
the key mode is extremely low in unlocking cost, relatively low in power consumption, free of influence of other external factors in use, safe and reliable in structure under the condition without a fingerprint head and a radio frequency circuit, but the technical difficulty is that the area of a padlock is small, too many keys cannot be distributed, and the key unlocking scheme is only applied to a large-lock scheme at present.
In order to solve the problems, a small intelligent padlock based on three-key unlocking and an unlocking method thereof are provided.
Disclosure of Invention
Aiming at the defects of the prior art, the invention provides a small intelligent padlock unlocked based on three keys and an unlocking method thereof, so as to solve the problems in the background technology.
In order to achieve the purpose, the invention provides the following technical scheme: a small-sized intelligent padlock unlocked based on three keys comprises a lock shell and a lock beam, wherein an LED (light emitting diode) indicator lamp is fixedly arranged on the surface of the lock shell, an operation panel fixedly arranged on the surface of the lock shell is arranged below the LED indicator lamp, and a first key, a second key and a third key are sequentially arranged on the surface of the operation panel at equal intervals;
the utility model discloses an operating panel, including operating panel, transparent protection casing, lock shell, rotary mechanism, lifting piece and third button, operating panel's surface is provided with transparent protection casing, first button, second button and third button that transparent protection casing is used for protecting operating panel are not destroyed by external force, the one end of transparent protection casing is rotated and is connected with rotary mechanism, rotary mechanism's outside fixed mounting is on the surface of lock shell, rotary mechanism is used for driving transparent protection casing and opens or close, the other end fixed mounting of transparent protection casing has the lifting piece, the lifting piece is used for the person of facilitating the use to open transparent protection casing.
Further optimize this technical scheme, the lock shell of small-size intelligent padlock is metal construction, the inside of lock shell is provided with the circuit board that is used for the switch to lock the function, first button, second button and third button are inlayed in the inside of lock shell and are exposed on operating panel's surface.
Further optimize this technical scheme, be provided with MCU and motor drive IC on the circuit board, motor drive IC is used for realizing the mechanical function of unblanking, MCU is used for controlling the flow of unblanking of small-size intelligent padlock.
Further optimize this technical scheme, the LED pilot lamp is double-colored pilot lamp, the colour of LED pilot lamp includes red and green for distinguish different button operations.
Further optimizing the technical scheme, after the first key, the second key and the third key are pressed by a user, the keys output low levels to the MCU, and the MCU respectively outputs high levels or high/low levels according to key operation.
According to the technical scheme, when the MCU outputs a high level according to key operation, the motor drive IC is controlled to unlock, and when the MCU outputs a high/low level according to key operation, the LED indicator light flickers red and green according to different levels.
Further optimizing the technical scheme, the first keys are used for representingnumbers 1 and 4, the second keys are used for representingnumbers 2 and 5, and the third keys are used for representingnumbers 3 and 6.
An unlocking method of a small intelligent padlock based on three-key unlocking is operated based on the small intelligent padlock based on three-key unlocking, and comprises the following implementation modes:
1) Inputting a password: the first key and the third key are pressed for 5 seconds for the first time, a password input mode is entered, meanwhile, the green LED indicator light is turned on for 10 seconds, a desired password is input, and the password defaults to 6 digits;
2) Unlocking by a password: after a correct password is input, the green LED indicator lamp is turned on for 3 seconds, and the unlocking is successful; if the red LED indicator light is on for 3 seconds due to the password input error, the password input error is represented, and the password can be input repeatedly again;
3) And (3) modifying the password: and pressing the first key and the third key for 5 seconds at the same time, flashing the green LED indicator light for 10 seconds, inputting the current old password, lighting the green LED indicator light for 10 seconds, and inputting the password to be modified.
Further optimizing the technical scheme, the unlocking method normally presses the key once for a short time, the first key represents thenumber 1, the second key represents thenumber 2, the third key represents thenumber 3, the green light is simultaneously lightened for 0.5 second every time the key is pressed for 2 times to realize multiplexing of the corresponding number of the key, namely the first key represents thenumber 4, the second key represents thenumber 5, the third key represents thenumber 6, and the red light is simultaneously lightened for 0.5 second to serve as the key effective indicator light for realizing the password with 6 digits.
Further optimizing the technical scheme, when the password is input in the unlocking method, the MCU automatically identifies the 6 th digit and then the default number input is finished, so that the 'confirmation' key is not required to be designed.
Compared with the prior art, the invention provides a small intelligent padlock unlocked based on three keys and an unlocking method thereof, and the small intelligent padlock has the following beneficial effects:
according to the small intelligent padlock unlocked based on the three-key unlocking and the unlocking method thereof, the scheme that the combination key is designed to achieve the password unlocking of the padlock is achieved by arranging the three keys, only one simple MCU and one LED indicating lamp with the three keys are needed on a circuit, the cost is low, the power consumption during working is low, and meanwhile, external interference such as rainwater, dirt, scratch and rub and the like can be resisted.
Drawings
FIG. 1 is a schematic structural diagram of a small intelligent padlock unlocked based on three keys according to the present invention;
FIG. 2 is a schematic view of a connection structure of a transparent protective cover in a small intelligent padlock based on a three-key unlocking mechanism;
fig. 3 is a functional block diagram of an unlocking method of a small intelligent padlock based on three-key unlocking according to the invention.
In the figure: 1. a lock case; 2. a lock beam; 3. an LED indicator light; 4. an operation panel; 5. a first key; 6. a second key; 7. a third key; 8. a transparent protective cover; 9. a rotation mechanism; 10. and (4) lifting the block.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The first embodiment is as follows:
referring to fig. 1 and 2, the small-sized intelligent padlock unlocked based on the three keys comprises alock case 1 and alock beam 2, wherein anLED indicator lamp 3 is fixedly mounted on the surface of thelock case 1, anoperation panel 4 fixedly mounted on the surface of thelock case 1 is arranged below theLED indicator lamp 3, and afirst key 5, asecond key 6 and athird key 7 are sequentially arranged on the surface of theoperation panel 4 at equal intervals.
The technical scheme that the padlock can realize password unlocking is achieved by arranging the three keys and designing the combination keys, only one simple MCU and oneLED indicator lamp 3 with the three keys are needed on a circuit, the cost is low, the power consumption in working is low, and meanwhile, external interference such as rainwater, dirt, scratch and the like can be resisted.
The surface ofoperating panel 4 is provided withtransparent protection casing 8,first button 5,second button 6 andthird button 7 on thetransparent protection casing 8 are used for protectingoperating panel 4 do not receive external force to destroy, the one end oftransparent protection casing 8 is rotated and is connected withrotary mechanism 9,rotary mechanism 9's outside fixed mounting is on the surface oflock shell 1,rotary mechanism 9 is used for drivingtransparent protection casing 8 and opens or close, the other end fixed mounting oftransparent protection casing 8 has and carries and drawspiece 10, it is used for the person of facilitating the use to opentransparent protection casing 8 to carry drawspiece 10.
Specifically, thelock shell 1 of the small intelligent padlock is of a metal structure, a circuit board for locking and unlocking functions is arranged inside thelock shell 1, and thefirst key 5, thesecond key 6 and thethird key 7 are embedded inside thelock shell 1 and exposed on the surface of theoperation panel 4.
Specifically, be provided with MCU and motor driver IC on the circuit board, motor driver IC is used for realizing the mechanical function of unblanking, MCU is used for controlling the flow of unblanking of small-size intelligent padlock.
Specifically, theLED indicator light 3 is a double-color indicator light, and the color of theLED indicator light 3 includes red and green for distinguishing different key operations.
Specifically, after thefirst key 5, thesecond key 6 and thethird key 7 are pressed by a user, the keys output a low level to the MCU, and the MCU outputs a high level or a high/low level according to the key operation.
As shown in fig. 3, specifically, when the MCU outputs a high level according to a key operation, the MCU controls the motor driver IC to unlock the lock, and when the MCU outputs a high/low level according to a key operation, theLED indicator 3 flashes red and green according to different levels.
The second embodiment:
an unlocking method of a small intelligent padlock unlocked based on three-key unlocking is operated based on the small intelligent padlock unlocked based on three-key unlocking in the first embodiment, and comprises the following implementation modes:
1) Inputting a password: thefirst key 5 and the third key are pressed for 75 seconds for the first time, a password input mode is entered, meanwhile, the greenLED indicator light 3 is turned on for 10 seconds (no operating light is turned off within 10 seconds), a desired password is input, and the password defaults to 6 digits;
2) Unlocking by a password: after a correct password is input, the greenLED indicator lamp 3 lights for 3 seconds, and the unlocking is successful; if the redLED indicator lamp 3 is on for 3 seconds due to the password input error, the password input error is represented, and the password can be input repeatedly again;
3) And (3) modifying the password: pressing thefirst key 5 and the third key 75 seconds at the same time, flashing the greenLED indicator light 3 for 10 seconds, inputting the current old password, turning on the greenLED indicator light 3 for 10 seconds (no operating light is turned off in 10 seconds), and then inputting the password which needs to be modified.
Wherein thefirst key 5 is used to represent thenumbers 1 and 4, thesecond key 6 is used to represent thenumbers 2 and 5, and thethird key 7 is used to represent thenumbers 3 and 6.
According to the unlocking method, a key is normally pressed for a short time, thefirst key 5 represents anumber 1, thesecond key 6 represents anumber 2, thethird key 7 represents anumber 3, a green light is simultaneously lightened for 0.5 second every time the green light is pressed for 2 times to serve as a key effective indicator light, multiplexing of the corresponding numbers of the keys can be achieved, namely thefirst key 5 represents anumber 4, thesecond key 6 represents anumber 5, thethird key 7 represents anumber 6, and a red light is simultaneously lightened for 0.5 second to serve as a key effective indicator light for achieving a password with 6 digits.
When the unlocking method is used for inputting the password, the MCU automatically identifies the 6 th digit and then the default digit input is finished, so that the 'confirmation' key is not required to be designed.
Furthermore, for the condition that the password is forgotten by the intelligent lock on the current market, due to the design of safety, no design for forcibly restoring the factory setting is made, so the operation of restoring the factory setting is not considered.
The invention has the beneficial effects that:
according to the small intelligent padlock unlocked based on the three-key unlocking and the unlocking method thereof, the scheme that the combination key is designed to achieve the password unlocking of the padlock is achieved by arranging the three keys, only one simple MCU and one LED indicating lamp with the three keys are needed on a circuit, the cost is low, the power consumption during working is low, and meanwhile, external interference such as rainwater, dirt, scratch and rub and the like can be resisted.
In the description of the specification, reference to the description of "one embodiment," "some embodiments," "an example," "a specific example," or "some examples" or the like means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Moreover, various embodiments or examples and features of various embodiments or examples described in this specification can be combined and combined by one skilled in the art without being mutually inconsistent.
Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that changes, modifications, substitutions and alterations can be made in these embodiments without departing from the principles and spirit of the invention, the scope of which is defined in the appended claims and their equivalents.