Method for preventing data leakage in data destruction process

By using the power outage control component to place the memory in a power outage state during the data destruction process, the data leakage problem caused by the failure to promptly handle memory cached data in the prior art is solved, and the data destruction is achieved with higher security and thoroughness .

CN119442348APending Publication Date: 2025-02-14联想长风科技(北京)有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411576296.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-06
Publication Date
2025-02-14

AI Technical Summary

Technical Problem

The existing technology fails to process cached data in memory in a timely manner during data destruction, resulting in hidden dangers of data leakage and affecting the thoroughness and security of data destruction.

Method used

By responding to the destruction trigger signal from the user, the power outage control component is used to place the memory in a power outage state, keep the hard disk power on, and perform the data destruction process on the hard disk to achieve synchronous clearance of memory cached data and power management.

Benefits of technology

Effectively prevent data leakage, improve the security and thoroughness of the data destruction process, and ensure that the data in memory cannot be accessed or recovered during the destruction process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119442348A_ABST
    Figure CN119442348A_ABST
Patent Text Reader

Abstract

The invention provides a method for preventing data leakage in a data destruction process, which relates to the technical field of data processing, and comprises the following steps: in response to a destruction trigger signal of a user side, setting a memory to be in a power-off state through a power-off control component, keeping a hard disk in a power-on state, and executing a data destruction process in the hard disk. By means of the data destruction method and device, the technical problem that in the prior art, due to the fact that cache data in a memory cannot be processed in time, the data in the memory can still be accessed or recovered in the data destruction process, and the thoroughness and safety of data destruction are further affected can be solved; the technical purposes of synchronous clearing and power management of the memory cache data are achieved, and the technical effects of improving the safety in the data destruction process and preventing data leakage are achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing technology, and in particular to a method for preventing data leakage during data destruction. Background Art

[0002] With the rapid development of information technology, data security issues have received increasing attention, especially in the process of data destruction, preventing the leakage of sensitive information has become a key task.

[0003] At present, existing electronic devices usually contain memory, whose main function is to temporarily store data generated when the central processing unit (CPU) performs calculations, as well as data exchanged between the CPU and external storage devices such as hard disks. Since the working principle of memory is to use power to maintain the storage state of data, when the power is turned on, the data in the memory will continue to exist, but when the power is turned off, the data in the memory will disappear immediately. Because of this, when the data in the hard disk enters the destruction stage, although the data on the hard disk may be being destroyed, the cached data in the memory still exists and can be viewed and operated during the destruction. Although the current data destruction technology can ensure the effective removal of hard disk data, it ignores the processing of data in memory. For example, when a file in the hard disk is destroyed, the partition information or part of the operation data of the file may still be retained in the memory, and this information and data may still be accessible, leaving opportunities for criminals to attack. In addition, the existing destruction methods often rely too much on the physical destruction of the hard disk or multiple overwriting at the software level, but these operations cannot eliminate the cached data in the memory. Since the data in the memory can only disappear completely after the power is turned off, if the existing technology does not cut off the power supply of the memory in time, it will have certain leakage risks. In order to make up for the deficiencies of the prior art, a method is now needed to solve the above problems.

[0004] In summary, the prior art has a technical problem that, due to failure to timely process cached data in the memory, the data in the memory may still be accessed or restored during the data destruction process, further affecting the thoroughness and security of data destruction. Summary of the invention

[0005] The purpose of this application is to provide a method for preventing data leakage during data destruction, so as to solve the technical problem in the prior art that, due to the failure to timely process cached data in the memory, the data in the memory may still be accessed or restored during the data destruction process, further affecting the thoroughness and security of the data destruction.

[0006] In view of the above problems, the present application provides a method for preventing data leakage during data destruction.

[0007] In a first aspect, the present application provides a method for preventing data leakage during a data destruction process, comprising: responding to a destruction trigger signal from a user end, setting the memory to a power-off state through a power-off control component, keeping the hard disk powered on, and executing a data destruction process on the hard disk.

[0008] In a possible implementation, in response to a destruction trigger signal from the user end, the memory is put into a power-off state through a power-off control component, the hard disk is kept powered on, and a data destruction process is executed on the hard disk, including: in response to a destruction trigger signal from the user end, the memory is put into a power-off state through a power-off control component, the hard disk is kept powered on, and a data destruction process is executed on the hard disk, including: in response to a destruction trigger signal from the user end, target destruction data is obtained, wherein the target destruction data has a storage capacity tag and a destruction protocol tag; a destruction duration is predicted according to the storage capacity tag and the destruction protocol tag to obtain a predicted destruction duration; when the predicted destruction duration is greater than or equal to a destruction duration threshold, the memory is put into a power-off state through a power-off control component, the hard disk is kept powered on, and a data destruction process is executed on the hard disk.

[0009] In a possible implementation, the method further includes: when the predicted destruction duration is less than the destruction duration threshold, executing a data destruction process on the hard disk, and when the data destruction process is completed, setting the memory to a power-off state through a power-off control component.

[0010] In a possible implementation, a destruction duration prediction is performed based on the storage capacity tag and the destruction protocol tag to obtain the predicted destruction duration, including: collecting a set of destruction duration record values ​​based on the storage capacity tag and the destruction protocol tag; performing a central trend analysis on the set of destruction duration record values ​​to obtain a centralized set of destruction duration record values; and performing mean statistics on the centralized set of destruction duration record values ​​to obtain the predicted destruction duration.

[0011] In a possible implementation, a central tendency analysis is performed on the destruction duration record value set to obtain a centralized destruction duration record value set, including: traversing the destruction duration record value set to perform outlier analysis to obtain an outlier factor set of destruction duration record values; and based on the outlier factor set of destruction duration record values, filtering destruction duration record values ​​that are less than or equal to an outlier factor threshold from the destruction duration record value set, and adding them into the centralized destruction duration record value set.

[0012] In a possible implementation, traversing the destruction duration record value set to perform outlier analysis and obtain a set of outlier factors of the destruction duration record value, including: obtaining a first destruction duration record value of the destruction duration record value set; based on the first destruction duration record value, sorting N adjacent destruction duration record values ​​from the destruction duration record value set from near to far, where N is an integer and N≥5; calculating a mean deviation of the N adjacent destruction duration record values ​​from the first destruction duration record value, and setting it as a first outlier parameter; until obtaining the Mth outlier parameter of the Mth destruction duration record value of the destruction duration record value set, where M is the total number of the destruction duration record value set, and M is an integer; performing outlier analysis on the destruction duration record value set according to the first outlier parameter to the Mth outlier parameter to obtain the set of outlier factors of the destruction duration record value.

[0013] In a possible implementation, the destruction duration record value set is subjected to outlier analysis according to the first outlier parameter up to the Mth outlier parameter to obtain the destruction duration record value outlier factor set, including: setting the mean of the outlier parameters according to the first outlier parameter up to the Mth outlier parameter as the outlier parameter mean; calculating the ratio of the first outlier parameter to the outlier parameter mean to obtain the first destruction duration record value outlier factor; until the ratio of the Mth outlier parameter to the outlier parameter mean is calculated to obtain the Mth destruction duration record value outlier factor; adding the first destruction duration record value outlier factor up to the Mth destruction duration record value outlier factor into the destruction duration record value outlier factor set.

[0014] In a possible implementation, the method further includes: the power-off control component is an EC control module or a CPLD control module.

[0015] In a second aspect, the present application further provides an electronic device, including:

[0016] At least one processor; a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor so that the at least one processor can perform the steps of a method for preventing data leakage during a data destruction process as described in any one of the first aspects above.

[0017] In a third aspect, a computer-readable storage medium stores a computer program, and when the computer program is executed, the steps of a method for preventing data leakage during data destruction described in any one of the first aspects are implemented.

[0018] One or more technical solutions provided in this application have at least the following technical effects or advantages:

[0019] By responding to the destruction trigger signal from the user side, the memory is set to a power-off state through the power-off control component, the hard disk remains powered on, and the data destruction process is executed on the hard disk, thereby achieving the technical goals of synchronous clearing of memory cache data and power management, thereby achieving the technical effect of improving the security of the data destruction process and preventing data leakage.

[0020] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented according to the contents of the specification, and in order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are specifically cited below. It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present application, nor is it intended to limit the scope of the present application. Other features of the present application will become easy to understand through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] In order to more clearly illustrate the technical solutions in the present application or the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings in the following description are only exemplary, and for ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.

[0022] Figure 1 A flowchart of a method for preventing data leakage during data destruction in this application;

[0023] Figure 2 This is a structural schematic diagram of a data destruction process performed on a hard disk in a method for preventing data leakage during data destruction in the present application;

[0024] Figure 3 This is a schematic diagram of the structure of an exemplary electronic device of the present application.

[0025] Description of reference numerals:

[0026] Bus 100 , receiver 101 , processor 102 , transmitter 103 , memory 104 , bus interface 105 . DETAILED DESCRIPTION

[0027] This application provides a method for preventing data leakage during data destruction, which solves the technical problem in the prior art that the data in the memory may still be accessed or restored during the data destruction process due to the failure to timely process the cached data in the memory, further affecting the thoroughness and security of data destruction. The technical goal of synchronously clearing the cached data in the memory and power management is achieved, achieving the technical effect of improving the security of the data destruction process and preventing data leakage.

[0028] Below, the technical solutions in the present application will be clearly and completely described with reference to the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments of the present application. It should be understood that the present application is not limited to the example embodiments described herein. Based on the embodiments of the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present application. It should also be noted that, for the convenience of description, only the parts related to the present application are shown in the accompanying drawings, rather than all of them.

[0029] For example, please refer to the attached Figure 1 , the present application provides a method for preventing data leakage during data destruction, specifically including:

[0030] In response to a destruction trigger signal from the user end, the memory is set to a power-off state through a power-off control component, the hard disk is kept powered on, and a data destruction process is executed on the hard disk.

[0031] Specifically, when the user sends a destruction trigger signal, it responds immediately and starts the data destruction operation. At this time, the power-off control component plays a key role, which can put the memory into a power-off state, so that the data in the memory disappears quickly due to the power outage. After the memory is powered off, the stored data can no longer be accessed or restored, thereby ensuring that the data is completely cleared. At the same time, the hard disk will remain powered on to continue the data destruction process on the hard disk. For example, it may take five minutes to completely destroy the files in the hard disk, while the memory data can disappear in an instant through power outage, thereby ensuring that any cached data in the memory no longer exists or is operated before the hard disk is destroyed.

[0032] The method for preventing data leakage during data destruction can achieve the technical goals of synchronous clearing of memory cache data and power management, thereby achieving the technical effect of improving the security of the data destruction process and preventing data leakage.

[0033] Further, if Figure 2 As shown, this application also includes:

[0034] In response to a destruction trigger signal from the user side, target destruction data is obtained, wherein the target destruction data has a storage capacity tag and a destruction protocol tag; a destruction duration is predicted based on the storage capacity tag and the destruction protocol tag to obtain a predicted destruction duration; when the predicted destruction duration is greater than or equal to a destruction duration threshold, the memory is set to a power-off state through a power-off control component, the hard disk is kept powered on, and a data destruction process is executed on the hard disk.

[0035] Specifically, by responding to the destruction trigger signal sent by the user end, the data destruction operation is started, and the target destruction data to be destroyed is obtained from the user end. The target destruction data not only includes the content itself, but also comes with additional information, such as storage capacity labels and destruction protocol labels. The storage capacity labels and destruction protocol labels are used to identify the storage space size of the data and the applicable destruction method, respectively.

[0036] Next, the destruction time of the target data is predicted based on the storage capacity label and the destruction protocol label. The storage capacity label indicates the physical size of the data, while the destruction protocol label describes the destruction technology used, and then a reasonable destruction time is calculated as the predicted destruction time. For example, if the storage capacity of the target data is 100 megabytes, and the destruction protocol requires the data to be completely overwritten three times, then the predicted destruction time is 5 minutes.

[0037] Then, the destruction time threshold is customized by technicians in this field according to the actual situation. The predicted destruction time is compared with the preset destruction time threshold. If the predicted destruction time is greater than or equal to the destruction time threshold, the power supply of the device is managed through the power-off control component. Among them, the power supply of the memory will be cut off, so that the memory enters the power-off state, thereby ensuring that the data in the memory will not be restored; while the hard disk remains powered on to continue the data destruction process. For example, if the destruction time threshold set by the system is 3 minutes, and the predicted destruction time is 5 minutes, the power supply of the memory is cut off while the hard disk is being destroyed.

[0038] By utilizing storage capacity and destruction protocols to accurately predict destruction time, and through a reasonable power control mechanism, the security and thoroughness of data during the destruction process can be ensured, effectively preventing data leakage when destroying large amounts of data or sensitive data.

[0039] Furthermore, the present application also includes:

[0040] When the predicted destruction time is less than the destruction time threshold, a data destruction process is executed on the hard disk, and when the data destruction process is completed, the memory is set to a power-off state through a power-off control component.

[0041] Specifically, when the predicted destruction time is less than the destruction time threshold, it is considered that the data destruction time is short, and the hard disk is allowed to continue the data destruction process. No additional power management measures are required during the destruction process. At this time, the hard disk can successfully complete the destruction work while powered on. For example, if the predicted destruction time is 2 minutes, and the set destruction time threshold is 3 minutes, the hard disk will directly execute the destruction process.

[0042] After the hard disk completes the data destruction process, the power supply of the memory is managed through the power-off control component. The memory is set to a power-off state to ensure that the data in the memory cannot be recovered, further ensuring the security of the data and preventing any risk of data leakage after destruction. For example, when the hard disk is destroyed, the power supply of the memory is automatically cut off to completely eliminate the potential possibility of data recovery.

[0043] When the destruction time is short, the hard disk is allowed to perform a complete destruction operation first, and the power supply to the memory is cut off after the destruction is completed. The step-by-step power management method ensures that the data can be completely deleted even in a short destruction process, while also avoiding unnecessary power-off operations on the memory during the destruction process.

[0044] Furthermore, the present application also includes:

[0045] According to the storage capacity label and the destruction protocol label, a set of destruction duration record values ​​is collected; a central trend analysis is performed on the set of destruction duration record values ​​to obtain a centralized set of destruction duration record values; and mean statistics are performed on the centralized set of destruction duration record values ​​to obtain the predicted destruction duration.

[0046] Specifically, based on the storage capacity label and the destruction protocol label, a collection of destruction time record values ​​is collected to obtain detailed records of the time required for different data destruction operations, providing basic data for subsequent analysis. For example, it is recorded that the destruction time required to process a file with a capacity of 50 megabytes is two minutes, while the time required to process a file with a capacity of 100 megabytes is four minutes.

[0047] After obtaining the destruction time record value set, perform a central trend analysis on it to find representative data as the centralized destruction time record value set, so as to more accurately evaluate the duration of data destruction. For example, if the destruction time record value set contains five record values, namely two minutes, three minutes, four minutes, two minutes and five minutes, the central trend analysis will help identify the average level or median of these records, thereby obtaining a more representative destruction time. Subsequently, perform mean statistics on the centralized destruction time record value set to obtain the destruction prediction time and obtain a reasonable prediction time.

[0048] By collecting a set of destruction duration record values ​​and performing central trend analysis and mean statistics on them, accurate destruction prediction duration can be generated. This can not only improve the efficiency of data destruction operations, but also provide more accurate destruction time estimates for data of different capacities and protocols, thereby reducing potential security risks.

[0049] Furthermore, the present application also includes:

[0050] The destruction duration record value set is traversed to perform outlier analysis to obtain an outlier factor set of the destruction duration record value; according to the outlier factor set of the destruction duration record value, the destruction duration record value that is less than or equal to the outlier factor threshold is filtered from the destruction duration record value set, and added into the centralized destruction duration record value set.

[0051] Specifically, each destruction duration record value is checked one by one to determine the degree of its deviation from other data values, and outliers that are significantly different from most records are identified as the outlier factor set of destruction duration record values. Among them, outliers may appear due to occasional circumstances and are not universal. For example, if most record values ​​are between three minutes and five minutes, but there is a record value of ten minutes, the ten-minute record may be regarded as an outlier.

[0052] Next, the outlier factor set of the destruction time record value is used as a quantitative indicator to measure the degree of difference between each record value and other record values ​​in the destruction time record value set. If the outlier factor of a destruction time record value is less than or equal to the preset outlier factor threshold, it is considered a normal value, otherwise it is considered an outlier.

[0053] Then, the destruction time records that meet the conditions are added to the centralized destruction time record set, thereby retaining the records that are considered normal and representative and removing the extremely abnormal data. For example, the filtered set may consist of three-minute, four-minute, and five-minute records, while the ten-minute records that are too deviated are removed.

[0054] Through traversal and outlier analysis, it is possible to screen out qualified destruction time records, remove outliers, and ensure the accuracy and representativeness of the centralized destruction time record value set, which helps to reduce errors caused by accidental factors and makes the final destruction prediction more reliable and effective.

[0055] Furthermore, the present application also includes:

[0056] Obtain a first destruction duration record value of the destruction duration record value set; based on the first destruction duration record value, sort N adjacent destruction duration record values ​​from the destruction duration record value set from near to far, where N is an integer and N≥5; calculate a mean deviation between the N adjacent destruction duration record values ​​and the first destruction duration record value, and set it as a first outlier parameter; until an Mth outlier parameter of an Mth destruction duration record value of the destruction duration record value set is obtained, where M is the total number of the destruction duration record value set, and M is an integer; perform outlier analysis on the destruction duration record value set according to the first outlier parameter to the Mth outlier parameter to obtain an outlier factor set of the destruction duration record value.

[0057] Specifically, the first destruction duration record value is randomly extracted from the destruction duration record value set for subsequent analysis. Based on the first destruction duration record value, the N closest record values ​​are selected from the destruction duration record value set in chronological order from near to far. For example, if N is 5, the 5 destruction duration record values ​​closest to the first destruction duration record value will be selected.

[0058] Then, calculate the mean deviation between the N neighboring record values ​​and the first destruction duration record value, and set the mean deviation as the first outlier parameter. The method for calculating the mean deviation is to take the average of the differences between each neighboring value and the benchmark value (i.e., the first destruction duration record value). The above process will be repeated until the entire set of destruction duration record values ​​is traversed and the outlier parameters of each record value are calculated. Finally, based on the outlier parameters from the first outlier parameter to the Mth outlier parameter, the outlier analysis of the entire set of destruction duration record values ​​is completed, and the outlier factor set of the destruction duration record value is obtained. It is a tool used to measure whether each record value deviates from the normal range, which helps to eliminate abnormal data.

[0059] By selecting N adjacent values ​​in sequence starting from the first record value, calculating the mean deviation between each record value and its adjacent values, and then generating a set of outlier factors, it ensures that the data analysis is both accurate and comprehensive, effectively identifies and handles outliers, and makes the final destruction time analysis more reliable.

[0060] Furthermore, the present application also includes:

[0061] According to the mean values ​​of the first outlier parameter to the Mth outlier parameter, the outlier parameter mean is set as the outlier parameter mean; the ratio of the first outlier parameter to the outlier parameter mean is calculated to obtain the first destruction duration record value outlier factor; until the ratio of the Mth outlier parameter to the outlier parameter mean is calculated to obtain the Mth destruction duration record value outlier factor; the first destruction duration record value outlier factor to the Mth destruction duration record value outlier factor are added to the destruction duration record value outlier factor set.

[0062] Specifically, the mean of the first outlier parameter to the Mth outlier parameter is calculated, and the mean calculation result is set as the outlier parameter mean as a reference benchmark.

[0063] Next, the ratio of the first outlier parameter to the outlier parameter mean is calculated to obtain the outlier factor of the first destruction duration record value, thereby obtaining the deviation between the first destruction duration record value and the destruction duration record value set.

[0064] Continue to repeatedly calculate the outlier factor until the ratio of the Mth outlier parameter to the outlier parameter mean is calculated to obtain the outlier factor of the Mth destruction duration record value.

[0065] Finally, the outlier factors from the first destruction duration record value to the Nth destruction duration record value are added to the overall outlier factor set as the destruction duration record value outlier factor set, which contains the outliers of all record values ​​for further analysis and judgment of whether there is abnormal data.

[0066] By calculating the outlier factor of each destruction duration record value, a set of outlier factors is formed. Each outlier factor is obtained by comparing the corresponding outlier parameter with the mean, thereby reflecting the relative abnormality of the record value in the overall data, which helps to identify deviations in the data and ensure the reliability of data analysis.

[0067] Furthermore, the present application also includes:

[0068] The power-off control component is an EC control module or a CPLD control module.

[0069] Specifically, the power-off control component refers to a module responsible for managing the power state, performing power-off or power-on operations, and is used to ensure that the power state of the hardware is correctly controlled during the data destruction process. Among them, the power-off control component can be an EC control module. The EC control module (embedded controller) is a power management module commonly used in computers and other electronic devices. It is responsible for controlling the power supply, charging and other hardware states of the device. It can cut off the power supply of the memory at the appropriate time to ensure the safety of the data destruction process. The power-off control component can also be a CPLD control module. The CPLD (complex programmable logic device) control module is a programmable hardware controller that can perform power-off or power-on operations according to preset logical conditions. The CPLD module is highly flexible and can implement complex power management logic through programming to ensure accurate power control of the hard disk and memory during the data destruction process.

[0070] The power-off control component may be an EC control module or a CPLD control module, both of which can effectively manage the power status during the data destruction process to prevent data leakage.

[0071] In summary, the method for preventing data leakage during data destruction provided by this application has the following technical effects:

[0072] By responding to the destruction trigger signal from the user side, the memory is set to a power-off state through the power-off control component, the hard disk remains powered on, and the data destruction process is executed on the hard disk, thereby achieving the technical goals of synchronous clearing of memory cache data and power management, thereby achieving the technical effect of improving the security of the data destruction process and preventing data leakage.

[0073] Embodiment 2. Based on the inventive concept of a method for preventing data leakage during a data destruction process in the aforementioned embodiment, the present application also provides an electronic device, comprising: at least one processor; a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can perform the steps of a method for preventing data leakage during a data destruction process as described in any one of the aforementioned embodiments 1.

[0074] Attached Figure 3 This is a schematic diagram of the structure of an exemplary electronic device of this application. Figure 3 In the present invention, the bus architecture is represented by bus 100, which may include any number of interconnected buses and bridges, and bus 100 connects various circuits including one or more processors represented by processor 102 and memory represented by memory 104. Bus 100 may also connect various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. Bus interface 105 provides an interface between bus 100 and receiver 101 and transmitter 103. Receiver 101 and transmitter 103 may be the same element, namely a transceiver, providing a unit for communicating with various other devices over a transmission medium. Processor 102 is responsible for managing bus 100 and general processing, while memory 104 may be used to store data used by processor 102 when performing operations.

[0075] Embodiment three, based on the same inventive concept as a method for preventing data leakage during a data destruction process in the aforementioned embodiment, the present application also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed, the steps of a method for preventing data leakage during a data destruction process described in any one of the aforementioned embodiments one are implemented.

[0076] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

[0077] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application belong to the scope of the present application and its equivalent technology, the present application is also intended to include these modifications and variations.

Claims

1. A method for preventing data leakage during data destruction, characterized in that: include: In response to a destruction trigger signal from the user end, the memory is set to a power-off state through a power-off control component, the hard disk is kept powered on, and a data destruction process is executed on the hard disk.

2. The method according to claim 1, characterized in that In response to a destruction trigger signal from the user end, the memory is set to a power-off state through a power-off control component, the hard disk is kept powered on, and a data destruction process is executed on the hard disk, including: In response to a destruction trigger signal from a user terminal, target destruction data is obtained, wherein the target destruction data has a storage capacity tag and a destruction protocol tag; Predicting the destruction duration according to the storage capacity tag and the destruction protocol tag to obtain a predicted destruction duration; When the predicted destruction duration is greater than or equal to the destruction duration threshold, the memory is set to a power-off state through the power-off control component, the hard disk is kept powered on, and the data destruction process is executed on the hard disk.

3. The method according to claim 2, characterized in that Also includes: When the predicted destruction time is less than the destruction time threshold, a data destruction process is executed on the hard disk, and when the data destruction process is completed, the memory is set to a power-off state through a power-off control component.

4. The method according to claim 3, characterized in that The destruction duration is predicted according to the storage capacity tag and the destruction protocol tag to obtain the predicted destruction duration, including: According to the storage capacity tag and the destruction protocol tag, a destruction duration record value set is collected; Performing a central trend analysis on the destruction duration record value set to obtain a central destruction duration record value set; The estimated destruction duration is obtained by performing mean statistics on the set of recorded values ​​of the centralized destruction duration.

5. The method according to claim 4, characterized in that Performing a centralized trend analysis on the destruction duration record value set to obtain a centralized destruction duration record value set, including: Traversing the destruction duration record value set to perform outlier analysis and obtain an outlier factor set of the destruction duration record value; According to the destruction duration record value outlier factor set, the destruction duration record values ​​less than or equal to the outlier factor threshold are screened from the destruction duration record value set, and added into the centralized destruction duration record value set.

6. The method according to claim 5, characterized in that The destruction duration record value set is traversed to perform outlier analysis to obtain an outlier factor set of the destruction duration record value, including: Obtaining a first destruction duration record value of the destruction duration record value set; Based on the first destruction duration record value, select N adjacent destruction duration record values ​​from the destruction duration record value set from near to far, where N is an integer and N≥5; Calculate the mean deviation between the N adjacent destruction duration record values ​​and the first destruction duration record value, and set it as a first outlier parameter; until the Mth outlier parameter of the Mth destruction duration record value of the destruction duration record value set is obtained, where M is the total number of the destruction duration record value sets and M is an integer; According to the first outlier parameter to the Mth outlier parameter, outlier analysis is performed on the destruction duration record value set to obtain the destruction duration record value outlier factor set.

7. The method according to claim 6, characterized in that According to the first outlier parameter to the Mth outlier parameter, outlier analysis is performed on the destruction duration record value set to obtain the destruction duration record value outlier factor set, including: According to the means of the first outlier parameter to the Mth outlier parameter, set it as the outlier parameter mean; Calculating a ratio of the first outlier parameter to the outlier parameter mean to obtain an outlier factor of a first destruction duration record value; Until the ratio of the Mth outlier parameter to the outlier parameter mean is calculated to obtain the outlier factor of the Mth destruction duration record value; The first destruction duration record value outlier factor to the Mth destruction duration record value outlier factor are added to the destruction duration record value outlier factor set.

8. The method according to claim 1, characterized in that The power-off control component is an EC control module or a CPLD control module.

9. An electronic device, comprising: at least one processor; a memory communicatively coupled to the at least one processor; Wherein, the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can perform the steps of a method for preventing data leakage in a data destruction process as described in any one of claims 1 to 8.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, which, when executed, implements the steps of a method for preventing data leakage during data destruction as described in any one of claims 1 to 8.