Data destruction method of intelligent terminal
By designing the data destruction mode in shutdown and boot states on the smart terminal, identifying and destroying data storage media, the complex and limited problems of data destruction in the existing technology are solved, and realizing instant data protection and multi-level security protection of the smart terminal.
Patent Information
- Application Number
- CN202411697786.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-26
- Publication Date
- 2025-03-14
AI Technical Summary
Existing smart terminals have complex and limited operations in data destruction, and cannot quickly and thoroughly meet application scenarios that require high confidentiality, resulting in the risk of sensitive data leakage.
Design a data destruction method for intelligent terminals, including the destruction mode in shutdown and power-on states. By detecting the power-on signal and destroying buttons, identifying the data storage medium, and performing corresponding data erasing operations to ensure that the data cannot be restored.
It realizes that smart terminals respond quickly and completely destroy data in any state, reducing the risk of data leakage, enhancing the security of equipment, and providing remote destruction functions for easy emergency response.
Smart Images

Figure CN119622840A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data destruction, and in particular to a data destruction method for an intelligent terminal. Background Art
[0002] In scenarios involving high data confidentiality requirements, such as commercial secrets and military secrets, the data security of smart terminals is particularly important. However, the software startup process of current conventional smart terminals does not directly design a data destruction function, which poses a potential risk of data leakage when the terminal falls into the hands of unauthorized persons or is lost.
[0003] Specifically, although smart terminals have the function of restoring factory settings, this can only delete user data, but cannot completely destroy system files, because the normal operation of system functions depends on these files. If the data storage medium is directly erased while the system is running, the system will crash due to the file system dependency, making this process impractical. Therefore, the data destruction operations of existing smart terminals are complex and have limitations, and cannot quickly and thoroughly meet the data confidentiality needs in special scenarios. In extreme cases, this leads to the leakage of sensitive data, posing a serious threat to information security. In summary, current smart terminals have obvious deficiencies in data destruction, especially in application scenarios with high confidentiality requirements. There is an urgent need to develop a more efficient and secure data destruction mechanism to ensure that all sensitive data can be quickly and thoroughly destroyed in an emergency to prevent data leakage.
[0004] Therefore, it is necessary to design a data destruction method for smart terminals to solve the above problems. Summary of the invention
[0005] The purpose of the present invention is to solve the shortcomings of the prior art and to propose a data destruction method for an intelligent terminal.
[0006] In order to achieve the above object, the present invention adopts the following technical solutions:
[0007] A data destruction method for an intelligent terminal includes a data destruction method in a shutdown state and a data destruction method in a power-on state, wherein the data destruction method in the shutdown state includes:
[0008] Step 1: Power-on detection: The smart terminal is in shutdown state. Press the power button and the Boot phase starts to run. First, the power-on signal is detected.
[0009] Step 2: Destroy mode judgment: If the destroy button is detected to be pressed while the device is powered on, and the duration exceeds 500ms, the destroy command is recorded;
[0010] Step 3: Data storage media identification and destruction: After entering the destruction mode, the system identifies the data storage media currently connected to the smart terminal, and performs the corresponding data erasure operation according to the identified media type to ensure that the data cannot be recovered;
[0011] Step 4: Power off and shut down: After the data is destroyed, execute the power off and shut down command, and the smart terminal will turn off the power;
[0012] The data destruction method in the power-on state includes:
[0013] Step 1: Receiving the destruction command: The user presses the destruction button, and the kernel converts the key event into a key value and reports it to the destruction service program. The destruction service receives the remote destruction command through the network.
[0014] Step 2: Restart preparation and destruction command saving: The destruction service program calls the system interface to restart the intelligent terminal. Before restarting, the destruction command is saved in the designated safe address of the EMMC to ensure that the command can be read after restarting.
[0015] Step 3: Restart and enter the destruction mode: The intelligent terminal restarts and the Boot phase starts to run. The Boot phase reads the content from the specified address of the EMMC to determine whether there is a destruction command. If there is a destruction command, the kernel is not booted and the destruction mode is entered directly.
[0016] Step 4: Data storage media identification and destruction: After entering the destruction mode, the system will identify the data storage media connected to the current smart terminal again, and perform corresponding data erasure operations according to the media type to ensure that the data is completely destroyed;
[0017] Step 5: Power off and shut down: After the data is destroyed, execute the power off command and the smart terminal will turn off the power.
[0018] As a preferred technical solution of the present invention, in step 2 of the data destruction method in the shutdown state, when the intelligent terminal receives a power-on signal, the Boot program starts to execute. Before booting the kernel, the Boot program will first check the status of the destroy button. The Boot program reads the level status of the destroy button through the hardware interface and starts a timer to monitor the duration of this state. If the destroy button is pressed, the Boot program will wait for a while to verify whether this is a valid destruction request rather than an accidental touch within 500 milliseconds. If the level status of the destroy button remains pressed, it is considered to be a valid destruction request. If the destroy button is released within 500 milliseconds, this operation is ignored and regarded as an accidental touch, and the normal boot process continues to be executed. Once it is confirmed that the pressing of the destroy button is valid, the Boot program will record a destruction command flag or mark in the non-volatile memory. This mark is used to determine whether it is necessary to enter the destruction mode during a subsequent restart, because once the destruction mode is entered, all data on the storage medium will be erased and the mark cannot be restored.
[0019] As a preferred technical solution of the present invention, in step three of the data destruction method in the shutdown state, the system first detects all data storage media connected to the current smart terminal through a hardware interface. During the identification process, the system reads the identifier of each storage medium to determine its type and capacity, and establishes a list or database to record all identified storage media and their detailed information for subsequent targeted destruction operations. According to the type, characteristics and security requirements of the storage medium, the system formulates a suitable data erasure strategy. For the EMMC built-in storage medium, multiple erasures are performed using the built-in erase command or all-zero / random data overwrite method to ensure that the data cannot be recovered.
[0020] As a preferred technical solution of the present invention, in step three of the data destruction method in the power-on state, the destruction mode first traverses all data storage interfaces on the smart terminal. For each interface, the system establishes communication and identifies the type of connected storage media, which involves sending a specific identification command and parsing the returned response data. For different types of storage media, the system selects or applies different data erasure strategies. For SSD, the TRIM or SECURE ERASE command is used. For HDD, multiple operations of writing zeros or random data to the entire disk are performed. The system generates and saves a detailed destruction report, including a list of erased media, erasure strategy, execution time, and result verification information. After the data erasure and verification of all storage media are completed, the system executes a power-off shutdown command to ensure that the smart terminal is completely shut down. According to the organization's security policy, the smart terminal also needs to be physically processed to further reduce the risk of data leakage.
[0021] As a preferred technical solution of the present invention, in step 4 of the data destruction method in the power-on state, for each detected device, the system reads its device descriptor or identifier, including manufacturer ID, device ID, and serial number, to determine the type and specification of the device. According to the read device information, the system classifies the storage device into different media types, including NAND flash memory, HDD hard disk drive, SSD solid state drive, and USB storage device. For different types of storage media, the system selects a suitable data erasure method. For NAND flash memory, a full disk erase command or multiple writes of all zeros are used to overwrite data; for HDD hard disk, low-level formatting is used to erase data; for SSD, a secure erase command needs to be executed to clear all user data. Taking into account the physical characteristics of different storage media and the continuous development of data recovery technology, the system chooses to repeat the erase operation multiple times or use a specific pattern of data overwriting to increase the difficulty of data recovery.
[0022] The present invention has the following beneficial effects:
[0023] 1. Real-time data protection: Regardless of whether the smart terminal is powered on or off, once a destruction command is detected, the system can respond quickly and enter the destruction mode, ensuring that sensitive data can be destroyed immediately when a leakage risk occurs, effectively preventing potential losses caused by data leakage;
[0024] 2. Enhanced security: Through the combination of physical destruction button and anti-accidental touch design, as well as remote destruction function, the invention provides multi-level security protection for smart terminals. This dual protection mechanism greatly reduces the risk of illegal access or leakage of data and enhances the overall security of the device;
[0025] 3. Flexibility and convenience: Supporting the remote destruction function enables users or administrators to destroy the data in the device by remotely sending destruction instructions when the smart terminal is lost or stolen, without physically contacting the device. This flexibility not only improves the emergency response speed, but also brings great convenience to users. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] Figure 1 It is a method for destroying data in shutdown state;
[0027] Figure 2 This is a method for destroying data when the computer is powered on.
[0028] Figure 3 Implement a block diagram for the destroy function. DETAILED DESCRIPTION
[0029] The technical solutions in the embodiments of the present invention will be described clearly and completely 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.
[0030] Reference Figure 1-3 A data destruction method for an intelligent terminal includes a data destruction method in a shutdown state and a data destruction method in a power-on state. The data destruction method in the shutdown state includes:
[0031] Step 1: Power-on detection: The smart terminal is in shutdown state. Press the power button and the Boot phase starts to run. First, the power-on signal is detected.
[0032] Step 2, judgment of destruction mode: if the destruction button is detected to be pressed while the computer is turned on, and the duration exceeds 500ms, the destruction command is recorded. In step 2 of the data destruction method in the shutdown state, when the intelligent terminal receives the power-on signal, the Boot program starts to execute. Before booting the kernel, the Boot program will first check the state of the destruction button. The Boot program reads the level state of the destruction button through the hardware interface and starts a timer to monitor the duration of the state. If the destruction button is pressed, the Boot program will wait for a while to verify whether it is a valid destruction request, rather than an accidental touch within 500 milliseconds. If the level state of the destruction button remains pressed, it is considered to be a valid destruction request. If the destruction button is released within 500 milliseconds, the operation is ignored and regarded as an accidental touch, and the normal startup process is continued. Once it is confirmed that the pressing of the destruction button is valid, the Boot program will record a destruction command flag or mark in the non-volatile memory. This mark is used to determine whether it is necessary to enter the destruction mode during subsequent restarts, because once the destruction mode is entered, all data on the storage medium will be erased and the mark cannot be restored.
[0033] Step 3, data storage media identification and destruction: After entering the destruction mode, the system identifies the data storage media connected to the current smart terminal, and performs corresponding data erasure operations according to the identified media type to ensure that the data cannot be recovered. In step 3 of the data destruction method in the shutdown state, the system first detects all data storage media connected to the current smart terminal through the hardware interface. During the identification process, the system reads the identifier of each storage medium to determine its type and capacity, and establishes a list or database to record all identified storage media and their detailed information for subsequent targeted destruction operations. According to the type, characteristics and security requirements of the storage medium, the system formulates a suitable data erasure strategy. For the EMMC built-in storage medium, use the built-in erase command or all-zero / random data overwrite method to perform multiple erasures to ensure that the data cannot be recovered;
[0034] Step 4: Power off and shut down: After the data is destroyed, execute the power off and shut down command, and the smart terminal will turn off the power;
[0035] Methods for destroying data in the powered-on state include:
[0036] Step 1: Receiving the destruction command: The user presses the destruction button, and the kernel converts the key event into a key value and reports it to the destruction service program. The destruction service receives the remote destruction command through the network.
[0037] Step 2: Restart preparation and destruction command saving: The destruction service program calls the system interface to restart the intelligent terminal. Before restarting, the destruction command is saved in the designated safe address of the EMMC to ensure that the command can be read after restarting.
[0038] Step 3, restart and enter the destruction mode: the smart terminal restarts, and the Boot phase starts running. The Boot phase reads the content from the specified address of the EMMC to determine whether there is a destruction command. If there is a destruction command, the kernel is not booted and the destruction mode is directly entered. In step 3 of the data destruction method in the boot state, the destruction mode first traverses all data storage interfaces on the smart terminal. For each interface, the system establishes communication and identifies the type of connected storage media, which involves sending specific identification commands and parsing the returned response data. For different types of storage media, the system selects or applies different data erasure strategies. For SSDs, TRIM or SECURE ERASE commands are used. For HDDs, multiple operations of writing zeros or random data to the entire disk are performed. The system generates and saves a detailed destruction report, including a list of erased media, erasure strategies, execution time, and result verification information. After all storage media are erased and verified, the system executes a power-off command to ensure that the smart terminal is completely shut down. According to the organization's security policy, physical processing of the smart terminal is also required to further reduce the risk of data leakage.
[0039] Step 4: Identification and destruction of data storage media: After entering the destruction mode, the system will identify the data storage media connected to the current smart terminal again, and perform corresponding data erasure operations according to the media type to ensure that the data is completely destroyed. In step 4 of the data destruction method in the power-on state, for each detected device, the system reads its device descriptor or identifier, including manufacturer ID, device ID, and serial number to determine the type and specification of the device. Based on the read device information, the system classifies the storage device into different media types, including NAND flash memory, HDD hard disk drive, SSD solid state drive, and USB storage device. For different types of storage media, the system selects a suitable data erasure method. For NAND flash memory, a full disk erase command or multiple writes of all zeros are used to overwrite data; for HDD hard disks, low-level formatting is used to erase data; for SSDs, a secure erase command needs to be executed to clear all user data. Considering the physical characteristics of different storage media and the continuous development of data recovery technology, the system chooses to repeat the erase operation multiple times or use a specific mode of data overwriting to increase the difficulty of data recovery.
[0040] Step 5: Power off and shut down: After the data is destroyed, execute the power off command and the smart terminal will turn off the power.
[0041] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can replace or change the technical solution and inventive concept of the present invention within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.
Claims
1. A method for destroying data of an intelligent terminal, characterized in that: The invention comprises a data destruction method in a shutdown state and a data destruction method in a power-on state, wherein the data destruction method in the shutdown state comprises: Step 1: Power-on detection: The smart terminal is in shutdown state. Press the power button and the Boot phase starts to run. First, the power-on signal is detected. Step 2: Destroy mode judgment: If the destroy button is detected to be pressed while the device is powered on, and the duration exceeds 500ms, the destroy command is recorded; Step 3: Data storage media identification and destruction: After entering the destruction mode, the system identifies the data storage media currently connected to the smart terminal, and performs the corresponding data erasure operation according to the identified media type to ensure that the data cannot be recovered; Step 4: Power off and shut down: After the data is destroyed, execute the power off and shut down command, and the smart terminal will turn off the power; The data destruction method in the power-on state includes: Step 1: Receiving the destruction command: The user presses the destruction button, and the kernel converts the key event into a key value and reports it to the destruction service program. The destruction service receives the remote destruction command through the network. Step 2: Restart preparation and destruction command saving: The destruction service program calls the system interface to restart the intelligent terminal. Before restarting, the destruction command is saved in the designated safe address of the EMMC to ensure that the command can be read after restarting. Step 3: Restart and enter the destruction mode: The intelligent terminal restarts and the Boot phase starts to run. The Boot phase reads the content from the specified address of the EMMC to determine whether there is a destruction command. If there is a destruction command, the kernel is not booted and the destruction mode is entered directly. Step 4: Data storage media identification and destruction: After entering the destruction mode, the system will identify the data storage media connected to the current smart terminal again, and perform corresponding data erasure operations according to the media type to ensure that the data is completely destroyed; Step 5: Power off and shut down: After the data is destroyed, execute the power off command and the smart terminal will turn off the power.
2. A method for destroying data in a smart terminal according to claim 1, characterized in that: In step 2 of the data destruction method in the shutdown state, when the smart terminal receives a power-on signal, the Boot program starts to execute. Before booting the kernel, the Boot program will first check the status of the destroy button. The Boot program reads the level status of the destroy button through the hardware interface and starts a timer to monitor the duration of this state. If the destroy button is pressed, the Boot program will wait for a while to verify whether this is a valid destruction request rather than an accidental touch within 500 milliseconds. If the level status of the destroy button remains pressed, it is considered to be a valid destruction request. If the destroy button is released within 500 milliseconds, the operation is ignored and regarded as an accidental touch, and the normal boot process continues. Once it is confirmed that the pressing of the destroy button is valid, the Boot program will record a destruction command flag or mark in the non-volatile memory. This mark is used to determine whether it is necessary to enter the destruction mode during a subsequent restart, because once the destruction mode is entered, all data on the storage medium will be erased and the mark cannot be restored.
3. A method for destroying data in a smart terminal according to claim 1, characterized in that: In step three of the data destruction method in the shutdown state, the system first detects all data storage media connected to the current smart terminal through a hardware interface. During the identification process, the system reads the identifier of each storage medium to determine its type and capacity, and establishes a list or database to record all identified storage media and their detailed information for subsequent targeted destruction operations. According to the type, characteristics and security requirements of the storage medium, the system formulates a suitable data erasure strategy. For the EMMC built-in storage medium, multiple erasures are performed using the built-in erase command or all-zero / random data overwrite method to ensure that the data cannot be recovered.
4. A method for destroying data in a smart terminal according to claim 1, characterized in that: In step three of the data destruction method in the power-on state, the destruction mode first traverses all data storage interfaces on the smart terminal. For each interface, the system establishes communication and identifies the type of connected storage media, which involves sending specific identification commands and parsing the returned response data. For different types of storage media, the system selects or applies different data erasure strategies. For SSDs, TRIM or SECURE ERASE commands are used. For HDDs, multiple operations of writing zeros or random data to the entire disk are performed. The system generates and saves a detailed destruction report, including a list of erased media, erasure strategies, execution time, and result verification information. After data erasure and verification of all storage media are completed, the system executes a power-off shutdown command to ensure that the smart terminal is completely shut down. According to the organization's security policy, the smart terminal also needs to be physically processed to further reduce the risk of data leakage.
5. A method for destroying data in a smart terminal according to claim 1, characterized in that: In step 4 of the data destruction method in the power-on state, for each detected device, the system reads its device descriptor or identifier, including the manufacturer ID, device ID, and serial number, to determine the type and specification of the device. According to the read device information, the system classifies the storage device into different media types, including NAND flash memory, HDD hard disk drive, SSD solid state drive, and USB storage device. For different types of storage media, the system selects a suitable data erasure method. For NAND flash memory, a full disk erase command or multiple writes of all zeros are used to overwrite the data; For HDD hard disks, use low-level formatting to erase data; for For SSD, you need to execute the secure erase command to clear all user data. Considering the physical characteristics of different storage media and the continuous development of data recovery technology, the system chooses to repeat the erase operation multiple times or use a specific pattern of data overwriting to increase the difficulty of data recovery.