Data destruction circuit and method
By designing a data destruction circuit, using signal generation, conversion and control modules to determine the destruction key operation, the problem of data destruction caused by false triggering of hard disk destruction keys is solved, and data reliability is improved.
Patent Information
- Application Number
- CN202411656114.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-19
- Publication Date
- 2025-03-11
- Estimated Expiration
- 2044-11-19
AI Technical Summary
Hard disk destruction buttons are easily triggered by mistake, resulting in the misdestruction of hard disk data and permanent loss of important data.
A data destruction circuit is designed, including a signal generation module, a signal conversion module and a control module. By receiving and executing instructions and determining whether they are preset instructions, a destruction signal is generated to destroy hard disk data.
It effectively avoids the destruction of hard disk data caused by accidentally triggering the pin mother button, and improves the reliability of hard disk data storage.
Smart Images

Figure CN119598529A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data security technology, and in particular to a data destruction circuit and method. Background Art
[0002] In the digital age, the value of data is self-evident. Hard disks, as the core carrier for storing data, are even more important for data security. In order to avoid data leakage, destroying hard disk data has become a necessary means to protect data security. At the same time, it is equally important to prevent hard disk data from being destroyed by mistake. Once the data is destroyed by mistake, important data will be permanently lost. In order to prevent hard disk data from being destroyed by mistake, a destroy button is usually set on the hard disk, and a protective cover is set outside the destroy button to isolate it and prevent it from being triggered by mistake. However, once the protective cover is damaged, the destroy button is very likely to be triggered by mistake, destroying the data on the hard disk. Summary of the invention
[0003] In order to solve the problem that the hard disk destruction button is triggered by mistake, resulting in the destruction of hard disk data, this application provides the following technical solutions:
[0004] In a first aspect, a data destruction circuit is provided, comprising a signal generating module, a signal converting module and a control module;
[0005] The signal generating module is used to receive the execution instruction, convert the execution instruction into a first signal and a second signal, transmit the first signal to the signal converting module and the control module, and transmit the second signal to the signal converting module;
[0006] A signal conversion module, used for receiving and generating a logic signal according to the first signal and the second signal, and transmitting the logic signal to the control module;
[0007] The control module is used to receive and generate a destruction signal according to the first signal and the logic signal, so as to destroy the data stored in the hard disk to be destroyed which is connected to the control module.
[0008] Further, the signal generating module at least has: a first instruction transmission port, a second instruction transmission port and a third instruction transmission port;
[0009] The signal conversion module at least has: a channel selection port, a destroy instruction input port, a first output port and a second output port;
[0010] The control module at least has: a first input port, a second input port, a third input port and a destruction signal output port;
[0011] Among them, the first instruction transmission port and the third instruction transmission port are used to transmit the first signal, and the second instruction transmission port is used to transmit the second signal; the channel selection port is used to receive the first signal, and the destroy instruction input port is used to receive the second signal; the third input port is used to receive the first signal;
[0012] The first instruction transmission port is electrically connected to the channel selection port, and the second instruction transmission port is electrically connected to the destroy instruction input port;
[0013] The first output port is electrically connected to the first input port, and the second output port is electrically connected to the second input port;
[0014] The third command transmission port is electrically connected to the third input port;
[0015] The destruction signal output port is used to connect the hard disk to be destroyed;
[0016] The data destruction circuit is configured as follows: in response to the execution instruction received by the signal generation module being a preset instruction, the control module generates a destruction signal to destroy the data stored in the hard disk to be destroyed connected to the control module.
[0017] Further, the signal generating module includes: a destroy button, a variable resistor, a first resistor and a second resistor;
[0018] One end of the destroy button is electrically connected to one end of the variable resistor and one end of the first resistor to serve as a first instruction transmission port; one end of the destroy button is also used as a third instruction transmission port; the other end of the variable resistor is electrically connected to one end of the second resistor to serve as a second instruction transmission port;
[0019] The other end of the destroy button is connected to ground;
[0020] The other end of the first resistor is electrically connected to the other end of the second resistor and then connected to a power source.
[0021] Furthermore, the variable resistor is a positive temperature coefficient thermistor.
[0022] Further, the signal conversion module includes: a switch device, a third resistor and a fourth resistor;
[0023] The switch device at least has: a switch enable port, a switch input port, a first switch output port and a second switch output port;
[0024] The switch enable port is used as a channel selection port, the switch input port is used as a destroy instruction input port, the first switch output port is electrically connected to one end of the third resistor and serves as a first output port, and the second switch output port is electrically connected to one end of the fourth resistor and serves as a second output port;
[0025] The other end of the third resistor is connected to the power supply;
[0026] The other end of the fourth resistor is grounded.
[0027] Furthermore, the first input port, the second input port, the third input port and the kill signal output port are used to connect to a universal input / output bus.
[0028] Furthermore, the control module also has a first state output port and a second state output port, and the data destruction circuit also includes a state indication module;
[0029] The state indication module has a first state input port and a second state input port;
[0030] The first state output port is electrically connected to the first state input port, and the second state output port is electrically connected to the second state input port.
[0031] Further, the status indication module includes a first indicator light and a second indicator light;
[0032] The first indicator light receives a first lighting signal via a first state input port;
[0033] The second indicator light receives a second lighting signal through the second state input port.
[0034] In a second aspect, a data destruction method is provided. The data destruction method is applied to the data destruction circuit described in the first aspect, comprising:
[0035] The signal generating module receives the data execution instruction and determines whether the execution instruction is a preset instruction;
[0036] In response to the execution instruction being a preset instruction, the control module outputs a destruction signal to destroy the data stored in the hard disk to be destroyed that is connected to the control module.
[0037] Further, determining whether the executed instruction is a preset instruction includes:
[0038] In response to the destroy button being triggered for the first time, the length of time the destroy button remains in the triggered state is recorded;
[0039] In response to the duration of the destroy button maintaining the trigger state being within the first preset duration, the trigger state of the destroy button is cancelled, and the interval duration is recorded;
[0040] In response to the destroy button being triggered again within the second preset time period and maintaining the triggered state for more than a third preset time period, the execution instruction is determined to be a preset instruction.
[0041] Furthermore, the data destruction method also includes:
[0042] In response to the destroy button being triggered for the first time and maintaining the triggered state, a second lighting signal is generated;
[0043] In response to the triggering state of the destroy button being cancelled, interrupting the second lighting signal;
[0044] In response to the destroy button being triggered again and maintaining the triggered state for more than a third preset time period, a first lighting signal and a second lighting signal are generated.
[0045] The beneficial effect brought about by the technical solution provided in the embodiment of the present application is: by implementing the data destruction circuit and method disclosed in the present application, it is possible to respond to the preset destruction button operation mode and execute hard disk data destruction, thereby avoiding hard disk data destruction caused by mistakenly triggering the destruction button and improving the reliability of hard disk data storage. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0047] Figure 1 is a schematic diagram of a data destruction circuit module provided in an embodiment of the present application;
[0048] Figure 2 is a circuit diagram of a signal generating module provided in an embodiment of the present application;
[0049] Figure 3 is a circuit diagram of a signal conversion module provided in an embodiment of the present application;
[0050] Figure 4 This is a schematic diagram of a data destruction circuit connected to a hard disk provided in an embodiment of the present application;
[0051] Figure 5 This is another schematic diagram of a data destruction circuit provided in an embodiment of the present application;
[0052] Figure 6 It is a schematic diagram of another data destruction circuit connected to a hard disk provided in an embodiment of the present application;
[0053] Figure 7 It is a schematic diagram of the data destruction method provided in an embodiment of the present application. DETAILED DESCRIPTION
[0054] In order to make the purpose, technical solutions and advantages of this application clearer, the technical solutions in the implementation mode of this application will be clearly and completely described below in conjunction with the drawings in the implementation mode of this application. Obviously, the described implementation mode is only a part of the embodiments of this application, not all embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0055] Unless otherwise defined, the technical terms or scientific terms used in the present disclosure shall have the usual meanings understood by persons with ordinary skills in the field to which the present disclosure belongs. The words "first", "second" and similar words used in the present disclosure do not indicate any order, quantity or importance, but are only used to distinguish different components. Similarly, words such as "one", "one" or "the" do not indicate a quantity limitation, but indicate that there is at least one. The numbers in the drawings of the specification only indicate the distinction between various functional components or modules, and do not indicate the logical relationship between components or modules. Words such as "include" or "comprise" and similar words mean that the elements or objects appearing before the word include the elements or objects listed after the word and their equivalents, without excluding other elements or objects. Words such as "connect" or "connected" and similar words are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly.
[0056] Hereinafter, various embodiments according to the present disclosure will be described in detail with reference to the accompanying drawings. It should be noted that in the accompanying drawings, the same reference numerals are given to components having substantially the same or similar structures and functions, and repeated descriptions thereof will be omitted.
[0057] To address the problem of hard disk data being accidentally destroyed due to the hard disk destruction button being accidentally triggered, the present application provides the following embodiments.
[0058] In some embodiments, Figure 1 As shown, a data destruction circuit includes a signal generating module 100, a signal converting module 200 and a control module 300;
[0059] The signal generating module 100 is used to receive the execution instruction, convert the execution instruction into a first signal and a second signal, and transmit the first signal to the signal conversion module 200 and the control module 300, and transmit the second signal to the signal conversion module 200;
[0060] The signal conversion module 200 is used to receive and generate a logic signal according to the first signal and the second signal, and transmit the logic signal to the control module 300;
[0061] The control module 300 is used to receive and generate a destruction signal according to the first signal and the logic signal, so as to destroy the data stored in the hard disk to be destroyed which is connected to the control module.
[0062] Specifically, the first signal is transmitted to the channel selection port to control the output of the logic signal from the first output port or the second output port. Schematically, if the first signal is at a high level, the logic signal is output from the first output port; if the first signal is at a low level, the logic signal is output from the second output port.
[0063] The first signal is also transmitted to the third input port, so that the control module outputs the corresponding level state from the destruction signal output port according to the level state received by the first input port, the second input port and the third input port. The level state output by the destruction signal output port refers to the destruction signal truth table recorded in Table 1 below.
[0064] The second signal is transmitted to the destroy instruction input port. According to the level state of the first signal, the logic signal is outputted by the first output port or the second output port. The logic signal is generated according to the second signal. Preferably, the level state of the logic signal is the same as the level state of the second signal.
[0065] By implementing the data destruction circuit and method disclosed in the present application, it is possible to respond to the preset destruction button operation mode and execute hard disk data destruction, which can effectively avoid the destruction of hard disk data due to the false triggering of the destruction button and improve the reliability of hard disk data storage.
[0066] Figure 1 It further shows the connection relationship between the signal generation module 100, the signal conversion module 200 and the control module 300. Specifically, the signal generation module 100 has at least: a first instruction transmission port 101, a second instruction transmission port 102 and a third instruction transmission port 103;
[0067] The first instruction transmission port 101 and the third instruction transmission port 103 are used to transmit a first signal, and the second instruction transmission port 102 is used to transmit a second signal.
[0068] The signal conversion module 200 at least has: a channel selection port 201, a destroy instruction input port 202, a first output port 203 and a second output port 204;
[0069] The channel selection port 201 is used to receive a first signal, and the destroy instruction input port 202 is used to receive a second signal.
[0070] The control module 300 at least has: a first input port 301, a second input port 302, a third input port 303 and a destruction signal output port 304;
[0071] The third input port 303 is used to receive the first signal.
[0072] The first instruction transmission port 101 is electrically connected to the channel selection port 201 , and the second instruction transmission port 102 is electrically connected to the destroy instruction input port 202 ;
[0073] The first output port 203 is electrically connected to the first input port 301 , and the second output port 204 is electrically connected to the second input port 302 ;
[0074] The third command transmission port 103 is electrically connected to the third input port 303;
[0075] The data destruction circuit is configured as follows: in response to the execution instruction received by the signal generation module being a preset instruction, the control module generates a destruction signal to destroy the data stored in the hard disk to be destroyed connected to the control module.
[0076] like Figure 2 As shown, the signal generating module 100 includes: a destroy button K, a variable resistor R0, a first resistor R1 and a second resistor R2;
[0077] One end of the destroy button K is electrically connected to one end of the variable resistor R0 and one end of the first resistor R1, and serves as the first command transmission port 101; one end of the destroy button K also serves as the third command transmission port 103; the other end of the variable resistor R0 is electrically connected to one end of the second resistor R2, and serves as the second command transmission port 102;
[0078] The other end of the destroy button K is grounded;
[0079] The other end of the first resistor R1 is electrically connected to the other end of the second resistor R2 and then connected to a power source V CC .
[0080] The destroy button refers to a button that triggers a destroy signal. Preferably, the destroy button is a self-reset button. Figure 2 As shown, when the destroy button is not turned on, the level of the first instruction transmission port 101 is a high level; after the destroy button is turned on, the level of the first instruction transmission port 101 is a low level.
[0081] In order to ensure the normal function of the circuit, preferably, the variable resistor R0 is a positive temperature coefficient thermistor. The positive temperature coefficient thermistor is in a low resistance state under normal operating current. When the circuit is overcurrent or the ambient temperature rises, the polymer material inside the positive temperature coefficient thermistor will expand due to heat, causing the distance between the conductive particles to increase, and the resistance will rise sharply, which will play a role in current limiting and protect the circuit. After the circuit fault is eliminated, the positive temperature coefficient thermistor cools down and returns to a low resistance state, and the circuit resumes normal operation. The present application utilizes the temperature-resistance characteristics of the positive temperature coefficient thermistor for destruction, or identification and judgment of erroneous destruction actions. When the destroy button is turned on, a power supply V is formed at both ends of the variable resistor R0. CC Due to the voltage difference with ground, current flows through the variable resistor R0, causing its resistance to increase and eventually forming an open circuit.
[0082] The circuit functions and signal control logic will be described in detail below.
[0083] like Figure 3 As shown, the signal conversion module 200 includes: a switch device 210, a third resistor R3 and a fourth resistor R4;
[0084] The switch device 210 at least has: a switch enable port 211 , a switch input port 212 , a first switch output port 213 , and a second switch output port 214 ;
[0085] The switch enable port 211 is used as the channel selection port 201, the switch input port 212 is used as the destroy instruction input port 202, the first switch output port 213 is electrically connected to one end of the third resistor R3 and then serves as the first output port 203, and the second switch output port 214 is electrically connected to one end of the fourth resistor R4 and then serves as the second output port 204;
[0086] The other end of the third resistor R3 is connected to the power supply V CC ;
[0087] The other end of the fourth resistor R4 is grounded.
[0088] The switch device is a single-pole double-throw switch device that can select a switch path according to the high and low level states of the switch enable port signal, and realize the conversion of the output states of the first switch output port and the second switch output port.
[0089] Specifically, when the channel selection port 201 is at a high level, the first output port 203 outputs the signal of the destroy instruction input port 202 ; when the channel selection port 201 is at a low level, the second output port 204 outputs the signal of the destroy instruction input port 202 .
[0090] Combination Figure 4 As shown, the channel selection port 201 is pulled up to the power supply V through the first resistor R1.CC The initial state of the port is high level; the destroy instruction input port 202 is pulled up to the power supply V through the second resistor R2 CC The first output port 203 is pulled up to the power supply V through the third resistor R3. CC The potential of the port is initially at a high level; the second output port 204 is pulled down to ground through the fourth resistor R4, and the initial state of the port is at a low level.
[0091] Optionally, the control module may use a device with a signal conversion function such as a baseboard management controller (BMC) or a microcontroller unit (MCU) or a complex programmable logic device (CPLD) to convert the received signal into a destruction signal.
[0092] like Figure 4 As shown, the destruction signal output port 304 is used to connect the hard disk to be destroyed. Preferably, the hard disk to be destroyed is a soft destruction hard disk. A soft destruction hard disk refers to a hard disk that has the function of completely deleting the data on the hard disk through a software method. After soft destruction, the data on the hard disk cannot be recovered, and the hard disk can be reused after the data is destroyed.
[0093] The first input port 301, the second input port 302, the third input port 303 and the kill signal output port 304 are used to connect to a general-purpose input / output (GPIO) bus. The general-purpose input / output bus is used to connect the above ports, which is easy to implement in hardware.
[0094] When different pressing actions are performed on the destroy button, the data destroy circuit will generate the following logic signal transmission, as shown in Table 1.
[0095] 1. When the destroy button is not pressed, the channel selection port 201 is at a high level, the destroy instruction input port 202 is at a high level, the first output port 203 is at a high level, the second output port 204 is at a low level, and the third input port 303 is at a high level. In this state, the destroy signal output port 304 does not send a destroy signal to the hard disk to be destroyed.
[0096] 2. When the destroy button is pressed, the channel selection port 201 is at a low level, the destroy instruction input port 202 is at a low level, the first output port 203 is at a high level, the second output port 204 is at a low level, and the third input port 303 is at a low level. In this state, the destroy signal output port 304 does not send a destroy signal to the hard disk to be destroyed.
[0097] 3. When the destroy button is pressed and then released, two situations will occur: (1); (2)
[0098] The above two situations are explained separately:
[0099] (1) The temperature rise of the variable resistor R0 is not enough to increase the resistance of the variable resistor to the same level as the open circuit state, which means that the destroy button is released after being pressed for a short time (illustratively, within 1 second). At this time, the channel selection port 201 is at a high level, the destroy instruction input port 202 is at a high level, the first output port 203 is at a high level, the second output port 204 is at a low level, and the third input port 303 is at a high level. In this state, the destroy signal output port 304 does not send a destroy signal to the hard disk to be destroyed.
[0100] (2) The temperature rise of the variable resistor R0 is sufficient to increase the resistance of the variable resistor to the same level as the open circuit state, which means that the destroy button is released after being pressed for a long time (schematically, after being pressed for more than 1 second). At this time, the channel selection port 201 is at a high level, the destroy instruction input port 202 is at a high level, the first output port 203 is at a high level, the second output port 204 is at a low level, and the third input port 303 is at a high level. In this state, the destroy signal output port 304 does not send a destroy signal to the hard disk to be destroyed.
[0101] 4. Press and hold the destroy button, and the resistance of the variable resistor R0 will eventually rise to the level of an open circuit. At this time, the channel selection port 201 is at a low level, the destroy instruction input port 202 is at a high level, the first output port 203 is at a high level, the second output port 204 is at a high level, and the third input port 303 is at a low level. In this state, the destroy signal output port 304 sends a destroy signal to the hard disk to be destroyed.
[0102] Table 1 Destruction signal truth table
[0103]
[0104] 5. When the resistance of the variable resistor R0 has not returned to the resistance at room temperature, release the destruction button. At this time, the resistance of the variable resistor R0 is equivalent to the open circuit state, the channel selection port 201 is high level, the destruction instruction input port 202 is high level, the first output port 203 is high level, the second output port 204 is low level, and the third input port 303 is high level. In this state, the destruction signal output port 304 does not send a destruction signal to the hard disk to be destroyed.
[0105] 6. When the resistance of the variable resistor R0 returns to the resistance at room temperature, release the destroy button. At this time, the resistance of the variable resistor R0 is small, the channel selection port 201 is high level, the destroy instruction input port 202 is high level, the first output port 203 is high level, the second output port 204 is low level, and the third input port 303 is high level. In this state, the destroy signal output port 304 does not send a destroy signal to the hard disk to be destroyed.
[0106] Preferably, the destruction signal is triggered by a combination of "short press + long press". After a short press, the first output port 203 presents a high level, the second output port 204 presents a low level, and the third input port 303 presents a low level; after releasing, the first output port 203 presents a high level, the second output port 204 presents a low level, and the third input port 303 presents a high level; after a long press again, the first output port 203 presents a high level, the second output port 204 presents a high level, and the third input port presents a low level 303. At this time, a valid destruction signal is formed.
[0107] In other embodiments, Figure 5 As shown, the control module 300 further has a first state output port 305 and a second state output port 306, and the data destruction circuit further includes a state indication module 400;
[0108] The state indication module 400 has a first state input port 401 and a second state input port 402;
[0109] The first state output port 305 is electrically connected to the first state input port 401 , and the second state output port 306 is electrically connected to the second state input port 402 .
[0110] The status indication module 400 includes a first indicator light L1 and a second indicator light L2;
[0111] The first indicator light L1 receives a first lighting signal from the first state input port 401;
[0112] The second indicator light L2 receives the second lighting signal through the second state input port 402 .
[0113] Preferably, the first indicator light L1 and the second indicator light L2 are both LEDs.
[0114] The status indication module 400 will display corresponding light in coordination with the level status of the first input port 301 , the second input port 302 , and the third input port 303 , so as to identify whether the hard disk is in a data destruction state.
[0115] Specifically, Figure 6As shown, when the destruction signal output port 304 is connected to the hard disk to be destroyed, when the destruction button is not pressed, the channel selection port 201 is at a high level, the destruction instruction input port 202 is at a high level, the first output port 203 is at a high level, the second output port 204 is at a low level, and the third input port 303 is at a high level. In this state, the destruction signal output port 304 does not send a destruction signal to the hard disk to be destroyed. The first indicator light L1 is off, and the second indicator light L2 is off.
[0116] When the destroy button is pressed, the channel selection port 201 is at a low level, the destroy instruction input port 202 is at a low level, the first output port 203 is at a high level, the second output port 204 is at a low level, and the third input port 303 is at a low level. In this state, the destroy signal output port 304 does not send a destroy signal to the hard disk to be destroyed. The first indicator light L1 is off, and the second indicator light L2 is on.
[0117] When the destroy button is pressed and then released, the temperature rise of the variable resistor R0 is not enough to increase the resistance of the variable resistor to the same level as the open circuit state, which means that the destroy button is released after being pressed for a short time. At this time, the channel selection port 201 is at a high level, the destroy instruction input port 202 is at a high level, the first output port 203 is at a high level, the second output port 204 is at a low level, and the third input port 303 is at a high level. In this state, the destroy signal output port 304 does not send a destroy signal to the hard disk to be destroyed. The first indicator light L1 is off, and the second indicator light L2 is off.
[0118] When the destroy button is pressed and then released, the temperature rise of the variable resistor R0 is enough to increase the resistance of the variable resistor to the same level as the open circuit state, which means that the destroy button is released after being pressed for a long time. At this time, the channel selection port 201 is at a high level, the destroy instruction input port 202 is at a high level, the first output port 203 is at a high level, the second output port 204 is at a low level, and the third input port 303 is at a high level. In this state, the destroy signal output port 304 does not send a destroy signal to the hard disk to be destroyed. The first indicator light L1 is off, and the second indicator light L2 is off.
[0119] Long press the destroy button, and the resistance of the variable resistor R0 eventually rises to the level of an open circuit. At this time, the channel selection port 201 is at a low level, the destroy instruction input port 202 is at a high level, the first output port 203 is at a high level, the second output port 204 is at a high level, and the third input port 303 is at a low level. In this state, the destroy signal output port 304 sends a destroy signal to the hard disk to be destroyed. The first indicator light L1 is on, and the second indicator light L2 is on.
[0120] When the resistance of the variable resistor R0 has not returned to the resistance at room temperature, release the destroy button. At this time, the resistance of the variable resistor R0 is equivalent to the open circuit state, the channel selection port 201 is high level, the destroy instruction input port 202 is high level, the first output port 203 is high level, the second output port 204 is low level, and the third input port 303 is high level. In this state, the destroy signal output port 304 does not send a destroy signal to the hard disk to be destroyed. The first indicator light L1 is off, and the second indicator light L2 is off.
[0121] When the resistance of the variable resistor R0 returns to the resistance at room temperature, release the destroy button. At this time, the resistance of the variable resistor R0 is small, the channel selection port 201 is high level, the destroy instruction input port 202 is high level, the first output port 203 is high level, the second output port 204 is low level, and the third input port 303 is high level. In this state, the destroy signal output port 304 does not send a destroy signal to the hard disk to be destroyed. The first indicator light L1 is off, and the second indicator light L2 is off.
[0122] Preferably, the destruction signal is triggered by a combination of "short press + long press". After a short press, the first output port 203 presents a high level, the second output port 204 presents a low level, and the third input port 303 presents a low level. At this time, the first indicator light L1 is off and the second indicator light L2 is on; after releasing, the first output port 203 presents a high level, the second output port 204 presents a low level, and the third input port 303 presents a high level. At this time, the first indicator light L1 is off and the second indicator light L2 is off; after long press again, the first output port 203 presents a high level, the second output port 204 presents a high level, and the third input port presents a low level 303. At this time, a valid destruction signal is formed, and at this time, the first indicator light L1 is on and the second indicator light L2 is on.
[0123] Table 2 Indicator light truth table
[0124]
[0125] In other embodiments, Figure 7 As shown, a data destruction method is applied to the data destruction circuit described in the first aspect, comprising:
[0126] S100: The signal generating module receives a data execution instruction and determines whether the execution instruction is a preset instruction;
[0127] S200: In response to the execution instruction being a preset instruction, the control module outputs a destruction signal to destroy the data stored in the hard disk to be destroyed that is connected to the control module.
[0128] Specifically, determining whether the execution instruction is a preset instruction includes:
[0129] In response to the destroy button being triggered for the first time, the length of time the destroy button remains in the triggered state is recorded;
[0130] In response to the duration of the destroy button maintaining the trigger state being within the first preset duration, the trigger state of the destroy button is cancelled, and the interval duration is recorded;
[0131] In response to the destroy button being triggered again within the second preset time period and maintaining the triggered state for more than a third preset time period, the execution instruction is determined to be a preset instruction.
[0132] The first preset duration is used to determine whether the first triggering of the destroy button is a "short press". The first preset duration is usually set to 1 second. If the state of the destroy button is triggered for the first time and remains within 1 second, it is determined to be a short press.
[0133] The second preset time length is used to determine whether the interval between the first triggering and the second triggering of the destroy button constitutes a preset instruction. If the time interval between the first triggering and the second triggering of the destroy button is too long, it is determined not to be a preset instruction. The second preset time length is usually set to 1 second.
[0134] The third preset duration is used to determine whether the destroy button has reached the "long press" state, and is usually set to 1 second, that is, pressing the destroy button for more than 1 second is determined to be a "long press".
[0135] If the triggering method of the above preset instructions is not met, the destruction signal cannot be output.
[0136] Specifically, the data destruction method also includes:
[0137] In response to the destroy button being triggered for the first time and maintaining the triggered state, a second lighting signal is generated;
[0138] In response to the triggering state of the destroy button being cancelled, interrupting the second lighting signal;
[0139] In response to the destroy button being triggered again and maintaining the triggered state for more than a third preset time period, a first lighting signal and a second lighting signal are generated.
[0140] The first lighting signal is used to light up the first indicator light, and the second lighting signal is used to light up the second indicator light.
[0141] The changes in the brightness of the first indicator light and the second indicator light can indicate whether the hard disk is in a data destruction state.
[0142] It should be understood that although Figure 7The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 7 At least part of the steps may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least part of the sub-steps or stages of other steps.
[0143] By implementing the data destruction circuit and method disclosed in the embodiments of the present application, it is possible to respond to a preset destruction button operation mode and execute hard disk data destruction, thereby avoiding hard disk data destruction due to false triggering of the destruction button and improving the reliability of hard disk data storage; at least part of the ports of the control module are connected using a universal input and output bus, which is easy to implement in hardware; and an indicator light clearly displays whether the hard disk is in a data destruction state and whether the destruction button is falsely triggered.
[0144] All the above optional technical solutions can be arbitrarily combined to form optional embodiments of the present application, which will not be described one by one here.
[0145] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made to those skilled in the art without departing from the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of this application should be included in the scope of protection of this application. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may also include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
[0146] In particular, according to an embodiment of the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program loaded on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network via a communication device, or installed from a memory, or installed from a ROM. When the computer program is executed by an external processor, the above-mentioned functions defined in the method of the embodiment of the present application are executed.
[0147] It should be noted that the computer-readable medium of the embodiment of the present application may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In an embodiment of the present application, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In an embodiment of the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination of the above.
[0148] The computer-readable medium may be included in the server; or it may exist independently without being installed in the server. The computer-readable medium carries one or more programs. When the one or more programs are executed by the server, the server: in response to detecting that the peripheral mode of the terminal is not activated, obtains the frame rate of the application on the terminal; when the frame rate meets the screen-off condition, determines whether the user is obtaining the screen information of the terminal; in response to the judgment result that the user is not obtaining the screen information of the terminal, controls the screen to enter the immediate dimming mode.
[0149] Computer program code for performing the operation of the embodiments of the present application can be written in one or more programming languages or a combination thereof, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as an independent software package, partially on the user's computer, partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (e.g., using an Internet service provider to connect through the Internet).
[0150] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can refer to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system or system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can refer to the partial description of the method embodiment. The system and system embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without creative work.
[0151] The technical solution provided by the present application is described in detail above. The principle and implementation method of the present application are described in detail using specific examples. The description of the above embodiments is only used to help understand the method and core idea of the present application. At the same time, for those skilled in the art, according to the idea of the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as limiting the present application.
[0152] The above description is only a preferred embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application should be included in the protection scope of the present application.
Claims
1. Data destruction circuit, characterized in that: It includes a signal generating module, a signal converting module and a control module; The signal generating module is used to receive an execution instruction, convert the execution instruction into a first signal and a second signal, transmit the first signal to the signal conversion module and the control module, and transmit the second signal to the signal conversion module; The signal conversion module is used to receive and generate a logic signal according to the first signal and the second signal, and transmit the logic signal to the control module; The control module is used to receive and generate a destruction signal according to the first signal and the logic signal, so as to destroy the data stored in the hard disk to be destroyed which is connected to the control module.
2. The data destruction circuit according to claim 1, characterized in that: The signal generating module at least has: a first instruction transmission port, a second instruction transmission port and a third instruction transmission port; The signal conversion module at least has: a channel selection port, a destroy instruction input port, a first output port and a second output port; The control module at least has: a first input port, a second input port, a third input port and a destruction signal output port; The first instruction transmission port is electrically connected to the channel selection port, and the second instruction transmission port is electrically connected to the destroy instruction input port; The first output port is electrically connected to the first input port, and the second output port is electrically connected to the second input port; The third instruction transmission port is electrically connected to the third input port; The destruction signal output port is used to connect the hard disk to be destroyed; The data destruction circuit is configured to: in response to the execution instruction received by the signal generation module being a preset instruction, the control module generates a destruction signal to destroy the data stored in the hard disk to be destroyed connected to the control module; Among them, the first instruction transmission port and the third instruction transmission port are used to transmit the first signal, the second instruction transmission port is used to transmit the second signal, the channel selection port is used to receive the first signal, the destroy instruction input port is used to receive the second signal, and the third input port is used to receive the first signal.
3. The data destruction circuit according to claim 1 or 2, characterized in that: The signal generating module comprises: a destroy button, a variable resistor, a first resistor and a second resistor; One end of the destroy button is electrically connected to one end of the variable resistor and one end of the first resistor to serve as the first instruction transmission port; one end of the destroy button is also used as the third instruction transmission port; the other end of the variable resistor is electrically connected to one end of the second resistor to serve as the second instruction transmission port; The other end of the destroy button is grounded; The other end of the first resistor is electrically connected to the other end of the second resistor and then connected to a power source.
4. The data destruction circuit according to claim 3, characterized in that: The variable resistor is a positive temperature coefficient thermistor.
5. The data destruction circuit according to claim 1 or 2, characterized in that: The signal conversion module includes: a switch device, a third resistor and a fourth resistor; The switch device at least has: a switch enable port, a switch input port, a first switch output port and a second switch output port; The switch enable port serves as the channel selection port, the switch input port serves as the destroy instruction input port, the first switch output port is electrically connected to one end of the third resistor and serves as the first output port, and the second switch output port is electrically connected to one end of the fourth resistor and serves as the second output port; The other end of the third resistor is connected to a power supply; The other end of the fourth resistor is grounded.
6. The data destruction circuit according to claim 1 or 2, characterized in that: The control module also has a first state output port and a second state output port, and the data destruction circuit also includes a state indication module; The state indication module has a first state input port and a second state input port; The first state output port is electrically connected to the first state input port, and the second state output port is electrically connected to the second state input port.
7. The data destruction circuit according to claim 6, characterized in that: The status indication module includes a first indicator light and a second indicator light; The first indicator light receives a first lighting signal through the first status input port; The second indicator light receives a second lighting signal through the second state input port.
8. A data destruction method, characterized in that: The data destruction method is applied to the data destruction circuit according to any one of claims 1 to 7, comprising: The signal generating module receives the data execution instruction and determines whether the execution instruction is a preset instruction; In response to the execution instruction being the preset instruction, the control module outputs a destruction signal to destroy the data stored in the hard disk to be destroyed that is connected to the control module.
9. The data destruction method according to claim 8, characterized in that: The determining whether the execution instruction is a preset instruction includes: In response to the destroy button being triggered for the first time, recording the length of time the destroy button remains in the triggered state; In response to the duration of the destroy button maintaining the trigger state being within a first preset duration, the trigger state of the destroy button is cancelled, and the interval duration is recorded; In response to the interval time being within the second preset time, the destroy button is triggered again and the triggering state is maintained for more than a third preset time, the execution instruction is determined to be a preset instruction.
10. The data destruction method according to claim 9, characterized in that: The data destruction method further comprises: In response to the destroy button being triggered for the first time and maintaining the triggered state, a second lighting signal is generated; In response to the triggering state of the destroy button being cancelled, interrupting the second lighting signal; In response to the destroy button being triggered again and maintaining the triggered state for more than a third preset time period, a first lighting signal and a second lighting signal are generated.
Citation Information
Patent Citations
Solid state disc data destruction method, device and system
CN108009448A
Data destruction circuit
CN111143903A
Storage hard disk physical destruction device and method
CN116432253A
Power distribution system, control method and control device thereof and vehicle
CN117207904A
Physical destruction method, device and equipment for domestic M.2 electronic disk and medium
CN117744168A
Cited By
Circuit for preventing false triggering of hard disk soft destruction and control method thereof
CN120597342A
Circuit and control method for preventing accidental triggering of hard drive soft destruction
CN120597342B