Disclosure of Invention
In view of the above situation, an object of the present invention is to provide a data management system based on a block chain, which effectively solves the problem that the prior art still receives many interference signals or has a high error rate due to the adoption of a preset precision.
The technical scheme for solving the problem is that the system comprises a block chain server, a flow signal processing circuit and a safety level control circuit, and is characterized in that the flow signal processing circuit receives a detected flow signal when the block chain server operates, one path of the flow signal is subjected to low-pass filtering and voltage stabilization after being subjected to high-pass filtering and then is added to an emitter of a triode Q2, the other path of the flow signal is subjected to hysteresis comparison and latching and then is switched on by a trigger triode Q5, so that a triode Q2 is triggered to be switched on, the voltage of a collector of a triode Q2 is divided into two paths, one path of the collector is directly added to one end of a primary coil of a transformer T1, the other path of the collector drives a triode Q6 through an integrator and is added to the other end of the primary coil of a transformer T1, the boosted voltage of the transformer T1 is rectified by a diode D4 and then is output to the safety level control circuit, and then is subjected to reverse breakdown through a voltage stabilizing tube Z3, a photoelectric coupler U865 And (3) calculating the difference signal to be used as a safety level control signal of the block chain server, meanwhile, detecting a misuse signal, conducting the triode Q7, delaying the conduction of the triode Q8, enabling the flow signal not to be used as a safety level control signal, and enabling +5V to be used as a safety level control signal of the block chain server, so that the safety level of the block chain server is adjusted to be the highest.
The invention has the beneficial effects that: the flow signal when the detected block chain server operates is subjected to high-pass filtering, one path of the flow signal is subjected to low-pass filtering, voltage stabilization and reverse breakdown and then is added to an emitting electrode of a triode Q2, the other path of the flow signal is subjected to hysteresis comparison and latch and then is switched on by a trigger triode Q5, further the trigger triode Q2 is switched on, the reliability of identifying the abnormal high flow signal is ensured through hysteresis comparison and voltage stabilizing tube reverse breakdown double judgment, the collector voltage of the triode Q2 is divided into two paths, one path of the collector voltage is directly added to one end of a primary coil of a transformer T1, the other path of the collector voltage is subjected to calculation of the change rate of voltage within a certain time (2S) through an integrator, the change rate drives a triode Q6 to be switched on and is provided to be added to the other end of the primary coil of the transformer T1, the transformer T1 is used for boosting, the boosted voltage is rectified by a diode D4, the accuracy of judging the abnormal high flow signal is improved;
when the flow signal is abnormally high for a long time, the voltage stabilizing tube Z3 is reversely broken down, the photoelectric coupler U1 isolates and transforms voltage, the emitter follower emitter is followed by the compensated high-flow signal which is accessed through the inverting input end of the operational amplifier AR3 and allows the block chain server to run, namely, the miss-reporting probability signal, to carry out subtraction operation to be used as the security level control signal of the block chain server, the block chain server sets the password complexity to make a defense decision, meanwhile, when the misuse signal is detected, the triode Q7 is conducted, the triode Q8 is conducted in a delayed way, the flow signal is not used as the security level control signal any more, the +5V is used as the security level control signal of the block chain server, the block chain server sets the password complexity to enable the security level of the block chain server to be adjusted to be the highest, the data security and transaction are balanced, and the information transmission delay is, The throughput is smaller.
Detailed Description
The foregoing and other technical matters, features and effects of the present invention will be apparent from the following detailed description of the embodiments, which is to be read in connection with the accompanying drawings to fig. 2. The structural contents mentioned in the following embodiments are all referred to the attached drawings of the specification.
Exemplary embodiments of the present invention will be described below with reference to the accompanying drawings.
A data management system based on a blockchain comprises a blockchain server, a flow signal processing circuit and a safety level control circuit, wherein the flow signal processing circuit receives a detected flow signal when the blockchain server operates, one path of the flow signal is subjected to low-pass filtering, voltage stabilization and reverse breakdown after high-pass filtering and then is added to an emitter of a triode Q2, the other path of the flow signal is subjected to hysteresis comparison and latching and then is used for triggering the conduction of a triode Q5, and further triggering the conduction of a triode Q2, so that the signal abnormity, namely the abnormity caused by errors of the received signal due to the fact that the flow signal is really abnormal or the flow signal is coupled by random interference is sent to a post-stage circuit for analysis and judgment to avoid the possibility of missing judgment, the high reliability of the flow signal identification is ensured through hysteresis comparison and the reverse breakdown of a voltage stabilizing tube, the collector voltage of the triode Q2 is divided into two paths, and one, the other path of the voltage is calculated by an integrator within a certain time (2S), the change rate is not negative, namely is more than or equal to zero, under the action of a pull-up resistor R12, a triode Q6 is driven to be conducted, the ground is provided to be added to the other end of a primary coil of a transformer T1, the transformer T1 is boosted, the boosted voltage is rectified by a diode D4 and then output to a safety level control circuit, the integrator is used as a switch to eliminate the possibility of misjudging the abnormal high of a flow signal caused by the abnormal instantaneous flow or interference signals, so as to improve the accuracy of judging the abnormal high of the flow signal, when the flow signal is abnormally high (at the moment, the transformer outputs the flow signal within a certain time, when the abnormal high of the flow signal within a long time, namely the abnormal high of the flow signal caused by instantaneous and random interference is eliminated), a voltage stabilizing tube Z3 is reversely broken down, and a photoelectric coupler U1 isolates and, the emitter follower enters the non-inverting input end of an operational amplifier AR3 through a resistor R19, a high-flow signal, namely a false alarm probability signal, is subjected to subtraction operation after compensation is conducted on an inverted input end of an operational amplifier AR3 when the block chain server is allowed to run, the false alarm probability signal is set in advance by a user, the false alarm probability allowed by the block chain server when the block chain server is attacked and invaded is a percentage when the detected flow signal is abnormally high, the percentage is higher than the detected flow signal and is multiplied by a voltage signal +5V corresponding to the attacked and invaded and enters an analog multiplier U2, the multiplied voltage is provided after being divided by the resistor R14 and a resistor R16, the multiplied voltage is used as a security level control signal of the block chain server, the block chain server sets the password complexity according to the security level control signal, makes a defense decision, and meanwhile, a misuse signal is detected (namely when the attacked and the, specifically, the method can be given by detection of misuse intrusion detection method based on fuzzy Petri network), the triode Q7 is conducted, the triode Q8 is conducted in a delayed mode, the flow signal is no longer used as a security level control signal, the +5V is used as a security level control signal of the block chain server, the block chain server sets password complexity accordingly, the security level of the block chain server is adjusted to be the highest when the block chain server is attacked and invaded, and therefore the problems of data security and transaction balance, longer information transmission delay and smaller throughput are solved.
On the basis of the scheme, the flow signal processing circuit receives a detected flow signal when the blockchain server operates (namely, a detected network flow signal when the blockchain server operates, and also can be a blockchain server visit quantity signal, and the abnormal high flow rate of the two aspects can reflect that the blockchain server is attacked and invaded), one path of the flow signal is filtered by a high-pass filter consisting of an inductor L1 and a capacitor C1 and then filtered by an inductor L1 and a capacitor C1 low-pass filter, wherein the high-pass filter and the low-pass filter form a series L and C type band-pass filter, only the frequency component of the flow signal is allowed to pass, the pulsating component is filtered by a resistor R6 and a capacitor C5, the voltage is stabilized by a voltage stabilizing tube Z1, when the flow signal is abnormally high, the voltage stabilizing tube Z2 is added to an emitter of a triode Q2 through reverse breakdown, the other path of the flow signal is subjected to hysteresis comparison by a comparator consisting of a resistor R1, a resistor R, when the flow signal is abnormally high, the hysteresis comparator outputs high level, the high level is kept conducted within a certain time (6S) through a latched triode Q5 consisting of a triode Q3, a triode Q4, a resistor R3-a resistor R5 and a capacitor C5, and further a triode Q2 is conducted, so that the signal abnormality, namely the abnormality caused by the error of the received signal caused by the fact that the flow signal is really abnormal or the random interference coupling is sent to a rear-stage circuit for analysis and judgment to avoid the possibility of the missed judgment, the collector voltage of the triode Q2 is divided into two paths, one path is directly added to one end of a primary coil of the transformer T1, the other path is used for calculating the change rate of (2S) voltage within a certain time through an integrator consisting of an operational amplifier AR2, a resistor R8, a resistor R10 and a capacitor C6, the change rate is not negative and is larger than or equal to zero, due to the action of a pull-up resistor R12, the driving triode Q6 is conducted, the driving triode Q6 is provided to be added to the other end of a primary coil of a transformer T1 in a ground mode, the transformer T1 is boosted, the boosted voltage is rectified by a diode D4 and then output to a safety level control circuit, an integrator is used as a switch, the possibility that the flow signal is judged erroneously to be abnormally high due to instantaneous flow abnormality or interference signals is eliminated, and the accuracy of judging the abnormally high flow signal is improved. The anode of the voltage regulator tube Z2 is connected with one end of a resistor R7 and the emitter of a triode Q2, the inverting input end of an operational amplifier AR1 is connected with one end of a resistor R1, one end of a grounding resistor R2 and the emitter of a triode Q1, the other end of the resistor R1 and the collector of a triode Q1 are connected with +4.5V, the output end of an operational amplifier AR1 is connected with the base of a triode Q1 and one end of a resistor R3, the other end of the resistor R3 is connected with the emitter of a triode Q3, one end of a resistor R4 and one end of a capacitor C5, the base of the triode Q5 is connected with the other end of the resistor R5, the other end of the capacitor C5, one end of the resistor R5 and the collector of the triode Q5, the collector of the triode Q5 is connected with the base of the triode Q5, the emitter of the triode Q5 is connected with the ground, and the other end of the resistor R5 is connected with the base of the, the emitter of the triode Q5 is connected with the ground, the collector of the triode Q5 is connected with the base of the triode Q2 at the other end of the resistor R7, the collector of the triode Q2 is connected with one end of the resistor R8 and one end of the primary coil of the transformer T1, the other end of the resistor R8 is connected with the inverting input end of the operational amplifier AR2, one end of the resistor R10 and one end of the capacitor C6, the non-inverting input end of the operational amplifier AR2 is connected with the ground, the output end of the operational amplifier AR2 is connected with the other end of the resistor R10, the other end of the capacitor C6, one end of the resistor R12 and the base of the triode Q6, the collector of the triode Q6 and the negative electrode of the diode D5 are connected with the other end of the primary coil of the transformer T1, the emitter of the triode Q6 is connected with the ground through the resistor R11, the positive electrode, the cathode of the diode D4 is connected with the cathode of the voltage regulator tube Z3, and the other end of the secondary coil of the transformer T1 is connected with the ground.
On the basis of the scheme, the safety level control circuit receives the output signal of the flow signal processing circuit, when the flow signal is abnormally high (the transformer outputs a superposed signal of the flow signal within a certain time, and the flow signal is abnormally high for a long time, namely the flow signal caused by instantaneous and random interference is eliminated), the voltage stabilizing tube Z3 is reversely broken down, the photoelectric coupler U1 isolates and converts the voltage, the emitter follower emitter heel consisting of the triode Q8, the resistor R20 and the resistor R3 enters the non-inverting input end of the operational amplifier AR3 through the resistor R19, the high-flow signal, namely the missing report probability signal, which is compensated by the inverting input end of the operational amplifier AR3 and allows the block chain server to run is subjected to subtraction operation, wherein the missing report probability signal is set by a user in advance, and when the flow signal is detected to be abnormally high, the block chain server is attacked, The probability of false alarm that the invasion allows is a percentage, and is abnormally high with the detected flow signal, the voltage signal +5V corresponding to the attacked and invaded enters the analog multiplier U2 to multiply, the voltage is provided after dividing by the resistor R14 and the resistor R16 after the multiplication), as the security level control signal of the block chain server, the block chain server sets the password complexity accordingly, makes the defense decision, at the same time, the misuse signal is detected (namely, when the attacked and the invasion are judged, the misuse intrusion detection method based on the fuzzy Petri net can be used for detecting the misuse intrusion), the triode Q7 is conducted, the triode Q8 is conducted in a delayed way, the flow signal is no longer used as the security level control signal, +5V is used as the security level control signal of the block chain server, the block chain server sets the password complexity accordingly, the security level of the block chain server is adjusted to the highest, thereby balancing the data security and the transaction The problem of longer information transmission time delay and smaller throughput is solved, the device comprises a voltage regulator tube Z3, a triode Q7 and a triode Q8, the negative electrode of a voltage regulator tube Z3 is connected with the negative electrode of a diode D4, the positive electrode of a voltage regulator tube Z3 is respectively connected with the collector electrode of a triode Q7 and the pin 1 of a photoelectric coupler U1, the pin 2 and the pin 3 of a photoelectric coupler U1 are grounded, the emitter electrode of a triode Q7 is respectively connected with the emitter electrode of a triode Q8, one end of a grounded resistor R22, the positive electrode of a grounded electrolytic capacitor E2 and the positive electrode of a diode D2, the base electrode of a triode Q8 is respectively connected with one end of a resistor R21 and the positive electrode of a grounded electrolytic capacitor E1, the base electrode of a triode Q7 and the other end of a resistor R21 are connected with misuse signals, the pin 4 of a photoelectric coupler U1 is respectively connected with one end of a resistor R20 and the base electrode of a triode Q9, the collector electrode of a triode Q9 and the other end of a grounded resistor R, One end of a resistor R19, the other end of a resistor R19 is connected with the non-inverting input terminal of an operational amplifier AR3 and one end of a resistor R15, the inverting input terminal of the operational amplifier AR3 is respectively connected with one end of a grounding resistor R16 and one end of a resistor R14, the other end of the resistor R14 is connected with a pin 3 of a multiplier U2, a pin 2 of a multiplier U2 is connected with a false alarm probability signal, a pin 1 of the multiplier U2 is connected with +5V, the output end of the operational amplifier AR3 and the other end of the resistor R15 are connected with one end of a resistor R17, the other end of the resistor R17 is connected with the anode of a diode D1, and the cathode of the diode D1 and the cathode of the diode D2 are used as safety.
When the invention is used specifically, a flow signal processing circuit receives a detected flow signal when a block chain server runs, the detected flow signal is filtered by a high-pass filter, one path of the flow signal is filtered by a low-pass filter, wherein the high-pass filter and the low-pass filter form an L-parallel C-shaped band-pass filter, only frequency components of the flow signal are allowed to pass, a pulsating component is filtered by a resistor R6 and a capacitor C3, a voltage regulator tube Z1 is used for stabilizing voltage, when the flow signal is abnormally high, the voltage regulator tube Z2 which is subjected to reverse breakdown is added to an emitter of a triode Q2, the other path of the flow signal is subjected to hysteresis comparison by a hysteresis comparator, when the flow signal is abnormally high, the hysteresis comparator outputs a high level, the high level triggers the triode Q5 to be kept on for a certain time (6S) after being latched, and further triggers the conduction of the triode Q2 to ensure that the signal is abnormal, namely the flow, the voltage of a collector of a triode Q2 is divided into two paths, one path is directly added to one end of a primary coil of a transformer T1, the other path calculates the change rate of (2S) voltage within a certain time through an integrator, the change rate is not negative, namely is larger than or equal to zero, the triode Q6 is driven to be conducted under the action of a pull-up resistor R12 and is provided to the other end of the primary coil of the transformer T1, the transformer T1 carries out boosting, the boosted voltage is rectified through a diode D4 and then output to a safety level control circuit, the integrator is used as a switch, the possibility that the flow signal is judged by mistake due to instant flow abnormity or interference signals is eliminated, the accuracy of judging the abnormal high flow signal is improved, and when the flow signal is abnormally high, the voltage stabilizing tube Z3 is reversely broken down to achieve the purpose of further detection, the photoelectric coupler U1 is isolated, the emitter of the emitter follower is followed by entering an operational amplifier AR3 to perform subtraction operation with a compensated high-flow signal, namely a false alarm probability signal, when the block chain server is allowed to run, the high-flow signal is used as a security level control signal of the block chain server, the block chain server sets the password complexity accordingly to make a defense decision, meanwhile, a misuse signal is detected, the triode Q7 is conducted, the triode Q8 is conducted in a delayed mode, the flow signal is no longer used as the security level control signal, the +5V is used as the security level control signal of the block chain server, and the block chain server sets the password complexity accordingly to enable the security level of the block chain server to be adjusted to be the highest, so that the problems of data security and transaction balance, longer information transmission delay and smaller throughput are solved.