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

文档序号:1172712 发布日期:2020-09-18 浏览:6次 中文

阅读说明:本技术 一种基于多参数五维超混沌系统的动态密码电子锁 (Dynamic password electronic lock based on multi-parameter five-dimensional hyper-chaotic system ) 是由 于文新 王晶 王俊年 钟国亮 周躜波 蒋丹 李瑞奇 陆洋 于 2020-06-17 设计创作,主要内容包括:本文发明了一种基于多参数五维超混沌系统的动态密码电子锁,包括以下步骤:构建多参数五维超混沌系统;采用四阶龙格-库塔求解算法对多参数五维超混沌系统进行离散化处理;将离散化的超混沌系统通过编程语言实现;一种基于多参数五维超混沌系统的锁端和手持设备端的电路设计,本文设计了一种多控制参数的新型五维超混沌系统,采用四阶龙格-库塔求解算法对其进行离散化处并用编程语言实现,多参数五维超混沌系统不仅复杂度比寻常混沌系统高,而且具有多个可调的系统控制参数,四阶龙格-库塔算法是一种高精度单步算法,算法精度高,能很好的保留混沌系统的特性。(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; carrying out discretization processing on the multi-parameter five-dimensional hyper-chaotic system by adopting a four-order Runge-Kutta solving algorithm; realizing the discrete hyper-chaotic system through a programming language; a novel multi-control-parameter five-dimensional hyper-chaotic system is designed, discretization is carried out on the novel multi-control-parameter five-dimensional hyper-chaotic system by adopting a four-order Runge-Kutta solving algorithm and a programming language is used for realizing the discretization, the multi-parameter five-dimensional hyper-chaotic system is higher in complexity than an ordinary chaotic system and is provided with a plurality of adjustable system control parameters, and the four-order Runge-Kutta algorithm is a high-precision single-step algorithm, is high in algorithm precision and can well keep the characteristics of the chaotic system.)

1. A dynamic password electronic lock design based on a multi-parameter five-dimensional hyper-chaotic system is characterized by comprising the following steps:

the method comprises the following steps: constructing a multi-parameter five-dimensional hyper-chaotic system;

step two: carrying out discretization processing on the multi-parameter five-dimensional hyper-chaotic system by adopting a four-order Runge-Kutta solving algorithm;

step three: realizing the discrete chaotic system through a programming language;

step four: a circuit design of a lock end and a handheld device end of a dynamic coded lock based on a multi-parameter five-dimensional chaotic system is disclosed.

2. The multi-parameter five-dimensional hyper-chaotic dynamic coded electronic lock design based on the claim 1 is characterized in that a dimensionless expression for constructing a multi-parameter five-dimensional hyper-chaotic system in the first step is as follows:

whereinIs a variable of the state of the system,

Figure 123443DEST_PATH_IMAGE003

the system control parameter is takenWhen the control parameter a is increased from 0 to 14, the process of the change of the motion state of the system is as follows: cycle → quasi-cycle → chaos→ hyperchaotic → chaotic, when the control parameter b is increased from 1 to 40, the system motion state change process is: chaos → hyperchaos → chaos → pseudo-cycle → cycle, when the control parameter c is increased from 0 to 30, the change process of the system motion state is: the period → quasi-period → chaos → hyperchaotic → chaos, when the control parameter d is increased from 0 to 70, the change process of the system motion state is as follows: chaos → hyperchaos → chaos, when the control parameter e is increased from 1 to 100, the change process of the system motion state is: the period → quasi-period → chaos → hyperchaos → chaos → period → quasi-period → chaos → quasi-period → period, when the control parameter f is increased from-8 to 8, the change process of the system motion state is: the chaotic system has five controllable parameters, when any control parameter is changed in a certain range, the system is still in a chaotic state or a hyperchaotic state, and a chaotic dynamic password with high safety can be generated.

3. The multi-parameter five-dimensional hyper-chaotic dynamic coded electronic lock as claimed in claim 2, wherein the concrete steps of discretizing the multi-parameter five-dimensional hyper-chaotic system by adopting a fourth-order Runge-Kutta solution algorithm in the second step are as follows:

3-1) determining the chaotic system equation as follows:

3-2) solving the chaotic system equation according to a fourth-order Runge-Kutta to obtain the following solution form:

3-3) finding the representation of each recursive parameter:

Figure 484837DEST_PATH_IMAGE007

Figure 863997DEST_PATH_IMAGE008

4. the multi-parameter five-dimensional hyper-chaotic dynamic coded electronic lock as claimed in claim 3, wherein the fourth specific step is:

4-1) utilizing rand function in IAR standard function library to generate initial value of system parameter of chaotic system,

4-2) the design of the locking end is as follows: after the lock end is started, a fixed function key G1 is pressed, the processor 1 is waited to call the chaos agenda subprogram, after a chaos cipher generating key (the chaos cipher key is used for generating the chaos cipher required by unlocking the lock end) is generated, the limit of unlocking operation can be removed, the chaos cipher generating key is displayed on a lock end liquid crystal display LCD1, two chaos sequence initial values are required to be input into the hand-held device end, the processor 2 is waited to call the chaos agenda subprogram, the chaos cipher generating cipher is generated and displayed on a hand-held device end liquid crystal display LCD2,

4-3) handheld equipment end design: the chaos cipher generating key is input into the hand-held device end through the matrix keyboard input module 2, the fixed function key G2 in the matrix keyboard input module 2 is pressed, the processor 2 will call the chaos agenda subprogram, the chaos dynamic cipher needed by the lock end unlocking is obtained through operation and will be displayed on the LCD2,

4-4) an unlocking operation process, namely, inputting a chaotic dynamic password generated by the handheld device end into the lock end through the matrix keyboard input module 1, pressing down the fixed function key G3, judging whether the input password is correct or not by the processor 1, if the input password is correct, successfully unlocking, and if the input password is incorrect, assigning a (a is used as an error frequency record) and adding 1, and entering a digital input mode again, when the value of a is more than 2, locking the lock end, and alarming by a buzzer, wherein the unlocking password of the lock end can be updated no matter the unlocking is successful or the number of password errors exceeds 2, and then the handheld device end needs to input a new chaotic password generation key again to obtain a new chaotic dynamic password.

Technical Field

The invention relates to dynamic password research of a chaos theory, in particular to dynamic password electronic lock research based on a multi-parameter five-dimensional hyper-chaotic system.

Background

The electronic coded lock inputs the password through an electronic system and compares the password with the setting, the lockset opened and closed by an electromechanical actuating mechanism control cabinet door (spring bolt), along with the increasing of material wealth, people have higher and higher requirements on the safety of the electronic coded lock, the infrared remote control electronic coded lock, the coded lock based on the radio remote control electronic coded lock and the three-dimensional motion, the safety of the coded locks is improved to a certain extent, but most of the coded locks adopt a static password mode, the unlocking password of the coded lock keeps unchanged in a certain period, and the mode has larger potential safety hazard: firstly, password intensity is not enough, and the trick lock user generally adopts the password that the number of bits is shorter, if adopt the password of overlength to remember the degree of difficulty to the user, secondly static password is stolen easily, because for convenient to use, most static passwords all adopt the password that characteristics such as birthday date are showing, are guessed and are cracked very easily, and the main method of solving this problem is exactly to adopt dynamic password, characterized by: the passwords are automatically generated according to a security algorithm, one password at a time cannot be predicted by a user, and the passwords used at each time are different, so that the theft and guessing of others are avoided. Secondly, the algorithm is completely fixed, the generated password is traceable and feasible, in conclusion of the two points, the dynamic state is only nominal dynamic state and does not have real dynamic state in terms of safety, the multi-parameter five-dimensional hyper-chaotic system has unpredictability, sensitivity to initial values and non-periodicity, and a dynamic password lock designed by taking the multi-parameter five-dimensional 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 password', are unpredictable and are very fit with each other, so that the dynamic password and the chaotic system have an inherent relation, and a digital sequence with good randomness can be generated by utilizing the characteristics of the combination of the chaotic system and the dynamic password, generally speaking, 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, therefore, the dynamic password electronic lock based on the multi-parameter five-dimensional hyper-chaotic system has strong confidentiality and certain practical value and scientific research value.

Disclosure of Invention

In order to solve the technical problems, the invention carries out four-order Runge-Kutta discretization treatment on the constructed multi-parameter five-dimensional hyper-chaotic system, then carries out program programming according to the obtained discretized chaotic system formula, and then carries out circuit design on a lock end and a handheld device end based on the multi-parameter five-dimensional hyper-chaotic system, and comprises the following steps:

the method comprises the following steps: constructing a multi-parameter five-dimensional hyper-chaotic system;

step two: carrying out discretization processing on the multi-parameter five-dimensional hyper-chaotic system by adopting a four-order Runge-Kutta solving algorithm;

step three: realizing the discrete chaotic system through a programming language;

step four: a circuit design of a lock end and a handheld device end based on a multi-parameter five-bit chaotic system is disclosed.

1. The multi-parameter five-dimensional hyperchaotic dynamic password electronic lock comprises the following dimensionless expression for constructing the multi-parameter five-dimensional hyperchaotic system in the first step:

wherein

Figure DEST_PATH_IMAGE002

Is a variable of the state of the system,

Figure DEST_PATH_IMAGE003

the system state variable is used for generating dynamic passwords as a control parameter of the system, and the value of the control parameter of the system determines whether the system is a chaotic system or a periodic systemMoreover, the chaotic system has the characteristics of unpredictability, sensitivity to initial values, non-periodicity and the like, and is matched with the important characteristics of the dynamic password, which is the core forming the chaotic dynamic password, and the system control parameters are taken

Figure DEST_PATH_IMAGE004

When the control parameter a is increased from 0 to 14, the process of the change of the motion state of the system is as follows: the period → quasi-period → chaos → hyperchaotic → chaos, when the control parameter b is increased from 1 to 40, the change process of the system motion state is as follows: chaos → hyperchaos → chaos → pseudo-cycle → cycle, when the control parameter c is increased from 0 to 30, the change process of the system motion state is: the period → quasi-period → chaos → hyperchaotic → chaos, when the control parameter d is increased from 0 to 70, the change process of the system motion state is as follows: chaos → hyperchaos → chaos, when the control parameter e is increased from 1 to 100, the change process of the system motion state is: the period → quasi-period → chaos → hyperchaos → chaos → period → quasi-period → chaos → quasi-period → period, when the control parameter f is increased from-8 to 8, the change process of the system motion state is: the chaotic system has five controllable parameters, when any control parameter is changed in a certain range, the system is still in a chaotic state or a hyperchaotic state, a chaotic dynamic password with high safety can be generated, the individual characteristics of the dynamic password electronic lock designed based on the method lie in different manufacturing parameters, and the lock can be unlocked only when the handheld device end has specific values of all the control parameters of the lock, so that the system has a plurality of controllable parameters, the chaotic state of the system in a larger range is ensured, 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. In the second step, a fourth-order longge-kuta solving algorithm is adopted to perform discretization processing on the multi-parameter five-dimensional hyper-chaotic system, and the specific steps of the dynamic coded lock based on the multi-parameter five-dimensional hyper-chaotic system are as follows:

2-1) determining the chaotic system equation as follows:

2-2) solving the chaotic system equation according to a fourth-order Runge-Kutta to obtain the following solution form:

Figure DEST_PATH_IMAGE006

2-3) finding the representation of each recursive parameter:

Figure DEST_PATH_IMAGE009

Figure DEST_PATH_IMAGE010

and in the formula, T is an iteration step length, the iteration step length T is 0.011, the discretization equation of the chaotic system and the expression of each parameter are solved according to the fourth-order Runge-Kutta, and the discretized chaotic system is realized by using a programming language according to the obtained equation and expression.

3. The dynamic coded lock based on the multi-parameter five-dimensional hyper-chaotic system comprises the following four specific steps.

3-1) generating initial values of system parameters of the chaotic system by using a rand function in an IAR standard function library.

3-2) the design of the locking end is as follows: after the lock end is started, the fixed function key G1 is pressed, the processor 1 is waited to call the chaos agenda subprogram, after the chaos cipher is generated to generate the cipher key (the chaos cipher key is used for the handheld device end to generate the chaos cipher needed by unlocking the lock end), the limit of the unlocking operation can be removed, the chaos cipher key is displayed on the lock end liquid crystal display LCD1, two chaos sequence initial values are needed to be input into the handheld device end, the processor 2 is waited to call the chaos agenda subprogram, the chaos cipher is generated to generate the cipher key, and the cipher key is displayed on the handheld device end liquid crystal display LCD 2.

3-3) handheld equipment end design: the chaos password generation key is input into the hand-held device end through the matrix keyboard input module 2, the fixed function key G2 in the matrix keyboard input module 2 is pressed, the processor 2 calls the chaos agenda subprogram, the chaos dynamic password required by lock end unlocking is obtained through operation, and the chaos dynamic password is displayed on the liquid crystal display LCD 2.

3-4) an unlocking operation process, namely, inputting the chaotic dynamic password generated by the handheld device end into the lock end through the matrix keyboard input module 1, pressing down the fixed function key G3, judging whether the input password is correct or not by the processor 1, if the input password is correct, successfully unlocking, and if the input password is incorrect, assigning a (a is used as an error frequency record) and adding 1, and entering a digital input mode again, when the value of a is more than 2, locking the lock end, and alarming by a buzzer, if the number of successful unlocking or password error frequency exceeds 2, the unlocking password of the lock end is updated, and then the handheld device end 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 a mixed agenda subprogram to generate a chaotic secret key, the chaotic secret key is input at the handheld device end, the chaotic agenda subprogram is called by the processor 2 to generate a chaotic password, and the generated chaotic password is input into the lock end to open the dynamic coded lock, so that 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 effect.

1. The multi-parameter five-dimensional hyper-chaotic system is constructed, the hyper-chaotic system has more complex dynamic property, the sensitivity of errors brought by the parameters is higher, the divergence rate of the errors caused by identification, estimation or prediction is higher, the local part of the system also has a more chaotic structure, and compared with an ordinary chaotic system, the constructed multi-parameter five-dimensional hyper-chaotic system has higher dimensionality and more controllable parameters.

2. In the process of discretizing the hyper-chaotic system by adopting a fourth-order Runge-Kutta algorithm and realizing the hyper-chaotic system by using a programming language, in a program of realizing the discretized chaotic system, a discrete point data format is adopted, the iteration times are reduced on the premise of keeping the safety, so that the running time is reduced, and the precision is greatly improved.

3. The invention carries out circuit design on the lock end and the handheld device end based on the multi-parameter five-dimensional chaotic system, and compared with the ordinary dynamic coded lock, the dynamic coded lock based on the multi-parameter five-dimensional chaotic system has the advantages of multiple parameters, namely, the diversity of the algorithm is increased, and the safety of the coded lock is improved.

Description of the drawings.

FIG. 1 is a flow chart of the present invention.

Fig. 2 is an overall hardware block diagram of the system of the present invention.

Fig. 3 is a circuit diagram of a lock end part of the multi-parameter five-dimensional hyper-chaotic system based on the present invention.

Fig. 4 is a circuit diagram of a handheld portion of the multi-parameter five-dimensional hyper-chaotic system.

Fig. 5 is a circuit diagram of the MSP430F249-1 minimum system circuit in fig. 3.

Fig. 6 is a circuit diagram of the MSP430F249-2 minimum system circuit in fig. 4.

Fig. 7 is a circuit diagram of the liquid crystal display module LCD1 of fig. 3.

Fig. 8 is a circuit diagram of the liquid crystal display module LCD2 of 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 of the preferred embodiments.

The invention will be further described with reference to the accompanying drawings.

As shown in fig. 1, a dynamic coded lock based on a multi-parameter five-dimensional hyper-chaotic system includes the following steps.

The method comprises the following steps: and constructing a multi-parameter five-dimensional hyper-chaotic system.

Step two: and carrying out discretization processing on the multi-parameter five-dimensional hyper-chaotic system by adopting a four-order Runge-Kutta solving algorithm.

Step three: the discrete chaotic system is realized through a programming language.

Step four: a circuit design of a lock end and a handheld device end based on a multi-parameter five-dimensional hyper-chaotic system is disclosed.

1. The multi-parameter five-dimensional hyperchaotic dynamic password electronic lock comprises the following dimensionless expression for constructing the multi-parameter five-dimensional hyperchaotic system in the first step:

Figure DEST_PATH_IMAGE011

wherein

Figure DEST_PATH_IMAGE012

Is a variable of the state of the system,the system state variable is used for generating dynamic passwords as a control parameter of the system, the value of the control parameter of the system determines whether the system is a chaotic system or a periodic system, and the chaotic system has unpredictability and sensitivity to an initial valueThe characteristics such as non-periodicity and the like are matched with the important characteristics of the dynamic password, which is the core of the chaotic dynamic password.

The system control parameter is takenWhen the control parameter a is increased from 0 to 14, the process of the change of 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 change process of the motion state of the system is as follows: chaos → hyperchaos → chaos → pseudo-period → period, control parameters

Figure DEST_PATH_IMAGE015

When the speed is increased from 0 to 30, the motion state change process of the system is as follows: cycle → quasi-cycle → chaos → hyperchaos → chaos, control parameterWhen the value is increased from 0 to 70, the motion state change process of the system is as follows: chaos → hyperchaos → chaos, when the control parameter e is increased from 1 to 100, the change process of the system motion state is: the period → quasi-period → chaos → hyperchaos → chaos → period → quasi-period → chaos → quasi-period → period, when the control parameter f is increased from-8 to 8, the change process of the system motion state is: cycle → quasi-cycle → chaos → hyperchaos → chaos.

The chaotic system has five controllable parameters, when any control parameter is changed in a certain range, the system is still in a chaotic state or a hyperchaotic state, and can generate a chaotic dynamic password with extremely high safety, the individual characteristics of the dynamic password electronic lock designed based on the chaotic system are different in manufacturing parameters, and the lock can be unlocked only when the handheld device end has the specific numerical values of all the control parameters of the lock, so that the chaotic system has a plurality of controllable parameters, the chaotic state of the system in a larger range is ensured, 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. In the second step, a fourth-order Runge-Kutta solving algorithm is adopted to carry out discretization processing on the multi-parameter five-dimensional hyper-chaotic system.

2-1) determining the chaotic system equation as follows:

2-2) solving the chaotic system equation according to the fourth-order Runge-Kutta. The following solution was obtained:

Figure DEST_PATH_IMAGE018

2-3) finding the representation of each recursive parameter:

Figure DEST_PATH_IMAGE020

Figure DEST_PATH_IMAGE021

and in the formula, T is an iteration step length, the iteration step length T is 0.011, the discretization equation of the chaotic system and the expression of each parameter are solved according to the fourth-order Runge-Kutta, and the discretized chaotic system is realized by using a programming language according to the obtained equation and expression.

3. The dynamic coded lock based on the multi-parameter five-dimensional hyper-chaotic system is disclosed. The fourth concrete step is as follows.

3-1) generating initial values of system parameters of the chaotic system by using a rand function in an IAR standard function library.

3-2) the design of the locking end is as follows: after the lock end is started, a fixed function key G1 is pressed in the matrix keyboard input module 1, the processor 1 is waited to call the chaos agenda subprogram, after a chaos password generation key is generated (the chaos password is used for the handheld device end to generate the chaos password required by unlocking the lock end), the limitation on unlocking operation can be removed, the chaos password generation key can be displayed on the lock end liquid crystal display LCD1, two chaos sequence initial values are required to be input into the handheld device end, the processor 2 is waited to call the chaos agenda subprogram, and the chaos password generation key is generated and displayed on the handheld device end liquid crystal display LCD 2.

3-3) handheld equipment end design: the chaos password generation key is input into the handheld device end through the matrix keyboard module 2, the function key G2 is fixed in the matrix keyboard input module 2, the processor 2 calls the chaos agenda subprogram, the chaos dynamic password required by unlocking the lock end is obtained through operation, and the chaos dynamic password is displayed on the liquid crystal display LCD 2.

3-4) an unlocking operation process, namely, inputting the chaotic dynamic password generated by the handheld device end into the lock end through the matrix keyboard input module 1, pressing the fixed function key G3, judging whether the input password is correct or not by the processor 1, successfully unlocking if the input password is correct, and assigning a (a as an error frequency record) plus 1 if the input password is incorrect. And re-entering a digital input mode, when the value of a is more than 2, the lock end is locked, the buzzer alarms, the unlocking password of the lock end is updated no matter the unlocking is successful or the password error frequency exceeds 2, and then the hand-held equipment end also needs to re-input a new chaotic password generation key 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 a mixed agenda subprogram to generate a chaotic secret key, the chaotic secret key is input to the handheld device end, the chaotic agenda subprogram is called by the processor to generate a chaotic password, and the generated chaotic password is input to the lock end to open the dynamic coded lock, so that the randomness of the chaotic system is greatly improved, and the safety of the dynamic coded lock is greatly improved.

As shown in FIG. 2, a dynamic password electronic lock circuit based on a 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, wherein 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 to provide working power supply for the whole circuit, output ends of the 1 st, 2, 3 and 4 of the matrix keyboard input circuit 1 are respectively connected with J1, J2, J3 and J4 input ends of the MSP430F249-1 minimum system, and input ends of the 5, 6, 7 and 8 of the matrix keyboard input circuit 1 are respectively connected with J5 of the minimum system of the MSP430F249-1, J, J output end are connected, A input end of LCD is connected with J, J output end of MSP430F249-1 minimum system, A input end of LCD is connected with J, J output end of MSP430F249-1, Z input end of alarm circuit is connected with J output end of MSP430F249-1 minimum system, J output end of MSP430F2491-1 single chip is connected with D, D output end of lock drive circuit, F input end of matrix keyboard input circuit 2 is connected with K, K input end of MSP430F249-2 minimum system, F input end of matrix keyboard input circuit 2 is connected with K, K input end of MSP430F249-2 minimum system, K input end of matrix keyboard input circuit 2, F input, The output ends of K6, K7 and K8 are connected, the input ends of E2, E2 and E2 of the LCD2 are respectively connected with the output ends of K2, K2 of MSP430F249-2 minimum system, the input ends of E2, E2 and E2 of the LCD2 are respectively connected with the output ends of K2, K2 and K2 of MSP430F249-2, the lock end is started up, the fixed function key G2 is pressed, the key generated by chaotic cipher is generated and displayed on the LCD2 after the MSP430F249-1 minimum system is called by the lock end circuit, the key generated by chaotic cipher is input into the LCD2 through the matrix input circuit 2, the key generated by chaotic cipher is pressed in the keyboard input circuit, the chaotic cipher generated by chaotic cipher and displayed on the LCD2, the chaotic cipher generated key is displayed on the LCD2, the chaotic cipher generated by chaotic cipher, the chaotic cipher generated key is displayed on the LCD2, the chaotic cipher display 2, the chaotic cipher is displayed on the LCD, the chaotic dynamic password is input into a liquid crystal display circuit LCD1 through a matrix keyboard input circuit 1, a fixed function key G3 is pressed, whether the input password is correct or not is judged, if the input password is correct, a lock driving circuit is driven, if the input password is incorrect, a value is assigned to a (a is used as an error frequency record) and is added with 1, and a digital input mode is entered again, when the value of a is larger than 2, a lock end is locked, an alarm circuit gives an alarm, the lock end unlocking password is updated no matter the unlocking is successful or the password error frequency exceeds 2, and then a handheld device end needs to input a new chaotic password again to generate a secret key to obtain a new chaotic dynamic password.

As shown in fig. 5, the MSP430F249-1 minimum system 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 a fourth capacitor C4 and a reset key G4, one end of the third diode D3 is connected with an eleventh resistor R11, the other end is connected with a reset key G4 and a 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 a 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 3X 3, the B end of a fifth capacitor C is connected with the J end of an MSP430F249-1 singlechip, the other end of the fifth capacitor C is grounded, the B end of a sixth capacitor C is connected with the J end of the MSP430F249-1 singlechip, the other end of the sixth capacitor C is grounded, a third oscillator X spans between the fifth capacitor C and the sixth capacitor C, the low-speed external crystal oscillator circuit 1 comprises a1 st oscillator X, the C and C input ends of the low-speed external crystal oscillator circuit are respectively connected with the J and J output ends of the MSP430F249-1 singlechip, the J, J and J output ends of the MSP430F249-1 singlechip are respectively connected with the 1 st, 2, 3, 4, 5, 6, 7 and 8 input ends of the matrix keyboard input circuit 1, the J, and J output ends of the MSP430F249-1 singlechip are respectively connected with the A, A, The input ends of 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 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 MSP430F249-2 minimum system comprises an MSP430F249-2 single chip microcomputer, a reset circuit 2, a high-speed external crystal oscillator circuit 2 and a low-speed external crystal oscillator circuit 2, the reset circuit 2 comprises a third capacitor C3, a first resistor R1, a second diode D2 and a reset key G5, one end of the first resistor R1 is connected to the second diode D2, the other end is connected to a third capacitor C3 and a reset key G5, one end of the second diode D2 is connected to the first resistor R1, the other end is connected to a reset key G5 and a third capacitor C3, one end of the third capacitor C3 is connected to the reset key G5, the other end is connected to the first resistor R1 and a third capacitor C3, one end of the reset key G5 is connected to the third capacitor C3, the other end is connected to the first resistor R1 and the third capacitor C3, the high-speed external crystal oscillator circuit 2 comprises a first capacitor C1, a second capacitor C2, a second capacitor 2 and a second capacitor 2H 2, the other end of the first capacitor C2 is grounded, an H1 end of a second capacitor C2 is connected with a K1 end of an MSP430F249-1 single chip microcomputer, the other end of the second capacitor C1 is grounded, a second oscillator X1 is spanned between the first capacitor C1 and the second capacitor C1, the low-speed external crystal oscillator circuit 2 comprises a1 st oscillator X1, the I1 input ends of the low-speed external crystal oscillator circuit 2 are respectively connected with K1 and K1 output ends of the MSP430F249-1 single chip microcomputer, the K1, K1 output ends of the MSP430F249-1 single chip microcomputer are respectively connected with the F1, E72, e2 and E3 input ends are connected.

As shown in FIG. 7, the circuit of the LCD1 includes that input terminals A1, A2 and A3 of the LCD1 circuit are respectively connected with output terminals J17, J18 and J19 of the MSP430F249-1 singlechip, input terminals A4, A5, A6, A7, A8, A9, A10 and A11 of the LCD1 circuit are respectively connected with output terminals J9, J10, J11, J12, J13, J14, J15 and J16 of the MSP430F239-1 singlechip, input terminals A12 and A14 of the LCD1 circuit are grounded, and an input terminal A13 is connected with a power supply.

As shown in fig. 8, the circuit of the LCD2 includes that input terminals E1, E2, E3 of the LCD2 circuit are respectively connected to output terminals K17, K18, K19 of the MSP430F249-2 single chip microcomputer, input terminals E4, E5, A6, E7, E8, E9, E10, E11 of the LCD2 circuit are respectively connected to output terminals K9, K10, K11, K12, K13, K14, K15, K16 of the MSP430F239-2 single chip microcomputer, input terminals E12, E14 of the LCD2 circuit are grounded, and input terminal E13 is connected to the power supply.

As shown in fig. 9, the matrix keyboard input circuit 1 includes a sixth resistor R6, a seventh resistor R7, an eighth resistor R8, a ninth resistor R9, a sixteen key including L1, L2, L3, L4, L5, L6, L7, L8, G8, L8, and the key is pressed from top to bottom, and the numbers 1, 2, 3, 4, 5, 6, 7, 8, 369, and the fixed function key G8, G8 are respectively pressed from bottom to top, and the rest keys are not labeled, so that the keys are not labeled, one end of the L8, and L8 of the sixth resistor R8 is connected to one end of the key, the other end of the seventh resistor R8, the eighth resistor R8, the ninth resistor R8, the eighth resistor R8, the ninth resistor R8, the eighth resistor R8, One ends of a seventh resistor R7 and a ninth resistor R9 are connected, a ninth resistor R9 is in key connection with L4, L8, L12 and L16, the other end of the ninth resistor R9 is connected with one ends of a sixth resistor R6, a seventh resistor R7 and an eighth resistor R8, and input ends 1, 2, 3, 4, 5, 6, 7 and 8 of the matrix keyboard input circuit 1 are respectively connected with output ends of J1, J2, J3, J4, J5, J6, J7 and J8 of the MSP430F239-1 single chip microcomputer.

As shown in fig. 10, the input circuit 2 of the matrix keyboard includes a second resistor R2, a third resistor R3, a fourth resistor R4, a fifth resistor R5, S1, S2, S3, S4, S5, S6, S7, S8, G8, S8, and S8, where the keys from top to bottom are respectively corresponding to the numbers 1, 2, 3, 4, 5, 6, 7, 8, 9, and the fixed function key G8, and the remaining keys are not used for identification, and therefore, one end of the second resistor R8S 8, and S8 is connected to one end of the first resistor R8, the fourth resistor R8, and the fifth resistor R8, the other end of the third resistor R8, S8 is connected to one end of the second resistor R8, S8, the second resistor R8, S8, the other end of the second resistor R8, S8, the second resistor R36, One ends of a third resistor R3 and a fifth resistor R5 are connected, the fifth resistor R5 is connected with S4, S8, S12 and S16 keys, the other end of the fifth resistor R5 is connected with one ends of a second resistor R2, a third resistor R3 and a fourth resistor R4, and input ends of a F1, a F2, a F3, a F4, a F5, a F6, a F7 and a F8 of the matrix keyboard input circuit 2 are respectively connected with output ends of a K1, a K2, a K3, a K4, a K5, a K6, a K7 and a K8 of an MSP430F239-2 singlechip.

As shown in fig. 11, the circuit of the alarm module includes a triode Q1, a twelfth resistor R12, a thirteenth resistor R13, and a buzzer, 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 of the twelfth resistor R13 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 MSP430F 249-1.

As shown in fig. 12, the circuit of the lock module includes an L298 motor driving chip and a dc motor, wherein input terminals of D1, D2, D3 and D4 of the L298 motor driving chip are connected with output terminals of J26, J27, J28 and J29 of the MSP430F249-1 single chip microcomputer, D5, D6, D7 and D8 of the L298 motor driving chip are connected with a power supply, ends of D9, D10 and D11 are connected with ground, and ends of D12, D13, D14 and D15 are connected with the dc motor.

21页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种综合能源计量数据的存储、访问、共享方法及系统

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!