Dynamic password access control system
Technical field
The utility model relates to access control system technical fields, specially dynamic password access control system.
Background technique
With the development of electronic technology and internet, access control system has obtained rapid development, enters the maturity period, out
Induction cassette access control system, fingerprint entrance guard system, iris entrance guard system, the door of the various technologies such as face recognition access control system are showed
Access control system, they all respectively have speciality in safety, convenience, ease of manageability etc., and the application field of access control system is also more next
It is wider.
These access control systems in use, user after obtaining identification permission, usually can long-term reserved authority.And
Under the higher application scenarios of the safety requirements such as substation, then need to carry out the access mode of one time one authorization, the i.e. opening of user
The effective time of the permission of gate inhibition is very short, passes in and out gate inhibition after out-of-date again and then needs to request to authorize again, asks to solve this
Topic, some companies have developed the access control system using dynamic-password technique.
Dynamic-password technique is also known as one-time password (One Time Password, abbreviation OTP) technology, according to password
The Different Dynamic password technology of generating mode can there are many, wherein most widely used is time-based dynamic password skill
Art.When working using the access control system of time-based dynamic-password technique, user is needed to carry dynamic password card, moved
Dynamic password generating device is provided in state password card and access control device, dynamic password card and access control device exist
It is synchronous on time, and it is stored with identical key seed;Dynamic password generating device is using the key seed when one section
Between (for example, 60 seconds) generate a dynamic password;When user enters gate inhibition, checked by the display screen of dynamic password card current
Then dynamic password inputs dynamic password on access control device again, access control device is by reading the dynamic built in it
The password that the dynamic password data of password generated device are inputted with user compares, and realizes verifying, and beat after being verified
It opens the door and prohibits.
Since dynamic password generating device refreshes a dynamic password at regular intervals therefore can control having for password
The effect phase prevents password to be used for a long time, but user may have the case where forgetting to close the door or deliberately not closing the door, Jin Erke
To pass in and out gate inhibition for a long time, increase security risk.
Utility model content
The utility model is intended to provide dynamic password access control system, can detect the open and-shut mode of door-control lock automatically,
And it is sounded an alarm after detecting that user does not close gate inhibition for a long time to remind user.
In order to solve the above-mentioned technical problem, this patent provides the following technical solutions:
Dynamic password access control system, including installing frame, door-plate is hinged on the installing frame, and door-plate is equipped with gate inhibition
Lock and access control device, the door-control lock include shell, and the first lock tongue and the first lock tube, the socket of the first lock tongue are equipped in shell
In the first lock tube, the first lock tongue is slidably connected with the first lock tube, and the first lock tongue bottom is equipped with the first iron block, the first lock tube bottom
Equipped with the first electromagnet, the first spring is equipped between the first iron block and the first lock tube bottom surface, the top of the first lock tongue is equipped with pressure
Sensor is equipped with lockhole with the first latch bolt position corresponding position on the installing frame;
The access control device include controller, dynamic password generating device, cipher input, time delay module and
Alarm modules, the controller and dynamic password generating device, cipher input, time delay module, pressure sensor and the
The equal signal connection of one electromagnet, the verifying dynamic password password that the controller is used to be generated according to dynamic password generating device are defeated
Enter the password of device input, the controller is also used to the opening and closing by the on-off access control lock for controlling the first electromagnet, institute
The open and-shut mode that controller is also used to detect door-control lock by pressure sensor is stated, the controller is also used to according to pressure sensing
The opening and closing of the detection data control time delay module of device, the time delay module are connect with alarm modules signal, the delay
Alarm signal can be sent to alarm modules after module, the alarm modules are opened after receiving alarm signal.
In technical solutions of the utility model, user by cipher input input dynamic password password, controller according to
Whether the dynamic password that dynamic password generating device generates is correct come the password for verifying user's input, controls first if correct
Electromagnet conducting, makes the first electromagnet adsorb the first iron block, and then keeps the first lock tongue mobile to the first lock tube bottom end, makes door-control lock
Unlock, after door-control lock unlock, pressure sensor no longer offsets with the bottom surface of lockhole, and the data of pressure sensor change, control
Device processed is it is possible thereby to judge the open and-shut mode of current door-control lock, when controller detects door-control lock in the open state, control
Time delay module is delayed, and closes time delay module if door-control lock again locking in reference time delay, if time delay module prolongs
When after, door-control lock is still within opening state, then sounds an alarm alarm modules.Compared with prior art, this is practical new
In the technical solution of type, the open and-shut mode of door-control lock can be detected automatically, and after detecting that user does not close gate inhibition for a long time
It sounds an alarm to remind user.
Further, the lockhole side wall is equipped with the second lock tube, slidably connects the second lock tongue in second lock tube, the
Two lock tongue bottom ends are fixed with the second iron block, and the second lock tube bottom is equipped with the second electromagnet, second iron block and the second lock tube bottom
Be equipped with second spring between portion, the first lock tongue side wall and the second latch bolt position corresponding position are equipped with locked groove, second electromagnet and
Controller signals connection, the controller are also used to control the on-off of the second electromagnet.
The position of second the second lock tongue of magnet control, when the second lock tongue is located in locked groove, the second lock tongue is locked first
Tongue is locked, prevents the first lock tongue to be used by others improper means and pries open, safer.
Further, further include automatic locking device, the automatic locking device include circuit for controlling motor, motor and with electricity
The coaxially connected safety coupling of machine output shaft, safety coupling are also fixedly connected with the articulated shaft of door-plate, the motor control
Circuit is used to control the opening and closing of motor, and the control terminal of the circuit for controlling motor is connect with time delay module signal, described
After time delay module is delayed, the circuit for controlling motor control motor is opened.
When door-control lock continues for some time it is in the open state after, alarm modules sound an alarm, meanwhile, circuit for controlling motor
Motor rotation is controlled, motor drives door-plate to rotate by safety coupling, then locks door-control lock by the first lock tongue, and safety joins
Axis device can guarantee that motor is not damaged in the case where door-plate has arrived extreme position and motor still rotates.
It further, further include camera and memory, the camera and memory are connect with controller data, institute
Video data of the controller for acquiring camera is stated to store into memory.Video monitoring nearby is carried out to gate inhibition, it is convenient
It traces.
It further, further include wireless communication module, the wireless communication module is connect with controller signals, the controller
The first electromagnet and the second magnet switching can be controlled according to the signal that wireless communication module receives.Facilitate and is remotely controlled
System.
Detailed description of the invention
Fig. 1 is the structural schematic diagram of door-control lock in the utility model dynamic password access control system embodiment;
Fig. 2 is the logic diagram of the utility model dynamic password access control system embodiment.
Specific embodiment
It is further described below by specific embodiment:
Description of symbols:Shell 1, installing frame 2, the first lock tongue 3, the first iron block 4, the first spring 5, the first electromagnet 6,
Second lock tongue 7, the second iron block 8, second spring 9, the second electromagnet 10.
As depicted in figs. 1 and 2, the present embodiment dynamic password access control system, including installing frame 2, it is hinged on installing frame 2
There is a door-plate, door-control lock and access control device has been removably installed by bolt on door-plate, door-control lock includes shell 1, shell 1
It is inside equipped with the first lock tongue 3 and the first lock tube, the first lock tongue is socketed in the first lock tube, and the first lock tongue 3 and the sliding of the first lock tube connect
Connect, the first lock tube side wall is equipped with the sliding slot along horizontal direction, 3 side wall of the first lock tongue be equipped with the matched protrusion of sliding slot, the
One lock tongue, 3 bottom is welded with the first iron block 4, and the first lock tube bottom is equipped with the first electromagnet 6, the first iron block 4 and the first lock tube
It is equipped with the first spring 5 between bottom surface, bonds together between the first spring 5 and the first electromagnet 6 and the first iron block 4, first
The top of lock tongue 3 is equipped with pressure sensor, is equipped with lockhole with 3 position corresponding position of the first lock tongue on installing frame;It is set on lockhole side wall
There is the second lock tube, the second lock tongue 7, the connection relationship and first of the second lock tongue 7 and the second lock tube are slidably connected in the second lock tube
Lock tube is identical as the connection relationship of the first lock tongue 3, and 7 bottom end of the second lock tongue is welded with the second iron block 8, and the second lock tube bottom is equipped with the
Two electromagnet 10, between the second iron block 8 and the second lock tube bottom be equipped with second spring 9,9 both ends of second spring respectively with the second iron
Block 8 and the second lock tube bottom bonding, 3 side wall of the first lock tongue and 7 position corresponding position of the second lock tongue are equipped with locked groove.
Access control device includes controller, dynamic password generating device, cipher input, time delay module and alarm
Module, controller and dynamic password generating device, cipher input, time delay module, pressure sensor and the first electromagnet 6
Equal signal connection, the verifying dynamic password cipher input input that controller is used to be generated according to dynamic password generating device
Password, controller are also used to the opening and closing by the on-off access control lock for controlling the first electromagnet 6, and controller is also used to pass through pressure
Force snesor detects the open and-shut mode of door-control lock, and controller is also used to control time delay module according to the detection data of pressure sensor
Opening and closing, time delay module connect with alarm modules signal, can send alarm to alarm modules after time delay module
Signal, alarm modules are opened after receiving alarm signal, and the second electromagnet 10 is connect with controller signals, and controller is also used to control
Make the on-off of the second electromagnet 10.
It further include automatic locking device, automatic locking device includes that motor and the safety coaxially connected with motor output shaft join
Axis device, safety coupling are also fixedly connected with the articulated shaft of door-plate, and motor is connect with time delay module signal, time delay module delay knot
Motor unlatching can be controlled after beam.
In the present embodiment, controller is single-chip microcontroller, preferably STC12C5A60S2 single-chip microcontroller, and pressure sensor is using pressure-sensitive
Resistance, cipher input are keyboard, and dynamic password generating device uses existing technological means, such as the dynamic secret order card of bank
Used scheme or other existing dynamic password generating devices, alarm modules include LED warning lamp and loudspeaker, are supplied
Circuit is equipped with a relay, and the signal output end signal of the control terminal of relay and time delay module connects, motor
A relay also is provided on power supply circuit, time delay module is used using 555 chips as the timing circuit of core, on power supply circuit
Equipped with relay, the output end of relay control terminal and controller is connected, the relays of 555 chip outputs and alarm modules with
And the relay signal connection of motor, time delay module delay terminate latter two relay and open, and make alarm modules and electric motor starting,
The delay time of time delay module is set as 60 seconds in the present embodiment.
User inputs dynamic password password by cipher input, and controller is generated according to dynamic password generating device
Whether dynamic password is correct come the password for verifying user's input, and the conducting of the first electromagnet 6 is controlled if correct, makes the first electromagnetism
Iron 6 adsorbs the first iron block 4, and then keeps the first lock tongue 3 mobile to the first lock tube bottom end, unlocks door-control lock, after door-control lock unlock,
Pressure sensor no longer offsets with the bottom surface of lockhole, and the data of pressure sensor change, and controller is it is possible thereby to judge to work as
The open and-shut mode of preceding door-control lock, when controller detects door-control lock in the open state, control time delay module is delayed,
Time delay module is closed if door-control lock again locking in reference time delay, if door-control lock is still after time delay module is delayed
It is in the open state, then sound an alarm alarm modules.This programme can detect the open and-shut mode of door-control lock automatically, and detect
It does not close after gate inhibition and sounds an alarm to remind user for a long time to user, meanwhile, circuit for controlling motor controls motor rotation, motor
Door-plate rotation is driven by safety coupling, door-control lock is then lockked by the first lock tongue 3, safety coupling can be arrived in door-plate
Extreme position and motor guarantees that motor is not damaged in the case where still rotating, the second electromagnet 10 controls second lock tongue 7
Position, when the second lock tongue 7 is located in locked groove, the second lock tongue 7 locks the first lock tongue 3, and the first lock tongue 3 is prevented to be used by others
Improper means are pried open, safer.
Dynamic password access control system in order to nearby carry out video monitoring and long-range control to gate inhibition, in the present embodiment
System further includes camera, wireless communication module and memory, and camera, wireless communication module and memory are and controller
Data connection, the video data that controller is used to acquire camera are stored into memory.Controller can be according to channel radio
The signal that letter module receives controls the first electromagnet 6 and 10 on-off of the second electromagnet.Camera preferably uses in the present embodiment
OV7670 series camera, memory are hard disk, and wireless communication module is 4G network communication module.
The above are merely the embodiments of the present invention, the common sense such as well known specific structure and characteristic are not made herein in scheme
Excessive description, one skilled in the art know utility model technical field institute before the applying date or priority date
Some ordinary technical knowledges can know the prior art all in the field, and have using conventional real before the date
The ability of means is tested, one skilled in the art can improve simultaneously under the enlightenment that the application provides in conjunction with self-ability
Implement this programme, some typical known features or known method should not become one skilled in the art and implement this
The obstacle of application.It should be pointed out that for those skilled in the art, under the premise of not departing from the utility model structure,
Several modifications and improvements can also be made, these also should be considered as the protection scope of the utility model, these all will not influence this
The effect and patent practicability that utility model is implemented.This application claims protection scope should be with the content of its claim
Standard, the records such as specific embodiment in specification can be used for explaining the content of claim.