CN101638958A - Coded lock based on singlechip - Google Patents

Coded lock based on singlechip Download PDF

Info

Publication number
CN101638958A
CN101638958A CN200910306066A CN200910306066A CN101638958A CN 101638958 A CN101638958 A CN 101638958A CN 200910306066 A CN200910306066 A CN 200910306066A CN 200910306066 A CN200910306066 A CN 200910306066A CN 101638958 A CN101638958 A CN 101638958A
Authority
CN
China
Prior art keywords
coded lock
button
push
scm based
indicating area
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.)
Granted
Application number
CN200910306066A
Other languages
Chinese (zh)
Other versions
CN101638958B (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.)
Shenzhen Polytechnic
Original Assignee
Shenzhen Polytechnic
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 Polytechnic filed Critical Shenzhen Polytechnic
Priority to CN2009103060662A priority Critical patent/CN101638958B/en
Publication of CN101638958A publication Critical patent/CN101638958A/en
Application granted granted Critical
Publication of CN101638958B publication Critical patent/CN101638958B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention relates to the field of cipher devices, which discloses a coded lock based on a singlechip. The coded lock is characterized by comprising a mechanical executive mechanism, a panel mechanism, a main control unit and an executive circuit, wherein the mechanical executive mechanism, the panel mechanism and the main control unit are connected with the executive circuit. The invention isextremely convenient for use by adopting manual control input, makes up for the bug of cipher trace exposure by adopting an idiomatical mechanical structure design, can have multiple cipher combinations to strengthen the cipher randomness, and provides input functions of alarming, switching modes and limiting errors.

Description

SCM Based coded lock
Technical field
The present invention relates to field of cipher devices, particularly a kind of SCM Based coded lock.
Background technology
Common coded lock is the release with the corresponding current potential that changes several fixedly buttons generally, thereby obtain antitheft effect, but, because the uniqueness of essential key, after repeatedly using, cause enter key mechanical loss to a certain degree, thereby the lawless person can break a code through repeatedly souning out, thereby causes the antitheft failure of coded lock, causes client's loss.
Summary of the invention
In order to overcome above-mentioned weak point of the prior art, the present invention proposes a kind of SCM Based coded lock, thereby has solved the cipher anti theft problem.
The present invention is achieved by the following technical solutions: design, a kind of SCM Based coded lock of manufacturing comprise mechanical actuating mechanism, facing, main control unit and executive circuit; Described mechanical actuating mechanism, facing, main control unit are connected with described executive circuit.
The present invention is further improved to be that described facing comprises outside plate, push-button unit, key position indicating area, pulley pull handle, track plate and display unit; Described key position indicating area, display unit and pulley pull handle are positioned on the described outside plate; Described track plate is positioned at described outside plate; Described pulley pull handle is positioned at below, described key position indicating area; Described push-button unit is positioned at the inside of described facing and corresponding with described button indicating area.
The present invention is further improved to be that described main control unit is a singlechip chip.
The present invention is further improved to be that described display unit comprises light emitting diode.
The present invention is further improved to be, described button indicating area comprises digital indicating area at least, the numeral of described digital indicating area indication 0 to 9; Described push-button unit comprises digital keys and operation push-button; Described digital keys comprises that digital keys 0 is to digital keys 9; Described operation push-button comprises acknowledgement key and reset key.
The present invention is further improved to be that described push-button unit is on the same perpendicular; Described push-button unit is arranged in the plate seam of described track plate.
The present invention is further improved to be that described digital keys in the vertical direction is from top to bottom by arranging from small to large; Described operation push-button is positioned at the below of described digital keys; Designation number in the described digital indicating area is docile and obedient preface and is arranged on described outside plate.
The present invention is further improved to be that described pulley pull handle can spur up and down and can touch with described push-button unit; Be connected with the spring part that can allow it reset on the described pulley pull handle; Described spring part one end is fixed in the described facing, and its other end is connected with described pulley pull handle.
The present invention is further improved to be that described singlechip chip is AT89C1051, AT89C2051, GMS1051 or GMS2051; Establish software program in the described singlechip chip.
The present invention is further improved to be that described light emitting diode is made up of red light emitting diodes and green LED; Described light emitting diode is used for prompting that whether coded lock is normally opened.
The invention has the beneficial effects as follows: the present invention adopts manual input, and it is extremely convenient to use; Adopt the design of characteristic frame for movement, remedy the leak that the password person's movements and expression expose; Can establish multiple password combination, strengthen cipher random; The input function of alarm, pattern switching, limit erroneous is provided simultaneously.
Description of drawings
Fig. 1 is the connection side schematic view figure that the present invention is based on the coded lock of single-chip microcomputer.
Fig. 2 is the connection front view schematic diagram that the present invention is based on the coded lock of single-chip microcomputer.
Fig. 3 is the cipher lock circuit connection layout that the present invention is based on single-chip microcomputer.
The specific embodiment
Below in conjunction with accompanying drawing, the invention will be further described.
A kind of SCM Based coded lock comprises mechanical actuating mechanism, facing, main control unit and executive circuit; Described mechanical actuating mechanism, facing, main control unit are connected with described executive circuit.
Described facing comprises outside plate, push-button unit, key position indicating area, pulley pull handle 4, track plate 5 and display unit; Described key position indicating area, display unit and pulley pull handle 4 are positioned on the described outside plate; Described track plate 5 is positioned at described outside plate; Described pulley pull handle 4 is positioned at below, described key position indicating area; Described push-button unit is positioned at the inside of described facing and corresponding with described button indicating area.
Described main control unit is a singlechip chip.
Described display unit comprises light emitting diode 1.
Described button indicating area comprises digital indicating area at least, the numeral of described digital indicating area indication 0 to 9; Described push-button unit comprises digital keys 2 and operation push-button 3; Described digital keys 2 comprises that digital keys 0 is to digital keys 9; Described operation push-button 3 comprises acknowledgement key and reset key.
Described push-button unit is on the same perpendicular; Described push-button unit is arranged in the plate seam of described track plate.
Described digital keys 2 in the vertical directions are from top to bottom by arranging from small to large; Described operation push-button 3 is positioned at the below of described digital keys 2; Designation number in the described digital indicating area is docile and obedient preface and is arranged on described outside plate.
Described pulley pull handle 4 can spur up and down and can touch with described push-button unit; Described pulley pull handle 4 is by showing corresponding digital prompt information with described push-button unit touching in described button indicating area; It is actual key position in the corresponding lock of key position marked region; Therefore when the pulley pull handle moves on to certain key label, show promptly that this button is finished once to touch.Be connected with on the described pulley pull handle 4 and can allow its spring part that resets 6; Described spring part 6 one ends are fixed in the described facing, and its other end is connected with described pulley pull handle 4.
Described singlechip chip is AT89C1051, AT89C2051, GMS1051 or GMS2051; Establish software program in the described singlechip chip.
Described light emitting diode is made up of red light emitting diodes and green LED; Described light emitting diode is used for prompting that whether coded lock is normally opened.
In a kind of preferred embodiment, the Appearance Panel is made up of 11 buttons, 1 elastic force pulley pull handle, a track plate, two light emitting diodes.11 buttons are vertical shape and are arranged in the plate seam that track pulls, and first is an acknowledgement key from lower to upper, and second to the tenth is respectively 0 ~ 9 numerical key.The pulley pull handle can spur up and down, be positioned at acknowledgement key below, can touch button during pulling and obtain data, after being subjected to extension spring stress to act on stretching, can return rope automatically.The track plate then is the movement locus that is used for fixing pull bar.Because all buttons all are on the same perpendicular, if in the time of will moving to pull bar on the password key, must be through the several buttons below this button, the mechanical loss that pulley causes just can feed through to a plurality of buttons, its vestige is only limited to the maximum value in the password number, and other passwords are difficult to follow the trail of.The input mode that this just button involves pattern has accomplished to cover the mechanical loss area, stop the tracking that concrete password vestige is distributed.
Inner at lock, in the sliding handle moving process, when the sliding handle contact contacts with key contacts, this key closure.As shown in Figure 2, on the facing, actual key position in the corresponding lock of key position marked region, for example, digital key position is indicated 12 corresponding digital keys 0-9 in the numeral indicating area, therefore the record key position is indicated 13 corresponding record keys, when the pulley pull handle moves on to certain key label, shows promptly that this button is finished once to touch.
The control circuit schematic diagram as shown in Figure 3, circuit is made of singlechip chip, motor, buzzer and various gadget commonly used.The selection of singlechip chip can be chosen the AT89C1051/2051 or the GMS1051/2051 of super quality and competitive price according to general requirement, does not need Add-In memory and data storage and other widening parts, has little, the easy for installation advantage of volume.
Acknowledgement key is connected on the port of single-chip microcomputer INT1, and 0 ~ 9 numerical key unification is connected on the port of INT0.When pulley moves, through confirming and numerical key that each numerical key of pulley touching all can change the level of INT0 port, triggers the interruption of an INT0, writes down interruption times one time.Change the level of this port when pulley touches acknowledgement key, trigger INT1 and interrupt, handled as password input single-chip microcomputer, finish the input of a password at this moment writing down all INT0 interruption times that pulley moves up and down triggering just now.If password all input is correct, then P0.0, P2.6 input are given high level, light green diode, the positive turn-off door of motor.Otherwise P0.1, P1.0 port are given high level, light red diode, buzzer call warning.In addition, can press reset key and allow the motor counter-rotating reset after opening the door, data will be reset simultaneously, and single-chip microcomputer is reworked.
By the arrangement of button as can be seen, the password of this single-chip microcomputer coded lock release is not 0 ~ 9 digital code, but the INT0 interruption times that 0 ~ 9 numerical key triggers.Therefore the unlocking pin of this coded lock is made up of the hexadecimal form of this interruption times.The effect of each numerical key mainly is an interruption times of writing down an INT0, and for example a password is 3, and 3. pulley is pulled to button, then passes through button 0 ~ 3, and pulley returns and passes through button 2 ~ 0 again behind the rope and just can get back to initial point, has then write down 7 times and has interrupted number.Register data adds 1 during each the interruption, and then data accumulation has arrived 07H, and this hexadecimal number is only real corresponding button password value 3., after acknowledgement key is imported the single-chip microcomputer processing, with this input content as password.Show as following table:
The numbering of numerical key: ?0 ?1 ?2 ?3 ?4 ??5 ??6 ??7 ??8 ??9
Corresponding interruption number: 1 time 3 times 5 times 7 times 9 times 11 times 13 times 15 times 17 times 19 times
Password in tabling look-up: ?01H ?03H ?05H ?07H ?09H ??0BH ??0DH ??0FH ??0F2H ??0F4H
The chip program of this single-chip microcomputer adopts modularized design, comprises main program module, INT0 interruption subroutine, INT1 interruption subroutine, pattern switching/alarm subprogram.After the single-chip microcomputer operation, system at first carries out data initialization in main program, element address, register assignment etc. for example are set, by the time data become wait password input state after disposing.If when having numerical key to trigger INT0 to interrupt, count to get the number of times that the required triggering of password of input is interrupted synchronously by register data, can use the INC instruction to finish.In the INT1 interrupt routine that acknowledgement key triggers, program is by being provided with input checking, the inspection of wrong mark, the data of tabling look-up comparison, importing these four limited circulations that continuitys instruction is judged that finish, realized preventing to input the basic anti-theft feature of data for empty, the anti-program redirect of divulging a secret, password check, inspection input number of times, and can use complete operations such as instruction such as JZ, CJNE, MOVC, DJNZ respectively, shorten the content of instruction greatly, simultaneously can also be by table look-up data and check that instruction realizes multiple password combination, strengthens the random coefficient of coded lock password of interpolation.In addition, warning system according to circumstances optionally carries out alarm in short-term, short time and can import/and alarm when growing, all inputs of this wait of stopping to import are for a long time finished and the program of not carrying out any work, limit the time that password is soundd out to a certain extent, improved safety.
In the time of in the practical application, this coded lock password figure place can be set 1~10 password according to customer requirements, and every span is 0~9.The user can set up and revise password on their own; If the unlocking cipher of keying in is not exclusively correct, then 5 seconds of buzzer warning, note to remind other people; Password useless is imported in the wrong 3 less important warnings of unlocking cipher 5 minutes during the warning, repeatedly sound out password with anti-theft; The unlocking cipher of keying in is entirely true just can unblank, and 1 second prompt tone will be arranged when unblanking; Coded lock (being on the facing) in appearance only allows 0-9 totally 10 password position indications, 2 luminous tubes, 1 pulley pull handle.Rely on sliding handle to be pulled to and the password value indicating positions from the bottom initial point, the back sliding handle resilience initial point of loosing one's grip is finished a password input.Because do not have button on the panel, the button on the circuit diagram represent key contacts, inner at lock, in the sliding handle moving process, when the sliding handle contact contacted with key contacts, this key closure then showed the numeral of this key correspondence on the panel, otherwise the key disconnection; Simultaneously, reserve battery is arranged in the lock, reset key is positioned at the door lock inboard, has only inner electrification reset or reset key to press and could be provided with or revise password afterwards.
Specify password setting and the step of unblanking below by example.
Password setting:
Electrification reset, system enters the password setting program, supposes 4 passwords, and the password setting process is as follows:
By reset key, buzzer rings two, prompting input password.
Sliding handle is pulled to the indicating positions of password 4 correspondences from the bottom, letting go then makes sliding handle get back to initial point under spring action.
So analogize, sliding handle is pulled to the indicating positions corresponding with password 5 from the bottom, let go then.
Sliding handle is pulled to the indicating positions corresponding with password 7 from the bottom, lets go then.
Sliding handle is pulled to the indicating positions corresponding with password 3 from the bottom, lets go then.
Green light flicker 5 seconds, the password input finishes, and password 4573 is kept in the single-chip microcomputer.
Unlock operation:
Suppose that password is: 4573
Sliding handle is pulled to the indicating positions corresponding with password 4 from the bottom, letting go then makes sliding handle get back to initial point under spring action.
So analogize, sliding handle is pulled to the indicating positions corresponding with password 5 from the bottom, let go then.
Sliding handle is pulled to the indicating positions corresponding with password 7 from the bottom, lets go then.
Sliding handle is pulled to the indicating positions corresponding with password 3 from the bottom, lets go then.5, the green light flicker is 5 seconds, and buzzer rang for 1 second, and the prompt cipher input is correct, and motor apparatus starts, and realizes opening the door.
Input by mistake if any password in four cryptographic processes in input, then when four passwords all import finish after, blinking red lamp 5 seconds, in 5 seconds of buzzer warning, password is re-entered in prompting, door is tightly locked.
Password useless is imported in the wrong 3 less important warnings of unlocking cipher 5 minutes during the warning.
Above content be in conjunction with concrete preferred implementation to further describing that the present invention did, can not assert that concrete enforcement of the present invention is confined to these explanations.For the general technical staff of the technical field of the invention, without departing from the inventive concept of the premise, can also make some simple deduction or replace, all should be considered as belonging to protection scope of the present invention.

Claims (10)

1. a SCM Based coded lock is characterized in that: comprise mechanical actuating mechanism, facing, main control unit and executive circuit; Described mechanical actuating mechanism, facing, main control unit are connected with described executive circuit.
2. according to the described SCM Based coded lock of claim 1, it is characterized in that: described facing comprises outside plate, push-button unit, key position indicating area, pulley pull handle (4), track plate (5) and display unit; Described key position indicating area, display unit and pulley pull handle (4) are positioned on the described outside plate; Described track plate (5) is positioned at described outside plate; Described pulley pull handle (4) is positioned at below, described key position indicating area; Described push-button unit is positioned at the inside of described facing and corresponding with described button indicating area.
3. according to the described SCM Based coded lock of claim 2, it is characterized in that: described main control unit is a singlechip chip.
4. according to the described SCM Based coded lock of claim 2, it is characterized in that: described display unit comprises light emitting diode (1).
5. according to claim 2 or 3 or 4 described SCM Based coded locks, it is characterized in that: described button indicating area comprises digital indicating area at least, the numeral of described digital indicating area indication 0 to 9; Described push-button unit comprises digital keys (2) and operation push-button (3); Described digital keys (2) comprises that digital keys 0 is to digital keys 9; Described operation push-button (3) comprises acknowledgement key and reset key.
6. according to the described SCM Based coded lock of claim 5, it is characterized in that: described push-button unit is on the same perpendicular; Described push-button unit is arranged in the plate seam of described track plate.
7. according to the described SCM Based coded lock of claim 6, it is characterized in that: described digital keys (2) in the vertical direction is from top to bottom by arranging from small to large; Described operation push-button (3) is positioned at the below of described digital keys (2); Designation number in the described digital indicating area is docile and obedient preface and is arranged on described outside plate.
8. according to the described SCM Based coded lock of claim 7, it is characterized in that: described pulley pull handle (4) can spur up and down and can touch with described push-button unit; Be connected with on the described pulley pull handle (4) and can allow its spring part that resets (6); Described spring part (6) one ends are fixed in the described facing, and its other end is connected with described pulley pull handle (4).
9. described according to Claim 8 SCM Based coded lock is characterized in that: described singlechip chip is AT89C1051, AT89C2051, GMS1051 or GMS2051; Establish software program in the described singlechip chip.
10. according to the described SCM Based coded lock of claim 2, it is characterized in that: described light emitting diode is made up of red light emitting diodes and green LED; Described light emitting diode is used for prompting that whether coded lock is normally opened.
CN2009103060662A 2009-08-25 2009-08-25 Coded lock based on singlechip Expired - Fee Related CN101638958B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009103060662A CN101638958B (en) 2009-08-25 2009-08-25 Coded lock based on singlechip

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009103060662A CN101638958B (en) 2009-08-25 2009-08-25 Coded lock based on singlechip

Publications (2)

Publication Number Publication Date
CN101638958A true CN101638958A (en) 2010-02-03
CN101638958B CN101638958B (en) 2012-05-30

Family

ID=41614114

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009103060662A Expired - Fee Related CN101638958B (en) 2009-08-25 2009-08-25 Coded lock based on singlechip

Country Status (1)

Country Link
CN (1) CN101638958B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102521952A (en) * 2011-12-22 2012-06-27 苏州巴米特信息科技有限公司 Automatic alarming control circuit
CN104346589A (en) * 2013-08-01 2015-02-11 陈玉文 Password setting and unlocking system and password setting and unlocking method
CN109308581A (en) * 2018-09-25 2019-02-05 安徽灵图壹智能科技有限公司 A kind of examination cloud platform system based on block chain
CN110010241A (en) * 2019-04-03 2019-07-12 温州康宁医院股份有限公司 A kind of patient administration system that medical department uses

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
BR8003504A (en) * 1979-06-07 1981-01-05 B Lyng SECRET TYPE LOCK IMPROVEMENT
US4426862A (en) * 1981-07-06 1984-01-24 Iwasaki Engineering Co., Ltd. Electronic locking device
CN1217413A (en) * 1997-11-19 1999-05-26 浙江师范大学 Electronic puzzle lock
CN2908708Y (en) * 2005-08-10 2007-06-06 刘德国 Key lock separated electronic trick lock
CN201141300Y (en) * 2007-12-21 2008-10-29 天津华云自控股份有限公司 Electronic trick lock for single-chip control
CN201502240U (en) * 2009-08-25 2010-06-09 深圳职业技术学院 Coded lock based on single chip microcomputer

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102521952A (en) * 2011-12-22 2012-06-27 苏州巴米特信息科技有限公司 Automatic alarming control circuit
CN104346589A (en) * 2013-08-01 2015-02-11 陈玉文 Password setting and unlocking system and password setting and unlocking method
CN104346589B (en) * 2013-08-01 2018-06-22 林玲 A kind of password setting, unlocking system and method
CN109308581A (en) * 2018-09-25 2019-02-05 安徽灵图壹智能科技有限公司 A kind of examination cloud platform system based on block chain
CN110010241A (en) * 2019-04-03 2019-07-12 温州康宁医院股份有限公司 A kind of patient administration system that medical department uses

Also Published As

Publication number Publication date
CN101638958B (en) 2012-05-30

Similar Documents

Publication Publication Date Title
CN101638958B (en) Coded lock based on singlechip
US20050179517A1 (en) Retrofit electronic lock security system
CN107143214A (en) A kind of intelligent touch screen password generating apparatus applied to electronic lock
US20020093488A1 (en) Information entry device
US4103289A (en) Calculator theft prevention device
CN201502240U (en) Coded lock based on single chip microcomputer
CN110517384A (en) A kind of key management box
CN105389874A (en) Control system and control method for intelligent lock
CN205158495U (en) A control system for intelligence lock
CN101942940A (en) Double control safety box unlocked by key and inputting password
CN109716409A (en) Card automatic device with secured user interface
CN105809778A (en) One-chip microcomputer-based electronic coded lock design
CN106157411A (en) A kind of electronic password lock
CN103839307A (en) Intelligent electronic coded lock
CN201297071Y (en) Electronic lock based on double identification of identity and password
CN208271280U (en) intelligent lock system
CN103093525B (en) Safety control device and method of controlling security
WO2006097769A1 (en) Electronic lock
CN103310520A (en) Intelligent electronic coded lock
CN101748940A (en) Intelligent burglar-proof lock of safety box
CN202347950U (en) Electronic coded lock based on singlechip
CN208705931U (en) A kind of building intelligent key management cabinet and building intelligent antisubmarine defence system
CN205563585U (en) Multi -media shell intelligent control device
CN206616962U (en) A kind of autonomous learning formula radio frequency electric theftproof lock for intelligent anti-theft door lock
CN205908129U (en) Dynamic digit password fingerprint pickproof lock

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20120530

Termination date: 20120825