CN111682933B - Dynamic password electronic lock based on multi-parameter five-dimensional hyper-chaotic system - Google Patents

Dynamic password electronic lock based on multi-parameter five-dimensional hyper-chaotic system Download PDF

Info

Publication number
CN111682933B
CN111682933B CN202010553714.0A CN202010553714A CN111682933B CN 111682933 B CN111682933 B CN 111682933B CN 202010553714 A CN202010553714 A CN 202010553714A CN 111682933 B CN111682933 B CN 111682933B
Authority
CN
China
Prior art keywords
chaotic
chaos
parameter
password
chaotic system
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.)
Active
Application number
CN202010553714.0A
Other languages
Chinese (zh)
Other versions
CN111682933A (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.)
Hunan University of Science and Technology
Original Assignee
Hunan University of Science and Technology
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 Hunan University of Science and Technology filed Critical Hunan University of Science and Technology
Priority to CN202010553714.0A priority Critical patent/CN111682933B/en
Publication of CN111682933A publication Critical patent/CN111682933A/en
Application granted granted Critical
Publication of CN111682933B publication Critical patent/CN111682933B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/001Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols using chaotic signals
    • 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/00817Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys where the code of the lock can be programmed

Abstract

The invention discloses a dynamic password electronic lock based on a multi-parameter five-dimensional hyper-chaotic system, which comprises the following steps: constructing a multi-parameter five-dimensional hyper-chaotic system; performing discretization treatment on the multi-parameter five-dimensional hyper-chaotic system by adopting a fourth-order Dragon-Kutta solving algorithm; realizing the discrete hyper-chaotic system through a programming language; the utility model provides a circuit design based on locking end and handheld equipment end of multi-parameter five-dimensional hyperchaotic system, this text has designed the novel five-dimensional hyperchaotic system of a multi-control parameter, adopts fourth order longge-kutta solution algorithm to carry out discretization department and realize with programming language, and multi-parameter five-dimensional hyperchaotic system not only complexity is higher than ordinary chaotic system, has a plurality of adjustable system control parameters moreover, and fourth order longge-kutta algorithm is a high accuracy single step algorithm, and algorithm precision is high, can fine reservation chaotic system's characteristic.

Description

Dynamic password electronic lock based on multi-parameter five-dimensional hyper-chaotic system
Technical Field
The invention relates to dynamic password research of chaos theory, in particular to research of a dynamic password electronic lock based on a multi-parameter five-dimensional hyper-chaos system.
Background
The electronic cipher lock is one kind of lock with cipher input via electronic system and set cipher comparison, and electromechanical executing mechanism to control the opening and closing of the cabinet door. With the increasing availability of materials, people have increasingly higher requirements for the security of electronic coded locks. The infrared remote control electronic coded lock, the radio remote control electronic coded lock and the remote control and three-dimensional movement based coded lock improve the safety to a certain extent, but most of the coded locks adopt a static coded mode, and the unlocking codes of the coded locks are kept unchanged in a certain period. This approach presents a major safety hazard: firstly, the password strength is insufficient. Users of coded locks typically employ codes with a relatively short number of digits. If too long a password is used, it is difficult for the user to memorize. And secondly, the static password is easy to steal. Because most static passwords adopt passwords with remarkable characteristics such as birthday date and the like for convenient use, the passwords are very easy to guess and crack. The main method for solving the problem is to adopt dynamic passwords, which is characterized in that: the passwords are automatically generated according to a security algorithm, one password at a time can not be predicted by a user, and the passwords used each time are different, so that theft and guessing of other people are avoided. However, most of the existing domestic dynamic password locks are only nominal dynamic passwords, and the main reasons are that one dynamic password is essentially single-key encryption, and only one password is used. Secondly, the algorithm is completely fixed, and the generated password is trace-feasible. To sum up the two points, the dynamic state is only nominal, and the real dynamic state is not achieved in terms of the safety. The multi-parameter five-dimensional hyper-chaotic system has unpredictability, sensitivity to initial values and aperiodicity, and the dynamic password lock designed by taking the multi-parameter five-dimensional hyper-chaotic system as a core can generate dynamic passwords in a certain sense on the algorithm. And the characteristics of the chaotic system and the dynamic password, namely 'one-time pad', are unpredictable and are very compatible. Thus, there is an inherent link between dynamic passwords and chaotic systems. By utilizing the characteristics of the combination of the chaotic system and the dynamic password, a digital sequence with good randomness can be generated. Generally, the dynamic password is a dynamic random key string, and the chaotic sequence of the chaotic system is a pseudo-random number sequence with excellent safety performance. This makes it possible to construct dynamic passwords using chaotic systems. Therefore, the dynamic password electronic lock based on the multi-parameter five-dimensional hyper-chaotic system has extremely strong confidentiality and certain practical value and scientific research value.
Disclosure of Invention
In order to solve the technical problems, the invention carries out discretization treatment on the constructed multi-parameter five-dimensional hyper-chaotic system through a fourth-order Longgy-Kutta, then carries out program programming according to the obtained discretized chaotic system formula, and then carries out circuit design on a locking end and a handheld device end based on the multi-parameter five-dimensional hyper-chaotic system, and the method comprises the following steps:
step one: constructing a multi-parameter five-dimensional hyper-chaotic system;
step two: performing discretization treatment on the multi-parameter five-dimensional hyper-chaotic system by adopting a fourth-order Dragon-Kutta solving algorithm;
step three: realizing the discretized chaotic system through a programming language;
step four: a circuit design based on a lock end and a hand-held equipment end of a multi-parameter five-bit chaotic system.
1. The design method of the dynamic password electronic lock based on the multi-parameter five-dimensional hyper-chaos comprises the following steps of:
Figure SMS_1
wherein the method comprises the steps of
Figure SMS_2
Is a system state variable +.>
Figure SMS_3
Is a control parameter of the system. The system state variable is used for generating dynamic passwords, and the value of the system control parameter determines whether the system is a chaotic system or a periodic system. The chaotic system has unpredictability, sensitivity to initial values and aperiodicity, and is very matched with the important characteristics of dynamic passwords, which is the core of the chaotic dynamic passwords. Its system control parameter is->
Figure SMS_4
When the control parameter a is increased from 0 to 14, the process of changing the motion state of the system is as follows: cycle-quasi-cycle-chaos-hyperchaos-chaos, when the control parameter b is increased from 1 to 40, the system motion state change process is as follows: chaos, hyperchaos, chaos, quasi-period and period, when the control parameter c is increased from 0 to 30, the systemThe motion state change process is as follows: cycle-quasi-cycle-chaos-hyperchaos-chaos, when the control parameter d is increased from 0 to 70, the system motion state change process is as follows: chaos, hyperchaos and chaos, when the control parameter e is increased from 1 to 100, the change process of the system motion state is as follows: cycle-pseudo-cycle-chaos-hyperchaos-chaos-cycle-pseudo-cycle-chaos-pseudo-cycle, and when the control parameter f is increased from-8 to 8, the system motion state change process is as follows: the chaotic system has five controllable parameters, when any control parameter is changed within a certain range, the system is still in a chaotic state or a hyperchaotic state, and a chaotic dynamic password with extremely high safety can be generated.
2. The method for designing the dynamic coded lock based on the multi-parameter five-dimensional hyper-chaotic system comprises the following specific steps of performing discretization processing on the multi-parameter five-dimensional hyper-chaotic system by adopting a fourth-order Dragon-Kutta solving algorithm:
2-1) the chaotic system equation determined is:
Figure SMS_5
2-2) solving the chaotic system equation according to a fourth-order Longge-Kutta, and solving the following solution form:
Figure SMS_6
,/>
2-3) obtaining the representation form of each recursive parameter:
Figure SMS_7
Figure SMS_8
Figure SMS_9
Figure SMS_10
wherein T is an iteration step length, and the iteration step length T is 0.011. And solving a discretization equation of the chaotic system and expressions of all parameters according to the fourth-order Longgar-Kutta, and realizing the discrete chaotic system by using a programming language according to the obtained equation and expression.
3. The design method of the dynamic coded lock based on the multi-parameter five-dimensional hyper-chaotic system comprises the following specific functions of the step four.
3-1) generating an initial value of a system parameter of the chaotic system by using a rand function in the IAR standard function library.
3-2) design of the locking end: after the lock terminal is started, the fixed function key G1 is pressed, the processor 1 is waited to call the chaos agenda subprogram, after a chaos password generating key is generated, the restriction on unlocking operation can be relieved, the chaos password generating key can be displayed on the lock terminal liquid crystal display screen LCD1, two chaos sequence initial values are needed to be input into the handheld device terminal, and the processor 2 is waited to call the chaos agenda subprogram, so that a chaos password generating password is generated and displayed on the handheld device terminal liquid crystal display screen LCD 2.
3-3) hand-held device end design: the chaos password generating key is input into the handheld device end through the keyboard module 2, the fixed function key G2 in the keyboard input module 2 is pressed, the processor 2 can call a chaos agenda subprogram, and the chaos dynamic password required by unlocking the lock end is obtained through operation and can be displayed on the liquid crystal display LCD 2.
3-4) the design of the unlocking operation process, namely, the chaotic dynamic password generated by the handheld device end is input to the lock end through the matrix keyboard input module 1, and after the fixed function key G3 is pressed. The processor 1 judges whether the input password is correct or not, if the input password is correct, the unlocking is successful, if the input password is incorrect, the value a is added with 1, and the value a is the error number record value, and the digital input mode is re-entered. When the value of a is greater than 2, the lock end is locked, and the buzzer alarms. Whether the successful unlocking or the password error times exceeds 2, the unlocking password of the lock end can be updated, and then the hand-held equipment end also needs to input a new chaotic password generation key again to obtain a new chaotic dynamic password.
The system parameters of the chaotic system are randomly generated by using a rand function in an IAR standard function library, the processor 1 calls the mixed procedure module to generate a chaotic key, the handheld equipment end inputs the chaotic key, the processor 2 calls a chaotic procedure subprogram to generate a chaotic password, and the generated chaotic password is input into the locking end to unlock the dynamic password lock. Thus, the randomness of the chaotic system is greatly improved, and the safety of the dynamic coded lock is greatly improved.
The invention has the beneficial effects that.
1. The invention constructs the multi-parameter five-dimensional hyperchaotic system, the hyperchaotic system has more complex dynamics, the sensitivity of errors brought by parameters is higher, the error divergence rate caused by identification, estimation or prediction is faster, the local part of the system also has more chaotic structure, and compared with the ordinary chaotic system, the constructed multi-parameter five-dimensional hyperchaotic system has higher dimensionality and more controllable parameters.
2. In the process of discretizing the hyperchaotic system by adopting a fourth-order Dragon lattice-Kutta algorithm and realizing the hyperchaotic system by using a programming language, the invention adopts a discrete point data format in a program for realizing the discretized chaotic system and reduces the iteration times on the premise of keeping the safety, thereby not only reducing the running time thereof, but also greatly improving the accuracy thereof. And generating an initial value of a system parameter of the chaotic system by using a rand function in the IAR standard function library, shifting the phase of the floating point data, and amplifying the phase of the floating point data to a proper degree according to the bit number of the required key password. The two steps are better compatible, the characteristics of the chaotic system and the program operation time are kept, and the accuracy and the safety of the dynamic coded lock based on the multi-parameter five-dimensional chaotic system are greatly improved.
3. The invention carries out circuit design on the lock end and the hand-held equipment end based on the multi-parameter five-dimensional chaotic system, and the dynamic coded lock based on the multi-parameter five-dimensional chaotic system has the advantage of multiple parameters compared with the ordinary dynamic coded lock, namely, the diversity of algorithms is increased, the safety of the coded lock is improved, and the dynamic coded lock has an uncertain and randomly generated coded key by combining the characteristics of the chaotic system and the dynamic code of one-time pad, so that the safety of the dynamic coded lock is greatly improved.
Drawings
FIG. 1 is a flow chart of the present invention.
Fig. 2 is a block diagram of the overall hardware of the system of the present invention.
Fig. 3 is a circuit diagram of a lock end portion of the multi-parameter five-dimensional hyper-chaotic system based on the present invention.
Fig. 4 is a circuit diagram of a hand-held end portion of the multi-parameter five-dimensional hyper-chaotic system based on the present invention.
FIG. 5 is a circuit diagram of the MSP430F249-1 minimum system circuit of FIG. 3.
FIG. 6 is a circuit diagram of the MSP430F249-2 minimum system circuit of FIG. 4.
Fig. 7 is a circuit diagram of the liquid crystal display module LCD1 in fig. 3.
Fig. 8 is a circuit diagram of the liquid crystal display module LCD2 in fig. 4.
Fig. 9 is a circuit diagram of the matrix keyboard input module 1 in fig. 3.
Fig. 10 is a circuit diagram of the matrix keyboard input module 2 in fig. 4.
Fig. 11 is a circuit diagram of the alarm module of fig. 3.
Fig. 12 is a circuit diagram of the lock driving module of fig. 3.
Detailed Description
The invention is further described below with reference to the accompanying drawings.
As shown in FIG. 1, the design method of the dynamic coded lock based on the multi-parameter five-dimensional hyper-chaotic system comprises the following steps.
Step one: and constructing a multi-parameter five-dimensional hyper-chaotic system.
Step two: and discretizing the multi-parameter five-dimensional hyper-chaotic system by adopting a fourth-order Dragon lattice-Kutta solving algorithm.
Step three: the discretized chaotic system is realized through a programming language.
Step four: a circuit design based on a lock end and a hand-held equipment end of a multi-parameter five-dimensional hyper-chaotic system.
1. The method for designing the dynamic password electronic lock based on the multi-parameter five-dimensional hyper-chaotic system comprises the following steps of:
Figure SMS_11
wherein the method comprises the steps of
Figure SMS_12
Is a system state variable +.>
Figure SMS_13
Is a control parameter of the system. The system state variable is used for generating dynamic passwords, and the value of the system control parameter determines whether the system is a chaotic system or a periodic system. The chaotic system has unpredictability, sensitivity to initial values and aperiodicity, and is very matched with the important characteristics of dynamic passwords, which is the core of the chaotic dynamic passwords.
Its system control parameter is taken
Figure SMS_14
When the control parameter a is increased from 0 to 14, the process of changing the motion state of the system is as follows: cycle-quasi-cycle-chaos-hyperchaos-chaos, when the control parameter b is increased from 1 to 40, the system motion state change process is as follows: chaos-hyperchaos-chaos-quasi-period, when the control parameter c is increased from 0 to 30, the system motion state change process is as follows: period-quasi-period-chaos-hyperchaotic-chaos, and the control parameter d is increased from 0At 70, the system motion state change process is as follows: chaos, hyperchaos and chaos, when the control parameter e is increased from 1 to 100, the change process of the system motion state is as follows: cycle-pseudo-cycle-chaos-hyperchaos-chaos-cycle-pseudo-cycle-chaos-pseudo-cycle, and when the control parameter f is increased from-8 to 8, the system motion state change process is as follows: cycle-pseudo cycle-chaos-hyperchaos-chaos.
The chaotic system has five controllable parameters, when any control parameter is changed within a certain range, the system is still in a chaotic state or a hyperchaotic state, and a chaotic dynamic password with extremely high safety can be generated, and the dynamic password electronic lock based on the design of the patent has the individual characteristics that the lock can be unlocked only when the handheld equipment end has specific numerical values of all the control parameters of the lock, so that the system has a plurality of controllable parameters, the system has a chaotic state with a larger range, the cracking difficulty of the dynamic password electronic lock is further improved, and the safety of the dynamic password electronic lock based on the multi-parameter five-dimensional chaotic system is greatly improved.
2. The method for designing the dynamic coded lock based on the multi-parameter five-dimensional hyper-chaotic system comprises the specific steps of performing discretization processing on the multi-parameter five-dimensional hyper-chaotic system by adopting a fourth-order Dragon-Kutta solving algorithm.
2-1) the chaotic system equation determined is:
Figure SMS_15
2-2) solving the chaotic system equation according to a fourth-order Longge-Kutta, and solving the following solution form:
Figure SMS_16
2-3) obtaining the representation form of each recursive parameter:
Figure SMS_17
Figure SMS_18
Figure SMS_19
,/>
Figure SMS_20
wherein T is an iteration step length, and the iteration step length T is 0.011. And solving a discretization equation of the chaotic system and expressions of all parameters according to the fourth-order Longgar-Kutta, and realizing the discrete chaotic system by using a programming language according to the obtained equation and expression.
3. The design method of the dynamic coded lock based on the multi-parameter five-dimensional hyper-chaotic system comprises the following specific functions of the step four.
3-1) generating an initial value of a system parameter of the chaotic system by using a rand function in the IAR standard function library.
3-2) design of the locking end: after the lock end is started, a fixed function key G1 is pressed in the matrix keyboard input module 1, and after the processor 1 calls a chaos agenda subprogram to generate a chaos password generation key, the restriction on unlocking operation can be relieved. The chaos password generating key is displayed on the lock end LCD1, two chaos sequence initial values are required to be input into the handheld device end, the processor 2 waits for calling a chaos agenda subprogram, and the chaos password generating key is generated and displayed on the handheld device end LCD 2.
3-3) hand-held device end design: the chaos password generating key is input 2 to the handheld device end through the matrix keyboard module, the fixed function key G2 in the keyboard input module 2 is pressed, the processor 2 can call a chaos agenda subprogram, and the chaos dynamic password required by unlocking the lock end is obtained through operation and can be displayed on the LCD 2.
3-4) the design of the unlocking operation process, namely, the chaotic dynamic password generated by the handheld device end is input to the lock end through the matrix keyboard input module 1, after the fixed function key G3 is pressed down, the processor 1 judges whether the input password is correct or not, if the input password is correct, the unlocking operation is successful, if the input password is incorrect, the value is assigned to a plus 1, and a is an error number record value, and the digital input mode is reentered. When the value of a is greater than 2, the lock end is locked, and the buzzer alarms. Whether the successful unlocking or the password error times exceeds 2, the unlocking password of the lock end can be updated, and then the handheld equipment end also needs to input a new chaotic password generation key again to obtain a new chaotic dynamic password.
The system parameters of the chaotic system are randomly generated by using the rand function in the IAR standard function library, the processor 1 calls the mixed procedure subprogram to generate a chaotic key, the handheld device end inputs the chaotic key, the processor 2 calls the chaotic procedure subprogram to generate a chaotic password, and the generated chaotic password is input into the lock end to unlock the dynamic password lock, so that the randomness of the chaotic system is greatly improved, and the safety of the dynamic password lock is greatly improved.
As shown in FIG. 2, the dynamic password electronic lock circuit based on the multi-parameter five-dimensional chaotic system comprises a power supply, an MSP430F249-1 minimum system, an MSP430F249-2 minimum system, a matrix keyboard input circuit 1, a matrix keyboard input circuit 2, an alarm circuit, a liquid crystal display circuit LCD1, a liquid crystal display circuit LCD2 and a lock driving circuit. The power supply is connected with the MSP430F249-1 minimum system, the MSP430F249-2 minimum system keyboard, the matrix keyboard input module 1, the matrix keyboard input module 2, the liquid crystal display module LCD1, the liquid crystal display circuit LCD2, the lock driving module and the alarm module, and provides working power supply for the whole circuit. The 1 st, 2 nd, 3 rd and 4 th output ends of the matrix keyboard input circuit 1 are respectively connected with the J1 st, J2 nd, J3 rd and J4 th input ends of the MSP430F249-1 minimum system, and the 5 th, 6 th, 7 th and 8 th input ends of the matrix keyboard input circuit 1 are respectively connected with the J5 th, J6 th, J7 th and J8 th output ends of the MSP430F249-1 minimum system. The input ends of the A4, A5, A6, A7, A8, A9, A10 and A11 of the liquid crystal display circuit LCD1 are respectively connected with the output ends of the J9, J10, J11, J12, J13, J14, J15 and J16 of the MSP430F249-1 minimum system. The input ends A1, A2 and A3 of the liquid crystal display circuit LCD1 are respectively connected with the output ends J17, J18 and J19 of the MSP430F 249-1. The Z1 input end of the alarm circuit is connected with the J20 output end of the MSP430F249-1 minimum system. The output ends of the J26, J27, J28 and J29 of the MSP430F2491-1 singlechip are connected with the D1, D2, D3 and D4 ends of the lock driving circuit. The input ends F1, F2, F3 and F4 of the matrix keyboard input circuit 2 are respectively connected with the input ends K1, K2, K3 and K4 of the MSP430F249-2 minimum system, and the input ends F5, F6, F7 and F8 of the matrix keyboard input circuit 2 are respectively connected with the output ends K5, K6, K7 and K8 of the MSP430F249-2 minimum system. The input ends of the E4, E5, E6, E7, E8, E9, E10 and E11 of the liquid crystal display circuit LCD2 are respectively connected with the output ends of the K9, K10, K11, K12, K13, K14, K15 and K16 of the minimum system of the MSP430F 249-2. The inputs E1, E2 and E3 of the LCD2 are connected to the outputs K17, K18 and K19 of the MSP430F249-2, respectively. The lock terminal is started, a fixed function key G1 is pressed, a lock terminal circuit is waited to call the MSP430F249-1 minimum system, a key generated by a chaotic password is generated, and the key is displayed on a liquid crystal display circuit LCD 1. The key generated by the chaotic password is input into the liquid crystal display circuit LCD2 through the matrix keyboard input circuit 2, a fixed function key G2 in the keyboard input circuit 2 is pressed, the MSP430F249-2 minimum system is operated, and the chaotic dynamic password required by unlocking the lock end is obtained and displayed on the liquid crystal display circuit LCD 2. The chaos dynamic password is input into the LCD circuit (LCD 1) through the matrix keyboard input circuit (1), the fixed function key (G3) is pressed down to judge whether the input password is correct or not, the lock driving circuit is driven correctly, if not, the value of a is added with 1, and a is an error number record value, and the digital input mode is re-entered. When the value of a is more than 2, the lock end is locked, and the alarm circuit alarms. Whether the successful unlocking or the password error times exceeds 2, the unlocking password of the lock end can be updated, and then the hand-held equipment end also needs to input a new chaotic password generation key again to obtain a new chaotic dynamic password.
The minimum system of the MSP430F249-1 shown in FIG. 5 comprises an MSP430F249-1 single chip microcomputer, a reset circuit 1, a high-speed external crystal oscillator circuit 1 and a low-speed external crystal oscillator circuit 1, wherein the reset circuit 1 comprises a fourth capacitor C4, an eleventh resistor R11, a third diode D3 and a reset key G4, one end of the eleventh resistor R11 is connected with the third diode D3, the other end is connected with the fourth capacitor C4 and the reset key G4, one end of the third diode D3 is connected with the eleventh resistor R11, the other end is connected with the reset key G4 and the fourth capacitor C4, one end of the fourth capacitor C4 is connected with the reset key G4, the other end is connected with the eleventh resistor R11 and the fourth capacitor C4, one end of the reset key G4 is connected with the fourth capacitor C4, the other end is connected with the eleventh resistor R11 and the fourth capacitor C4, the high-speed external crystal oscillator circuit 1 comprises a fifth capacitor C5, a sixth capacitor C6 and a third oscillator X3, the B2 end of the fifth capacitor C5 is connected with the J22 end of the MSP430F249-1 single chip microcomputer, the other end is grounded, the B1 end of the sixth capacitor C6 is connected with the J21 end of the MSP430F249-1 single chip microcomputer, the other end is grounded, the third oscillator X3 spans between the fifth capacitor C5 and the sixth capacitor C6, the low-speed external crystal oscillator circuit 1 comprises a1 st oscillator X4, wherein the C1 and C2 input ends of the low-speed external crystal oscillator circuit are respectively connected with the J23 and J24 output ends of the MSP430F249-1 single chip microcomputer, the output ends of the J1, J2, J3, J4, J5, J6, J7 and J8 of the MSP430F249-1 singlechip are respectively connected with the 1 st, 2 nd, 3 rd, 4 th, 5 th, 6 th, 7 th and 8 th input ends of the matrix keyboard input circuit 1, and the output ends of the J9, J10, J11, J12, J13, J14, J15 and J16 of the MSP430F249-1 singlechip are respectively connected with the A4 th, A5, A6 th, A7 th, A8 th and A9 th input ends of the liquid crystal display circuit LCD1, the input ends of A10 and A11 are connected, the output ends of J17, J18 and J19 of the MSP430F249-1 singlechip are respectively connected with the input ends of A1, A2 and A3 of the liquid crystal display circuit LCD1, and the output end of J20 of the MSP430F249-1 singlechip is connected with the input end of Z1 of the alarm circuit.
As shown in FIG. 6, the minimum system of MSP430F249-2 comprises MSP430F249-2 single chip microcomputer, reset circuit 2, high-speed external crystal oscillator circuit 2, low-speed external crystal oscillator circuit 2, reset circuit 2 comprises third capacitor C3, first resistor R1, second diode D2, reset key G5, one end of first resistor R1 is connected with second diode D2, the other end is connected with third capacitor C3, reset key G5, one end of second diode D2 is connected with first resistor R1, the other end is connected with reset key G5, third capacitor C3, one end of third capacitor C3 is connected with reset key G5, the other end is connected with first resistor R1, third capacitor C3, one end of reset key G5 is connected with third capacitor C3, the other end is connected with first resistor R1, third capacitor C3, high-speed external crystal oscillator circuit 2 comprises first capacitor C1, second capacitor C2, second oscillator X2, the H2 end of the first capacitor C1 is connected with the K22 end of the MSP430F249-1 single chip microcomputer, the other end of the first capacitor C1 is grounded, the H1 end of the second capacitor C2 is connected with the K21 end of the MSP430F249-1 single chip microcomputer, the other end of the second capacitor C2 is grounded, the second oscillator X2 spans between the first capacitor C1 and the second capacitor C2, the low-speed external crystal oscillator circuit 2 comprises a1 st oscillator X1, wherein the I1 and I2 input ends of the low-speed external crystal oscillator circuit 2 are respectively connected with the K23 and K24 output ends of the MSP430F249-1 single chip microcomputer, the K1, K2, K3, K4, K5, K6, K7 and K8 output ends of the MSP430F249-1 single chip microcomputer are respectively connected with the F1, F2, F3, F4, F5, F6, F7 and F8 input ends of the matrix keyboard input circuit 2, the K9, K10, K11, K12, K13, K14, K16, K7 and E9, E2, E9, E2 and E8 of the MSP430F249-2 single chip microcomputer are respectively connected with the output ends of the liquid crystal E4, E4 and E4, the K17, K18 and K19 output ends of the MSP430F249-2 singlechip are respectively connected with the E1, E2 and E3 input ends of the liquid crystal display circuit LCD 2.
The circuit of the LCD1 shown in FIG. 7 comprises the input ends A1, A2 and A3 of the circuit of the LCD1 respectively connected with the output ends J17, J18 and J19 of the SCM of the MSP430F249-1, the input ends A4, A5, A6, A7, A8, A9, A10 and A11 of the circuit of the LCD1 respectively connected with the output ends J9, J10, J11, J12, J13, J14, J15 and J16 of the SCM of the MSP430F239-1, and the input ends A12 and A14 of the circuit of the LCD1 are grounded, and the input ends A13 are connected with a power supply.
The circuit of the LCD2 shown in FIG. 8 comprises the input ends of E1, E2 and E3 of the circuit of the LCD2 respectively connected with the output ends of K17, K18 and K19 of the SCM of the MSP430F249-2, the input ends of E4, E5, A6, E7, E8, E9, E10 and E11 of the circuit of the LCD2 respectively connected with the output ends of K9, K10, K11, K12, K13, K14, K15 and K16 of the SCM of the MSP430F239-2, and the input ends of E12 and E14 of the circuit of the LCD2 are grounded, and the input ends of E13 are connected with a power supply.
As shown in FIG. 9, the matrix keyboard input circuit 1 includes sixteen keys, which are respectively corresponding to the numbers 1, 2, 3, 4, 5, 6, 7, 8, 9 and the fixed function keys G1, G3 from top to bottom, and the rest keys are not active, so that the keys are not used as marks, one end of the sixth resistor R6, one end of the keys L1, L5, L9 and L13 are connected, the other end of the sixth resistor R6 is connected with one end of the seventh resistor R7, one end of the eighth resistor R8 and one end of the ninth resistor R9, the seventh resistor R7 is connected with one end of the keys of the L2, L6, L8 and L14, the other end of the seventh resistor R7 is connected with one end of the sixth resistor R6, the eighth resistor R8 and one end of the ninth resistor R9, the eighth resistor R8 is connected with the keys of the L3, L7, L11 and L15, the other end of the eighth resistor R8 is connected with one end of the sixth resistor R6, the seventh resistor R7 and one end of the ninth resistor R9, the ninth resistor R9 is connected with the keys of the L4, L8, L12 and L16, the other end of the ninth resistor R9 is connected with one end of the sixth resistor R6, the seventh resistor R7 and one end of the eighth resistor R8, and the 1 st, 2, 3, 4, 5, 6, 7 and 8 input ends of the matrix keyboard input circuit 1 are respectively connected with the J1, J2, J3, J4, J5, J6, J7 and J8 output ends of the MSP430F239-1 single chip microcomputer.
As shown in FIG. 10, the matrix keyboard input circuit 2 includes sixteen keys, which are respectively corresponding to the numbers 1, 2, 3, 4, 5, 6, 7, 8, 9 and G2 from top to bottom, and the rest keys are not active, so that the keys are not identified, one end of the keys S1, S5, S9 and S13 of the second resistor R2 is connected with one end of the keys of the third resistor R3, the fourth resistor R4 and the fifth resistor R5, and the other end of the keys of the fourth resistor R4 and the fifth resistor R5, the third resistor R3 is connected with one end of the S2, S6, S8 and S14 keys, the other end is connected with one end of the second resistor R2, the fourth resistor R4 and one end of the fifth resistor R5, the fourth resistor R4 is connected with the S3, S7, S11 and S15 keys, the other end is connected with one end of the second resistor R2, the third resistor R3 and one end of the fifth resistor R5, the fifth resistor R5 is connected with the S4, the S8, the S12 and the S16 keys, the other end is connected with one end of the second resistor R2, the third resistor R3 and one end of the fourth resistor R4, and the F1, F2, F3, F4, F5, F6, F7 and F8 input ends of the matrix keyboard input circuit 2 are respectively corresponding to the K1, K2, K3, K4, K5, K6, K7 and K8 output ends of the MSP430F239-2 single chip microcomputer.
The circuit of the alarm module shown in fig. 11 comprises a triode Q1, a twelfth resistor R12, a thirteenth resistor R13 and a buzzer, wherein one end of the buzzer is connected with one end of the triode Q1, one end of the triode Q1 is connected with one end of the buzzer, one end of the triode Q1 is connected with one end of the twelfth resistor R12, one end of the twelfth resistor R12 is connected with one end of the triode Q1, the other end is connected with one end of the thirteenth resistor R13, one end of the thirteenth resistor R13 is connected with one end of the twelfth resistor R12, and the Z1 input end of the alarm circuit is connected with the J20 output end of the MSP430F249-1 singlechip.
The circuit of the lock module shown in fig. 12 comprises an L298 motor driving chip and a direct current motor, wherein the input ends of the D1, D2, D3 and D4 of the L298 motor driving chip are connected with the output ends of the J26, J27, J28 and J29 of the MSP430F249-1 singlechip, the D5, D6, D7 and D8 of the L298 motor driving chip are connected with a power supply, the D9, D10 and D11 are grounded, and the D12, D13, D14 and D15 are connected with the direct current motor.

Claims (2)

1. The design method of the dynamic password electronic lock based on the multi-parameter five-dimensional hyper-chaotic system is characterized by comprising the following steps of:
step one: constructing a multi-parameter five-dimensional hyper-chaotic system;
step two: performing discretization treatment on the multi-parameter five-dimensional hyper-chaotic system by adopting a fourth-order Dragon-Kutta solving algorithm;
step three: realizing the discretized chaotic system through a programming language;
step four: circuit design of lock end and hand-held equipment end based on multi-parameter five-dimensional chaotic system dynamic coded lock;
the chaotic system equation for constructing the multi-parameter five-dimensional hyper-chaotic system in the first step is as follows:
Figure QLYQS_1
wherein the method comprises the steps of
Figure QLYQS_2
Is a system state variable +.>
Figure QLYQS_3
The system state variable is used for generating a dynamic password as a control parameter of the system, the value of the system control parameter determines whether the system is a chaotic system or a periodic system, and the chaotic system has unpredictability, sensitivity to initial values and aperiodicity and is very matched with the important characteristic of the dynamic password, so that the chaotic system is a core of the chaotic dynamic password;
when the control parameter a is increased from 0 to 14, the process of changing the motion state of the system is as follows: cycle-quasi-cycle-chaos-hyperchaos-chaos, when the control parameter b is increased from 1 to 40, the system motion state change process is as follows: chaos-hyperchaos-chaos-quasi-period, when the control parameter c is increased from 0 to 30, the system motion state change process is as follows: cycle-quasi-cycle-chaos-hyperchaos-chaos, when the control parameter d is increased from 0 to 70, the system motion state change process is as follows: chaos, hyperchaos and chaos, when the control parameter e is increased from 1 to 100, the change process of the system motion state is as follows: cycle-pseudo-cycle-chaos-hyperchaos-chaos-cycle-pseudo-cycle-chaos-pseudo-cycle, and when the control parameter f is increased from-8 to 8, the system motion state change process is as follows: cycle-quasi-cycle-chaos-hyperchaotic-chaos, wherein the chaotic system has five controllable parameters, and when any control parameter is changed within a certain range, the system is still in a chaotic state or hyperchaotic state;
the specific functions of the dynamic password electronic lock in the fourth step are designed as follows:
generating an initial value of a system parameter of the chaotic system by using a rand function in an IAR standard function library;
the design of the lock end: after the lock end is started, a fixed function key G1 is pressed, a processor 1 is waited to call a chaos agenda subprogram, after a chaos password generation key is generated, the restriction on unlocking operation can be relieved, the chaos password generation key can be displayed on a lock end liquid crystal display (LCD 1), two chaos sequence initial values are required to be input into a handheld device end, and a processor 2 is waited to call the chaos agenda subprogram, so that a chaos password generation password is generated and displayed on the handheld device end liquid crystal display (LCD 2);
hand-held equipment end design: inputting a chaotic password generating key into a handheld device end through a matrix keyboard input module 2, pressing a fixed function key G2 in the matrix keyboard input module 2, calling a chaotic agenda subprogram by a processor 2, obtaining a chaotic dynamic password required by unlocking a lock end through operation, and displaying the chaotic dynamic password on a liquid crystal display LCD 2;
the unlocking operation process is designed in such a way that a chaotic dynamic password generated by a handheld device end is input to a lock end through a keyboard module 1, after a fixed function key G3 is pressed, the processor 1 judges whether the input password is correct, if the input password is correct, the unlocking is successfully performed, if the input password is incorrect, a is assigned to a and added with 1, a is an error number record value, and the digital input mode is reentered, when the value of a is greater than 2, the lock end is locked, a buzzer alarms, the lock end unlocking password can be updated no matter whether the successful unlocking or the password error number exceeds 2, and then the handheld device end also needs to reenter a new chaotic password generation key to obtain a new chaotic dynamic password.
2. The design method as claimed in claim 1, wherein the discretization processing is performed on the multi-parameter five-dimensional hyper-chaotic system by adopting a fourth-order Longer lattice-Kutta solving algorithm, and the specific steps are as follows:
2-1) System control parameter extraction
Figure QLYQS_4
The determined chaotic system equation is as follows:
Figure QLYQS_5
2-2) solving the chaotic system equation according to a fourth-order Longge-Kutta, and solving the following solution form:
Figure QLYQS_6
2-3) obtaining the representation form of each recursive parameter:
Figure QLYQS_7
Figure QLYQS_8
Figure QLYQS_9
,/>
Figure QLYQS_10
2-4) implementing the discrete chaotic system in a programming language according to the equations and expressions in steps 2-1), 2-2) and 2-3).
CN202010553714.0A 2020-06-17 2020-06-17 Dynamic password electronic lock based on multi-parameter five-dimensional hyper-chaotic system Active CN111682933B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010553714.0A CN111682933B (en) 2020-06-17 2020-06-17 Dynamic password electronic lock based on multi-parameter five-dimensional hyper-chaotic system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010553714.0A CN111682933B (en) 2020-06-17 2020-06-17 Dynamic password electronic lock based on multi-parameter five-dimensional hyper-chaotic system

Publications (2)

Publication Number Publication Date
CN111682933A CN111682933A (en) 2020-09-18
CN111682933B true CN111682933B (en) 2023-05-09

Family

ID=72435969

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010553714.0A Active CN111682933B (en) 2020-06-17 2020-06-17 Dynamic password electronic lock based on multi-parameter five-dimensional hyper-chaotic system

Country Status (1)

Country Link
CN (1) CN111682933B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112887094B (en) * 2021-02-26 2022-06-21 湖南科技大学 Fractional order chaos sliding mode synchronous secret communication method based on single chip microcomputer
CN114095147B (en) * 2021-11-29 2023-08-18 湖南科技大学 Electronic lock secret communication method based on five-dimensional false fractional order and chaotic shift keying
CN117040745B (en) * 2023-10-10 2023-12-12 中国电子科技集团公司第三十研究所 Key extraction method, device, equipment and medium based on conservative hyperchaotic system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1254889A (en) * 2000-01-13 2000-05-31 华中理工大学 Dynamic electronic cipher system
CN101294463A (en) * 2008-06-18 2008-10-29 大连交通大学 Dynamically encrypting and unlock method based on electronic trick lock
CN102644419A (en) * 2012-02-23 2012-08-22 杭州电子科技大学 Dynamic password remote control lock based on chaos technology
WO2014096363A1 (en) * 2012-12-21 2014-06-26 Universite De Nantes Chaotic sequence generator
CN105430015A (en) * 2015-12-30 2016-03-23 桂林市逸仙中学 Dynamic password lock

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1254889A (en) * 2000-01-13 2000-05-31 华中理工大学 Dynamic electronic cipher system
CN101294463A (en) * 2008-06-18 2008-10-29 大连交通大学 Dynamically encrypting and unlock method based on electronic trick lock
CN102644419A (en) * 2012-02-23 2012-08-22 杭州电子科技大学 Dynamic password remote control lock based on chaos technology
WO2014096363A1 (en) * 2012-12-21 2014-06-26 Universite De Nantes Chaotic sequence generator
CN105430015A (en) * 2015-12-30 2016-03-23 桂林市逸仙中学 Dynamic password lock

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
卢辉斌.一种基于超混沌系统的身份认证方案.2010,第2010卷(7),全文. *
姜德平.五阶超混沌电路系统的自适应同步研究.2005,第23卷(第23期),全文. *

Also Published As

Publication number Publication date
CN111682933A (en) 2020-09-18

Similar Documents

Publication Publication Date Title
CN111682933B (en) Dynamic password electronic lock based on multi-parameter five-dimensional hyper-chaotic system
US5177789A (en) Pocket-sized computer access security device
CN201554280U (en) Photoelectric cipher lock system
CN105337729B (en) A kind of encryption method of mobile terminal, device and mobile terminal
CN111080868A (en) Temporary password setting and verifying method for intelligent door lock
CN111125456B (en) Virtual bit password comparison method, system and intelligent lock
CN106951159A (en) A kind of terminal unlocking rapidly enters the method and terminal of application program
CN102304994B (en) Electronic lock with function of automatically generating password and control method thereof
US20040103287A1 (en) Electronic device with time dependent access codes and apparatus for generating those codes
CN205012795U (en) Electronic lock based on single-key pulse
CN102831337A (en) Method for inputting or presetting passwords for display screen information secrecy product by using one key, and application
CN105649469B (en) A kind of intelligent safe Double-puzzle control system
CN116132977A (en) Mouse safety encryption authentication method
CN106230579B (en) A kind of pseudo-random signal method for generation and generator based on chaos
JP2689287B2 (en) Online terminal
CN203480514U (en) Password setting system and password decoding system
EP3238367B1 (en) Technique for generating a password
CN202810394U (en) An electronic assisting control coded spring lock provided with an automatic alarm device
CN202148902U (en) Electronic lock with function of automatic password generation
CN105649470B (en) A kind of intelligent safe password control system
CN111294201A (en) Cipher memory
Wang et al. Design of dynamic cipher electronic lock based on chaotic system
CN117113377A (en) Matrix-based coded lock password encryption method and system
JPS6410088A (en) Lock device for refrigerator
CN1447222A (en) Cipher code generation device containing information of random weighted code and method of generating cipher code

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant