A method for intelligently closing a secure partition
By configuring boot information within the hard drive's secure partition and utilizing the boot file's access status, intelligent shutdown of the secure partition is achieved, resolving data security risks caused by the system's failure to shut it down in a timely manner and improving data protection effectiveness.
Patent Information
- Application Number
- CN202211313779.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-10-25
- Publication Date
- 2026-02-03
- Estimated Expiration
- 2042-10-25
AI Technical Summary
In existing technologies, if a system does not close a secure partition in a timely manner after opening it, there is a risk of data deletion, resulting in insufficient data security.
Configure boot information within the safe partition of the hard drive, and automatically determine the calling status through the boot file to achieve intelligent shutdown of the safe partition, including detecting hotkey input during system startup to determine whether to execute the command to open or close the safe partition.
It enables automatic shutdown of the security partition, improving data security, preventing data loss due to forgetting to close it, and enhancing the protection capabilities of the security partition.
Smart Images

Figure CN115630369B_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of computer technology, and in particular relates to a method for intelligently disabling a security partition. Background Technology
[0002] To address the need for protecting important files or data and preventing the leakage of confidential information, several security partition-based solutions can be used. These solutions allocate a single security partition on the hard drive of a computing device to store critical data. The security partition can be invisible to one or more software programs (such as the operating system), so the data in the security partition can be preserved even if the operating system of the computing device is corrupted or the hard drive is formatted.
[0003] Currently, if the system opens the secure partition via a hotkey, and no action is taken to close the secure partition, the secure partition remains open, and data can be deleted. Summary of the Invention
[0004] In view of the above-mentioned problems existing in the prior art, the purpose of this invention is to provide a method for intelligently disabling the security partition.
[0005] The technical solution adopted in this embodiment of the invention is a method for intelligently disabling a security partition, applied to a hard drive configured with a security partition, including:
[0006] Configure boot information within the safe partition of the hard drive;
[0007] After enabling the safe partition on the hard drive, accessing files within the safe partition requires simultaneously reading the boot information.
[0008] The hard disk security partition is closed based on the call status information contained in the boot information.
[0009] Furthermore, the boot information is configured in the boot file, and the boot information is read by calling the boot file.
[0010] Furthermore, the step of closing the hard disk security partition based on the call status information contained in the boot information includes:
[0011] If the boot files stop / are not invoked, the safe partition shutdown command will be executed to shut down the hard drive's safe partition.
[0012] When the boot file is in the invocation state, it retains the permission to open the hard drive's secure partition.
[0013] Furthermore, enabling / disabling the security partition of the hard drive refers to enabling / disabling permissions to access, add, and delete files within the security partition of the hard drive.
[0014] Furthermore, the step of enabling the secure partition on the hard drive includes:
[0015] Detect hotkey input during system startup;
[0016] Whether to execute the command to enable secure partition permissions on the hard drive is determined based on the hotkey input status.
[0017] Furthermore, the step of determining whether to execute the command to enable the safe partition of the hard drive based on the hotkey input status includes:
[0018] If a hotkey is available, the command to enable safe partitioning of the hard drive will be executed.
[0019] If no hotkey is available, execute the command to close the security partition.
[0020] Furthermore, when hotkey input exists, the stored hotkey input data is recorded simultaneously;
[0021] If no hotkey input is available, the hotkey input data stored in the logbook is read, and the decision on whether to execute the secure partition shutdown command is made based on the stored hotkey input data.
[0022] Furthermore, the step of determining whether to execute the security partition shutdown command based on the recorded and stored hotkey input data includes:
[0023] If hotkey input data exists, execute the security partition shutdown command and clear the hotkey input data;
[0024] If no hotkey is available for data input, the secure partition shutdown command will not be executed.
[0025] Furthermore, the boot file is configured in a fixed location within the secure partition of the hard drive.
[0026] Furthermore, when calling the boot file, the boot file is searched for based on its fixed location information within the secure partition. If the boot file is not found, a secure partition shutdown command is executed.
[0027] Compared with existing technologies, the intelligent method for closing a security partition proposed in this invention can automatically close the security partition on a hard drive without requiring additional commands. This effectively improves the security of the security partition and protects the data within it.
[0028] It should be understood that the foregoing general description and the following detailed description are exemplary and illustrative only, and are not intended to limit the invention.
[0029] The overview of various implementations or examples of the technology described in this invention is not a complete disclosure of the full scope or all features of the disclosed technology. Attached Figure Description
[0030] In drawings that are not necessarily drawn to scale, the same reference numerals may describe similar parts in different views. The same reference numerals with or without letter suffixes may indicate different instances of similar parts. The drawings generally illustrate various embodiments by way of example rather than limitation and, together with the description and claims, serve to explain embodiments of the invention. Where appropriate, the same reference numerals are used in all drawings to refer to the same or similar parts. Such embodiments are illustrative and not intended to be exhaustive or exclusive embodiments of the apparatus or method.
[0031] Figure 1 This is a schematic diagram of the relevant process in an embodiment of the present invention.
[0032] Figure 2 This is a flowchart illustrating Embodiment 2 of the present invention. Detailed Implementation
[0033] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. All other embodiments obtained by those skilled in the art based on the described embodiments of the present invention without creative effort are within the scope of protection of the present invention.
[0034] Unless otherwise defined, the technical or scientific terms used in this invention shall have the ordinary meaning understood by one of ordinary skill in the art to which this invention pertains. The terms "first," "second," and similar terms used in this invention do not indicate any order, quantity, or importance, but are merely used to distinguish different components. Terms such as "comprising" or "including" mean that the element or object preceding the word encompasses the elements or objects listed following the word and their equivalents, without excluding other elements or objects. Terms such as "connected" or "linked" are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. Terms such as "upper," "lower," "left," and "right" are used only to indicate relative positional relationships; when the absolute position of the described object changes, the relative positional relationship may also change accordingly.
[0035] To keep the following description of the embodiments of the present invention clear and concise, detailed descriptions of known functions and known components are omitted.
[0036] Example 1
[0037] See Figure 1 This invention provides a method for intelligently disabling a security partition, applied to a hard drive configured with a security partition, comprising:
[0038] S1. Configure boot information within the safe partition of the hard drive;
[0039] S2. After enabling the safe partition on the hard drive, accessing files within the safe partition requires simultaneously reading the boot information; the boot information is configured in the boot file, and the boot information is read by accessing the boot file.
[0040] S3. Close the hard disk security partition based on the call status information contained in the boot information.
[0041] Specifically, if the boot files stop / are not accessed, the safe partition shutdown command is executed to shut down the hard drive's safe partition;
[0042] When the boot file is in the invocation state, it retains the permission to open the hard drive's secure partition.
[0043] Enable / disable the security partition on a hard drive to enable / disable permissions for accessing, adding, and deleting files within the security partition.
[0044] The steps to enable a secure partition on a hard drive include:
[0045] Detect hotkey input during system startup;
[0046] Whether to execute the command to enable secure partition permissions on the hard drive is determined based on the hotkey input status.
[0047] Under normal circumstances, if a hotkey is available, the command to enable safe partitioning of the hard drive will be executed.
[0048] If no hotkey is available, execute the command to close the security partition.
[0049] Example 2
[0050] See Figures 1 to 2 This invention provides a method for intelligently disabling a security partition, applied to a hard drive configured with a security partition, comprising:
[0051] S1. Configure boot information within the safe partition of the hard drive;
[0052] S2. After enabling the safe partition on the hard drive, accessing files within the safe partition requires simultaneously reading the boot information; the boot information is configured in the boot file, and the boot information is read by accessing the boot file.
[0053] S3. Close the hard disk security partition based on the call status information contained in the boot information.
[0054] Specifically, if the boot files stop / are not accessed, the safe partition shutdown command is executed to shut down the hard drive's safe partition;
[0055] When the boot file is in the invocation state, it retains the permission to open the hard drive's secure partition.
[0056] Enable / disable the security partition on a hard drive to enable / disable permissions for accessing, adding, and deleting files within the security partition.
[0057] The steps to enable a secure partition on a hard drive include:
[0058] Detect hotkey input during system startup;
[0059] Whether to execute the command to enable secure partition permissions on the hard drive is determined based on the hotkey input status.
[0060] Considering special circumstances, such as the safety partition remaining open after a power outage, hotkey input data will be recorded and stored simultaneously when hotkey input is available.
[0061] If no hotkey input is found, the hotkey input data stored in the log is read, and the decision on whether to execute the security partition shutdown command is made based on the hotkey input data stored in the log.
[0062] Specifically, when hotkey input data exists, execute the security partition shutdown command and clear the hotkey input data;
[0063] If no hotkey is available for data input, the secure partition shutdown command will not be executed.
[0064] The boot files are configured in a fixed location within the security partition of the hard drive.
[0065] When calling the boot file, the system searches for the boot file based on its fixed location information within the safe partition. If the boot file is not found, the system executes the safe partition shutdown command.
[0066] This technical solution can automatically disable the hard drive's security partition without requiring a separate command to do so. It effectively improves the security of the security partition and protects the data within it.
[0067] After opening the safe partition, first check if there is a boot file (LMO.efi (OKR system)) that can be called in a fixed location within the safe partition.
[0068] The boot file call axis then checks the boot file's calling status. If the boot file LMO.efi (in OKR systems) is not called, the security partition is closed (the partition close command is executed), and the security partition is made invisible, thus improving the security of the security partition.
[0069] The system intelligently closes the security partition based on the boot file's call status, eliminating the need for a separate command to close the security partition.
[0070] On the one hand, by configuring a boot file in a fixed location within the secure partition, the secure partition is closed if the boot file does not exist in the fixed location, thus protecting the data security of the secure partition; on the other hand, using the boot file as a prerequisite for operating on files within the secure partition can effectively prevent situations where the secure partition is forgotten to be closed.
[0071] 1. A process with hotkey input exists.
[0072] The system boots up and the hard drive's safe partition is opened by pressing a hotkey (or by executing the open partition command).
[0073] When the hard drive's secure partition is enabled, the BIOS retrieves the boot file of that partition (LBA0 partition) from the specified location.
[0074] 1.1 Boot files exist at the specified location
[0075] After successfully launching the boot file, you can operate normally on files within the safe partition.
[0076] 1.2 Boot file does not exist at the specified location
[0077] If no bootable file is found in the specified location, the BIOS will execute the safe partition shutdown command to disable the hard drive's safe partition.
[0078] Furthermore, when the boot files stop / are not invoked, the safe partition shutdown command is executed to shut down the hard drive's safe partition.
[0079] 2. There is no hotkey input process.
[0080] If no hotkey is pressed during system startup, the BIOS will read the stored hotkey input data.
[0081] If hotkey input data exists, execute the safe partition shutdown command to close the hard drive's safe partition and clear the hotkey input data; then proceed with the normal boot process.
[0082] If no hotkey is available for inputting data, the system will proceed with the normal boot process.
[0083] The above description is intended to be illustrative and not restrictive. Those skilled in the art can make variations, modifications, substitutions, and alterations to the above embodiments within the scope of this disclosure. Moreover, the above examples (or one or more of them) can be used in combination with each other, and these embodiments can be combined with each other in various combinations or arrangements.
Claims
1. A method for intelligently disabling a security partition, applied to a hard drive configured with a security partition, characterized in that, include: Configure boot information within the safe partition of the hard drive; After enabling the safe partition on the hard drive, accessing files within the safe partition requires simultaneously reading the boot information. The hard disk security partition is closed based on the call status information contained in the boot information; The boot information is configured in the boot file, and the boot information is read by calling the boot file; The steps for enabling the hard drive's secure partition include: Detect hotkey input during system startup; The system determines whether to execute the command to enable the safe partition permission based on the hotkey input status, or whether to execute the command to disable the safe partition based on the recorded hotkey input data. in: The decision to execute the secure partition shutdown command is based on the stored hotkey input data, including: When hotkey input exists, the stored hotkey input data is recorded simultaneously. If no hotkey input is found, the hotkey input data stored in the log will be read. If hotkey input data exists, execute the secure partition shutdown command and clear the hotkey input data; if no hotkey input data exists, do not execute the secure partition shutdown command.
2. The method for intelligently disabling a security partition according to claim 1, wherein, The step of closing the hard disk security partition based on the call status information contained in the boot information includes: If the boot files stop / are not invoked, the safe partition shutdown command will be executed to shut down the hard drive's safe partition. When the boot file is in the invocation state, it retains the permission to open the hard drive's secure partition.
3. The method for intelligently disabling a security partition according to claim 1, wherein, The "open / close the security partition of the hard drive" option enables / disables permissions for accessing, adding, and deleting files within the security partition of the hard drive.
4. The method for intelligently disabling a security partition according to claim 1, wherein, The process of determining whether to execute the command to enable a secure partition on a hard drive based on the hotkey input status includes: If a hotkey is available, the command to enable safe partitioning of the hard drive will be executed. If no hotkey is available, execute the command to close the security partition.
5. The method for intelligently disabling a security partition according to claim 1, wherein, The boot file is configured in a fixed location within the secure partition of the hard drive.
6. The method for intelligently disabling a security partition according to claim 5, wherein, When calling the boot file, the boot file is searched for based on its fixed location information within the secure partition. If the boot file is not found, the secure partition is closed.
Citation Information
Patent Citations
Storing device of safety partitions
CN103617404A
Hidden partition processing method and device for memory
CN111338563A