CN104847178B - Multiple coded lock system having mist spray function and control method thereof - Google Patents

Multiple coded lock system having mist spray function and control method thereof Download PDF

Info

Publication number
CN104847178B
CN104847178B CN201510234753.3A CN201510234753A CN104847178B CN 104847178 B CN104847178 B CN 104847178B CN 201510234753 A CN201510234753 A CN 201510234753A CN 104847178 B CN104847178 B CN 104847178B
Authority
CN
China
Prior art keywords
module
password
input
microcontroller
relay
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.)
Expired - Fee Related
Application number
CN201510234753.3A
Other languages
Chinese (zh)
Other versions
CN104847178A (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.)
Southwest University
Original Assignee
Southwest University
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 Southwest University filed Critical Southwest University
Priority to CN201510234753.3A priority Critical patent/CN104847178B/en
Publication of CN104847178A publication Critical patent/CN104847178A/en
Application granted granted Critical
Publication of CN104847178B publication Critical patent/CN104847178B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Alarm Systems (AREA)
  • Lock And Its Accessories (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The invention discloses a multiple coded lock system having a mist spray function and a control method thereof. The multiple coded lock system having the mist spray function comprises a micro controller, wherein an input end of the micro controller is connected with a keyboard input module, an audible and visual alarm module and a displayer module are respectively connected with an output end group of the micro controller, the output end group of the micro controller is further connected with a mist spray alarm module and an unlocking drive module through a relay module, the micro controller is used to obtain a current code signal input by the keyboard input module and controls the audible and visual alarm module and the relay module to work according to the current code signal, the micro controller is further equipped with a wireless communication module, and information exchange between the micro controller and a handheld mobile terminal is achieved through the wireless communication module. The multiple coded lock system having the mist spray function has the remarkable effects of enabling a person to easily perceive an alarm signal by spraying mist to alarm the person, being capable of modifying a certain code, high in code security, and good in independence of the code reserved by an individual.

Description

Multiple-enciphered lock system with spraying function and its control method
Technical field
The present invention relates to electric lockset technical field, specifically, is a kind of lock of the multiple-enciphered with spraying function system System and its control method.
Background technology
With the informationalized development of China, the domestic research in recent years in terms of coded lock, burglary-resisting system is also at full speed Development.
At home, nowadays people's be able to can be lighted with sounding it is commonly understood that being perhaps only limitted to it for alarm, certainly In this, alarm is also wide variety of in life, but which has many defects after all, it is impossible to perfectly completed needed for people The requirement wanted.And a kind of system is worked out with regard to someone at present, it is that (heat releases the double mirror of infrared and microwave sensing by human body sensor Device) being confirmed whether having intrusive behavior, when someone to be determined invades, just by dual-tone multifrequency module and voice module by telephone wire The instant dialing alarm in road, the alarm call of system have gone out the alarm call for arranging Public Security Organss, moreover it is possible to arrange subscriber phone, section Or cell alarm call.There is this alarm, then substantially increase its performance, increased the warning for stealer.
But on the basis of the coded lock majority on domestic market also rests on electronic password lock or mechanical code lock, although Coded lock identity using biological identification technology is higher, yet with relatively costly, does not put into mass market production.And Do not have more imperfect warning system simultaneously, simple buzzer warning can not meet people and wait wanting for coded lock Ask.
The content of the invention
For the deficiencies in the prior art, it is an object of the invention to provide a kind of multiple-enciphered lock system with spraying function and Its control method, convenient and practical, cost of implementation is low, with various alarm mechanisms;Reported to the police by spraying so that alarm signal is more held Easily it is noticeable, it is possible to increase the practicality of this coded lock.
For reaching above-mentioned purpose, the technical solution used in the present invention is as follows:
A kind of multiple-enciphered lock system with spraying function, including microcontroller, connects in the input of the microcontroller There is input through keyboard module, sound and light alarm module, display apparatus module is connected in the outfan group of the microcontroller, its pass Key is:The outfan group of the microcontroller is also connected with spraying alarm module by relay module and drives mould with unlocking Block, the microcontroller are used for obtaining the code signal of current input through keyboard module input, and are controlled according to current password signal The sound and light alarm module is worked with relay module, and the microcontroller is also configured with wireless communication module, the microcontroller Device can realize information exchange by the wireless communication module and hand-held mobile terminal;
The relay module includes unlocking control circuit and atomizing control circuit, and wherein unlocking control circuit includes three poles Connect the first heavy control signal output of the microcontroller, audion after the base stage series resistor R4 of pipe Q1, audion Q1 The colelctor electrode of Q1 connects DC source, is grounded after the coil windings of the emitter stage concatenation relay J1 of audion Q1, relay J1's Switch is serially connected in the power circuit of unlocking drive module, when the switch of relay J1 is closed, unlocking drive module energization work Make;
The atomizing control circuit includes audion Q4, with the microcontroller after the base stage series resistor R5 of audion Q4 The second control signal output be connected, the colelctor electrode of audion Q4 connects DC source, the emitter stage concatenation relay of audion Q4 It is grounded after the coil windings of device J2, the switch of relay J2 is connected in the drive circuit of the spraying alarm module, works as relay When the normal open switch of device J2 is closed, the spraying alarm module is in running order;When the normally closed switch of relay J2 is closed, The spraying alarm module is in silent status.
When actually used, user is input into password, when password is correct, microprocessor controls by Password Input module Unlocking drive module opens coded lock, and when the code error of input, microprocessor controls sound and light alarm module sends alarm signal Number, and drive spraying alarm module spraying to report to the police by relay module, while sending alarm signal by wireless communication module To hand-held mobile terminal.This coding lock system is convenient and practical, and cost of implementation is low, easy to operate, with various alarm mechanisms;Compared to Traditional light is reported to the police so that the people for attempting illegally to input password is easier to be noticeable;Multiple-enciphered can be set, password is improve The safety of lock, helps to ensure that the safety of file that enterprise or many people administer jointly and finance.
Further technical scheme is, the input through keyboard module includes mode selecting key, codon usage key and password Enter key.
Further technical scheme is, the input through keyboard module is matrix keyboard.
By key arrangement into matrix form, when in keyboard, number of keys is more, in order to reduce the occupancy of I/O mouths.In square In configuration keyboard, every horizontal line is not directly connected in infall with vertical line, but is connected by a button, so A port (such as P1 mouths) can be formed by 4*4=16 button.
Further technical scheme is, in order to ensure control accuracy, control cost, the microcontroller is single using 8051 Piece machine, the display apparatus module adopt lcd1602 display screens, the wireless communication module to adopt GSM communication modules.
With reference to the circuit structure of the above-mentioned multiple-enciphered lock system with spraying function, the invention allows for being based on the password The control method of lock system, which it is critical only that and follows the steps below:
Step 1:System initialization;
Step 2:Microcontroller determines whether there is mode selecting key and presses, and enters password and change program if having, if nothing, Into step 3;
Step 3:By the first heavy password of Password Input key input, microcontroller judges whether the first weight password is correct, if It is then to enter step 4, otherwise drives the sound and light alarm module and spraying alarm module work, and sent out by wireless communication module Go out alarm signal to hand-held mobile terminal;
Step 4:After interval time T1, by the second heavy password of Password Input key input, microcontroller judges that the second weight is close Whether code is correct, if then entering step 5, otherwise drives the sound and light alarm module and spraying alarm module work, and passes through Wireless communication module sends alarm signal to hand-held mobile terminal;
Step 5:After interval time T1, by the Password Input triple passwords of key input, microcontroller judges that the triple close Whether code is correct, if then driving the work of unlocking drive module to open coded lock, otherwise drives the sound and light alarm module and spray Mist alarm module works, and sends alarm signal to hand-held mobile terminal by wireless communication module.
Further technical scheme is, the password changes comprising the following steps that for program:
Step A:Select to need the n-th heavy password modified by the codon usage key, and it is defeated by the password Enter the corresponding original code of the key input heavy password;
Step B:When the original code of input is correct, after interval time T2, by the Password Input key input new password, Otherwise return to step A;
Step C:After interval time T2, new password is input into again by the password input key, when the Xinmi City being input into twice When code is consistent, the new password of input is saved as into the heavy password of new n-th, otherwise return to step A.
Further technical scheme is, the value of preferably described T1 interval time and T2 is 2~5s.
This method is by arranging multiple-enciphered, and is reported to the police in each heavy Password Input mistake, improves coded lock Safety;And a certain heavy password can be modified by password modification program, the confidentiality of password is improve, and it is personal The independence of the password of keeping.
The present invention remarkable result be:Convenient and practical, cost of implementation is low, easy to operate, with various alarm mechanisms;By spray Mist is reported to the police, and reports to the police compared to traditional light so that the people for attempting illegally to input password is easier to be noticeable;Arrange multiple close Code, sends alarm signal when a certain heavy Password Input mistake, improves the safety of coded lock, can be used to ensure that enterprise or many The safety of file and finance that people administers jointly;And a certain heavy password can be modified by password modification program, improve The confidentiality of password, and the independence of the password of personal keeping.
Description of the drawings
Fig. 1 is the schematic block circuit diagram of the present invention;
Fig. 2 is the circuit theory diagrams of microcontroller in Fig. 1;
Fig. 3 is the circuit theory diagrams of input through keyboard module in Fig. 1;
Fig. 4 is the display apparatus module circuit theory diagrams;
Fig. 5 is the control circuit schematic diagram of the unlocking drive module;
Fig. 6 is the control circuit schematic diagram of spraying alarm module;
Fig. 7 is the control flow chart of the present invention;
Fig. 8 is password modification program flow diagram.
Specific embodiment
Below in conjunction with the accompanying drawings the specific embodiment and operation principle of the present invention are described in further detail.
As shown in figure 1, a kind of multiple-enciphered lock system with spraying function, including microcontroller, in the microcontroller Input is connected with input through keyboard module, and the input through keyboard module includes mode selecting key, codon usage key and Password Input Key, is connected to sound and light alarm module, display apparatus module, the sound and light alarm module in the outfan group of the microcontroller For buzzer and light emitting diode, the outfan group of the microcontroller is also connected with spraying alarm module by relay module With unlocking drive module, the microcontroller is used for obtaining the code signal of current input through keyboard module input, and according to current Code signal is controlled the sound and light alarm module and is worked with relay module, and the microcontroller is also configured with wireless telecommunications mould Block, the microcontroller can realize information exchange by the wireless communication module and hand-held mobile terminal.
As shown in Figure 2 to 4, in order to ensure control accuracy, control cost, the microcontroller adopts 8051 single-chip microcomputers, The input through keyboard module is matrix keyboard, and using lcd1602 display screens, in Fig. 4, buzzer is used for the display apparatus module Audible ringing signal is sent, the wireless communication module adopts GSM communication modules.
Referring to accompanying drawing 5, for the ease of control, the relay module includes unlocking control circuit and atomizing control circuit, Wherein unlocking control circuit includes audion Q1, connects the first of the microcontroller after the base stage series resistor R4 of audion Q1 Weight control signal output P22, the colelctor electrode of audion Q1 connect DC source, the emitter stage concatenation relay J1's of audion Q1 It is grounded after coil windings, the switch of relay J1 is serially connected in the power circuit of unlocking drive module, when the switch of relay J1 During closure, unlocking drive module energization work is also parallel with diode D1 and resistance R15 in the coil windings of relay J1, Diode D1 is used for the alarm signal that emits beam.
Referring to accompanying drawing 6, as a kind of embodiment, the atomizing control circuit includes audion Q4, the base of audion Q4 It is connected with the second control signal output P20 of the microcontroller after the series resistor R5 of pole, the colelctor electrode of audion Q4 connects directly Stream power supply, is grounded after the coil windings of the emitter stage concatenation relay J2 of audion Q4, and the switch of relay J2 is connected to described In the spray valve drive circuit of spraying alarm module, when the normal open switch of relay J2 is closed, the spraying alarm module It is in running order;When the normally closed switch of relay J2 is closed, the spraying alarm module is in silent status.
As shown in fig. 7, the above-mentioned multiple-enciphered lock system with spraying function can be controlled in accordance with the following methods, with this There are coding lock system triple passwords to illustrate, and comprise the following steps that:
Step 1:System initialization;
Step 2:Microcontroller determines whether there is mode selecting key and presses, and enters password and change program if having, if nothing, Into step 3;
Step 3:By the first heavy password of Password Input key input, microcontroller judges whether the first weight password is correct, if It is then to enter step 4, otherwise drives the sound and light alarm module and spraying alarm module work, and sent out by wireless communication module Go out alarm signal to hand-held mobile terminal;
Step 4:After interval time T1, by the second heavy password of Password Input key input, microcontroller judges that the second weight is close Whether code is correct, if then entering step 5, otherwise drives the sound and light alarm module and spraying alarm module work, and passes through Wireless communication module sends alarm signal to hand-held mobile terminal;
Step 5:After interval time T1, by the Password Input triple passwords of key input, microcontroller judges that the triple close Whether code is correct, if then driving the work of unlocking drive module to open coded lock, otherwise drives the sound and light alarm module and spray Mist alarm module works, and sends alarm signal to hand-held mobile terminal by wireless communication module.
As shown in figure 8, in order to modify to a certain heavy password, it is so as to improve the confidentiality of password and personal Keeping password independence, and then improve coded lock safety, in described triple passwords it is any one heavy can according to Lower step is modified:
Step A:Select to need the n-th heavy password modified by the codon usage key, and it is defeated by the password Enter the corresponding original code of the key input heavy password;
Step B:When the original code of input is correct, after interval time T2, by the Password Input key input new password, Otherwise return to step A;
Step C:After interval time T2, new password is input into again by the password input key, when the Xinmi City being input into twice When code is consistent, the new password of input is saved as into the heavy password of new n-th, otherwise return to step A.
In this example, preferably, the value of T1 interval time and T2 is 3s.
By above-mentioned design, microcontroller generally exports a low level signal and promotes audion Q4 to disconnect, relay J2 Coil windings in no electric current flow through, its normally closed switch be closure state, spray alarm module spray valve in close State;When triple passwords correct by cipher inputting keyboard input, microcontroller sends high level signal turn-on transistor Q1, relay J1 live line works, control unlocking drive module open coded lock;It is that mistake is close when triple passwords of input have a weight During code, microcontroller exports low level signal and promotes audion Q1 to disconnect, while high level signal turn-on transistor Q4 is exported, The coil windings of relay J2 are powered, and its normally closed switch disconnects, normal open switch closure, the spray valve of control spraying alarm module Open ejection smog to be reported to the police, at the same time, microcontroller is also carried out sound and light alarm and sent by gsm wireless communication module Alarming short message is to hand-held mobile terminal.
For the use habit with reference to people, the hand-held mobile terminal can be mobile phone or mobile panel computer.And in order to The safety of this coded lock is improved further, in the code error of input, microcontroller can be also carried out to input through keyboard module Locking, can only pass through specific keys or remaining technological means enters line activating to which.

Claims (7)

1. a kind of multiple-enciphered lock system with spraying function, including microcontroller, is connected with the input of the microcontroller Input through keyboard module, is connected to sound and light alarm module, display apparatus module, its feature in the outfan group of the microcontroller It is:The outfan group of the microcontroller is also connected with spraying alarm module and unlocking drive module by relay module, The microcontroller is used for obtaining the code signal of current input through keyboard module input, and according to the control of current password signal Sound and light alarm module is worked with relay module, and the microcontroller is also configured with wireless communication module, and the microcontroller can Information exchange is realized by the wireless communication module and hand-held mobile terminal;
The relay module includes unlocking control circuit and atomizing control circuit, and wherein unlocking control circuit includes audion Connect the first heavy control signal output of the microcontroller, audion Q1 after the base stage series resistor R4 of Q1, audion Q1 Colelctor electrode connect DC source, be grounded after the coil windings of the emitter stage concatenation relay J1 of audion Q1, relay J1's opens Pass is serially connected in the power circuit of unlocking drive module, when the switch of relay J1 is closed, unlocking drive module energization work;
The atomizing control circuit includes audion Q4, after the base stage series resistor R5 of audion Q4 with the microcontroller Two control signal outputs are connected, and the colelctor electrode of audion Q4 meets DC source, the emitter stage concatenation relay J2 of audion Q4 Coil windings after be grounded, the switch of relay J2 is connected in the drive circuit of the alarm module of spraying, as relay J2 Normal open switch close when, the spraying alarm module is in running order;It is when the normally closed switch of relay J2 is closed, described Spraying alarm module is in silent status.
2. the multiple-enciphered lock system with spraying function according to claim 1, it is characterised in that:The input through keyboard mould Block includes mode selecting key, codon usage key and password input key.
3. the multiple-enciphered lock system with spraying function according to claim 2, it is characterised in that:The input through keyboard mould Block is matrix keyboard.
4. the multiple-enciphered lock system with spraying function according to claim 1, it is characterised in that:The microcontroller is adopted 8051 single-chip microcomputers, the display apparatus module are used to adopt lcd1602 display screens, the wireless communication module to adopt GSM communication modules.
5. a kind of control method of the multiple-enciphered lock system with spraying function as claimed in claim 2, it is characterised in that press Carry out according to following steps:
Step 1:System initialization;
Step 2:Microcontroller determines whether there is mode selecting key and presses, and enters password and changes program, if nothing, enter if having Step 3;
Step 3:By the first heavy password of Password Input key input, microcontroller judges whether the first weight password is correct, if then Into step 4, the sound and light alarm module and spraying alarm module work is otherwise driven, and report is sent by wireless communication module Alert signal is to hand-held mobile terminal;
Step 4:After interval time T1, by the second heavy password of Password Input key input, microcontroller judges that doublet code is It is no correct, if then entering step 5, the sound and light alarm module and spraying alarm module work is otherwise driven, and by wireless Communication module sends alarm signal to hand-held mobile terminal;
Step 5:After interval time T1, by the Password Input triple passwords of key input, microcontroller judges that triple passwords are It is no correct, if then driving the work of unlocking drive module to open coded lock, the sound and light alarm module is otherwise driven with spraying report Alert module work, and alarm signal is sent to hand-held mobile terminal by wireless communication module.
6. the control method of the multiple-enciphered lock system with spraying function according to claim 5, it is characterised in that:It is described Password changes comprising the following steps that for program:
Step A:Select to need the n-th heavy password modified by the codon usage key, and pass through the password input key It input the corresponding original code of the heavy password;
Step B:When the original code of input is correct, after interval time T2, by the Password Input key input new password, otherwise Return to step A;
Step C:After interval time T2, new password is input into again by the password input key, when the new password one being input into twice During cause, the new password of input is saved as into the heavy password of new n-th, otherwise return to step A.
7. the control method of the multiple-enciphered lock system with spraying function according to claim 6, it is characterised in that:It is described Interval time, the value of T1 and T2 was 2~5s.
CN201510234753.3A 2015-05-11 2015-05-11 Multiple coded lock system having mist spray function and control method thereof Expired - Fee Related CN104847178B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510234753.3A CN104847178B (en) 2015-05-11 2015-05-11 Multiple coded lock system having mist spray function and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510234753.3A CN104847178B (en) 2015-05-11 2015-05-11 Multiple coded lock system having mist spray function and control method thereof

Publications (2)

Publication Number Publication Date
CN104847178A CN104847178A (en) 2015-08-19
CN104847178B true CN104847178B (en) 2017-03-22

Family

ID=53847113

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510234753.3A Expired - Fee Related CN104847178B (en) 2015-05-11 2015-05-11 Multiple coded lock system having mist spray function and control method thereof

Country Status (1)

Country Link
CN (1) CN104847178B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108064346A (en) * 2017-01-19 2018-05-22 深圳欣锐科技股份有限公司 A kind of CAN signal line shorted to earth test device
CN106703543A (en) * 2017-02-13 2017-05-24 攀枝花学院 Control circuit of combination lock
CN108999478A (en) * 2018-07-19 2018-12-14 高恒萍 Smart lock
CN111502423A (en) * 2020-05-08 2020-08-07 詹连 Anti-theft lockhole-free electromagnetic door lock opened based on remote mobile phone remote control

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE19627384A1 (en) * 1996-07-06 1998-01-08 Bosch Gmbh Robert Electrical device, in particular CD changer, for connection to a second electrical device, in particular a car radio
US20010010491A1 (en) * 1999-11-02 2001-08-02 Marneweck Willem J. Signal discriminator for wake-up of a low power transponder
SE530279C8 (en) * 2005-03-18 2008-06-03 Phoniro Ab Method of unlocking a lock with a locking device capable of wireless short distance data communication in accordance with a communication standard, and an associated locking device
EP1924754A4 (en) * 2005-09-13 2010-10-06 Master Lock Co Combination lock
CN101245689A (en) * 2007-12-27 2008-08-20 北京儒田科技有限公司 Electric anti-theft door equipped with multiple anti-theft and warning function
CN201936366U (en) * 2010-06-29 2011-08-17 北京众和汇智科技有限公司 Prison access control monitoring device and prison access control monitoring system
MX347726B (en) * 2013-03-11 2017-05-10 Spectrum Brands Inc Electronic deadbolt.
JP6136417B2 (en) * 2013-03-21 2017-05-31 株式会社デンソー Electronic key system and information registration system
CN103233613A (en) * 2013-05-15 2013-08-07 南通沪江锁业有限公司 Highly-intelligent safety lock
CN104420722A (en) * 2013-09-06 2015-03-18 昆山市玉山镇仕龙设计工作室 Multi-protection smart lock

Also Published As

Publication number Publication date
CN104847178A (en) 2015-08-19

Similar Documents

Publication Publication Date Title
CN104847178B (en) Multiple coded lock system having mist spray function and control method thereof
CN205566447U (en) Touching house doorbell of intelligence
CN107610394A (en) A kind of high safety performance Novel storage cabinet monitored in real time and monitoring method
CN108924990B (en) WeChat applet-based LED lamp control system and connection method thereof
CN201374110Y (en) Multifunctional wireless anti-theft alarm system for house
CN105178721A (en) Energy-saving safety door lock control device
CN203773612U (en) Multifunctional entrance guard
CN201311670Y (en) Telecommunication control electronic lock
CN106453894B (en) The method whether detecting communication apparatus passes into silence
CN209233869U (en) Intelligent security guard gateway and system
CN207264552U (en) A kind of Portable safety protection intelligent alarm device and system
CN2535863Y (en) Indoor multifunctional intelligent safety alarm
CN210983551U (en) Intelligent access control installs equipment additional
CN101872177B (en) Home intelligent control and security system
CN106781226A (en) A kind of intelligent doorbell
CN208073156U (en) A kind of intelligent lock control device
CN205725990U (en) Hotel's switch and telephone traffic system
CN201749329U (en) Electrical home appliance with intelligent control and safety protection functions
CN205375632U (en) Intelligent door lock
CN203933759U (en) A kind of telephone anti-theft device and system
CN204681377U (en) Portable call response unit
CN207851936U (en) A kind of device of wirelessly calling out the numbers
CN204143609U (en) A kind of digital touch Novel alarm
CN2531976Y (en) Radio theft-proof alarm device for motor vehicle
CN202120398U (en) Multifunctional intelligent alarming control device based on finger print identification

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20170322

Termination date: 20170511