CN106504392A - Control method and system that a kind of encrypted electronic based on infrared array is locked - Google Patents

Control method and system that a kind of encrypted electronic based on infrared array is locked Download PDF

Info

Publication number
CN106504392A
CN106504392A CN201611067292.6A CN201611067292A CN106504392A CN 106504392 A CN106504392 A CN 106504392A CN 201611067292 A CN201611067292 A CN 201611067292A CN 106504392 A CN106504392 A CN 106504392A
Authority
CN
China
Prior art keywords
infrared
module
lock
encrypted
key
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.)
Pending
Application number
CN201611067292.6A
Other languages
Chinese (zh)
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.)
Northeastern University Qinhuangdao Branch
Original Assignee
Northeastern University Qinhuangdao Branch
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 Northeastern University Qinhuangdao Branch filed Critical Northeastern University Qinhuangdao Branch
Priority to CN201611067292.6A priority Critical patent/CN106504392A/en
Publication of CN106504392A publication Critical patent/CN106504392A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00309Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated with bidirectional data transmission between data carrier and locks
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00309Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated with bidirectional data transmission between data carrier and locks
    • G07C2009/00412Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated with bidirectional data transmission between data carrier and locks the transmitted data signal being encrypted

Abstract

The invention discloses a kind of control method of the encrypted electronic lock based on infrared array and system, the method comprising the steps of:When a. unlocking, infrared launcher control single chip computer is encrypted computing, then sends character string to infrared transmission module matrix by serial ports, and infrared transmission module matrix sends different infrared waveshape signals;B. the infrared receiving module of electronic lock receives described infrared waveshape signal, and the character string is decrypted;Whether the information after then judging to decrypt is consistent with the initialization information which stores;If consistent, motor drive module starts, and lock is opened;If inconsistent, buzzer is reported to the police.The present invention can be with effectively solving problems of the prior art, especially mechanical lock key be easily replicated, mutual opening rate high, remote control lock signal is easily intercepted, and Fingerprint Lock is expensive, temperature is not low easy to identify, and the poor problem of security and stability of existing electronic password lock.

Description

Control method and system that a kind of encrypted electronic based on infrared array is locked
Technical field
The present invention relates to a kind of control method of the encrypted electronic lock based on infrared array and system, belong to smart home row The field of prevention of a safety technology of industry.
Background technology
Door lock must have safety, stability as safety precaution product.Nowadays, the producer of some production locks is at itself On the theftproof performance of lock, without any progress, for commercial object, only making an issue of in appearance in lock, change key shaped Shape, purposely makes a mystery of simple things, and blinds consumer, even might as well most ancient, simple padlock on the theftproof performance of these locks.Sending out from lock Exhibition sees that want the unlatching that can prevent skeleton key, the manufacturing process of lock will be especially complex in history, and manufacturing cost can ten several times Increase, meanwhile, the performance of its anti-violence damage can also be substantially reduced, and lockset manufacturing is perplexed by this problem always. So far, just really safety is the thing that consumers in general are concerned about the most to select which type of lock.But main flow is several in the market Lock has various shortcomings:
1. mechanical lock:Due to its low price so being widely used by masses, but house robbery event emerges in an endless stream now, Most theft gangs just can open door in several seconds using so-called MASTERKRY, easily get in;And mechanical lock key is easy Be replicated, if running into the similar situation that key is used alone to part-timer, there is very big potential safety hazard;
2. Fingerprint Lock:Although the advantage being replicated in distress, it is easy to there is expensive, power supply fragile with electronic component in which The shortcomings of breaking down, and temperature is not low easy to identify;
3. remote-controlled lock:Most of automobiles are all suitable for remote-controlled lock, but occur such a special steal in-car property handss Method:The signal sent using remote control during car owner's car locking, car thief is where close using special instrument interference remote control Signal, then opens car door and steals property.
Electronic lock is the important electronic installation for constituting public safety crime prevention system.With science and technology development, some with Chip starts to occur for the SCM Based electronic lock of core, and the electronic lock of this type is usually to adopt electronic circuit control System, using electric magnet (or micromachine) and lock body as the electromechanical integration safety of actuator.But existing electronics Coded lock, is particularly applied to the electronic lock of public place, and its security and stability is still poor, such as once telling which by password , will there is the risk of password leakage in other people.
Content of the invention
It is an object of the invention to, there is provided control method and system that a kind of encrypted electronic based on infrared array is locked, it Can be easily replicated with effectively solving problems of the prior art, especially mechanical lock key, mutual opening rate high, remote control lock signal Easily it is intercepted, Fingerprint Lock is expensive, temperature is not low easy to identify, and the security and stability of existing electronic password lock is poor Problem.
For solving above-mentioned technical problem, the present invention is adopted the following technical scheme that:A kind of encryption electricity based on infrared array The control method of son lock, comprises the following steps:
When a. unlocking, infrared launcher control single chip computer is encrypted computing, then sends character string extremely by serial ports Infrared transmission module matrix, infrared transmission module matrix send different infrared waveshape signals;
B. the infrared receiving module of electronic lock receives described infrared waveshape signal, and the character string is decrypted;So Whether the information after judging afterwards to decrypt is consistent with the initialization information which stores;If consistent, motor drive module starts, and lock is beaten Open;If inconsistent, buzzer is reported to the police.
Preferably, the cryptographic calculation described in step a is using the improved RC4 AESs based on Linear Mapping.
Aforesaid comprised the following steps using being encrypted based on the improved RC4 AESs of Linear Mapping:
S1, calculates the remainder that (i+1) is divided by with N, and wherein, i is less than or equal to N-1 more than or equal to 0, and N is initial state vector S In element number, i, N, S be the initialized vector value of AES, using them and in plain text carries out computing, you can obtain Data after encryption;
S2, the value for calculating y using linear equation, the value of y=k*x+b, k and b can be by its values of user's sets itself, thus The randomness of algorithm can be improved so that the difficulty of decoding is more increased;
The value of y is assigned to x, x=y by S3, so as to, when encrypting, the value of new x encrypted the value of x with last time next time Difference, improves the randomness of encryption, it more difficult to be cracked;
S4, calculates the value of variable j using the value of vector S, y and N, and j=(j+S [i]+y*N) mod N, j are little more than or equal to 0 In N-1 is equal to, the value of y is given by step S2;
S5, exchanges the element (i.e. swap (S [i], S [j])) in S [i] and S [j];
S6, calculates the value of t, t=(S [i]+S [j]) mod N using the different elements (i.e. S [i]+S [j]) and N of vector S;
S7, t-th element that the value of t-th element in vector S is assigned to KEY, KEY [t]=S [t];S1 is gone to, with This analogizes, and obtains final sub- password KEY;Then using described final sub- password KEY to clear-text message (such as infrared No. ID of injection device) it is encrypted.
In the control method that the above-mentioned encrypted electronic based on infrared array is locked, in step a, when the sub- password that acquisition is final After KEY, XOR is carried out by No. ID of the final sub- password KEY and infrared launcher, obtain the infrared launcher Ciphertext character string, character string is sent to infrared transmission module by serial ports then, infrared emission matrix sends different infrared Waveshape signal, due to No. ID be unique, so that every key encryption after data all different, and then ciphertext character string Also different with infrared waveshape signal, so as to mutually open between different locks.
In step b, the infrared receiving module of electronic lock receives described infrared waveshape signal, and using aforesaid based on line Property mapping improved RC4 AESs be calculated password KEY with identical in a steps, using described final son Password KEY carries out XOR with described ciphertext character string, obtains No. ID of infrared launcher;Then by the infrared emission Compared with the information that No. ID of device is stored with electronic lock itself, if unanimously, motor drive module starts, and lock is opened.
The control system that the encrypted electronic based on infrared array of preceding method is locked is realized, including:Infrared launcher and Infrared receiving device in the electronic lock, described infrared launcher include A single-chip microcomputers, a-power supply module, key-press module, Infrared transmission module and A switches, described a-power supply module, key-press module, infrared transmission module and A switch respectively with A single-chip microcomputers I/O port connection;Described infrared receiving device includes:B single-chip microcomputers, B switches, B-source module, infrared receiving module, buzzing Device and motor drive module, described B switches, B-source module, infrared receiving module, buzzer and motor drive module difference It is connected with the I/O port of B single-chip microcomputers, infrared receiving module is wirelessly connected with infrared transmission module.
Preferably, described infrared transmission module and infrared receiving module be multiple, and correspond, multiple infrared Penetrate module to be connected with the I/O port of A single-chip microcomputers respectively;Corresponding multiple infrared receiving modules are connected with the I/O port of B single-chip microcomputers respectively Connect.
In the control system that the aforesaid encrypted electronic based on infrared array is locked, described infrared receiving device also includes: LED state signal lamp, described LED state signal lamp are connected with B single-chip microcomputers.
Compared with prior art, the invention has the advantages that:
1st, the present invention is locked using infrared array encrypted electronic, it is necessary to is closely operated by corresponding key and just can be opened lock, Such that it is able to the problem of effectively solving lawless person therefrom intercept signal, safety is higher;And the present invention is sent out by infrared Penetrate and receive the unlatching of realizing electronic lock, and infrared coding and decoding are carried out by AES so that launch each time Infrared information all different, so as to also substantially increase the safety of the electronic lock;Which is with low cost simultaneously, and key can be prevented multiple System, and mutual opening rate is relatively low;
2nd, of the invention in order to improve the randomness in traditional RC4 algorithms in pseudo random number generating process, and then improve algorithm Reliability, improve electronic lock safety, linear equation (y=k*x+b, wherein parameter k and b can be determined by user) is incorporated In the generating process of pseudorandom password, and the algorithm has relatively low computation complexity;
3rd, the control system of encrypted electronic of the invention lock includes that infrared launcher and infrared in electronic lock connect Receiving apparatus, wherein, described infrared launcher as the system in key using, the encrypted electronic lockset has safety anti- Function is stolen, stability and reliability is higher, and compared with the lock that makes an issue of in appearance, cost is relatively low;
4th, multiple (as a example by three) infrared transmission modules are provided with infrared launcher of the invention, each serial ports Cipher mode is identical, but primary data is different, and after pushing button, each original initial data passes through AES Encryption, serial ports are opened, and three infrared modules will launch three kinds of different information after AES encryption, so as to The situation that further can effectively prevent key from replicating, solves the problems, such as that the transreplication of mechanical lock, mutual opening rate are high;
5th, after the infrared receiving device in the present invention receives the infrared information launched by infrared launcher, to receiving To the sub- password of Information Pull identical be decrypted, then see the information of described clear-text message and its own storage whether one Cause, if identical, single-chip microcomputer is unlocked by controlled motor, meanwhile, LED state signal lamp flashes, and otherwise, starts buzzer Module, sounds the alarm;Namely a lock can only could be opened by the key of same encryption, so as to can effectively solving The harm that skeleton key brings;Simultaneously compared with Fingerprint Lock, conventional digital coded lock etc., the encrypted electronic lock price of the present invention is low Honest and clean, not temperature influence, security and stability and reliability higher, can effective protection consumer finance.
Description of the drawings
Fig. 1 is a kind of system architecture diagram of embodiment of the present invention;
Fig. 2 is the circuit theory diagrams of embodiment of the present invention mid-infrared transmitter module;
Fig. 3 is the circuit theory diagrams of buzzer in the embodiment of the present invention;
Fig. 4 is the circuit theory diagrams of motor drive module in the embodiment of the present invention;
Fig. 5 is the circuit theory diagrams of embodiment of the present invention mid-infrared receiver module;
Fig. 6 is the workflow diagram of embodiment of the present invention mid-infrared discharger;
The workflow diagram of Fig. 7 embodiment of the present invention mid-infrared reception devices.
Reference:1- infrared launchers, 2- infrared receiving devices, 3-A single-chip microcomputers, 4-A power modules, 5- button moulds Block, 6- infrared transmission modules, 7-A are switched, 8-B single-chip microcomputers, and 9-B is switched, 10-B power modules, 11- infrared receiving modules, 12- Buzzer, 13- motor drive modules, 14-LED status signal display lamps.
The present invention is further illustrated with reference to the accompanying drawings and detailed description.
Specific embodiment
Embodiments of the invention:The control method that a kind of encrypted electronic based on infrared array is locked, as shown in Figure 6, Figure 7, Comprise the following steps:
When a. unlocking, infrared launcher control single chip computer is encrypted computing, then sends character string extremely by serial ports Infrared transmission module matrix, infrared transmission module matrix send different infrared waveshape signals;
B. the infrared receiving module of electronic lock receives described infrared waveshape signal, and the character string is decrypted;So Whether the information after judging afterwards to decrypt is consistent with the initialization information which stores;If consistent, motor drive module starts, and lock is beaten Open;If inconsistent, buzzer is reported to the police.
The present invention is locked using infrared array encrypted electronic, it is necessary to is closely operated by corresponding key and just can be opened lock, from And can be higher with the problem of effectively solving lawless person therefrom intercept signal, safety;And the present invention is by infrared transmitting The unlatching of electronic lock is realized with receiving, and infrared coding and decoding are carried out by AES so that launch each time Infrared information is all different, so as to also substantially increase the safety of the electronic lock;Which is with low cost simultaneously, and key can be prevented multiple System, and mutual opening rate is relatively low
In order to improve the randomness in traditional RC4 algorithms in pseudo random number generating process, and then the reliability of raising algorithm, The safety of electronic lock is improved, the cryptographic calculation described in step a can be adopted to be calculated based on the improved RC4 encryptions of Linear Mapping Method, specifically includes following steps:
S1, calculates the remainder that (i+1) is divided by with N, and wherein, i is less than or equal to N-1 more than or equal to 0, and N is initial state vector S In element number, i, N, S are the initialized vector value of AES;
S2, the value for calculating y using linear equation, y=k*x+b, k and the value of b here can be by its values of user's sets itself;
The value of y is assigned to x, x=y by S3;
S4, calculates the value of variable j, j=(j+S [i]+y*N) mod N using the value of vector S, y and N;J is little more than or equal to 0 In N-1 is equal to, the value of y is given by step S2;
S5, exchanges the element (i.e. swap (S [i], S [j])) in S [i] and S [j];
S6, calculates the value of t, t=(S [i]+S [j]) mod N using the different elements (i.e. S [i]+S [j]) and N of vector S;
S7, t-th element that the value of t-th element in vector S is assigned to KEY, KEY [t]=S [t];S1 is gone to, with This analogizes, and obtains final sub- password KEY;Then clear-text message is encrypted using described final sub- password KEY.
In step a, after final sub- password KEY is obtained, by the final sub- password KEY and ID of infrared launcher Number XOR is carried out, obtain the ciphertext character string of the infrared launcher, character string is sent to infrared by serial ports then Module is penetrated, infrared emission matrix sends different infrared waveshape signals;In step b, the infrared receiving module of electronic lock receives institute The infrared waveshape signal that states, carries out XOR using described final sub- password KEY with described ciphertext character string, obtains No. ID of infrared launcher;Then No. ID of the infrared launcher is compared with the information of electronic lock itself storage, if Unanimously, then motor drive module starts, and lock is opened.
The control system that the encrypted electronic based on infrared array of said method is locked is realized, as shown in Fig. 1~Fig. 5, including: Infrared launcher 1 and the infrared receiving device in electronic lock 2, described infrared launcher 1 include A single-chip microcomputers 3, A Power module 4, key-press module 5, infrared transmission module 6 and A switch 7, described a-power supply module 4, key-press module 5, infrared emission Module 6 and A switches 7 are connected with the I/O port of A single-chip microcomputers 3 respectively;Described infrared receiving device 2 includes:B single-chip microcomputers 8, B are opened Close 9, B-source module 10, infrared receiving module 11, buzzer 12 and motor drive module 13, described B switches 9, B-source mould Block 10, infrared receiving module 11, buzzer 12 and motor drive module 13 are connected with the I/O port of B single-chip microcomputers 8 respectively, infrared are connect Receive module 11 and 6 wireless connection of infrared transmission module.
For the situation for further effectively preventing key from replicating, solve the problems, such as that the transreplication of mechanical lock, mutual opening rate are high, Described infrared transmission module 6 and infrared receiving module 11 are multiple (as a example by three), and correspond, three infrared Penetrate module 6 to be connected with the I/O port of A single-chip microcomputers 3 respectively;Corresponding three infrared receiving modules 11 IO respectively with B single-chip microcomputers 8 Port connects.Multiple (as a example by three) infrared transmission modules, the cipher mode of each serial ports is provided with infrared launcher It is identical, but primary data is different, after pushing button, each original initial data is encrypted by AES, goes here and there Mouthful open, three infrared modules will launch three kinds of different information after AES encryption, such that it is able to enter One step effectively prevents the situation that key is replicated, and solves the problems, such as that the transreplication of mechanical lock, mutual opening rate are high;Infrared receiving device connects After receiving the infrared information launched by infrared launcher, the sub- password of the Information Pull identical for receiving is decrypted, Then see whether described clear-text message is consistent with the information that its own stores, if identical, single-chip microcomputer is opened by controlled motor Lock, meanwhile, LED state signal lamp flashes, and otherwise, starts buzzer module, sounds the alarm;Namely a lock can only be by The key of same encryption could be opened, so as to can the harm that brings of effectively solving skeleton key;Simultaneously with Fingerprint Lock, Conventional digital coded lock etc. is compared, and the encrypted electronic lock of the present invention is cheap, not temperature influence, security and stability and reliability Property higher, can effective protection consumer finance.
Check that the working condition of lock, described infrared receiving device 2 also include for convenience:LED state signal lamp 14, described LED state signal lamp 14 is connected with B single-chip microcomputers 8.
A kind of operation principle of the embodiment of the present invention:
The A single-chip microcomputers 3 that described infrared launcher 1 is included (can adopt STC89C52 single-chip microcomputers, this is a low work( Consumption, the micro- single-chip microcomputer in high performance CMOS8 positions, with the programmable flash storage of 8K byte systems;The storage of 512 byte datas is empty Between;Interior band 4K byte EEPROM memory spaces;Serial ports can be used directly to download), a-power supply module 4 (can be powered using USB System, the power end of single-chip microcomputer provide power supply to other modules by being directly plugged into portable power source USB port), key-press module 5, Infrared transmission module 6 (can adopt YS-IRTM infrared emissions, decoder module, wavelength sending out for 940nm 38k NEC encoded signals Penetrate;UART microcomputer series interface communications interface is TTL serial ports, as communicating with A single-chip microcomputers 3, transmits encryption information) and A 7 envelopes of switch It is mounted in an etui, in external energy it is seen that A switches 7,5, three infrared transmission modules 6 of key-press module.Needing to make When opening the lock with the key, a-power supply module 4 is opened, remaining time can select to close a-power supply module 4, can be effectively reduced infrared The loss of discharger 1.Due to the only one of which serial ports of A single-chip microcomputers 3 itself, other two can be arranged by way of simulative serial port Individual serial ports, each serial ports connect an infrared transmission module 6.After button, three infrared transmission modules 6 will launch through The three kinds of different information that crosses after AES is encrypted.
Equally, B single-chip microcomputers 8, the B switch 9, B-source module 10, infrared receiver for described infrared receiving device 2 being included Module 11 (YS-IRTM infrared emissions, receiver module, wherein infrared receiving terminal can be adopted to be used for receiving NEC infrared signals, and then Be sent to B single-chip microcomputers 8 and be analyzed decoding operate), buzzer 12, motor drive module 13 (can be walked using five lines of 28BYJ-48 Stepper motor, can drive dead bolt to carry out switch lock in 5V operating at voltages, after receiving 8 signal of B single-chip microcomputers) and LED state Signal lamp 14 is encapsulated in the inside of lock, outside it is seen that B switches, LED state signal lamp 14, three with 6 one-to-one infrared receiving module 11 of infrared transmission module.When needing using lock, B-source module 10, remaining time is opened Can select to close power supply, the loss of infrared receiving device 2 can be effectively reduced.Launched infrared launcher 1 is received Infrared information after, with pass through with 1 identical AES of infrared launcher calculate after information compared with, if identical, Then B single-chip microcomputers 8 are unlocked by 13 controlled motor of motor drive module, meanwhile, LED state signal lamp 14 flashes, and otherwise, opens Dynamic buzzer 12, sounds the alarm.
The control method of the encrypted electronic lock of the present invention is as follows:
Step 1:Open switch;
Step 2:By notch of the notch of infrared launcher 1 to upper infrared receiving device 2;
Step 3:The key-press module 5 of infrared launcher 1 is pressed, A single-chip microcomputers 3 are encrypted computing, then control infrared Transmitter module 6 launches infrared signal;
Step 4:Three infrared receiving modules 11 of infrared receiving device 2 receive the infrared letter that infrared launcher 1 sends Number, and the signal is decrypted, then judge whether receive information is consistent with the information of itself computing, if unanimously, motor Drive module 13 starts, and LED state signal lamp 14 is bright, and lock is opened;If inconsistent, start buzzer 12, send alarm Sound;
Step 5:Using finishing, the switch of infrared launcher 1 and infrared receiving device 2 is closed.
If the electricity of lock exhausts, door is inside and outside USB charge ports, can also normally realize function during charging.
If key (i.e. corresponding infrared launcher 1) is lost, the method for Brute Force can only be taken to open the door.

Claims (7)

1. the control method that a kind of encrypted electronic based on infrared array is locked, it is characterised in that comprise the following steps:
When a. unlocking, infrared launcher control single chip computer is encrypted computing, then by serial ports transmission character string to infrared Transmitter module matrix, infrared transmission module matrix send different infrared waveshape signals;
B. the infrared receiving module of electronic lock receives described infrared waveshape signal, and the character string is decrypted;Then sentence Whether the information after disconnected decryption is consistent with the initialization information which stores;If consistent, motor drive module starts, and lock is opened; If inconsistent, buzzer is reported to the police.
2. the control method that the encrypted electronic based on infrared array according to claim 1 is locked, it is characterised in that step a Described in cryptographic calculation using improved RC4 AESs based on Linear Mapping.
3. the control method that the encrypted electronic based on infrared array according to claim 2 is locked, it is characterised in that described Comprised the following steps using being encrypted based on the improved RC4 AESs of Linear Mapping:
S1, calculates the remainder that i+1 and N is divided by, and wherein, i is less than or equal to N-1 more than or equal to 0, and N is the unit in initial state vector S Plain number, i, N, S are the initialized vector value of AES;
S2, the value for calculating y using linear equation, y=k*x+b;
The value of y is assigned to x, x=y by S3;
S4, using the value of the value calculating variable j of vector S, y and N, j=(j+S [i]+y*N) mod N, j are less than more than or equal to 0 etc. In N-1, the value of y is given by step S2;
S5, exchanges the element in S [i] and S [j];
S6, calculates the value of t, t=(S [i]+S [j]) mod N using the different elements and N of vector S;
S7, t-th element that the value of t-th element in vector S is assigned to sub- password KEY, KEY [t]=S [t];
S8, repeats step S1 to step S7, until obtaining final sub- password KEY;
S9, is encrypted to clear-text message using the final sub- password KEY.
4. the control method that the encrypted electronic based on infrared array according to claim 3 is locked, it is characterised in that step a In, after final sub- password KEY is obtained, XOR fortune is carried out by No. ID of the final sub- password KEY and infrared launcher Calculate, obtain the ciphertext character string of the infrared launcher, character string is sent to infrared transmission module by serial ports then, infrared Penetrate matrix and send different infrared waveshape signals;In step b, the infrared receiving module of electronic lock receives described infrared waveform letter Number, XOR is carried out using described final sub- password KEY with described ciphertext character string, obtain infrared launcher No. ID;Then No. ID of the infrared launcher is compared with the information of electronic lock itself storage, if unanimously, Motor drive Module starts, and lock is opened.
5. realize that the control system that the encrypted electronic based on infrared array of Claims 1 to 4 methods described is locked, its feature exist In, including:Infrared launcher (1) and the infrared receiving device (2) in electronic lock, described infrared launcher (1) (7) are switched including A single-chip microcomputers (3), a-power supply module (4), key-press module (5), infrared transmission module (6) and A, described a-power supply Module (4), key-press module (5), infrared transmission module (6) and A switch (7) are connected with the I/O port of A single-chip microcomputers (3) respectively;Institute The infrared receiving device (2) that states includes:B single-chip microcomputers (8), B switches (9), B-source module (10), infrared receiving module (11), honeybee Ring device (12) and motor drive module (13), described B switch (9), B-source module (10), infrared receiving module (11), buzzing Device (12) and motor drive module (13) are connected with the I/O port of B single-chip microcomputers (8) respectively, infrared receiving module (11) with infrared Penetrate module (6) wirelessly to connect.
6. the control system that the encrypted electronic based on infrared array according to claim 5 is locked, it is characterised in that described Infrared transmission module (6) and infrared receiving module (11) are multiple, and correspond, multiple infrared transmission module (6) respectively It is connected with the I/O port of A single-chip microcomputers (3);Corresponding multiple infrared receiving modules (11) are connected with the I/O port of B single-chip microcomputers (8) respectively Connect.
7. the control system that the encrypted electronic based on infrared array according to claim 5 or 6 is locked, it is characterised in that institute The infrared receiving device (2) that states also includes:LED state signal lamp (14), described LED state signal lamp (14) with B single-chip microcomputers (8) connect.
CN201611067292.6A 2016-11-29 2016-11-29 Control method and system that a kind of encrypted electronic based on infrared array is locked Pending CN106504392A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611067292.6A CN106504392A (en) 2016-11-29 2016-11-29 Control method and system that a kind of encrypted electronic based on infrared array is locked

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611067292.6A CN106504392A (en) 2016-11-29 2016-11-29 Control method and system that a kind of encrypted electronic based on infrared array is locked

Publications (1)

Publication Number Publication Date
CN106504392A true CN106504392A (en) 2017-03-15

Family

ID=58328943

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611067292.6A Pending CN106504392A (en) 2016-11-29 2016-11-29 Control method and system that a kind of encrypted electronic based on infrared array is locked

Country Status (1)

Country Link
CN (1) CN106504392A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040124965A1 (en) * 2002-12-26 2004-07-01 Jin-Chern Chiou Optical door lock safety recognition system
CN104794789A (en) * 2015-04-18 2015-07-22 内蒙古科技大学 Photoelectric coded lock system
CN104883448A (en) * 2015-06-05 2015-09-02 深圳市智诺微智能电子科技有限公司 Method and reception device for transmission data by using smartphone LED lamp
CN105089372A (en) * 2014-05-08 2015-11-25 张行 Infrared coded lock
CN105160735A (en) * 2015-08-27 2015-12-16 桂林理工大学 Visible light-activated access control method with hidden channel
CN105931331A (en) * 2016-04-20 2016-09-07 上海斐讯数据通信技术有限公司 Intelligent lock based on optical communication and unlocking method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040124965A1 (en) * 2002-12-26 2004-07-01 Jin-Chern Chiou Optical door lock safety recognition system
CN105089372A (en) * 2014-05-08 2015-11-25 张行 Infrared coded lock
CN104794789A (en) * 2015-04-18 2015-07-22 内蒙古科技大学 Photoelectric coded lock system
CN104883448A (en) * 2015-06-05 2015-09-02 深圳市智诺微智能电子科技有限公司 Method and reception device for transmission data by using smartphone LED lamp
CN105160735A (en) * 2015-08-27 2015-12-16 桂林理工大学 Visible light-activated access control method with hidden channel
CN105931331A (en) * 2016-04-20 2016-09-07 上海斐讯数据通信技术有限公司 Intelligent lock based on optical communication and unlocking method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
邹新国: "《计算机信息与网络安全技术》", 31 August 2008, 黄河出版社 *

Similar Documents

Publication Publication Date Title
WO2006003661A2 (en) Intelligent interactive lock and locking system
JPH04302682A (en) Remote access system
CN101457610A (en) Non-key system for automobile and communication encrypting method thereof
JPH07309208A (en) Vehicle safeguarding device with electronically coded right to use
CN109410396B (en) Intelligent lock data encryption transmission method and leasing equipment applying same
CN111722831B (en) Encryption system and implementation method thereof
CN104464057A (en) Hopping encoding method for car entrance guard system
CN101265769B (en) Password distant control lock control system based on AES cryptographic algorithm and control method
CN104715532B (en) A kind of encryption method based on the electronic coding lock system of visible light communication technology and the system
CN109525391B (en) Method for safely synchronizing information of server and lockset
CN109184361A (en) Door lock and its working method with high security
CN101270620A (en) Remote control device and method adopting true random sequence as unlocking cipher of remote control lock
US5631962A (en) Circuit and method of encrypting key validation
CN110246239A (en) A kind of wireless communications method of intelligent wireless door lock
CN109741494A (en) A kind of wireless transmission unit and its control method applied to intelligent door lock system
CN106504392A (en) Control method and system that a kind of encrypted electronic based on infrared array is locked
CN202788227U (en) Remote key of car door
CN101021112A (en) Trick lock mechanism
CN1877060A (en) Digital cipher lock with secure secondary authorization unlocking function
CN108086806A (en) A kind of multi-functional antitheft door photoelectric cipher lock system
CN204390332U (en) A kind of visible ray coding lock system
CN107749795B (en) Automobile remote control method based on rolling code secondary encryption
CN2938591Y (en) Remote control device of uneasy deciphering cipher
CN102817499A (en) Remote-control key for car door
CN206584428U (en) Electric lockset, lockset equipment and the safety cabinet controlled with mobile phone and palmmprint

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20170315

RJ01 Rejection of invention patent application after publication