A self-destruction control module based on GD32 single chip microcomputer
By designing a self-destruction control module based on GD32 microcontroller, the problem of high cost of automatic destruction of hard disk data and large dependence on imports is solved, and the hard disk data is lightweight, standardized and miniaturized, and the cost is reduced.
Patent Information
- Application Number
- CN202211077774.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-05
- Publication Date
- 2024-11-29
- Estimated Expiration
- 2042-09-05
AI Technical Summary
The automatic destruction method of existing hard disk data is costly and has a high dependence on imports.
A self-destruction control module based on GD32 microcontroller is designed, including GD32 microcontroller, switch input circuit, boost circuit, destruction output circuit, acousto-optical warning circuit and data loading module. The destruction output circuit is controlled through the GPIO interface to realize physical destruction and Data deletion function.
It realizes the lightweight, standardization and miniaturization of hard disk data. It adopts a low-power domestic GD32 microcontroller. Its functions can be upgraded, replaced, and expanded, reducing costs and reducing dependence on imports.
Smart Images

Figure CN115453932B_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of hard disk device self-destruction control modules, and in particular relates to a self-destruction control module based on a GD32 single-chip microcomputer. Background Art
[0002] With the rapid development of modern science and technology, both military fields such as aerospace, radar, and ships, as well as civilian fields, have put forward higher requirements for the data security of hard disks. In order to prevent the hard disk data of the device from being leaked or stolen under certain circumstances, a method of automatically destroying the hard disk data is proposed.
[0003] At present, the following methods are usually adopted for automatic destruction of hard disk data: using discrete electronic components for self-destruction; using dedicated IC circuits for self-destruction. The self-destruction method using discrete electronic components has problems such as large size and complex design; while the method using IC circuits has problems such as high cost and current high dependence on imports. In response to the above problems, a self-destruction control module based on the GD32 single-chip microcomputer was invented. While achieving lightweight, standardization, and miniaturization, it uses a low-power, domestically produced GD32 single-chip microcomputer to achieve upgradeable, replaceable, and expandable functions. Summary of the invention
[0004] The invention aims to solve the problems that the existing automatic destruction method of hard disk data is high in cost and currently relies heavily on imports.
[0005] In order to achieve the purpose of the present invention, the present invention provides a self-destruction control module based on a GD32 single-chip microcomputer, characterized in that it includes a GD32 single-chip microcomputer, a switch input circuit, a boost circuit, a destruction output circuit, an audible and visual warning circuit, and a data loading module, wherein the data loading module includes a multi-channel electronic disk; after the switch input circuit obtains a physical destruction signal or a data deletion signal, the signal is transmitted to the GD32 single-chip microcomputer; when the GD32 single-chip microcomputer receives the data deletion signal, the GD32 single-chip microcomputer processes the data deletion signal and then sends a data deletion instruction to the electronic disk on the data loading module through a GPIO interface; when the GD32 single-chip microcomputer receives a physical destruction signal, the GD32 single-chip microcomputer processes the physical destruction signal and then sends a physical destruction instruction to the destruction output circuit through the GPIO interface, and the boost circuit simultaneously boosts the destruction output circuit, and after receiving the physical destruction instruction, the destruction output circuit outputs a physical destruction current to the electronic disk on the data loading module.
[0006] Furthermore, the switch input circuit includes buttons and optocoupler devices; the buttons are respectively a physical destruction button and a data deletion button, and the two buttons are isolated from the GD32 microcontroller by optocouplers; when the GD32 microcontroller obtains the signal status of the physical destruction button and the data deletion button, no voltage is taken, ensuring that when the external input voltage is abnormal, the GD32 microcontroller will not be damaged.
[0007] Furthermore, the boost circuit uses a DC-DC module that boosts 12V to 28V, which can convert the 12V power supply of the destruction output circuit into a 28V / 6A power signal required for physical destruction.
[0008] Furthermore, the GD32 single-chip microcomputer controls the destruction output circuit through the GPIO interface. The destruction output circuit includes a driving circuit composed of a bus buffer gate circuit and a power PMOS tube; the GPIO interface of the GD32 single-chip microcomputer is connected to the driving circuit of the destruction output circuit, and the driving circuit is connected to the base of the power PMOS tube; when it is turned on, the GD32 single-chip microcomputer provides a 28V / 6A physical destruction power signal to the electronic disk on the data loading module through the destruction output circuit one by one; the ID rated current of the power PMOS tube of the destruction output circuit is up to 11A, which can safely output the destruction current.
[0009] Furthermore, when the physical destruction or data deletion signal issued by the GD32 microcontroller is valid for more than 10 seconds, it will enter a waiting for confirmation state, which lasts for 8 seconds. If the user does not cancel the physical destruction or data deletion signal within 8 seconds, the power PMOS tube or GPIO will output a physical destruction power signal or a data deletion power signal to start destroying or deleting data.
[0010] Furthermore, in order to avoid accidental deletion and let the user know the progress of deletion, the GD32 single-chip microcomputer is connected with an audible and visual warning circuit; the audible and visual warning circuit includes two parts, one is the buzzer alarm circuit, and the other is the LED light prompt circuit; after receiving the destruction or deletion signal, the buzzer alarm is immediately enabled and maintained for 8 seconds waiting for the operator to confirm; during the 8 seconds of waiting for confirmation, the buzzer beeps faster; after the destruction or deletion is officially started, the buzzer keeps sounding until the physical destruction or data deletion process of all channels of the electronic disk is completed; the LED light prompt circuit is equipped with a total of 16 LED lights, which correspond to the 16 channels of the electronic disk on the data loading module; after receiving the destruction or deletion signal, all LED lights start to flash; during the 8 seconds of waiting for confirmation, the LED light flashes faster; after the destruction or deletion is officially started, the indicator light of the channel currently being destroyed or deleted flashes; the indicator light of the completed channel is always on, and the indicator light of the unfinished channel is off until the physical destruction or data deletion process of all channels is completed.
[0011] Furthermore, the GD32 microcontroller is provided with multiple expansion interfaces, which are used to connect the JTAG connector, FLASH chip, temperature detection chip through the IIC interface, CAN transceiver, RS232 serial port transceiver, and GPIO drive circuit; the JTAG connector is used to download programs and perform online debugging; the FLASH chip is used to store module status logs; the temperature detection chip through the IIC interface is used to detect the temperature of the entire self-destruction control module; the CAN transceiver is used to realize the function of CAN communication; the RS232 serial port transceiver is used for the debugging information printing serial port during the debugging phase; the GPIO drive circuit is used to realize the input signal detection of the key, the output of the physical destruction and data deletion power signal, and at the same time, the LED light is controlled by pulling up or down the GPIO.
[0012] Compared with the prior art, the significant improvements of the present invention are: 1) using a single-chip microcomputer as a processor has fast response, low power consumption and high cost performance; 2) the circuit design process fully considers the module security, and the software design takes into account problems such as accidental deletion, thereby achieving the safety and reliability of the module, and the module circuit design realizes the upgradeability, replaceability and extensibility of the function; 3) the overall module is lightweight, standardized and highly integrated; 4) the overall module uses domestically produced components.
[0013] In order to more clearly illustrate the functional characteristics and structural parameters of the present invention, further description is given below in conjunction with the accompanying drawings and specific implementation methods. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:
[0015] Figure 1 Design diagram for the hardware interface of the self-destruct control module;
[0016] Figure 2 This is a functional diagram of the self-destruct control module. DETAILED DESCRIPTION
[0017] The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments; based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0018] like Figure 1As shown, in this embodiment, the GD32 single-chip microcomputer model is CS32F103 (MCU), which is equipped with two IIC interfaces, one debugging RS232 serial port, two reserved CAN interfaces, one JTAG program download interface, 32 GPIO power outputs, 2 GPIO key detections, and 32 LED lights. The two IIC interfaces are connected to the temperature sensor and EEPROM respectively. The temperature sensor is used to obtain the temperature of the self-destruction control module itself and the ambient temperature. The EEPROM is used to read and write status logs, store module information and other functions; the LED lights (1+32) are respectively 1 heartbeat indicator light, which flashes with a cycle of 0.25 seconds, indicating that the module is working normally, 16 electronic disk physical destruction status indicators and 16 electronic disk data deletion status indicators. In order to meet most application requirements and give full play to the advantages of the number of MCU ports, the self-destruction module adopts 32 relay outputs, corresponding to 16 physical destruction and data deletion respectively. 32-channel current detection is adopted. Since GD32F103 (MCU) does not have so many ADCs, a multiplexing method is adopted. The basic principle of the multiplexer is 4-channel 2-choose-1, that is, every 2 analog voltage inputs (from current monitoring) correspond to 1 analog voltage output (sent to the ADC port of the MCU), and the MCU controls the two outputs in turn.
[0019] The driving circuit is the driving circuit of the relay. Because the driving capability of the MCU port is limited, the driving circuit is required to drive the relay to close or open. In addition, when the driving circuit generates reverse high voltage at the moment of relay circuit disconnection, it can be released through the freewheeling diode to avoid damage to the MCU port. The current detection principle is to use a differential amplifier circuit to convert the output current signal into a voltage signal acceptable to the MCU port through a high-power sampling resistor. Since the voltage and current signals are in a linear correspondence, the current value can be inferred from the voltage signal.
[0020] Specifically, in this embodiment, the GD32 single-chip microcomputer structure is required to be a single board, and the printed board appearance is a standard 6U CPEX board size. The height of the components on the front of the printed board is not more than 12.7mm, the thickness of the printed board is 1.6±0.16mm, and the height of the components on the back of the printed board is not more than 2mm.
[0021] like Figure 2As shown, in this embodiment, the model of the GD32 microcontroller is CS32F103 (MCU). After the switch input circuit obtains the physical destruction signal or the data deletion signal, it transmits the signal to the CS32F103 (MCU); when the GD32 microcontroller receives the data deletion signal, the GD32 microcontroller processes the data deletion signal and sends a data deletion instruction to the 16-way electronic disk on the data loading module through the GPIO interface; when the GD32 microcontroller receives the physical destruction signal, the GD32 microcontroller processes the physical destruction signal and sends a physical destruction instruction to the destruction output circuit through the GPIO interface, and the boost circuit boosts the destruction output circuit at the same time. After receiving the physical destruction instruction, the destruction output circuit outputs a physical destruction current to the 16-way electronic disk on the data loading module.
[0022] Specifically, in this embodiment, the switch input circuit includes a button and an optocoupler device; the buttons are a physical destruction button and a data deletion button, respectively, and the two buttons are isolated from the GD32 microcontroller by an optocoupler; when the GD32 microcontroller obtains the signal status of the physical destruction button and the data deletion button, no voltage is taken, ensuring that when the external input voltage is abnormal, the GD32 microcontroller will not be damaged.
[0023] Specifically, in this embodiment, the boost circuit uses a DC-DC module that boosts 12V to 28V, which can convert the 12V power supply of the destruction output circuit into a 28V / 6A power signal required for physical destruction.
[0024] Specifically, in this embodiment, the GD32 single-chip microcomputer controls the destruction output circuit through the GPIO interface. The destruction output circuit includes a drive circuit and a power PMOS tube composed of a bus buffer gate circuit; the GPIO interface of the GD32 single-chip microcomputer is connected to the drive circuit of the destruction output circuit, and the drive circuit is connected to the base of the power PMOS tube; when it is turned on, the GD32 single-chip microcomputer provides a physical destruction power signal of 28V / 6A to the electronic disk on the data loading module through the destruction output circuit one by one; the ID rated current of the power PMOS tube of the destruction output circuit is up to 11A, which can safely output the destruction current.
[0025] Specifically, in this embodiment, when the physical destruction or data deletion signal issued by the GD32 microcontroller is valid for more than 10 seconds, it will enter a waiting for confirmation state. The waiting for confirmation state lasts for 8 seconds. If the user does not cancel the physical destruction or data deletion signal within 8 seconds, the power PMOS tube or GPIO outputs a physical destruction power signal or a data deletion power signal to start destroying or deleting data.
[0026] Specifically, in this embodiment, in order to avoid accidental deletion and let the user know the progress of deletion, the GD32 single-chip microcomputer is connected to an audible and visual warning circuit; the audible and visual warning circuit includes two parts, one is a buzzer alarm circuit, and the other is an LED light prompt circuit; after receiving the destruction or deletion signal, the buzzer alarm is immediately enabled and maintained for 8 seconds to wait for the operator to confirm; during the 8 seconds of waiting for confirmation, the buzzer beeps faster; after the destruction or deletion is officially started, the buzzer keeps sounding until the physical destruction or data deletion process of all channels of the electronic disk is completed; the LED light prompt circuit is provided with a total of 16 LED lights, which correspond to the 16 channels of the electronic disk on the data loading module; after receiving the destruction or deletion signal, all LED lights start to flash; during the 8 seconds of waiting for confirmation, the LED light flashes faster; after the destruction or deletion is officially started, the indicator light of the channel currently being destroyed or deleted flashes; the indicator light of the completed channel is always on, and the indicator light of the unfinished channel is off until the physical destruction or data deletion process of all channels is completed.
[0027] The specific working process of the present invention is as follows: GD32 single chip microcomputer, switch input circuit, boost circuit, destruction output circuit, sound and light warning circuit, data loading module
[0028] The GD32 MCU receives a physical destruction or data deletion signal from an external button. If the switch signals of the two inputs are continuously input for not less than 10S, it is considered that a valid physical destruction or data deletion signal has been received.
[0029] After receiving the data deletion signal and keeping it unchanged for 8 seconds, the GD32 MCU GPIO corresponding to the 16 data deletion channels simultaneously output the deletion signal and keep it at a high level for 30 seconds. After completion, the level is pulled low. If the data is physically destroyed or the deletion input signal is revoked within these 8 seconds, the deletion signal is considered invalid.
[0030] After receiving the physical destruction signal and keeping it unchanged for 8 seconds, the +12V provided by the microcontroller baseboard is converted to +28V through the boost circuit, and then transmitted to the 16 destruction GPIOs corresponding to the GD32 microcontroller in time-sharing, and the 28V / 6A destruction signal is pulled up and output in sequence. The output time of each channel is 10 seconds. After completion, the level is pulled down, and the next output along the edge starts to pull up, and then pulls down after 10 seconds, and then outputs the next channel, and so on, until all 16 operations are completed. After completion, all 16 channels are pulled down. If the physical destruction or deletion data input signal is revoked within these 8 seconds, the output of +28V or GPIO will stop.
[0031] When the data delete button is pressed, the buzzer starts to sound at 0.5 seconds and 0.5 seconds of silence, reminding the user that data deletion is about to begin. It will sound for 8 seconds, and then stop sounding after the deletion operation. After the deletion operation reaches 30 seconds, it will sound for one second and then remain silent. When the physical destruction button is pressed, the buzzer starts to sound at 0.25 seconds and 0.25 seconds of silence, reminding the user that physical destruction is about to begin. It will sound for 8 seconds, and then stop sounding after the destruction operation. After all 16 channels of destruction are completed, it will sound for one second and then remain silent. If the physical destruction or data deletion input signal is cancelled within these 8 seconds, the buzzer stops sounding.
[0032] Each LED light corresponds to the data to be deleted or destroyed on the electronic disk. If the data deletion input is received and remains unchanged for 8 seconds, all 16 LEDs will be prompted by cyclic lighting for 0.5 seconds and off for 0.5 seconds. After completion, all LED lights will keep flashing until power is turned off. If the physical destruction input is received and remains unchanged for 8 seconds, the data currently being deleted will be prompted by cyclic lighting for 0.25 seconds and off for 0.25 seconds. After completion, all LED lights will keep flashing until power is turned off.
[0033] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.
[0034] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.
Claims
1. A self-destruction control module based on GD32 single-chip microcomputer, characterized in that: It includes a GD32 single-chip microcomputer, a switch input circuit, a boost circuit, a destruction output circuit, an audible and visual warning circuit, and a data loading module, wherein the data loading module includes a multi-channel electronic disk; after the switch input circuit obtains a physical destruction signal or a data deletion signal, the signal is transmitted to the GD32 single-chip microcomputer; when the GD32 single-chip microcomputer receives a data deletion signal, the GD32 single-chip microcomputer processes the data deletion signal and then sends a data deletion instruction to the electronic disk on the data loading module through the GPIO interface; when the GD32 single-chip microcomputer receives a physical destruction signal, the GD32 single-chip microcomputer processes the physical destruction signal and then sends a physical destruction instruction to the destruction output circuit through the GPIO interface, and the boost circuit boosts the destruction output circuit at the same time, and after receiving the physical destruction instruction, the destruction output circuit outputs a physical destruction current to the electronic disk on the data loading module; The GD32 single-chip microcomputer controls the destruction output circuit through the GPIO interface, and the destruction output circuit includes a drive circuit and a power PMOS tube composed of a bus buffer gate circuit; the GPIO interface of the GD32 single-chip microcomputer is connected to the drive circuit of the destruction output circuit, and the drive circuit is connected to the base of the power PMOS tube; when it is turned on, the GD32 single-chip microcomputer provides a 28V / 6A physical destruction power signal to the electronic disk on the data loading module through the destruction output circuit one by one; the ID rated current of the power PMOS tube of the destruction output circuit is up to 11A, and it can safely output the destruction current; When the physical destruction or data deletion signal sent by the GD32 MCU is valid for more than 10 seconds, it will enter the waiting confirmation state, which lasts for 8 seconds. If the user does not cancel the physical destruction or data deletion signal within 8 seconds, the power PMOS tube or GPIO will output the physical destruction power signal or data deletion power signal to start destroying or deleting data; In order to avoid accidental deletion and let the user know the progress of deletion, the GD32 single-chip microcomputer is connected with an audible and visual warning circuit; the audible and visual warning circuit includes two parts, one is a buzzer alarm circuit, and the other is an LED light prompt circuit; after receiving the destruction or deletion signal, the buzzer alarm is immediately enabled and maintained for 8 seconds to wait for the operator to confirm; during the 8 seconds of waiting for confirmation, the buzzer beeps faster; after the formal destruction or deletion begins, the buzzer keeps sounding until the physical destruction or data deletion process of all channels of the electronic disk is completed; the LED light prompt circuit is equipped with a total of 16 LED lights, which correspond to the 16 channels of the electronic disk on the data loading module; after receiving the destruction or deletion signal, all LED lights start to flash; during the 8 seconds of waiting for confirmation, the LED light flashes faster; after the formal destruction or deletion begins, the indicator light of the channel currently being destroyed or deleted flashes; the indicator light of the completed channel is always on, and the indicator light of the unfinished channel is off until the physical destruction or data deletion process of all channels is completed.
2. According to claim 1, a self-destruction control module based on a GD32 single-chip microcomputer is characterized in that: The switch input circuit includes a button and an optocoupler device; the buttons are a physical destruction button and a data deletion button respectively, and the two buttons are isolated from the GD32 microcontroller by an optocoupler; when the GD32 microcontroller obtains the signal status of the physical destruction button and the data deletion button, no voltage is taken, ensuring that when the external input voltage is abnormal, the GD32 microcontroller will not be damaged.
3. The self-destruction control module based on the GD32 single-chip microcomputer according to claim 1, characterized in that: The boost circuit uses a DC-DC module that boosts 12V to 28V, and can convert the 12V power supply of the destruction output circuit into a 28V / 6A power signal required for physical destruction.
4. The self-destruction control module based on the GD32 single-chip microcomputer according to claim 1 is characterized in that: The GD32 single-chip microcomputer is provided with multiple expansion interfaces, which are used to connect the JTAG connector, FLASH chip, temperature detection chip through the IIC interface, CAN transceiver, RS232 serial port transceiver, and GPIO drive circuit; the JTAG connector is used to download programs and perform online debugging; the FLASH chip is used to store module status logs; the temperature detection chip through the IIC interface is used to detect the temperature of the entire self-destruction control module; the CAN transceiver is used to realize the function of CAN communication; the RS232 serial port transceiver is used for the debugging information printing serial port during the debugging stage; the GPIO drive circuit is used to realize the input signal detection of the key, the output of the physical destruction and data deletion power signal, and at the same time, the control of the LED light is realized by pulling up or down the GPIO.
Citation Information
Patent Citations
A high-reliability universal solid state disk rapid physical destruction circuit and method
CN109670348A
Anti-disassembly system for security computer
CN110704878A
Information technology consultation terminal based on big data analysis
CN114780935A
Airborne data destruction device
CN211016515U
Communication system, communication terminal used therefor, authentication information management method, authentication information management program, and storage medium storing authentication information management program
JP2006031097A
