Data security erasing method and device, equipment and storage medium
By generating an erase trigger signal and detecting the card slot type during BIOS startup, the problem of not being able to completely erase the eSIM profile data of the WWAN module in existing technologies is solved, enabling precise data erasure in complex environments and ensuring safe device recycling.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- FIBOCOM TECHNOLOGY CO LTD
- Filing Date
- 2026-04-23
- Publication Date
- 2026-06-12
Smart Images

Figure CN122197102A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of data processing technology, and in particular to a method, apparatus, device and storage medium for secure data erasure. Background Technology
[0002] In promoting corporate sustainability and managing equipment, data security and effective recycling of electronic devices are crucial. The Wireless Wide Area Network (WWAN) module in laptops stores sensitive information such as user network configuration and authentication data in its embedded SIM card (eSIM) profile. Failure to thoroughly erase this data during device recycling poses a serious risk of data breaches. In the actual operation of equipment recycling in enterprises, various difficulties often arise that prevent the deletion of user data. For example, setting a strong and undisclosed system login password prevents the enterprise from accessing the system to perform data erasure operations; deleting critical system files or implanting viruses causes the system to fail to boot normally, making conventional system-based data erasure software unable to run; in other cases, insufficient data erasure permissions are not obtained in time during the computer recycling process, making it impossible to successfully complete the data erasure work. Summary of the Invention
[0003] The main purpose of this application is to provide a method for securely erasing application data, which aims to solve the technical problem of weak adaptability of data erasure in the prior art.
[0004] To achieve the above objectives, this application provides an application data security erasure method, the method comprising the following steps: Upon receiving an erase boot command, an erase trigger signal is generated. This erase trigger signal is processed for signal transmission during BIOS startup but before the system software is running. The current card slot type is detected based on the erase trigger signal; If the current card slot type is detected to be the target card slot type, a target data erasure operation is performed.
[0005] In one embodiment, the erase start command includes a high pulse command; the step of generating an erase trigger signal upon receiving the erase start command includes: Obtain the duty cycle of the high pulse instruction in the erase start command; Determine whether the duty cycle is within a preset trigger range; When the duty cycle is within the preset trigger range, an erase trigger signal is generated.
[0006] In one embodiment, after the step of determining whether the duty cycle is within a preset trigger interval, the method further includes: When the duty cycle is within the preset trigger range, the generation of the erase trigger signal stops.
[0007] In one embodiment, the step of detecting the current card slot type based on the erase trigger signal includes: Based on the erase trigger signal, a card slot identification signal is sent to the current card slot; The card slot receives a feedback identification signal based on the card slot identification signal. The current card slot type is determined based on the feedback identification signal.
[0008] In one embodiment, after the step of detecting the current card slot type based on the erase trigger signal, the method further includes: If the current card slot type is not the target card slot type, a card slot switching signal is generated; Based on the card slot switching signal, the current card slot is switched to a card slot of the target card slot type.
[0009] In one embodiment, the step of performing a target data erasure operation when the current card slot type is detected to be the target card slot type includes: If the current card slot type is detected to be the target card slot type, card slot configuration information is generated; Erasure data is generated based on the card slot configuration information; The erased data is used to overwrite the target data to achieve the target data erasure operation.
[0010] In one embodiment, before the step of generating an erase trigger signal upon receiving an erase start command, the method further includes: Acquire BIOS interface boot signals; Upon receiving the BIOS interface boot signal, the erase boot command is acquired.
[0011] Furthermore, to achieve the above objectives, this application also provides an application data security erasure device, the device comprising: The instruction receiving module is used to generate an erase trigger signal when an erase start instruction is received. The erase trigger signal is processed for signal transmission when the BIOS is started but the system software is not running. The card slot detection module is used to detect the current card slot type based on the erase trigger signal; The data erasure module is used to perform a target data erasure operation when the current card slot type is detected to be the target card slot type.
[0012] In addition, to achieve the above objectives, this application also provides an application data secure erasure device, which includes: a memory, a processor, and an application data secure erasure processing program stored in the memory and executable on the processor. When the application data secure erasure processing program is executed by the processor, it implements the steps of the above-described application data secure erasure method.
[0013] In addition, to achieve the above objectives, this application also proposes a storage medium, which is a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, it implements the steps of the application data secure erasure method described above.
[0014] The above-mentioned one or more technical solutions provided in this application may have the following advantages or at least achieve the following technical effects: This application discloses a method, apparatus, device, and storage medium for securely erasing application data. The method includes: upon receiving an erase start command, generating an erase trigger signal; the erase trigger signal is transmitted and processed during BIOS startup but before system software runs; detecting the current card slot type based on the erase trigger signal; and performing a target data erase operation if the current card slot type is detected as the target card slot type. By detecting the card slot type, the erase operation is performed only on the target card slot, avoiding accidental erasure of non-target card slots, and ensuring that the erase action accurately targets sensitive data, thus improving the reliability and accuracy of data erasure. Even in extreme situations where the system is locked or access is insufficient, such as when access is impossible, hardware erasure of application data can still be achieved through the erase start command, ensuring the secure recovery of hardware. Attached Figure Description
[0015] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on the structures shown in these drawings without creative effort.
[0016] Figure 1 This is a flowchart illustrating the first embodiment of the data security erasure method applied in this application; Figure 2 This is a flowchart illustrating the second embodiment of the data security erasure method applied in this application; Figure 3 This is a schematic diagram of the first process of the third embodiment of the data security erasure method applied in this application; Figure 4This is a schematic diagram of the second process of the third embodiment of the data security erasure method applied in this application; Figure 5 This is a schematic diagram of the third process of the third embodiment of the data security erasure method applied in this application; Figure 6 This is a schematic diagram of the module structure of the data security erasure device used in this application; Figure 7 This is a schematic diagram of the hardware operating environment for the application data security erasure device involved in the application data security erasure method of this application.
[0017] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation
[0018] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of the embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.
[0019] It should be noted that if the embodiments of this application involve directional indicators (such as up, down, left, right, front, back, etc.), the directional indicators are only used to explain the relative positional relationship and movement of the components in a specific posture. If the specific posture changes, the directional indicators will also change accordingly.
[0020] Furthermore, if the embodiments of this application involve descriptions such as "first" or "second," these descriptions are for descriptive purposes only and should not be construed as indicating or implying their relative importance or implicitly specifying the number of technical features indicated. Therefore, a feature defined with "first" or "second" may explicitly or implicitly include at least one of those features. Additionally, the use of "and / or" or "and / or" throughout the text includes three parallel solutions. For example, "A and / or B" includes solution A, solution B, or a solution that simultaneously satisfies A and B. Furthermore, the technical solutions of the various embodiments can be combined with each other, but this must be based on the ability of those skilled in the art to implement them. When the combination of technical solutions is contradictory or impossible to implement, it should be considered that such a combination of technical solutions does not exist and is not within the scope of protection claimed in this application.
[0021] It should be noted that the executing entity in this embodiment can be a computing service device with data processing, network communication, and program execution functions, such as a tablet computer, personal computer, or mobile phone, or an application data security erasure device capable of performing the above functions. The following description uses an application data security erasure device as an example to illustrate this embodiment and the subsequent embodiments.
[0022] Based on this, embodiments of this application provide an application data security erasure method, referring to... Figure 1 , Figure 1 This is a flowchart illustrating the first embodiment of the data security erasure method applied in this application.
[0023] Step S10: Upon receiving an erase start command, generate an erase trigger signal.
[0024] The erase trigger signal is transmitted and processed when the BIOS is started but the system software is not running.
[0025] It should be noted that the application data security erasure system can be a computer hardware system consisting of a laptop BIOS, a WWAN module (with built-in card slot type detection unit and data processing unit), and a hardware signal control module.
[0026] It should be understood that there are two main types of WWAN module data erasure technologies. One type is operating system-based software erasure, which involves running specific data erasure software on the system and sending commands to the WWAN module to clear data such as the eSIM profile. However, this method heavily relies on the normal operation of the operating system; when the system crashes, is infected with malware, or is locked, data erasure cannot be performed. The other type is partial hardware erasure attempts, which use hardware interfaces to send signals to erase data. However, this type of hardware erasure solution does not limit the signal parameters, cannot ensure that the erasure operation is triggered only under specific conditions, and does not provide adaptation for different card slot types. In practical applications, this poses significant data security risks and operational inaccuracies, making it difficult to cope with the complex scenarios in enterprise equipment recycling.
[0027] Understandably, the erase boot command can be issued by enterprise personnel or after-sales personnel through specific operations (such as key combinations or menu selections) after entering the laptop's BIOS interface. It triggers the system boot data erase process and serves as the trigger signal source for initiating the erase operation. The erase trigger signal can be a signal generated by the hardware signal control module based on the BIOS erase boot command. This signal can trigger the WWAN module to perform card slot detection and data erase operations, and can be transmitted even when the BIOS is booting but the system software is not running.
[0028] The BIOS is the basic input / output system of a laptop computer. It can operate independently without relying on the operating system. It is responsible for receiving erase boot commands, controlling the hardware signal control module to generate signals, and coordinating the WWAN module to complete the data erasure. System software refers to the laptop's operating system (such as Windows, macOS, etc.). Traditional data erasure solutions generally rely on the normal operation of the system software, while this embodiment can complete the erasure operation without its startup.
[0029] Step S20: Detect the current card slot type based on the erase trigger signal.
[0030] It should be noted that the current card slot type can be the type of card slot currently in use or connected in the WWAN module, specifically an eSIM card slot or other non-eSIM card slots. The card slot type detection unit can detect and identify it, specifically through a set hardware identification circuit or protocol interaction method to detect the current card slot in real time. In this embodiment, no specific limitation is made.
[0031] Step S30: If the current card slot type is detected to be the target card slot type, perform the target data erasure operation.
[0032] It should be noted that the target card slot type refers to the card slot type (eSIM) that stores the target erase data (e.g., eSIM profile). Since the eSIM profile stores sensitive data such as user network configuration and identity authentication, the target object of the erase operation is generally the eSIM card slot.
[0033] It is understandable that the target data erasure operation can be an operation performed by the data processing unit of the WWAN module to completely erase the eSIM profile in the target card slot (eSIM card slot). Specifically, this can be achieved by overwriting specific erasure data and resetting relevant configuration parameters, thereby ensuring that the data cannot be recovered.
[0034] In this embodiment, the application data secure erasure method includes: upon receiving an erasure start command, generating an erasure trigger signal; the erasure trigger signal is transmitted and processed during BIOS startup but before the system software runs; detecting the current card slot type based on the erasure trigger signal; and performing a target data erasure operation if the current card slot type is detected as the target card slot type. By detecting the card slot type, the erasure operation is performed only on the target card slot, avoiding accidental erasure of non-target card slots, and ensuring that the erasure action accurately targets sensitive data, thus improving the reliability and accuracy of data erasure. Even in extreme situations where the system is locked or access is insufficient, such as when access to the system is impossible, hardware erasure of application data can still be achieved through the erasure start command, ensuring the secure recovery of hardware.
[0035] Based on the first embodiment of this application, in the second embodiment of this application, the content that is the same as or similar to that in Embodiment 1 above can be referred to the above description, and will not be repeated hereafter. Please refer to Figure 2 , Figure 2 This is a schematic diagram of the first process of a second embodiment of the data security erasure method of this application. In this embodiment, the erasure initiation command includes a high pulse command. Step 20 includes: Step S201: Obtain the duty cycle of the high pulse instruction in the erase start instruction.
[0036] It should be noted that the erase start instruction can contain both high-pulse and low-pulse instructions, corresponding to the instruction source from which the hardware signal control module generates the high-pulse signal. The duty cycle can be the ratio of the high-level duration in the high-pulse instruction to the instruction cycle (or the proportion of the high-pulse signal duration within its cycle), which can determine whether the high-pulse instruction is valid.
[0037] Step S202: Determine whether the duty cycle is within the preset trigger range.
[0038] It should be noted that the preset trigger range can be a duty cycle range that is pre-set in the system to determine whether a high pulse command is valid. Only when the duty cycle of the high pulse command falls into this range is it considered a valid trigger condition (for example, it can be set to 2S).
[0039] Step S203: When the duty cycle is within the preset trigger range, an erase trigger signal is generated.
[0040] It should be noted that the erase trigger signal can be a valid signal generated by the hardware signal control module when the duty cycle of the high pulse instruction meets the preset trigger interval. This signal is used to trigger the WWAN module to perform card slot detection and subsequent data erase operations. The transmission of the erase trigger signal also does not depend on system software operation and can be completed only in a BIOS-booted environment.
[0041] Furthermore, when the duty cycle is within a preset trigger range, the generation of the erase trigger signal is stopped.
[0042] Specifically, the hard signal control module generates high pulse signals and low-level signals of varying durations based on BIOS instructions. When the duration of the generated high pulse signal falls within a specific range, it is considered a valid pulse, and the WWAN module executes subsequent erase operations upon receiving the signal. If the duration of the high pulse signal is outside the specific range, or if the signal remains at a low level, the WWAN module does not perform any operation upon receiving the signal, thereby avoiding accidental erasure and ensuring the accuracy of data erasure in complex operating environments.
[0043] In this embodiment, the duty cycle of the high-pulse instruction in the erase start command is obtained; it is determined whether the duty cycle is within a preset trigger range; if the duty cycle is within the preset trigger range, an erase trigger signal is generated; and if the duty cycle is within the preset trigger range, the generation of the erase trigger signal is stopped. The valid conditions for the erase trigger signal are determined by the quantization logic of the duty cycle and the preset trigger range, avoiding false triggering or trigger failure caused by unrestricted signals, ensuring that the erase operation is only performed under expected conditions, and reducing the risk of false erase.
[0044] Based on the above embodiments of this application, in the third embodiment of this application, the same or similar content as the above embodiments can be referred to the above description, and will not be repeated hereafter. Based on this, please refer to... Figure 3 , Figure 3 This is a schematic diagram of the first process of the third embodiment of the data security erasure method of this application. In this embodiment, step S30 includes: Step S301: Send a card slot identification signal to the current card slot based on the erase trigger signal.
[0045] It should be noted that the current SIM card slot can be any type of SIM card currently connected or active in the WWAN module. This could be an eSIM SIM card slot storing target sensitive data (eSIM profile), or other non-eSIM SIM card slots. The SIM card slot identification signal can be emitted by the SIM card slot type detection unit of the WWAN module, used to identify SIM card slot attributes (generated based on hardware identification circuitry or protocol interaction). Its function is to send a query command to the current SIM card slot to obtain SIM card slot type-related information.
[0046] Step S302: Receive the feedback identification signal returned by the card slot according to the card slot identification signal.
[0047] It should be noted that the feedback identification signal can be a response signal containing its own type attributes that is sent back to the card slot type detection unit after the current card slot receives the card slot identification signal. The feedback identification signal carries a unique identifier (such as an eSIM card slot exclusive identifier or a non-eSIM card slot identifier), thereby realizing the determination of the card slot type.
[0048] Step S303: Determine the current card slot type based on the feedback identification signal.
[0049] Understandably, adopting a two-way interactive approach of actively sending queries and then passively responding with identifiers effectively resists the influence of factors such as signal interference and poor hardware contact, significantly reduces the probability of misjudging card slot type, and avoids accidental erasure of non-target card slot data or missed erasure of target card slot data due to misjudgment.
[0050] Furthermore, referring to Figure 4 , Figure 4 This is a schematic diagram of the second process of the third embodiment of the data security erasure method of this application. After step S20, the method further includes: Step S401: If the current card slot type is not the target card slot type, a card slot switching signal is generated.
[0051] It should be noted that the card slot switching signal can be a trigger signal generated by the card slot type detection unit of the WWAN module after determining that the current card slot is a non-eSIM card slot. It can instruct the internal hardware circuit and communication protocol of the WWAN module to perform the card slot switching operation.
[0052] Step S402: Based on the card slot switching signal, switch the current card slot to a card slot of the target card slot type.
[0053] It should be noted that card slot switching can be a process where the WWAN module switches the current non-eSIM card slot to an eSIM card slot through internal hardware circuit control and communication protocol interaction, without manual intervention and is completely completed autonomously by the module. Specifically, it can replace the currently active non-eSIM card slot with an eSIM card slot (target card slot type) through internal preset hardware circuit control logic and communication protocol interaction.
[0054] Specifically, while the hardware signal control module sends signals, the card slot type detection unit within the WWAN module uses a specific hardware identification circuit or protocol interaction method to detect the current card slot in real time and determine whether it is an eSIM card slot. If the current card slot is detected to be a non-eSIM card slot, the card slot type detection unit will trigger the internal card slot switching logic. By controlling the relevant hardware circuits and communication protocols within the WWAN module, it will autonomously complete the card slot switching operation, switching the card slot to an eSIM card slot.
[0055] Understandably, the WWAN module can automatically detect non-target card slots and switch to them, avoiding the manual operation costs during batch device recycling and improving the overall efficiency of data erasure. Automatic switching to the target card slot ensures that the data erasure operation is always directed at the carrier storing sensitive data, ensuring the data can be securely erased.
[0056] Furthermore, referring to Figure 5 , Figure 5 This is a schematic diagram of the third process of the third embodiment of the data security erasure method applied in this application.
[0057] Step S501: If the current card slot type is detected to be the target card slot type, generate card slot configuration information.
[0058] It should be noted that the card slot configuration information can be the operating parameters and data storage attribute information of the target card slot (eSIM card slot), including but not limited to the storage address, data format, read and write permissions, and configuration parameter identifiers of the eSIM profile, which are generated by the data processing unit of the WWAN module based on the hardware characteristics and protocol specifications of the target card slot.
[0059] Step S502: Generate erasure data based on the card slot configuration information.
[0060] It should be noted that the erased data can be specific format data generated based on the card slot configuration information to overwrite the target data. It is generated by preset rules (such as random data filling and specific identification data) and has the characteristic of matching the target data storage format, ensuring that it can completely overwrite the original data and cannot be reversed and recovered.
[0061] Step S503: Use the erased data to overwrite the target data to achieve the target data erasure operation.
[0062] It should be noted that the target data can be sensitive data stored in the eSIM profile within the target card slot (eSIM card slot), specifically including user network configuration parameters, identity authentication information, and communication permission data. This data is the target of the erasure operation, i.e., the risky data that needs to be cleared in the device recycling scenario.
[0063] In this embodiment, identification is achieved by sending an identification signal and receiving a feedback signal, avoiding unfounded and blind judgments and ensuring accurate and reliable identification results for the current SIM card slot type. Real-time detection of the current SIM card slot type allows for dynamic adaptation to scenarios such as SIM card slot switching and changes in SIM card slot activation status. Even if the device's SIM card slot configuration has been adjusted, the target SIM card slot (eSIM card slot) can still be accurately identified, further enhancing the solution's adaptability to complex scenarios involving enterprise device recycling.
[0064] The above are merely preferred embodiments of this application and do not limit the patent scope of this application. Any equivalent structural or procedural transformations made using the content of this application's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the patent scope of this application.
[0065] This application also provides an application data security erasure device, please refer to... Figure 6 The application data security erasure device includes: The instruction receiving module 10 is used to generate an erase trigger signal when an erase start instruction is received. The erase trigger signal is processed for signal transmission when the BIOS is started but the system software is not running. Card slot detection module 20 is used to detect the current card slot type based on the erase trigger signal; The data erasure module 30 is used to perform a target data erasure operation when the current card slot type is detected to be the target card slot type.
[0066] The application data security erasure device provided in this application, employing the application data security erasure method described in the above embodiments, can solve the technical problem of weak adaptability in data erasure. Compared with the prior art, the beneficial effects of the application data security erasure device provided in this application are the same as those of the application data security erasure method described in the above embodiments, and other technical features in the application data security erasure device are the same as those disclosed in the methods of the above embodiments, and will not be repeated here.
[0067] This application provides an application data security erasure device, which includes: at least one processor; and 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 to enable the at least one processor to perform the application data security erasure method in the first embodiment described above.
[0068] The following is for reference. Figure 7 The diagram illustrates a structural schematic of an application data security erasure device suitable for implementing embodiments of this application. The application data security erasure device in embodiments of this application may include, but is not limited to, mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Description), PMPs (Portable Media Players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. Figure 7 The application data security erasure device shown is merely an example and should not impose any limitations on the functionality and scope of use of the embodiments of this application.
[0069] like Figure 7As shown, the application data secure erasure device may include a processing unit 1001 (e.g., a central processing unit, a graphics processing unit, etc.) that can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1002 or a program loaded from a storage device 1003 into a random access memory (RAM) 1004. The RAM 1004 also stores various programs and data required for the operation of the application data secure erasure device. The processing unit 1001, ROM 1002, and RAM 1004 are interconnected via a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Typically, the following systems can be connected to the I / O interface 1006: input devices 1007 including, for example, a touchscreen, touchpad, keyboard, mouse, image sensor, microphone, accelerometer, gyroscope, etc.; output devices 1008 including, for example, a liquid crystal display (LCD), speaker, vibrator, etc.; storage devices 1003 including, for example, magnetic tape, hard disk, etc.; and communication devices 1009. Communication device 1009 allows the application data security erasure device to communicate wirelessly or wiredly with other devices to exchange data. While the figure shows application data security erasure devices with various systems, it should be understood that implementation or possession of all the systems shown is not required. More or fewer systems may be implemented alternatively.
[0070] Specifically, according to the embodiments disclosed in this application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments disclosed in this application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device, or installed from storage device 1003, or installed from ROM 1002. When the computer program is executed by processing device 1001, it performs the functions defined in the methods of the embodiments disclosed in this application.
[0071] The application data security erasure device provided in this application adopts the application data security erasure method in the above embodiments. Compared with the prior art, the beneficial effects of the application data security erasure device provided in this application are the same as the beneficial effects of the application data security erasure method provided in the above embodiments. Moreover, other technical features in the application data security erasure device are the same as the features disclosed in the method of the previous embodiment, and will not be repeated here.
[0072] It should be understood that the various parts disclosed in this application can be implemented using hardware, software, firmware, or a combination thereof. In the description of the above embodiments, specific features, structures, materials, or characteristics can be combined in any suitable manner in one or more embodiments or examples.
[0073] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
[0074] This application provides a computer-readable storage medium having computer-readable program instructions (i.e., a computer program) stored thereon, the computer-readable program instructions being used to execute the application data secure erasure method described in the above embodiments.
[0075] The computer-readable storage medium provided in this application may be, for example, a USB flash drive, but is not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to: electrical connections having one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, system, or device. The program code contained on the computer-readable storage medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination thereof.
[0076] The aforementioned computer-readable storage medium may be included in the application data secure erasure device; or it may exist independently and not assembled into the application data secure erasure device.
[0077] Computer program code for performing the operations of this application can be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, and C++, and conventional procedural programming languages such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a Local Area Network (LAN) or a Wide Area Network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0078] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0079] The modules described in the embodiments of this application can be implemented in software or hardware. The names of the modules do not necessarily limit the functionality of the unit itself.
[0080] The readable storage medium provided in this application is a computer-readable storage medium that stores computer-readable program instructions (i.e., a computer program) for executing the above-described application data secure erasure method, thereby solving the technical problem of weak adaptability in data erasure. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in this application are the same as those of the application data secure erasure method provided in the above embodiments, and will not be repeated here.
[0081] The above description is only a part of the embodiments of this application and does not limit the patent scope of this application. All equivalent structural transformations made under the technical concept of this application and using the contents of the specification and drawings of this application, or direct / indirect applications in other related technical fields, are included in the patent protection scope of this application.
Claims
1. A method for securely erasing application data, characterized in that, The application data secure erasure method includes the following steps: Upon receiving an erase boot command, an erase trigger signal is generated. This erase trigger signal is processed for signal transmission during BIOS startup but before the system software is running. The current card slot type is detected based on the erase trigger signal; If the current card slot type is detected to be the target card slot type, a target data erasure operation is performed.
2. The application data security erasure method as described in claim 1, characterized in that, The erase start command includes a high pulse command; the step of generating an erase trigger signal upon receiving the erase start command includes: Obtain the duty cycle of the high pulse instruction in the erase start command; Determine whether the duty cycle is within a preset trigger range; When the duty cycle is within the preset trigger range, an erase trigger signal is generated.
3. The application data security erasure method as described in claim 2, characterized in that, After the step of determining whether the duty cycle is within the preset trigger range, the method further includes: When the duty cycle is within the preset trigger range, the generation of the erase trigger signal stops.
4. The application data security erasure method as described in claim 1, characterized in that, The step of detecting the current card slot type based on the erase trigger signal includes: Based on the erase trigger signal, a card slot identification signal is sent to the current card slot; The card slot receives a feedback identification signal based on the card slot identification signal. The current card slot type is determined based on the feedback identification signal.
5. The application data security erasure method as described in claim 4, characterized in that, After the step of detecting the current card slot type based on the erase trigger signal, the method further includes: If the current card slot type is not the target card slot type, a card slot switching signal is generated; Based on the card slot switching signal, the current card slot is switched to a card slot of the target card slot type.
6. The application data security erasure method as described in claim 5, characterized in that, The step of performing a target data erasure operation when the current card slot type is detected to be the target card slot type includes: If the current card slot type is detected to be the target card slot type, card slot configuration information is generated; Erasure data is generated based on the card slot configuration information; The erased data is used to overwrite the target data to achieve the target data erasure operation.
7. The application data security erasure method as described in claim 1, characterized in that, Before the step of generating an erase trigger signal upon receiving an erase start command, the method further includes: Acquire BIOS interface boot signals; Upon receiving the BIOS interface boot signal, the erase boot command is acquired.
8. A data security erasure device, characterized in that, The device includes: The instruction receiving module is used to generate an erase trigger signal upon receiving an erase start instruction; The card slot detection module is used to detect the current card slot type based on the erase trigger signal; The data erasure module is used to perform a target data erasure operation when the current card slot type is detected to be the target card slot type.
9. An application data security erasure device, characterized in that, The application data secure erasure device includes: a memory, a processor, and an application data secure erasure processing program stored in the memory and executable on the processor. When the application data secure erasure processing program is executed by the processor, it implements the steps of the application data secure erasure method as described in any one of claims 1 to 7.
10. A storage medium, characterized in that, The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, it implements the steps of the application data secure erasure method as described in any one of claims 1 to 7.