The content of the invention
The invention reside in overcoming the shortcoming and deficiency of prior art, there is provided a kind of safe, identity is good and can be used for
The intelligent electronic lock control method of remote management.
The present invention is achieved by the following technical solutions:A kind of intelligent electronic lock control method, comprises the steps:
Step S11:Door lock is initialized, initial door lock phone number;The fixed password and multiple handss of memory storage setting
Machine number;
Step S12:User is input into fixed password in coded lock input keyboard, and the coded lock input keyboard is close by the fixation
Code is sent to the controller, and the controller carries out the fixed password that the fixed password of acquisition sets with memorizer memory storage
Relatively, if unanimously, then execution step S13;
Step S13:User passes through GSM nets with the mobile phone dialing door lock phone number carried with, the GSM communication devices
Network is obtained and dials the phone number of door lock phone number, and is sent to the controller;
Step S14:The controller obtains dial-in handset number, and retrieve judge memorizer it is interior whether be stored with it is consistent
Phone number;If having, then execution step S15;
Step S15:The controller transmitting control commands are to the random cipher maker, the random cipher maker
Current authentication password is generated, and is sent to the controller, the controller is sent in the checking password by GSM communication devices
To dial-in handset;
Step S16:Dial-in handset user is received after checking password, and in coded lock input keyboard the checking password is input,
The checking password is sent to the controller by the coded lock input keyboard, the controller by the checking password for feeding back to
The checking password of transmission is compared, if unanimously, execution step S17;
Step S17:The controller sends order of unlocking to the electronic lock cylinder, and the electronic lock cylinder is unlocked.
The present invention is input into fixed password by coded lock input keyboard;Using with oneself must band handset call doorplate cell-phone number
Code, the controller obtains the phone number of calling using GSM communication devices as bridge, while also in note form to legal
Wail mobile phone and send checking password, user is verified again by coded lock input keyboard input validation password;It is defeated that and if only if
When fixed password, phone number and the checking password for entering meets sets requirement, coded lock can be just untied, open door lock, be risen
Triple protection effect is arrived.Because the disabled user for pretending to be cell-phone number at present only has sending signal, and do not possess reception signal
Function, the present invention according to this characteristic, after the signal for receiving dial-in handset, to dial-in handset send checking password so that
The validated user for only receiving checking password and correctly entering the checking password in coded lock input keyboard just can unlock, and have
Effect prevents disabled user from copying the malpractice for falsely using cell-phone number unlocking, improves the safety of intelligent electronic lock.
Further, in step S17, after electronic lock cylinder is unlocked, the mobile phone that the memory storage record is unlocked
Number.
Further, in step S12, when the fixed password for obtaining is consistent with the fixed password of memory storage, institute
State prompting " input validation password " on display screen, and execution step S13;If inconsistent, then " Password Input is pointed out on display screen
Mistake ", need to re-enter fixed password.
Further, in step S14, when the phone number for receiving does not have storage in memorizer, the display
" input fixed password " is pointed out on screen, step S12 is returned to.
Further, in step S16, when the checking password of input and the current authentication generated with random cipher maker
When password is inconsistent, " input fixed password " is pointed out on the display screen, return to step S12.
Simultaneously the present invention has been also provided to a kind of intelligent electronic lock control device, including:
--- controller, the fixation for obtaining the fixed password of coded lock input keyboard transmission and setting with memorizer memory storage
Whether password is consistent;If consistent, receive the dial-in handset number of GSM communication devices transmission, and retrieve judge be in memorizer
No storage and the phone number;If having, the controller sends control signals to the random cipher maker;Should be with secret
Code generator generates current accidental validation password and is sent to the controller, and the controller will by the GSM communication devices
Checking password is sent to dial-in handset;The controller receives the checking password of coded lock input keyboard input, and this is verified
Password is compared with the checking password for sending;When verifying that password is consistent, send unlocking command and unlock to the electronic lock cylinder;
--- memorizer, the memorizer is connected with the controller signals, and stores the fixed password of setting and multiple
Phone number;
--- coded lock input keyboard, the coded lock input keyboard is connected with the controller signals;It is solid for being input into
Determine password and checking password and be sent to the controller;
--- GSM communication devices, the GSM communication devices are connected with the controller signals;The GSM communication devices are obtained
Take and dial the phone number of door lock phone number, and be sent to the controller;And the checking password for transmitting controller sends
To dial-in handset;
--- random cipher maker, the random cipher maker is connected with the controller signals;It is described with secret
Code generator receives the order of controller and generates current accidental validation password, and current authentication password is sent to into the control
Device;
--- electronic lock cylinder, the electronic lock cylinder is connected with the controller signals;The electronic lock cylinder receives the control
The unlocking order of device processed is simultaneously unlocked.
In order to more fully understand and implement, the present invention is described in detail below in conjunction with the accompanying drawings.
Specific embodiment
Please refer to Fig. 1, Fig. 1 is the flow chart of the intelligent electronic lock control method of the present invention.The intelligent electronic
Lock control method, comprises the steps:
Step S11:Door lock is initialized, initial door lock phone number;The fixed password and multiple handss of memory storage setting
Machine number.
Specifically, SIM is inserted, makes door lock that there is a door lock phone number;The fixed unlocking cipher of setting is simultaneously stored in
As fixed password in reservoir;Add multiple phone numbers and be stored in memorizer as legal phone number.
Step S12:User is input into fixed password in coded lock input keyboard, and the coded lock input keyboard is close by the fixation
Code is sent to the controller, and the controller carries out the fixed password that the fixed password of acquisition sets with memorizer memory storage
Relatively, if unanimously, then execution step S13.
Specifically, user passes through Password Input key input fixed password, when the fixation of fixed password and memorizer memory storage
When password is consistent, " input validation password " is pointed out on the display screen, show that fixed password input is correct, then execution step S13;
If inconsistent, then " Password Input mistake " is pointed out on display screen, fixed password need to be re-entered.
Step S13:User passes through GSM nets with the mobile phone dialing door lock phone number carried with, the GSM communication devices
Network is obtained and dials the phone number of door lock phone number, and is sent to the controller;
Specifically, after fixed password input is correct, user uses the mobile phone dialing door lock phone number carried with, institute
State GSM communication devices and the mobile phone signal dialed is received by GSM network, and the phone number is sent to into the controller.
Step S14:The controller obtains dial-in handset number, and retrieve judge memorizer it is interior whether be stored with it is consistent
Phone number;If having, then execution step S15.
Specifically, the controller compares dial-in handset number with the phone number of memorizer memory storage, if having with
The consistent phone number of memory storage, then point out " input fixed password " on the display screen, returns to step S12.
Step S15:The controller transmitting control commands are to the random cipher maker, the random cipher maker
Current authentication password is generated, and is sent to the controller, the controller is sent in the checking password by GSM communication devices
To dial-in handset.
In the present embodiment, currently only when phone number is consistent with the phone number of memory storage, the random cipher life
Grow up to be a useful person when receiving the controller signals, the random cipher maker just generates at random checking password, used as current authentication
Password.More easily to manage intelligent electronic lock, the controller is only to currently dialing the single legal of door lock phone number
Mobile phone sends checking password.
Step S16:Dial-in handset user is received after checking password, and in coded lock input keyboard the checking password is input,
The checking password is sent to the controller by the coded lock input keyboard, the controller by the checking password for feeding back to
The checking password of transmission is compared, if unanimously, execution step S17.
User is examined and seized by password input key input controller input validation password, the controller from coded lock enter key
Take the checking password, when input checking password and with random cipher maker generate current authentication password it is inconsistent when, institute
Prompting " input fixed password " on display screen is stated, step S12 is returned to.
Step S17:The controller sends order of unlocking to the electronic lock cylinder, and the electronic lock cylinder is unlocked.
Further, for ease of inquiry record discrepancy personnel, play a part of control of access, in the present embodiment, work as electronics
After lock core is unlocked, the memorizer also stores the phone number that record is unlocked.
In the present invention, if cellphone subscriber is inconsistent with the phone number of memorizer memory storage, controller will not send
Checking note;It is illegal to use because the present invention needs to verify note if cellphone subscriber is the disabled user for falsely using legal cell-phone number
Family cannot unlock then due to not receiving checking note, so as to ensure that the safety of door lock.
The intelligent electronic lock control method that the present invention is provided, the owner for running into residential quarters does not exist, and has relatives and friends
It is in a hurry when needing to get in, relatives and friends can be input into fixed password on coded lock input keyboard, then allow owner to dial door
Lock phone number and by the checking short message sending for receiving to relatives and friends, relatives and friends are capable of achieving by input validation password
Opening door lock.The present invention both ensure that the safety of door lock, and remote management door lock is can be used for again, meet actual demand, convenient
Fast.
The present invention is input into fixed password by coded lock input keyboard;Using with oneself must band handset call doorplate cell-phone number
Code, the controller obtains the phone number of calling using GSM communication devices as bridge, while also in note form to legal
Wail mobile phone and send checking password, user is verified again by coded lock input keyboard input validation password;It is defeated that and if only if
When fixed password, phone number and the checking password for entering meets sets requirement, coded lock can be just untied, open door lock, be risen
Triple protection effect is arrived.Because the disabled user for pretending to be cell-phone number at present only has sending signal, and do not possess reception signal
Function, the present invention according to this characteristic, after the signal for receiving dial-in handset, to dial-in handset send checking password so that
The validated user for only receiving checking password and correctly entering the checking password in coded lock input keyboard just can unlock, and have
Effect prevents disabled user from copying the malpractice for falsely using cell-phone number unlocking, improves the safety of intelligent electronic lock.Further
Ground, the present invention can add multiple legal phone numbers in control module, unlock compared to fingerprint, and collection information is convenient
Fast, identity is high, can be used for remote management and control door lock.
Fig. 2 is referred to, it is the structural representation of the intelligent electronic lock control device of the present invention.The intelligent electronic lock
Control device, including:
--- controller, the fixation for obtaining the fixed password of coded lock input keyboard transmission and setting with memorizer memory storage
Whether password is consistent;If consistent, receive the dial-in handset number of GSM communication devices transmission, and retrieve judge be in memorizer
No storage and the phone number;If having, the controller sends control signals to the random cipher maker;Should be with secret
Code generator generates current accidental validation password and is sent to the controller, and the controller will by the GSM communication devices
Checking password is sent to dial-in handset;The controller receives the checking password of coded lock input keyboard input, and this is verified
Password is compared with the checking password for sending;When verifying that password is consistent, send unlocking command and unlock to the electronic lock cylinder;
--- memorizer, the memorizer is connected with the controller signals, and stores the fixed password of setting and multiple
Phone number;
--- coded lock input keyboard, the coded lock input keyboard is connected with the controller signals;It is solid for being input into
Determine password and checking password and be sent to the controller;
--- GSM communication devices, the GSM communication devices are connected with the controller signals;The GSM communication devices are obtained
Take and dial the phone number of door lock phone number, and be sent to the controller;And the checking password for transmitting controller sends
To dial-in handset;
--- random cipher maker, the random cipher maker is connected with the controller signals;It is described with secret
Code generator receives the order of controller and generates current accidental validation password, and current authentication password is sent to into the control
Device;
--- electronic lock cylinder, the electronic lock cylinder is connected with the controller signals;The electronic lock cylinder receives the control
The unlocking order of device processed is simultaneously unlocked.
Further, when electronic lock cylinder is successfully unlocked, the memory storage records the phone number.
Further, also including a display screen, the display is connected with the controller signals, and the display screen is according to control
Signal prompt processed illustrates operational circumstances.
The intelligent electronic lock control device of the present invention, by coded lock input keyboard fixed password is input into;Using carry-on
Must band handset call doorplate phone number, the controller obtains the cell-phone number of calling using GSM communication devices as bridge
Code, while also sending checking password to legal catchword mobile phone in note form, user is tested again by the input of coded lock input keyboard
Card password is verified;When fixed password, phone number and the checking password that and if only if is input into meets sets requirement, just may be used
To untie coded lock, door lock is opened, serve triple protection effect.Send out because the disabled user for pretending to be cell-phone number at present only has
The number of delivering letters, and do not possess receive signal function, the present invention according to this characteristic, after the signal for receiving dial-in handset, to dial
Trumpeter's machine sends checking password so that only receives checking password and correctly enters the checking password in coded lock input keyboard
Validated user just can unlock, effectively prevent disabled user copy falsely use cell-phone number unlocking malpractice, improve intelligence
The safety of electronic lock.
Above-mentioned embodiment is the invention is not limited in, if the various changes or deformation to the present invention are without departing from the present invention
Spirit and scope, if these change and deformation belong to the present invention claim and equivalent technologies within the scope of, then this
It is bright to be also intended to comprising these changes and deform.