A control device for quickly deleting a predetermined file and a control method thereof

By introducing a microcontroller module (MCU) and a USB switching chip into the computer, a control device is developed that enables the rapid and covert deletion of confidential files in the event of a hacker attack or malware intrusion. This solves the problem of computer data security protection and features modularity, covertness, flexibility, and reduced costs.

CN122111898APending Publication Date: 2026-05-29MELE TECH (SHENZHEN) CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
MELE TECH (SHENZHEN) CO LTD
Filing Date
2026-04-27
Publication Date
2026-05-29

AI Technical Summary

Technical Problem

When computers face hacker attacks and malware intrusions, existing technologies struggle to effectively protect data security by quickly and discreetly deleting confidential files to prevent leaks.

Method used

A control device for quickly deleting predetermined files is designed, including a host-side device and a defense elimination control-side device. It utilizes a microcontroller module (MCU), a USB switching chip, and an onboard USB memory to achieve bidirectional transmission of signals and commands through a standardized module interface. It triggers specific operations to switch the USB signal path and automatically execute the file deletion program, simulating the host shutdown or hibernation state.

Benefits of technology

It enables the rapid (within 5-10 seconds) deletion of specified files in emergency security scenarios, with the external manifestation being the host shutdown or hibernation, without affecting the normal use of peripherals. It features modularity, concealment, and flexibility, reducing costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122111898A_ABST
    Figure CN122111898A_ABST
Patent Text Reader

Abstract

The application discloses a control device for quickly deleting predetermined files and a control method thereof. The control device comprises a host side device and a defense elimination control side device. The host side device comprises a host mainboard CPU, and the defense elimination control side device comprises a micro control module MCU, a USB switching chip and an on-board USB memory. The defense elimination side device is connected to the host mainboard CPU of the host side device through a standardized module interface, and combines a BIOS / OS system configuration and a customized defense elimination program to realize a secret and quick specified file deletion operation in a sudden security scene. The operation is triggered by a specific instruction of a power-on key, and externally appears as a host power-off / sleep state. The whole process has no obvious operation trace, and is suitable for various computer use scenes requiring emergency elimination of confidential files, thereby avoiding the problem of low manual deletion efficiency in a sudden scene. The technical scheme of the application has the characteristics of modularity, secrecy, compatibility and flexibility.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of computer security technology, and specifically to a control device and method for quickly deleting predetermined files. Background Technology

[0002] With the rapid development of information technology, computers play a vital role in various fields, storing a large amount of important data, such as corporate trade secrets and users' personal information.

[0003] However, with the widespread use of the internet, computers face various security threats, such as hacker attacks, malware intrusions, and data breaches. Once data is stolen or tampered with, it can cause huge losses to businesses and users. Therefore, how to effectively protect the security of data on computers has become an urgent problem to be solved. Summary of the Invention

[0004] In view of this, it is necessary to provide a control device and control method for quickly deleting predetermined files to prevent the leakage of confidential files when subjected to hacker attacks or malware intrusion.

[0005] A control device for quickly deleting predetermined files, used for rapidly deleting specific files from a computer, includes a host-side device and a defense elimination control-side device. The host-side device includes a host motherboard CPU, and the defense elimination control-side device includes a microcontroller module (MCU), a USB switching chip, and an onboard USB memory. The host motherboard CPU has a standardized module interface, enabling bidirectional transmission of power on / off status signals, HDMI HPD signals, USB signals, and power on / off commands with the defense elimination control side device; The microcontroller module (MCU) is connected to the host motherboard CPU through the standardized module interface. It collects and identifies the pulse command of the power button to trigger specific operations: sending power on / off status light signal control commands and HDMI HPD signal control commands to the host motherboard CPU, sending USB signal emergency switching control commands to the USB switching chip, receiving power on / off status signals sent by the host motherboard CPU, and completing hardware reset. The USB switching chip is used for selecting and controlling the USB signal path. It receives the emergency switching control command of the USB signal from the microcontroller module (MCU) and realizes the switching between two path states: Path 1, in the normal state, connects the input terminal of the USB signal on the host motherboard CPU to the output terminal to ensure the normal use of peripherals; Path 2, when the defense elimination is triggered, the USB signal path is switched to connect the onboard USB memory to the host motherboard CPU, providing a hardware path for the execution of a specific file deletion program. The onboard USB storage device serves as a carrier and execution unit for a specific file deletion program. The specific file deletion program is pre-installed and automatically runs after establishing a connection with the host motherboard CPU. It performs preset functions such as deleting specific files and clearing browser traces. After the program finishes execution, it automatically controls the host to shut down or go into hibernation.

[0006] Preferably, the host motherboard CPU has BIOS / OS preset logic, which does not respond to low pulse signals of less than 1 second from the host power button, and mainly processes the hibernation command of pressing and holding the power button for 3 seconds and the shutdown command of pressing and holding the power button for 8 seconds. The power button on the host is used as a command input unit and is the physical trigger for the defense elimination function. By collecting the user's pressing operation and converting it into an electrical pulse signal, it simultaneously sends power-on / power-off commands to the host motherboard CPU and the microcontroller module MCU.

[0007] Preferably, the standardized module interface is used to enable bidirectional transmission of control signals, instruction execution results, and device status signals between the host motherboard CPU and the defense elimination control side device; The standardized module interface includes a power status output terminal POWER-STATE, a power on / off signal receiver POWER-ON-KEY, a power on / off status light control signal receiver POWER-LED, an HDMI HPD control signal receiver HDMI-HPD, a USB signal input terminal USB-P-IN / USB-N-IN, and a USB signal output terminal USB-P-OUT / USB-N-OUT.

[0008] Preferably, the microcontroller module (MCU) includes an HDMI HPD signal control unit, a motherboard status indicator control unit, and a USB emergency switching control unit; wherein, The motherboard status indicator control unit is used to control the on / off state of the motherboard status indicator. After the defense is triggered and eliminated, the power supply to the indicator is cut off, simulating the host entering a shutdown / sleep state. The USB emergency switching control unit is used to send control signals to the USB switching chip to realize the switching of USB signal paths; The HDMI HPD signal control unit is used to control the HPD signal level of the HDMI interface. After the defense is triggered and eliminated, the HPD signal level is pulled down to less than 0.8V, so that the motherboard determines that the display is disconnected and quickly shuts down the display output.

[0009] Preferably, the USB switching chip has a USB interface input terminal HSD2+ / HSD2- pin, a motherboard USB connection terminal D+ / D- pin, an onboard USB connection terminal HSD1+ / HSD1- pin, and a channel selection terminal S pin; wherein, The HSD2+ / HSD2- pins of the USB interface input terminal are connected to the designated USB interface; The motherboard's USB connector D+ / D- pins are connected to the host motherboard CPU's USB signal output terminals USB-P-OUT / USB-N-OUT. The onboard USB connector HSD1+ / HSD1- pins are connected to the USB signal output of the onboard USB memory. The channel selection terminal S pin is connected to the OSBSW-OE pin of the microcontroller module (MCU). When the OSBSW-OE pin of the MCU outputs a high level, the motherboard USB connection terminal D+ / D- is connected to the USB interface input terminal HSD2+ / HSD2-, that is, the USB signal output terminal USB-P-OUT / USB-N-OUT of the host motherboard CPU is connected to the designated USB interface. When the OSBSW-OE pin of the MCU outputs a low level, the onboard USB connection terminal HSD1+ / HSD1- is connected to the motherboard USB connection terminal D+ / D-, that is, the USB signal output terminal of the onboard USB memory is connected to the USB signal output terminal USB-P-OUT / USB-N-OUT of the host motherboard CPU.

[0010] Preferably, the onboard USB storage device has a built-in program for deleting specific files; the program has an auto-start function, capable of deleting specified folders or pre-defined files, eliminating browser operation traces, deleting custom search terms and related files, and sending a self-destruct boot command to a hard drive with self-destruct functionality; the program is granted system-level administrator privileges, enabling it to operate on system files, the registry, and hardware interfaces; the program must have built-in self-exit logic after execution, so that it does not require manual closure after deletion; after the deletion operation is completed, it can automatically send a shutdown / hibernation command to the host motherboard CPU.

[0011] Furthermore, a control method for a control device for quickly deleting predetermined files, used to implement the self-destruction function of predetermined files in a computer through the control device for quickly deleting predetermined files as described above, the specific steps of which include: Step 1, Hardware and software deployment and configuration: Connect the defense elimination control side device to the host motherboard CPU through a standardized module interface to achieve bidirectional communication between the host side device and the defense elimination control side device; and perform logical configuration of the power button of the motherboard BIOS / OS to complete the pre-installation of programs and permission settings of the onboard USB memory. Step 2, Normal Use Status; After the parameters are configured, the defense elimination control side device is in a low-power standby state. No additional operation is required. The device operates in the normal way. The USB signal output terminals USB-P-OUT / USB-N-OUT of the host motherboard CPU are connected to the designated USB interface. Step 3, Defense Elimination State Triggering and Execution: By inputting the preset trigger command through the power button, the microcontroller module (MCU) disguises the computer as being in hibernation mode, the USB signal channel automatically switches to the onboard USB storage, and the deletion program for specific files is automatically started and executed; Step 4: MCU hardware reset after file deletion; After receiving the power-off / sleep status signal sent by the host motherboard CPU, the microcontroller module (MCU) resets all hardware to its initial state.

[0012] Preferably, step one, the specific steps of software and hardware deployment and configuration, includes: Step 1.1: Connect the microcontroller module (MCU) to the standardized module interface of the host motherboard CPU, connect the USB switching chip to the standardized module interface of the host motherboard CPU and the microcontroller module (MCU), and connect the onboard USB memory to the USB switching chip. Step 1.2: Restart the host motherboard CPU. Press the shortcut key on the boot screen to enter the BIOS settings interface. In the BIOS power management / key settings option, configure the power button response logic as required: press and hold for 3 seconds to hibernate, press and hold for 8 seconds to shut down, and enable the function of no response to low pulse signals less than 1 second. Step 1.3: Write the predetermined defense elimination program to the onboard USB memory through the debugging interface, and ensure that the program has the self-start attribute and administrator privileges; Preferably, step three, the specific steps for triggering and executing the defense elimination state, include: Step 3.1, Triggering the defense elimination state; The defense elimination state is triggered through the predetermined power-on key response logic; Step 3.2: The host motherboard CPU is in a pseudo-shutdown / sleep state; the HDMI HPD signal transmitting end of the microcontroller module (MCU) sends an HPD low-level control signal to the host motherboard CPU via the HDMI interface, causing the display screen to be in a black screen state; the power on / off status light control signal transmitting end of the microcontroller module (MCU) sends an extinguish command to the host motherboard CPU to cut off the power supply to the host motherboard CPU's indicator lights. Step 3.3, USB signal path switching; the microcontroller module (MCU) sends a control signal to the USB switching chip to switch the USB signal path from the designated USB interface to the onboard USB memory and the host motherboard CPU, establishing a hardware path for the defense elimination program to run. Step 3.4, execution of the defense elimination program; after the onboard USB storage establishes a connection with the host motherboard CPU, the defense elimination program is automatically started to complete the deletion of specified files or folders and the cleaning of browser traces, without any screen display or system prompts throughout the process; Step 3.5, host shutdown / hibernation; after the defense elimination program is completed, control the host motherboard CPU to enter shutdown or hibernation state.

[0013] Preferably, step four, the specific steps of MCU hardware reset after file deletion, include: Step 4.1: The host status receiver of the microcontroller module (MCU) receives the operating status signal from the host motherboard CPU. Step 4.2: The HDMI HPD signal returns to a high level, and the monitor returns to normal connection status; Step 4.3: The motherboard status indicator lights return to normal logic, remaining off when the computer is off and flashing when the computer is in hibernation mode; Step 4.4: The USB switching chip returns to normal operation, the input signal of the motherboard's USB interface is switched to the output, and the designated USB interface can be used normally.

[0014] In the aforementioned control device and method for quickly deleting predetermined files, the defense elimination side device is connected to the host motherboard CPU of the host side device through a standardized module interface. Combined with BIOS / OS system configuration and a customized defense elimination program, it enables covert and rapid (5-10 seconds) deletion of specified files in emergency security scenarios. Triggered by a specific command from the power button, the external appearance is host shutdown / sleep mode, with no obvious operation traces throughout. It is suitable for various computer usage scenarios requiring emergency deletion of confidential files, avoiding the low efficiency of manual deletion in emergency situations. The technical solution of this invention features modularity, covertness, compatibility, and flexibility. Modularity: The motherboard only reserves standardized interfaces; modules are pluggable and can be removed when not needed to reduce costs, eliminating the need for separate motherboard development. Covertness: After triggering, the external appearance is host shutdown / sleep mode, while the actual defense elimination operation is completed in the background within 5-10 seconds. Compatibility: It does not affect the normal use of existing peripherals such as USB ports, HDMI ports, and the power button on the motherboard. Flexibility: The button trigger logic and defense elimination program functions can be customized according to user habits. The circuit structure of this invention is simple, easy to implement, low in cost, and easy to promote. Attached Figure Description

[0015] Figure 1 This is a structural block diagram of a control device for quickly deleting predetermined files according to an embodiment of the present invention.

[0016] Figure 2This is a circuit diagram of the standardized module interface of the host motherboard CPU of the control device for quickly deleting predetermined files according to an embodiment of the present invention.

[0017] Figure 3 This is a circuit diagram of the microcontroller module (MCU) of the control device for quickly deleting predetermined files according to an embodiment of the present invention.

[0018] Figure 4 This is a circuit diagram of the USB switching chip of the control device for quickly deleting predetermined files according to an embodiment of the present invention.

[0019] Figure 5 This is a circuit diagram of the onboard USB memory of the control device for quickly deleting predetermined files according to an embodiment of the present invention.

[0020] Figure 6 This is a flowchart of a control method for a control device for quickly deleting predetermined files according to an embodiment of the present invention. Detailed Implementation

[0021] This embodiment takes a control device and control method for quickly deleting a predetermined file as an example. The present invention will be described in detail below with reference to specific embodiments and accompanying drawings.

[0022] Please see Figure 1 This illustration shows a control device for quickly deleting predetermined files according to an embodiment of the present invention. It is used to quickly delete specific files from a computer and includes a host-side device and a defense elimination control-side device. The host-side device includes a host motherboard CPU, and the defense elimination control-side device includes a microcontroller module (MCU), a USB switching chip, and an onboard USB memory. The host motherboard CPU has a standardized module interface, enabling bidirectional transmission of power on / off status signals, HDMI HPD signals, USB signals, and power on / off commands with the defense elimination control side device; The microcontroller module (MCU) is connected to the host motherboard CPU through the standardized module interface. It collects and identifies the pulse command of the power button to trigger specific operations: sending power on / off status light signal control commands and HDMI HPD signal control commands to the host motherboard CPU, sending USB signal emergency switching control commands to the USB switching chip, receiving power on / off status signals sent by the host motherboard CPU, and completing hardware reset. The USB switching chip is used for selecting and controlling the USB signal path. It receives the emergency switching control command of the USB signal from the microcontroller module (MCU) and realizes the switching between two path states: Path 1, in the normal state, connects the input terminal of the USB signal on the host motherboard CPU to the output terminal to ensure the normal use of peripherals; Path 2, when the defense elimination is triggered, the USB signal path is switched to connect the onboard USB memory to the host motherboard CPU, providing a hardware path for the execution of a specific file deletion program. The onboard USB storage device serves as a carrier and execution unit for a specific file deletion program. The specific file deletion program is pre-installed and automatically runs after establishing a connection with the host motherboard CPU. It performs preset functions such as deleting specific files and clearing browser traces. After the program finishes execution, it automatically controls the host to shut down or go into hibernation.

[0023] Preferably, the host motherboard CPU has BIOS / OS preset logic, which does not respond to low pulse signals of less than 1 second from the host power button, and mainly processes the hibernation command of pressing and holding the power button for 3 seconds and the shutdown command of pressing and holding the power button for 8 seconds. The power button on the host is used as a command input unit and is the physical trigger for the defense elimination function. By collecting the user's pressing operation and converting it into an electrical pulse signal, it simultaneously sends power-on / power-off commands to the host motherboard CPU and the microcontroller module MCU.

[0024] Specifically, the power button command logic configuration of the motherboard BIOS / OS: Set a response threshold for the power button pulse signal so that the host motherboard CPU does not respond to short pulse signals of less than 1 second, and only the microcontroller module (MCU) recognizes the signal. The specific configuration requirements are as follows (the time can be customized; the following is the standard configuration): 1. In the power-on state: Press and hold for more than 3 seconds → system hibernation; press and hold for more than 8 seconds → system shutdown; low pulse signal of less than 1 second → no CPU response (core logic); 2. In power off / sleep mode: Maintain your usual usage habits, short press the power button → system power on / wake up (it is not recommended to change to long press to avoid conflict with usage habits); 3. Special Requirement Configuration (Not Recommended): If you need to enable this function when the device is off, you can configure the power button in the power off / sleep state as follows: long press → power on / wake up; <1 second low pulse → no response.

[0025] Preferably, please refer to Figure 2 The standardized module interface is used to enable bidirectional transmission of control signals, instruction execution results, and device status signals between the host motherboard CPU and the defense elimination control side device; The standardized module interface includes a power status output terminal POWER-STATE, a power on / off signal receiver POWER-ON-KEY, a power on / off status light control signal receiver POWER-LED, an HDMI HPD control signal receiver HDMI-HPD, a USB signal input terminal USB-P-IN / USB-N-IN, and a USB signal output terminal USB-P-OUT / USB-N-OUT.

[0026] Specifically, the connection relationship of each pin in the standardized module interface is as follows: The power status output terminal POWER-STATE is connected to the host power status receiver terminal of the microcontroller module MCU; The power-on / power-off signal receiving terminal POWER-ON-KEY is connected to the power-on / power-off signal transmitting terminal of the microcontroller module MCU; The power on / off status light control signal receiving terminal POWER-LED is connected to the power on / off status light control signal output pin of the microcontroller module MCU; The HDMI-HPD control signal receiver is connected to the HDMI-HPD control signal output pin of the microcontroller module (MCU). The USB signal output terminals USB-P-OUT / USB-N-OUT are connected to the motherboard USB connection terminal of the USB switching chip; The USB signal input terminals USB-P-IN / USB-N-IN are connected to the designated USB interface; When the defense elimination control device is not connected, the USB signal output terminals USB-P-OUT / USB-N-OUT and the USB signal input terminals USB-P-IN / USB-N-IN are connected through a 0-ohm resistor or a pin and a jumper to achieve a direct USB signal connection and ensure that the USB interface is used normally.

[0027] Specifically, the motherboard is the basic computing and peripheral interaction platform of the system. It has reserved standardized module interfaces for interfacing with the defense and elimination control side devices. All routine operations are led by the motherboard CPU, which only responds to instructions that conform to preset logic. The core components and signal functions are as follows: CPU: The core computing unit of the host motherboard, responsible for handling routine power-on / power-off, hibernation, peripheral connection, and other commands. According to the BIOS / OS preset logic, it does not respond to low pulse signals of less than 1 second for the power button, and only processes routine commands of pressing and holding for 3 seconds (hibernation) and pressing and holding for 8 seconds (power off). It is the key to realizing the separation and recognition of trigger commands.

[0028] Host power button: Command input unit, which collects the user's pressing operation and converts it into an electrical pulse signal. At the same time, it sends power-on / power-off commands to the host motherboard CPU and microcontroller module MCU. It is the physical trigger of the defense elimination function.

[0029] Motherboard status indicator: Working status feedback unit, receives power-on / power-off status light signals from the host motherboard CPU (normal) or microcontroller module MCU (triggered defense elimination state), and provides feedback on the host working status by lighting up / going out / flashing. When the defense elimination state is triggered, the microcontroller module MCU controls the light to turn off, simulating power-off / hibernation.

[0030] HDMI interface: Video signal transmission unit, responsible for transmitting HDMI signals (including the core HPD detection signal). The HPD signal is used to identify the connection status between the monitor and the motherboard. When the defense elimination state is triggered, the microcontroller module (MCU) pulls the signal low, causing the monitor to go black and have no input.

[0031] USB interface: Peripheral interaction unit, responsible for transmitting USB signals. Under normal conditions, it connects peripherals such as mice and keyboards. When the defense elimination state is triggered, the USB switching chip switches the USB signal path and establishes a connection with the onboard USB memory.

[0032] Standardized module interface: The signal exchange bridge between the main and side modules, enabling bidirectional transmission of power on / off status signals, power on / off commands, HDMI HPD signals, USB signals, and status light control signals from both sides. It is the core hardware interface of the modular design.

[0033] Power on / off status signal: The signal from the motherboard to the control module to report the host's working status. The microcontroller module (MCU) uses this signal to determine whether the host has completed power off / hibernate, serving as the basis for the completion of the defense elimination process and hardware reset.

[0034] Power on / off command: Generated by the power button on the host, it is synchronously sent to the host motherboard CPU and the microcontroller module (MCU) through the module interface, realizing simultaneous acquisition of button operations on both sides, providing a basis for the accurate recognition of the microcontroller module (MCU) even when the host motherboard CPU does not respond.

[0035] Specifically, in this embodiment, an HDMI interface is used between the display screen and the host motherboard CPU to achieve high-definition image transmission; in other embodiments, the video signal input interface between the display screen and the host motherboard CPU also includes a DP (Display Port) interface, a full-function / Thunderbolt interface (USB Type-C), a VGA (D-Sub) interface, or a DVI interface.

[0036] Preferably, please refer to Figure 3The microcontroller module (MCU) includes an HDMI HPD signal control unit, a motherboard status indicator control unit, and a USB emergency switching control unit; wherein, The motherboard status indicator control unit is used to control the on / off state of the motherboard status indicator. After the defense is triggered and eliminated, the power supply to the indicator is cut off, simulating the host entering a shutdown / sleep state. The USB emergency switching control unit is used to send control signals to the USB switching chip to realize the switching of USB signal paths; Specifically, the OSBSW-OE pin of the microcontroller module (MCU) is connected to the S pin of the USB switching chip to provide level control for the S pin of the USB switching chip, thereby completing the path switching of the USB signal between the motherboard USB connection terminal and the board USB connection terminal.

[0037] The HDMI HPD signal control unit is used to control the HPD signal level of the HDMI interface. After the defense is triggered and eliminated, the HPD signal level is pulled down to less than 0.8V, so that the motherboard determines that the display is disconnected and quickly shuts down the display output.

[0038] Specifically, the POWER-STATE pin of the microcontroller module (MCU) is used to receive the operating status signal of the host motherboard CPU; The POWER-ON-KEY pin of the microcontroller module (MCU) is used to send power-on / power-off commands to the CPU of the host motherboard. The POWER-LED pin of the microcontroller module (MCU) is used to send a command to the host motherboard CPU to turn the motherboard status indicator light on or off. The HDMI-HPD pin of the microcontroller module (MCU) is used to send HPD level control signals of the HDMI interface to the host motherboard CPU.

[0039] Preferably, please refer to Figure 4 The USB switching chip has a USB interface input terminal HSD2+ / HSD2- pin, a motherboard USB connection terminal D+ / D- pin, an onboard USB connection terminal HSD1+ / HSD1- pin, and a channel selection terminal S pin; wherein, The HSD2+ / HSD2- pins of the USB interface input terminal are connected to the designated USB interface; The motherboard's USB connector D+ / D- pins are connected to the host motherboard CPU's USB signal output terminals USB-P-OUT / USB-N-OUT. The onboard USB connector HSD1+ / HSD1- pins are connected to the USB signal output of the onboard USB memory. The channel selection terminal S pin is connected to the OSBSW-OE pin of the microcontroller module (MCU). When the OSBSW-OE pin of the MCU outputs a high level, the motherboard USB connection terminal D+ / D- is connected to the USB interface input terminal HSD2+ / HSD2-, that is, the USB signal output terminal USB-P-OUT / USB-N-OUT of the host motherboard CPU is connected to the designated USB interface. When the OSBSW-OE pin of the MCU outputs a low level, the onboard USB connection terminal HSD1+ / HSD1- is connected to the motherboard USB connection terminal D+ / D-, that is, the USB signal output terminal of the onboard USB memory is connected to the USB signal output terminal USB-P-OUT / USB-N-OUT of the host motherboard CPU.

[0040] Preferably, please refer to Figure 5 The onboard USB storage device has a built-in program for deleting specific files. The program has an auto-start function and can delete specified folders or pre-defined files, erase browser operation traces, delete custom search terms and related files, and send a self-destruct boot command to a hard drive with self-destruct function. The program is granted system-level administrator privileges and can operate on system files, the registry, and hardware interfaces. The program must have built-in self-exit logic after execution, so that it does not need to be manually closed after deletion. After the deletion operation is completed, it can automatically send a shutdown / hibernation command to the host motherboard CPU.

[0041] Specifically, the defense elimination control-side device is the core control and execution unit of the defense elimination function. It works independently of the host motherboard CPU, with the microcontroller module (MCU) as the control center. It works with the USB switching chip and onboard USB memory to complete path switching and program execution. The core components and signal functions are as follows: Microcontroller Unit (MCU): The core hub of the defense elimination control side device, it is the overall control unit of the entire defense elimination process. Its functions include: acquiring the pulse command of the power button and identifying specific trigger operations; sending power on / off status light signal control, emergency USB switching control, and HDMI HPD signal control commands to each unit; receiving the power on / off status signal from the motherboard, judging the process, and completing the hardware reset; and working independently throughout the process without relying on the host motherboard CPU.

[0042] USB switching chip: The selection and control unit for the USB signal path receives the emergency USB switching control signal from the microcontroller module (MCU) and realizes the switching between two path states: In the normal state, it switches the motherboard USB signal input to the output to ensure the normal use of peripherals; during defense elimination, it switches the USB signal path to the onboard USB memory and connects to the host motherboard CPU to provide a hardware path for the defense elimination program to run.

[0043] Onboard USB storage: The carrier and execution unit of the defense elimination program, equivalent to an onboard USB flash drive. The defense elimination program is pre-installed and runs automatically after establishing a connection with the host motherboard CPU. It performs preset functions such as deleting specified files and clearing browser traces. After the program finishes execution, it automatically controls the host to shut down or hibernate.

[0044] Emergency USB switching control: The microcontroller module (MCU) sends a path control signal to the USB switching chip, which controls the path switching of the chip through high and low level changes. It is the instruction terminal for establishing a connection between the onboard USB memory and the host motherboard CPU.

[0045] Power-on / Power-off status light signal control: The microcontroller module (MCU) sends a light-on / off control signal to the motherboard status indicator light. When the defense cancellation state is triggered, a low-level signal is sent to cut off the power supply to the indicator light, simulating the host power-off / sleep state.

[0046] HDMI HPD signal control: The microcontroller module (MCU) controls the level of the HPD signal on the HDMI interface. When the defense cancellation state is triggered, the HPD signal is pulled low, causing the motherboard to determine that the monitor is disconnected, thus achieving a rapid black screen.

[0047] USB signal input / output / access: The defense eliminates the USB signal transmission links within the control-side device, which are respectively connected to the motherboard module interface, external USB peripherals, and onboard USB memory. The USB switching chip controls the connection and disconnection of the links.

[0048] Specifically, in this embodiment, the control process of the control device for quickly deleting predetermined files is divided into three stages: normal use state, defense elimination triggering and execution state, and reset and recovery state after defense elimination is completed. The hardware paths, signal interactions, and module actions of each stage are strictly distinguished, achieving no interference during normal use throughout the process, and executing covertly after triggering. The entire defense elimination process can be completed within 5-10 seconds.

[0049] (a) Phase 1: Normal usage state (no password deletion trigger, module in standby) In this state, the defense elimination control side device is in a low-power standby state, with only the microcontroller module (MCU) collecting the power button command in real time. This does not affect the normal operation of the host motherboard CPU. The core actions are as follows: If the defense elimination control device is not connected: the motherboard USB signal is directly connected (0 ohm resistor / short jumper), and all peripherals such as USB, HDMI, power button, etc. are directly controlled by the host motherboard CPU and work according to the normal PC logic.

[0050] If the defense elimination control side device is already connected, then: The microcontroller module (MCU) only collects power-on / power-off commands in real time. It does not send any control signals when there is no specific trigger operation and is in a low-power signal acquisition state. The USB switching chip receives the default control signal sent by the microcontroller module (MCU), switches the motherboard USB signal input to output, allows the designated USB interface to connect to peripherals normally, keeps the HDMI HPD signal at a high level, and displays normally on the monitor. The motherboard status indicator lights are controlled by the host motherboard CPU and provide feedback on the host's working status according to conventional logic. The power-on / off status signal continuously feeds back to the microcontroller module (MCU) that the host is in a normal power-on and normal operating state, but the MCU does not perform any subsequent actions.

[0051] (II) Phase 2: Confidential Deletion Triggering and Execution Status (Triggered by specific instructions, the module works proactively) When a dangerous scenario occurs, the user sends a specific trigger command by quickly pressing the power button on the host five times (each press lasting less than 1 second). The host motherboard CPU does not respond according to the preset logic. After the microcontroller module (MCU) recognizes the command, it initiates a full-process defense and elimination operation. The core actions are executed in chronological order: Command recognition: The microcontroller module (MCU) collects five short pulses of a specific command from the power button. The host motherboard CPU does not respond to this low pulse signal of less than one second, thus achieving trigger / command separation. Hardware status spoofing: The microcontroller module (MCU) sends two control signals simultaneously: ① It sends a power-on / power-off status light signal to the motherboard status indicator light to cut off the power supply and turn off the indicator light; ② It pulls the HDMI HPD signal low, causing the monitor to quickly go black and have no signal input, completely simulating the host entering a power-off / sleep state from the outside. USB signal path switching: The microcontroller module (MCU) sends an emergency USB signal switching control signal to the USB switching chip. The chip switches the USB path from the motherboard peripheral end to the onboard USB memory end, establishing a hardware connection between the onboard USB memory and the host motherboard CPU. The defense elimination program is executed automatically: After the onboard USB storage is connected to the host motherboard CPU, the pre-installed confidential deletion program will start running automatically without manual intervention. It can delete specified files, clear browser traces, search and delete sensitive words in files according to preset functions, or send self-destruct commands to hard drives with self-destruct function. System shutdown / hibernation: After the defense elimination program is completed, it automatically sends a command to the host motherboard CPU to control the host to officially enter the shutdown or hibernation state, thus completing the core defense elimination task.

[0052] (III) Phase 3: After the defense is eliminated, the system is reset and restored (process ends, module returns to standby). This phase is triggered by the microcontroller module (MCU) detecting a change in the host's power-on / sleep status signal. After confirming the completion of the defense clearance process, the MCU restores all hardware and signals to their initial state, preparing for normal use next time. The core actions are as follows: Status detection: The microcontroller module (MCU) receives the power-on / off status signal sent by the motherboard through the module interface, recognizes that the host has completed the power-off / hibernation process, and determines that the defense elimination process is complete. Hardware signal reset: The microcontroller module (MCU) sends a reset command to each unit, ① restoring the HDMI HPD signal to a high level, and the display returns to the normal connection state; ② releasing the power on / off status light signal control, and the motherboard status indicator returns to the normal state controlled by the host motherboard CPU; ③ sending an emergency USB switching control reset signal, and the USB switching chip switches the USB signal path back to the motherboard peripheral end, restoring the normal use of the USB interface; After the defense is cleared and the control-side device returns to standby mode: After all signals and hardware are reset, the microcontroller module (MCU) returns to low-power standby mode, only collecting the power button command signal in real time, waiting for the next possible trigger operation; Normal startup afterwards: Once the security risk is eliminated, the user can press the power button briefly in the usual way, and the host will power on / wake up normally. All hardware, peripherals, and control modules will be restored to normal use, with no residual functions.

[0053] The core of the entire system control process is the separation of instruction response between the microcontroller module (MCU) and the host motherboard CPU, as well as the camouflage and rapid reset of hardware states. This achieves the stealth, speed, and non-interference of the defense elimination, and the modular design allows the motherboard and control module to be flexibly matched, reducing the cost of use.

[0054] And, please see Figure 6 This paper illustrates a control method for a control device for quickly deleting predetermined files, used to implement the self-destruction function of predetermined files in a computer through the control device for quickly deleting predetermined files as described above. The specific steps include: Step 1: Hardware and software deployment and configuration; connect the defense elimination control side device to the host motherboard CPU through a standardized module interface to achieve bidirectional communication between the host side device and the defense elimination control side device; and perform logical configuration of the power button of the motherboard BIOS / OS to complete the pre-installation of programs and permission settings of the onboard USB memory.

[0055] The specific steps include: Step 1.1: Connect the microcontroller module (MCU) to the standardized module interface of the host motherboard CPU, connect the USB switching chip to the standardized module interface of the host motherboard CPU and the microcontroller module (MCU), and connect the onboard USB memory to the USB switching chip. Step 1.2: Restart the host motherboard CPU. Press the shortcut key on the boot screen to enter the BIOS settings interface. In the BIOS power management / key settings option, configure the power button response logic as required: press and hold for 3 seconds to hibernate, press and hold for 8 seconds to shut down, and enable the function of no response to low pulse signals less than 1 second. Specifically, you can try changing the power button logic configuration in the motherboard BIOS / OS as follows, or you can directly flash a customized BIOS: 1. Reboot the computer and press the shortcut key on the boot screen to enter the BIOS settings interface (the shortcut key varies depending on the motherboard brand, such as Del, F2, F10). 2. In the BIOS power management / button settings options, configure the power button response logic as required: press and hold for 3 seconds to hibernate, press and hold for 8 seconds to shut down, and enable the function of no response to low pulse signals for less than 1 second; 3. Save the BIOS settings and exit, then enter the computer's operating system (Windows / Linux). In the system power management, confirm that the BIOS configuration logic is effective and there are no conflicts. 4. (Optional) For high security requirements, you can configure the power-on / wake-up function in the BIOS to be activated by long-pressing during shutdown / sleep mode, with a low pulse of less than 1 second resulting in no response. Save the settings after completion.

[0056] Step 1.3: Write the predetermined defense elimination program to the onboard USB memory through the debugging interface, and ensure that the program has the self-start attribute and administrator privileges; Specifically, the program pre-installation and permission settings for the onboard USB storage: 1. Write the customized defense elimination program into the onboard USB memory through the debugging interface of the defense elimination control side device to ensure that the program has the self-start attribute; 2. Establish a temporary connection between the onboard USB storage device and the host motherboard CPU. Grant the program administrator privileges in the computer operating system and set it to allow the program to run in the background and modify system files / hardware settings. 3. Test program: Manually trigger the program to run, check whether the preset defense elimination function can be completed, and whether the system can be automatically controlled to hibernate / shut down after execution. After the test is completed, restore the USB switching chip to normal path.

[0057] Step 2, Normal Use Status; After the parameters are configured, the defense elimination control side device is in a low-power standby state. No additional operation is required. The device operates in the normal way. The USB signal output terminals USB-P-OUT / USB-N-OUT of the host motherboard CPU are connected to the designated USB interface. Specifically, the normal operating state of the computer host is as follows: 1. The USB switching chip is in normal mode by default, and the input signal of the motherboard USB interface is directly transmitted to the output end, so the designated USB interface can be used normally. 2. The HDMI HPD signal remains high (>2V), the monitor displays normally, and the motherboard status indicator lights on and off according to the normal logic (always on when the power is on, flashing when the power is off, and off when the power is off). 3. The power button works according to the preset BIOS logic: a short press has no response, a long press for 3 seconds puts the computer to sleep, and a long press for 8 seconds shuts it down, just like a regular computer host. 4. The microcontroller module (MCU) is in a low-power signal acquisition state, only acquiring the pulse signal of the power button in real time. It does not occupy system resources and does not affect the computer's running speed.

[0058] Step 3: Defense Elimination State Triggering and Execution; By inputting the preset trigger command through the power button, the microcontroller module (MCU) disguises the computer as being in hibernation mode, the USB signal channel automatically switches to the onboard USB storage, and the deletion program for specific files is automatically started and executed.

[0059] The specific steps include: Step 3.1, Triggering the defense elimination state; The defense elimination state is triggered through the predetermined power-on key response logic; Specifically, by following the special button operation method of the custom power button, such as quickly pressing the motherboard power button of the host 5 times (single press duration <1 second, press interval <0.5 seconds), a specific command is triggered.

[0060] Step 3.2: The host motherboard CPU is in a pseudo-shutdown / sleep state; the HDMI HPD signal transmitting end of the microcontroller module (MCU) sends an HPD low-level control signal to the host motherboard CPU via the HDMI interface, causing the display screen to be in a black screen state; the power on / off status light control signal transmitting end of the microcontroller module (MCU) sends an extinguish command to the host motherboard CPU to cut off the power supply to the host motherboard CPU's indicator lights. Specifically, after the microcontroller module (MCU) recognizes the specific instruction of pressing the button 5 times quickly, it immediately sends an instruction to the HDMI HPD signal control unit to pull the HPD signal down to <0.8V, causing the display to quickly go black with no signal input. At the same time, the MCU sends an instruction to the motherboard status indicator control unit to cut off the power supply to the indicator lights, causing the indicator lights to turn off immediately, thus completely simulating the host's shutdown / sleep state from the outside.

[0061] Step 3.3, USB signal path switching; the microcontroller module (MCU) sends a control signal to the USB switching chip to switch the USB signal path from the designated USB interface to the onboard USB memory and the host motherboard CPU, establishing a hardware path for the defense elimination program to run. Specifically, after the defense elimination state is triggered, the microcontroller module (MCU) controls the host motherboard CPU to enter a pseudo-shutdown / sleep state and completes the USB signal path switching. The above operations are completed within 0.5 seconds.

[0062] Step 3.4, execution of the defense elimination program; after the onboard USB storage establishes a connection with the host motherboard CPU, the defense elimination program is automatically started to complete the deletion of specified files or folders and the cleaning of browser traces, without any screen display or system prompts throughout the process; Specifically, the USB signal output terminal of the onboard USB memory is connected to the USB signal output terminal of the host motherboard CPU, so that a connection is established between the onboard USB memory and the host motherboard CPU. The defense elimination program starts automatically and completes the deletion of the specified file in the background according to the preset function (such as deleting the specified folder, clearing browser traces, etc.). The whole process can be completed within 5-10 seconds, without any screen display or system prompts.

[0063] Step 3.5, host shutdown / hibernation; after the defense elimination program is completed, control the host motherboard CPU to enter shutdown or hibernation state.

[0064] Specifically, after the specified file deletion operation is completed, the microcontroller module (MCU) sends a system power management command to the host motherboard CPU, controlling the host motherboard CPU to directly enter a shutdown or hibernation state.

[0065] Specifically, from the triggering of the defense elimination state to the completion of the program execution, the entire process takes only 5-10 seconds. Externally, all that can be seen is that the monitor screen is black and the indicator light is off, which is no different from normal shutdown / hibernation and the background defense elimination operation cannot be detected.

[0066] Step 4: MCU hardware reset after file deletion; After receiving the power-off / sleep status signal sent by the host motherboard CPU, the microcontroller module (MCU) resets all hardware to its initial state.

[0067] The specific steps include: Step 4.1: The host status receiver of the microcontroller module (MCU) receives the operating status signal from the host motherboard CPU. Step 4.2: The HDMI HPD signal returns to a high level (>2V), and the monitor returns to normal connection status; Step 4.3: The motherboard status indicator lights return to normal logic, remaining off when the computer is off and flashing when the computer is in hibernation mode; Step 4.4: The USB switching chip returns to normal operation, the input signal of the motherboard's USB interface is switched to the output, and the designated USB interface can be used normally.

[0068] Specifically, once the security risks are eliminated and the system returns to normal operation, the user can start / wake up the computer by pressing the power button in the usual way, and the computer will return to normal operation.

[0069] Specifically, step four may also include the following steps: The onboard USB storage program can be reset. If you need to re-preset the defense elimination program function, you can connect to a computer through the module debugging interface, modify the program's deletion rules and trigger logic, and save the changes after modification.

[0070] Specifically, users can modify the files or folders at specified paths that need to be deleted. During initial debugging, test files or folders can be specified to avoid errors due to incorrect file paths or program malfunctions. This also allows users to confirm in advance that their keystrokes and rhythm meet the chip's requirements. Users can also edit the program's control logic or the corresponding folder path name according to their own habits, and save the program after confirming it is error-free.

[0071] Specifically, the microcontroller module (MCU) restores the HDMI HPD signal to a high level (>2V), and the display returns to a normal connection state; it restores the motherboard status indicator to normal logic, turning off when the device is off and flashing when it is in sleep mode; it restores the USB switching chip to a normal working path, and the USB signal output terminals USB-P-OUT / USB-N-OUT of the host motherboard CPU are connected to the designated USB interface, enabling USB peripherals to be used normally.

[0072] Specifically, in this embodiment, the trigger command is to quickly press 5 times. This can be customized through the debugging program of the microcontroller module (MCU) (such as pressing 3 or 6 times quickly). It is recommended to set it to a number of times that is less likely to be accidentally pressed.

[0073] After the epidemic prevention and control elimination procedure is executed, the files cannot be recovered through conventional methods. It is necessary to back up the relevant files in advance to avoid accidental triggering and data loss. If this function is not needed, the defense cancellation device can be directly removed from the motherboard interface, and the USB signal can be restored to direct connection (resolder the 0-ohm resistor / insert the jumper cap), and the motherboard can be restored to normal state.

[0074] Specifically, in this embodiment, the defense elimination control program uses batch processing software (Windows). This script is adapted to the onboard USB storage (CH331A + GigaDevice 25C256) of the defense confidentiality elimination control module. It can silently and quickly delete confidential files and clear browser traces under the Windows system. After execution, it can automatically trigger the host to hibernate / shut down. There are no pop-ups or operation traces throughout the process, which meets the core requirement of the module to secretly delete confidential information.

[0075] 1. Batch script file (named SecretDel.bat, encoded in ANSI to avoid garbled characters during execution) bat @echo off chcp 65001>nul 2>&1 title: Confidential Document Processing Program mode con: cols=1 lines=1 cls :: ====================== Configuration Area (Users can modify as needed) ===================== :: 1. Paths to confidential files / folders to be deleted (multiple paths are separated by '&', example: "D:\Confidential Data"&"C:\Users\XXX\Desktop\Sensitive Files.xlsx") set "SECRET_PATH=D:\Confidential Data&"C:\Users\Default\Documents\Sensitive Documents"" :: 2. Clear browser history (1 = clear, 0 = do not clear, supports major browsers such as Chrome / Edge / Firefox) set "CLEAR_BROWSER=1" :: 3. Actions after execution (0 = no operation, 1 = hibernate, 2 = shutdown; hibernation is recommended for quick system recovery) set "FINISH_ACTION=1" :: ========================================================================== :: Step 1: Delete the specified confidential files / folders (silent deletion, no prompt) echo "Start processing confidential files...">nul 2>&1 for %%i in (%SECRET_PATH%) do ( if "%%i" exists ( :: Determine whether it's a folder or a file, and then delete it accordingly. if exist "%%i\" (rd / s / q "%%i">nul 2>&1) else (del / f / s / q "%%i">nul 2>&1) ) ) :: Step 2: Clear browser traces (history / cache / cookies / form passwords) if %CLEAR_BROWSER% equ 1 ( echo Clear browser history...>nul 2>&1 :: Define the browser data path set "CHROME_PATH=%LOCALAPPDATA%\Google\Chrome\User Data\Default" set "EDGE_PATH=%LOCALAPPDATA%\Microsoft\Edge\User Data\Default" set "FIREFOX_PATH=%APPDATA%\Mozilla\Firefox\Profiles\*" :: Clear Chrome / Edge traces for %%p in ("%CHROME_PATH%" "%EDGE_PATH%") do ( if "%%p\" exists ( del / f / s / q "%%p\History">nul 2>&1 del / f / s / q "%%p\Cache\*">nul 2>&1 del / f / s / q "%%p\Cookies">nul 2>&1 del / f / s / q "%%p\Login Data">nul 2>&1 del / f / s / q "%%p\Web Data">nul 2>&1 rd / s / q "%%p\Cache">nul 2>&1 ) ) :: Clear Firefox traces if "%FIREFOX_PATH%" exists ( del / f / s / q "%APPDATA%\Mozilla\Firefox\Profiles\*\places.sqlite">nul2>&1 del / f / s / q "%APPDATA%\Mozilla\Firefox\Profiles\*\cache2\*">nul 2>&1 del / f / s / q "%APPDATA%\Mozilla\Firefox\Profiles\*\cookies.sqlite">nul 2>&1 ) ) :: Step 3: Actions to be taken after completion (Hibernate / Shutdown / No Operation) if %FINISH_ACTION% equ 1 ( :: Hibernate (Windows native command, no pop-up window, quick resume) rundll32 powrprof.dll,SetSuspendState 0,1,0>nul 2>&1 ) else if %FINISH_ACTION% equ 2 ( :: Shutdown (0-second delay, forced shutdown, no prompt) shutdown / s / f / t 0>nul 2>&1 ) :: Program Exit exit II. Detailed Procedure Description 1. Core Script Functionality 1. Custom Decryption: Allows deletion of specified confidential folders / single files, supporting simultaneous deletion of multiple paths; 2. Clear History: Clear history, cache, cookies, and form / password records in the three major browsers: Chrome, Edge, and Firefox with one click; 3. Automatic termination: After execution, the host can be automatically triggered to hibernate / shut down / be inactive, which can meet the needs of module concealment and disguise; 4. Silent operation: No pop-ups, no command line windows (windows are minimized and hidden), no execution prompts, and no external operation traces; 5. Fast execution: All operations are native Windows commands with no third-party dependencies, and the execution speed is ≤5 seconds, meeting the module's password deletion time requirements.

[0076] 2. Configuration Instructions (Configuration area within the script, which users can directly modify)

[0077] Configuration example: You need to delete D:\Project Confidential Folder + C:\Users\Zhang San\Desktop\Password Table.xlsx, clear browser traces, and then put the application to sleep.

[0078] bat set "SECRET_PATH=D:\Project Confidential&"C:\Users\Zhang San\Desktop\Password Table.xlsx"" set "CLEAR_BROWSER=1" set "FINISH_ACTION=1" 3. Operation mode (adapted to the defense confidentiality elimination control module) Script storage: Burn / copy the edited SecretDel.bat file to the root directory of the module's onboard USB storage (CH331A + GigaDevice 25C256); Automatic Run Configuration: Modify the boot sector of the onboard USB storage device to set "Automatically run SecretDel.bat after insertion" (Windows requires enabling automatic run permissions for USB drives; this configuration can be permanently applied to the module). Module Trigger: When the module detects a specific command from the power button, the USB switching chip (ASW7227) switches the path to the onboard USB memory. After the host recognizes the USB flash drive, it automatically and silently executes the script without any manual intervention.

[0079] 4. Key Considerations Path requirements: Confidential files / folders must be absolute paths and contain no special characters (such as * or ?) to avoid deletion failures; Permission requirements: The script must be run with Windows administrator privileges. The module must set the program execution permission of the onboard USB storage to "administrator" to ensure that files on the system drive / protected path can be deleted. Unrecoverable: The deletion operation performed by the script is permanent (skipping the recycle bin). It cannot be recovered by conventional methods after browser traces are cleared. Confidential files should be backed up in advance to avoid accidental triggering. Encoding requirements: The script file must be saved in ANSI encoding (Notepad's default encoding). If using other editors (such as VS Code), you need to manually change the encoding; otherwise, garbled characters and path recognition failures will occur when running the script. System compatibility: Supports Windows 7 / 10 / 11 32 / 64-bit systems, with 100% compatibility with Windows hosts, requiring no third-party software installation.

[0080] 5. Script debugging methods (used during development / testing phases) To test the script's functionality, you can temporarily delete the lines `mode con: cols=1 lines=1` and `cls` from the script. After running the script, a command-line window will be displayed, allowing you to view the execution process. Once the test is complete, restore these lines to hide the window.

[0081] In the aforementioned control device and method for quickly deleting predetermined files, the defense elimination side device is connected to the host motherboard CPU of the host side device through a standardized module interface. Combined with BIOS / OS system configuration and a customized defense elimination program, it enables covert and rapid (5-10 seconds) deletion of specified files in emergency security scenarios. Triggered by a specific command from the power button, the external appearance is host shutdown / sleep mode, with no obvious operation traces throughout. It is suitable for various computer usage scenarios requiring emergency deletion of confidential files, avoiding the low efficiency of manual deletion in emergency situations. The technical solution of this invention features modularity, covertness, compatibility, and flexibility. Modularity: The motherboard only reserves standardized interfaces; modules are pluggable and can be removed when not needed to reduce costs, eliminating the need for separate motherboard development. Covertness: After triggering, the external appearance is host shutdown / sleep mode, while the actual defense elimination operation is completed in the background within 5-10 seconds. Compatibility: It does not affect the normal use of existing peripherals such as USB ports, HDMI ports, and the power button on the motherboard. Flexibility: The button trigger logic and defense elimination program functions can be customized according to user habits. The circuit structure of this invention is simple, easy to implement, low in cost, and easy to promote.

[0082] It should be noted that the above description is merely a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention can be modified and varied in various ways. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principle of the present invention should be included within the scope of protection of the present invention.

Claims

1. A control device for quickly deleting predetermined files, used for quickly deleting specific files from a computer, characterized in that, It includes host-side devices and defense elimination control-side devices. The host-side devices include a host motherboard CPU, and the defense elimination control-side devices include a microcontroller module (MCU), a USB switching chip, and an onboard USB memory. The host motherboard CPU has a standardized module interface, enabling bidirectional transmission of power on / off status signals, HDMI HPD signals, USB signals, and power on / off commands with the defense elimination control side device; The microcontroller module (MCU) is connected to the host motherboard CPU through the standardized module interface. It collects and identifies the pulse command of the power button to trigger specific operations: sending power on / off status light signal control commands and HDMI HPD signal control commands to the host motherboard CPU, sending USB signal emergency switching control commands to the USB switching chip, receiving power on / off status signals sent by the host motherboard CPU, and completing hardware reset. The USB switching chip is used for selecting and controlling the USB signal path. It receives the emergency switching control command of the USB signal from the microcontroller module (MCU) and realizes the switching between two path states: Path 1, in the normal state, connects the input terminal of the USB signal on the host motherboard CPU to the output terminal to ensure the normal use of peripherals; Path 2, when the defense elimination is triggered, the USB signal path is switched to connect the onboard USB memory to the host motherboard CPU, providing a hardware path for the execution of a specific file deletion program. The onboard USB storage device serves as a carrier and execution unit for a specific file deletion program. The specific file deletion program is pre-installed and automatically runs after establishing a connection with the host motherboard CPU. It performs preset functions such as deleting specific files and clearing browser traces. After the program finishes execution, it automatically controls the host to shut down or go into hibernation.

2. The control device for quickly deleting a predetermined file as described in claim 1, characterized in that, The host motherboard CPU has BIOS / OS preset logic, which does not respond to low pulse signals of less than 1 second from the host power button, and mainly processes the hibernation command of pressing and holding the power button for 3 seconds and the shutdown command of pressing and holding the power button for 8 seconds. The power button on the host is used as a command input unit and is the physical trigger for the defense elimination function. By collecting the user's pressing operation and converting it into an electrical pulse signal, it simultaneously sends power-on / power-off commands to the host motherboard CPU and the microcontroller module MCU.

3. The control device for quickly deleting a predetermined file as described in claim 1, characterized in that, The standardized module interface is used to enable bidirectional transmission of control signals, instruction execution results, and device status signals between the host motherboard CPU and the defense elimination control side device; The standardized module interface includes a power status output terminal POWER-STATE, a power on / off signal receiver POWER-ON-KEY, a power on / off status light control signal receiver POWER-LED, an HDMI HPD control signal receiver HDMI-HPD, a USB signal input terminal USB-P-IN / USB-N-IN, and a USB signal output terminal USB-P-OUT / USB-N-OUT.

4. The control device for quickly deleting a predetermined file as described in claim 1, characterized in that, The microcontroller module (MCU) includes an HDMI HPD signal control unit, a motherboard status indicator control unit, and a USB emergency switching control unit; wherein... The motherboard status indicator control unit is used to control the on / off state of the motherboard status indicator. After the defense is triggered and eliminated, the power supply to the indicator is cut off, simulating the host entering a shutdown / sleep state. The USB emergency switching control unit is used to send control signals to the USB switching chip to realize the switching of USB signal paths; The HDMI HPD signal control unit is used to control the HPD signal level of the HDMI interface. After the defense is triggered and eliminated, the HPD signal level is pulled down to less than 0.8V, so that the motherboard determines that the display is disconnected and quickly shuts down the display output.

5. The control device for quickly deleting a predetermined file as described in claim 1, characterized in that, The USB switching chip has a USB interface input terminal HSD2+ / HSD2- pin, a motherboard USB connection terminal D+ / D- pin, an onboard USB connection terminal HSD1+ / HSD1- pin, and a channel selection terminal S pin; wherein... The HSD2+ / HSD2- pins of the USB interface input terminal are connected to the designated USB interface; The motherboard's USB connector D+ / D- pins are connected to the host motherboard CPU's USB signal output pins USB-P-OUT / USB-N-OUT. The onboard USB connector HSD1+ / HSD1- pins are connected to the USB signal output of the onboard USB memory. The channel selection terminal S pin is connected to the OSBSW-OE pin of the microcontroller module (MCU). When the OSBSW-OE pin of the MCU outputs a high level, the motherboard USB connection terminal D+ / D- is connected to the USB interface input terminal HSD2+ / HSD2-, that is, the USB signal output terminal USB-P-OUT / USB-N-OUT of the host motherboard CPU is connected to the designated USB interface. When the OSBSW-OE pin of the MCU outputs a low level, the onboard USB connection terminal HSD1+ / HSD1- is connected to the motherboard USB connection terminal D+ / D-, that is, the USB signal output terminal of the onboard USB memory is connected to the USB signal output terminal USB-P-OUT / USB-N-OUT of the host motherboard CPU.

6. The control device for rapidly deleting a predetermined file as described in claim 1, characterized in that, The onboard USB storage device has a built-in program for deleting specific files. The program has an auto-start function and can delete specified folders or pre-defined files, erase browser operation traces, delete custom search terms and related files, and send a self-destruct boot command to a hard drive with self-destruct function. The program is granted system-level administrator privileges and can operate on system files, the registry, and hardware interfaces. The program must have built-in self-exit logic after execution, so that it does not need to be manually closed after deletion. After the deletion operation is completed, it can automatically send a shutdown / hibernation command to the host motherboard CPU.

7. A control method for a control device for quickly deleting predetermined files, used to implement a self-destruct function for predetermined files in a computer through the control device for quickly deleting predetermined files as described in any one of claims 1-6, characterized in that, The specific steps include: Step 1, Hardware and software deployment and configuration: Connect the defense elimination control side device to the host motherboard CPU through a standardized module interface to achieve bidirectional communication between the host side device and the defense elimination control side device; and perform logical configuration of the power button of the motherboard BIOS / OS to complete the pre-installation of programs and permission settings of the onboard USB memory. Step 2, Normal Use Status; After the parameters are configured, the defense elimination control side device is in a low-power standby state. No additional operation is required. The device operates in the normal way. The USB signal output terminals USB-P-OUT / USB-N-OUT of the host motherboard CPU are connected to the designated USB interface. Step 3, Defense Elimination State Triggering and Execution: By inputting the preset trigger command through the power button, the microcontroller module (MCU) disguises the computer as being in hibernation mode, the USB signal channel automatically switches to the onboard USB storage, and the deletion program for specific files is automatically started and executed; Step 4: MCU hardware reset after file deletion; After receiving the power-off / sleep status signal sent by the host motherboard CPU, the microcontroller module (MCU) resets all hardware to its initial state.

8. The control method of the control device for quickly deleting a predetermined file as described in claim 7, characterized in that, Step one, the specific steps for software and hardware deployment and configuration, includes: Step 1.1: Connect the microcontroller module (MCU) to the standardized module interface of the host motherboard CPU, connect the USB switching chip to the standardized module interface of the host motherboard CPU and the microcontroller module (MCU), and connect the onboard USB memory to the USB switching chip. Step 1.2: Restart the host motherboard CPU. Press the shortcut key on the boot screen to enter the BIOS settings interface. In the BIOS power management / key settings option, configure the power button response logic as required: press and hold for 3 seconds to hibernate, press and hold for 8 seconds to shut down, and enable the function of no response to low pulse signals less than 1 second. Step 1.3: Write the predetermined defense elimination program to the onboard USB memory through the debugging interface, and ensure that the program has the self-start attribute and administrator privileges.

9. The control method of the control device for quickly deleting a predetermined file as described in claim 7, characterized in that, Step three, the specific steps for triggering and executing the defense elimination state, include: Step 3.1, Triggering the defense elimination state; The defense elimination state is triggered through the predetermined power-on key response logic; Step 3.2: The host motherboard CPU is in a pseudo-shutdown / sleep state; the HDMI HPD signal transmitting end of the microcontroller module (MCU) sends an HPD low-level control signal to the host motherboard CPU via the HDMI interface, causing the display screen to be in a black screen state; the power on / off status light control signal transmitting end of the microcontroller module (MCU) sends an extinguish command to the host motherboard CPU to cut off the power supply to the host motherboard CPU's indicator lights. Step 3.3, USB signal path switching; the microcontroller module (MCU) sends a control signal to the USB switching chip to switch the USB signal path from the designated USB interface to the onboard USB memory and the host motherboard CPU, establishing a hardware path for the defense elimination program to run. Step 3.4, execution of the defense elimination program; after the onboard USB storage establishes a connection with the host motherboard CPU, the defense elimination program is automatically started to complete the deletion of specified files or folders and the cleaning of browser traces, without any screen display or system prompts throughout the process; Step 3.5, host shutdown / hibernation; after the defense elimination program is completed, control the host motherboard CPU to enter shutdown or hibernation state.

10. The control method of the control device for quickly deleting a predetermined file as described in claim 7, characterized in that, Step four, the specific steps for resetting the MCU hardware after file deletion, include: Step 4.1: The host status receiver of the microcontroller module (MCU) receives the operating status signal from the host motherboard CPU. Step 4.2: The HDMI HPD signal returns to a high level, and the monitor returns to normal connection status; Step 4.3: The motherboard status indicator lights return to normal logic, turning off when the computer is off and flashing when the computer is in hibernation mode; Step 4.4: The USB switching chip returns to normal operation, the input signal of the motherboard's USB interface is switched to the output, and the designated USB interface can be used normally.