A hard disk and a partition control method and device for the hard disk

Through the dual management mechanism of virtual partition table and actual partition table, the host can only operate partitions in the display state. The hidden partitions are switched interactively by the control side, solving the problem that hidden partitions in the hard disk partition table are easily read out or rewritten, achieving higher data security.

CN115129246BActive Publication Date: 2025-07-22JIANGSU XINSHENG INTELLIGENT TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202210718698.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-23
Publication Date
2025-07-22
Estimated Expiration
2042-06-23

AI Technical Summary

Technical Problem

In the prior art, there are hidden partitions in the hard disk partition table, resulting in poor data security and easy to be read out or rewritten, resulting in loss or leakage of user data.

Method used

Using a dual management mechanism of virtual partition tables and actual partition tables, the host can only operate partitions in the display state. The partitions in the hidden state switch states through interaction between the control terminal, and synchronize the update of the partition table between the hard disk and the control terminal.

Benefits of technology

Improves data security for hidden partitions of hard disks, prevents illegal reading and overwriting, and ensures the security of data in the event of hard disk loss, theft or borrowing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115129246B_ABST
    Figure CN115129246B_ABST
Patent Text Reader

Abstract

The present application discloses a hard disk, a partition control method and device for the hard disk, relating to the field of information security and applied to a partition control device in the hard disk. The method includes: when receiving a power-on signal from the host, guiding the loading instruction of the host to the virtual partition table; when receiving a handshake request from the control terminal, sending the actual partition table to the control terminal; when receiving a status switching instruction from the control terminal, performing a status switch on the partition corresponding to the status switching instruction according to the status switching instruction, and updating the virtual partition table and the actual partition table respectively. In the present application, the loading instruction of the host can only be guided to the virtual partition table, and the virtual partition table only includes partitions in the display state, and the partitions in the hidden state are invisible to the outside. Therefore, the host can only operate on the partitions in the display state, and any operation related to the partitions in the hidden state is based on the interaction between the hard disk and the control terminal, thereby further improving the data security of the hidden partitions of the hard disk.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of information security, and particularly to a hard disk, a method and a device for partitioning control of the hard disk. Background Art

[0002] Data storage security is an important part of the field of information security. As the most important carrier for data storage, how to protect the data in the hard disk has become a hot topic that the technicians in this field are most concerned about.

[0003] Currently, there are hard disks on the market that provide the function of selectively hiding partitions storing data. Generally, by rewriting the status type of the partitions in the hard disk partition table of the hard disk, the purpose of hiding or displaying partitions can be achieved. The security of this method is relatively poor. Although the hidden partitions will not be displayed when the hard disk shows partitions, all the displayed partitions and hidden partitions are still included in its hard disk partition table. Since there are hidden partitions in the partition table, the hidden partitions can be read out and formatted through partition tools, resulting in the loss of user data; or the partition type can be directly rewritten to display the hidden partitions, resulting in the leakage of user data. For users, there are relatively large loopholes in the data security protection of hidden partitions.

[0004] Therefore, how to provide a solution to solve the above technical problems is an issue that the technicians in this field need to solve currently. Summary of the Invention

[0005] In view of this, the purpose of the present invention is to provide a hard disk, a method and a device for partitioning control of the hard disk, so as to provide a more secure and reliable data protection. The specific solutions are as follows:

[0006] A method for partitioning control of a hard disk, which is applied to a partitioning control device in the hard disk. The method includes:

[0007] When receiving a power-on signal from the host, guiding the loading instruction of the host to a virtual partition table, and only the partition information of the partitions in the display state is stored in the virtual partition table;

[0008] When receiving a handshake request from the control end, sending the actual partition table to the control end; the actual partition table stores the partition information of the partitions in the display state and the partition information of the partitions in the hidden state;

[0009] When receiving a status switching instruction from the control end, performing a status switch on the partition corresponding to the status switching instruction, and updating the virtual partition table and the actual partition table respectively.

[0010] Preferably, the process of when receiving the status switching instruction from the control end and performing a status switch on the partition corresponding to the status switching instruction includes:

[0011] When receiving the status switching instruction from the control terminal, verify whether the unlocking credential of the status switching instruction is correct;

[0012] If so, perform a status switch on the partition corresponding to the status switching instruction according to the status switching instruction.

[0013] Preferably, before receiving the status switching instruction from the control terminal and performing a status switch on the partition corresponding to the status switching instruction according to the status switching instruction, it further includes:

[0014] Judge whether unlocking credentials are configured for all current partitions;

[0015] If not, send a configuration request for partition initialization to the control terminal so that the control terminal issues an initialization configuration command including the unlocking credential.

[0016] Preferably, during the process of receiving the status switching instruction from the control terminal and verifying whether the unlocking credential of the status switching instruction is correct, it further includes:

[0017] If the number of times the unlocking credential of the status switching instruction is incorrect during this power-on exceeds the preset number of times, trigger a protection mechanism.

[0018] Preferably, during the process of receiving the power-on signal of the host and guiding the loading instruction of the host to the virtual partition table, it includes:

[0019] Generate the actual partition table according to the partition information and partition status of all partitions in the hard disk partition table; the hard disk partition table is the initial configuration information pre-burned in the hard disk;

[0020] Generate the virtual partition table according to the partition information of all partitions with displayed status in the actual partition table.

[0021] Preferably, before receiving the handshake request from the control terminal and sending the actual partition table to the control terminal, it further includes:

[0022] Broadcast handshake information to search for the control terminal and cause the control terminal to send the handshake request in response to the handshake information.

[0023] Preferably, during the process of broadcasting handshake information to search for the control terminal and causing the control terminal to send the handshake request in response to the handshake information, it includes:

[0024] Broadcast handshake information through a wireless module to search for the control terminal and cause the control terminal to send the handshake request in response to the handshake information;

[0025] Correspondingly, the process of sending the actual partition table to the control end when receiving the handshake request from the control end includes:

[0026] When receiving the handshake request from the control end through the wireless module, send the actual partition table to the control end through the wireless module.

[0027] Correspondingly, the present application also discloses a partition control method for a hard disk, which is applied to the control end. The method includes:

[0028] Send a handshake request to the hard disk to receive the actual partition table of the hard disk; the actual partition table stores the partition information of the partitions in the display state and the partition information of the partitions in the hidden state;

[0029] When receiving the status switching command corresponding to the partition, generate a status switching instruction and send it to the hard disk, so that the hard disk performs status switching on the partition corresponding to the status switching instruction according to the status switching instruction.

[0030] Correspondingly, the present application also discloses a partition control device for a hard disk, which is applied to the hard disk. The device includes:

[0031] The first module is used to guide the loading instruction of the host to the virtual partition table when receiving the power-on signal of the host. The virtual partition table only stores the partition information of the partitions in the display state;

[0032] The second module is used to send the actual partition table to the control end when receiving the handshake request from the control end; the actual partition table stores the partition information of the partitions in the display state and the partition information of the partitions in the hidden state;

[0033] The third module is used to perform status switching on the partition corresponding to the status switching instruction according to the status switching instruction when receiving the status switching instruction from the control end, and update the partition information of the partition in the virtual partition table and the actual partition table respectively.

[0034] Correspondingly, the present application also discloses a hard disk, including:

[0035] Multiple partitions for storing data;

[0036] The partition control device as described above.

[0037] The present application discloses a method for partitioning and controlling a hard disk. The method includes: when receiving a power-on signal from a host, guiding the loading instruction of the host to a virtual partition table, where the virtual partition table stores only the partition information of partitions in a displayed state; when receiving a handshake request from a control terminal, sending the actual partition table to the control terminal; the actual partition table stores the partition information of the partitions in a displayed state and the partition information of the partitions in a hidden state; when receiving a state switching instruction from the control terminal, performing a state switch on the partition corresponding to the state switching instruction according to the state switching instruction, and respectively updating the virtual partition table and the actual partition table. In the present application, the loading instruction of the host can only be guided to the virtual partition table, and the virtual partition table only includes partitions in a displayed state. The partitions in a hidden state are not visible externally. Therefore, the host can only operate on the partitions in a displayed state, and any operation related to the partitions in a hidden state is based on the interaction between the hard disk and the control terminal, thereby further improving the data security of the hidden partitions of the hard disk. Description of the Drawings

[0038] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only the embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on the provided drawings.

[0039] Figure 1 It is a flowchart of the steps of a method for partitioning and controlling a hard disk in an embodiment of the present invention;

[0040] Figure 2 It is a flowchart of the display of partitions after the hard disk is powered on in an embodiment of the present invention;

[0041] Figure 3 It is a flowchart of the switching of partitions in an embodiment of the present invention;

[0042] Figure 4 It is a structural distribution diagram of a device for partitioning and controlling a hard disk in an embodiment of the present invention. Detailed Embodiments

[0043] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

[0044] In the prior art, since there are hidden partitions in the partition table, the hidden partitions can be read out and formatted through partition tools, resulting in the loss of user data; or the partition type can be directly rewritten to display the hidden partitions, resulting in the leakage of user data. For users, there are significant vulnerabilities in the data security protection of hidden partitions.

[0045] In this application, the loading instructions of the host can only be guided to the virtual partition table, and the virtual partition table only includes partitions in the display state. The partitions in the hidden state are not visible externally. Thus, the host can only operate on the partitions in the display state. Any operation related to the partitions in the hidden state is based on the interaction between the hard disk and the control terminal, thereby further improving the data security of the hidden partitions of the hard disk.

[0046] An embodiment of the present invention discloses a partition control method for a hard disk, which is applied to a partition control device in the hard disk. Refer to Figure 1 as shown, the method includes:

[0047] S1: When receiving the power-on signal of the host, guide the loading instructions of the host to the virtual partition table, and the virtual partition table only stores the partition information of the partitions in the display state;

[0048] S2: When receiving the handshake request from the control terminal, send the actual partition table to the control terminal; the actual partition table stores the partition information of the partitions in the display state and the partition information of the partitions in the hidden state;

[0049] S3: When receiving the state switching instruction from the control terminal, perform state switching on the partition corresponding to the state switching instruction according to the state switching instruction, and update the virtual partition table and the actual partition table respectively.

[0050] It can be understood that when a user reads the data of this hard disk, first connect this hard disk to the host, the host powers on and loads the hard disk, and the partition control device of the hard disk receives the power-on signal of the host and guides the loading instructions of the host to the virtual partition table. At this time, the host can operate on the relevant partitions according to the partition information in the virtual partition table. Since the partition information in the virtual partition table belongs to the partitions in the display state, the host can only operate on the partitions in the display state. With this setting, even if a person skilled in the art obtains the hard disk partition table through conventional technical means, they can only obtain the virtual partition table and cannot access any information related to the partitions in the hidden state, and cannot switch the partitions in the hidden state to the display state. The data security of the partitions in the hidden state is reliably protected.

[0051] Further, when the partition control device receives the power-on signal from the host and guides the host's loading instruction to the virtual partition table in step S1, it generally includes: generating an actual partition table according to the partition information and partition status of all partitions in the hard disk partition table; the hard disk partition table is initial configuration information pre-burned in the hard disk; generating a virtual partition table according to the partition information of all partitions with display status in the actual partition table. In this way of generating the partition table, each time after power-on, the partition control device will only generate the actual partition table and the virtual partition table according to the hard disk partition table in the initial configuration information. The switching operation of the partitions preset to be in the hidden state during power-on will not take effect when power-on again after power-off. When the hard disk is powered off and then powered on again, only the system partitions preset to be in the display state are in the virtual partition table, and other partitions are in the hidden state. If you want to operate on the data of other partitions, you must use the status switching instruction of the control terminal to achieve it. The partition information in the hard disk partition table includes the size and specific location attributes of each partition, and the partition status includes whether each partition corresponds to the display state or the hidden state. All these initial configuration information are pre-burned in the hard disk, and the preset generally cannot be modified during the use of the hard disk.

[0052] Further, the status of the partitions in the hard disk can be controlled through the control terminal. When the partition control device in the hard disk receives the handshake request from the control terminal, it sends the actual partition table including the partition information of all partitions to the control terminal, so that the control terminal can switch the status of the partitions in the actual partition table and send the status switching instruction to the partition control device. The partition control device switches the status of the corresponding partition according to the status switching instruction. This status switching includes switching the partition in the hidden state to the display state, and also includes switching the partition in the display state to the hidden state. Without the control terminal, it is impossible for the partition control device of the hard disk to switch the partition in the hidden state to the display state, ensuring the security of the data in the hard disk partition in the case of hard disk loss, theft or lending to others.

[0053] It can be understood that after each switch, the partition control device will also update the information in the virtual partition table and the actual partition table. The updated information of the virtual partition table will be sent to the host, and the updated information of the actual partition table will be sent to the control terminal for information synchronization. Further, in order to ensure the success of information update, an information update confirmation step can be set between the partition control device and the sending object. The sending object includes the host and / or the control terminal. The information update confirmation step includes: sending the update information to the sending object and judging whether the sending is successful, so as to receive the confirmation information of the sending object when the sending is successful; judging whether the sending object successfully receives according to the received confirmation information. If so, the information synchronization is completed. If not, the update information is sent again.

[0054] It is understandable that the control terminal here is a hardware device or software that sends instructions or requests to the hard disk partition control device. The carrier of the software here can be the host connected to the hard disk or other intelligent terminals connected to the hard disk. When the control terminal is installed on the host, the hard disk partition control device can not only complete basic loading and reading / writing operations with the host's BIOS system, but also establish a connection with the control terminal to receive the status control of the partition from the control terminal. When the control terminal is located on other intelligent terminals, the hard disk partition control device can connect to the intelligent terminal through the wireless module in the hard disk after power-on and receive the status control of the partition from the control terminal on the intelligent terminal; the hard disk partition control device can also be directly connected to the intelligent terminal through a wired data cable and receive the status control of the partition from the control terminal on the intelligent terminal. Through the internal power supply line design of the hard disk, the intelligent terminal that is preferentially connected to the hard disk in this process can replace the host to power on the hard disk. At this time, the hard disk can independently connect to the intelligent terminal to complete the status switching of the partition without connecting to the host.

[0055] Specifically, the intelligent terminals here include but are not limited to mobile phones, iPads, and other PC terminals other than the host currently connected to the hard disk. The wireless networks include but are not limited to WiFi, Bluetooth, and ZigBee.

[0056] Furthermore, the establishment of the connection between the hard disk partition control device and the control terminal can be that the control terminal actively sends a handshake request to the partition control device, or the partition control device first searches for whether there is a connectable control terminal and then establishes a connection with the connectable control terminal. That is, before sending the actual partition table to the control terminal when receiving the handshake request from the control terminal, it also includes: broadcasting handshake information to search for the control terminal and make the control terminal send a handshake request for responding handshake information.

[0057] When the control terminal is located on other intelligent terminals, the process of broadcasting handshake information to search for the control terminal and make the control terminal send a handshake request for responding handshake information includes: broadcasting handshake information through the wireless module to search for the control terminal and make the control terminal send a handshake request for responding handshake information;

[0058] Correspondingly, the process of sending the actual partition table to the control terminal when receiving the handshake request from the control terminal includes: when receiving the handshake request from the control terminal through the wireless module, sending the actual partition table to the control terminal through the wireless module.

[0059] Specifically, the partition display process after the hard disk is powered on can be seen in Figure 2 as shown. Among them, the hard disk partitions include: the system partition in the default display state, and partition one and partition two in the default hidden state; the partition switching process can be seen in Figure 3 as shown.

[0060] The present application discloses a partition control method for a hard disk, which is applied to a partition control device in the hard disk. The method includes: when receiving a power-on signal from a host, guiding the loading instruction of the host to a virtual partition table, where the virtual partition table only stores partition information of partitions in a displayed state; when receiving a handshake request from a control terminal, sending an actual partition table to the control terminal; the actual partition table stores partition information of the partitions in a displayed state and partition information of the partitions in a hidden state; when receiving a state switching instruction from the control terminal, performing a state switch on the partition corresponding to the state switching instruction according to the state switching instruction, and respectively updating the virtual partition table and the actual partition table. In the embodiment of the present application, the loading instruction of the host can only be guided to the virtual partition table, and the virtual partition table only includes partitions in a displayed state, and the partitions in a hidden state are not visible externally. Therefore, the host can only operate on the partitions in a displayed state, and any operation related to the partitions in a hidden state is based on the interaction between the hard disk and the control terminal, thereby further improving the data security of the hidden partitions of the hard disk.

[0061] An embodiment of the present invention discloses a specific partition control method for a hard disk. Compared with the previous embodiment, this embodiment further explains and optimizes the technical solution.

[0062] Specifically, when receiving a state switching instruction from the control terminal, the process of performing a state switch on the partition corresponding to the state switching instruction according to the state switching instruction includes:

[0063] When receiving a state switching instruction from the control terminal, verifying whether the unlocking credential of the state switching instruction is correct;

[0064] If so, performing a state switch on the partition corresponding to the state switching instruction according to the state switching instruction.

[0065] It can be understood that adding an encryption measure to the state switch can further improve the data security of the partition. The unlocking credential here includes but is not limited to identity credentials, instructions, PIN codes, custom unlocking credentials, device-related information, and relevant information in a wireless network, etc., and the unlocking credentials of each partition can be set independently of each other.

[0066] Further, before performing a state switch on the partition corresponding to the state switching instruction according to the state switching instruction when receiving a state switching instruction from the control terminal, it further includes:

[0067] Judging whether all current partitions are configured with unlocking credentials;

[0068] If not, sending a configuration request for partition initialization to the control terminal to enable the control terminal to send an initialization configuration command including an unlocking credential.

[0069] It is understandable that if there is no unlocking credential configured for the current partition, in order to improve the data security of the hard disk, the unlocking credential configuration can be added so that the state switch of the partition can be implemented only when the unlocking credential is held during the subsequent use of the hard disk.

[0070] Furthermore, the process of verifying whether the unlocking credential of the state switch instruction is correct when receiving the state switch instruction from the control end further includes:

[0071] If the number of times the unlocking credential of the current power-on state switch instruction is incorrect exceeds the preset number of times, a protection mechanism is triggered.

[0072] Specifically, the protection mechanism includes but is not limited to sending an alarm message to the server through the control end.

[0073] It is understandable that the server includes the hard disk manufacturer or the operation and maintenance manufacturer. The alarm message indicates to the server that someone may be trying to illegally read the hard disk currently. In addition, once the alarm message is generated, the partitions in the hard disk will be reset to the state before power-on to ensure that the data in the hidden partitions is not leaked.

[0074] Correspondingly, the present application also discloses a partition control method for a hard disk, which is applied to the control end. The method includes:

[0075] Sending a handshake request to the hard disk to receive the actual partition table of the hard disk; the actual partition table stores the partition information of the partitions in the display state and the partition information of the partitions in the hidden state;

[0076] When receiving the state switch command corresponding to the partition, generating a state switch instruction and sending it to the hard disk so that the hard disk performs a state switch on the partition corresponding to the state switch instruction according to the state switch instruction.

[0077] In the present application, those skilled in the art cannot directly obtain the hard disk partition table. Any operation related to the hidden partitions is based on the interaction between the hard disk and the control end, thereby further improving the data security of the hard disk hidden partitions.

[0078] It is understandable that considering that the control end only operates on the partitions that can be switched, when setting up the interface, the switch button for the system partition preset to the display state can be omitted, and the rest of the interface settings can be generated accordingly according to the actually read partition table.

[0079] Correspondingly, the present application also discloses a partition control device for a hard disk, which is applied to the hard disk. Refer to Figure 4 as shown, the device includes:

[0080] The first module 1 is used to guide the loading instruction of the host to the virtual partition table when receiving the power-on signal of the host, and only the partition information of the partitions in the display state is stored in the virtual partition table;

[0081] The second module 2 is used to send the actual partition table to the control terminal when receiving the handshake request from the control terminal; the actual partition table stores the partition information of the partitions in the display state and the partition information of the partitions in the hidden state;

[0082] The third module 3 is used to perform a status switch on the partition corresponding to the status switch instruction according to the status switch instruction when receiving the status switch instruction from the control terminal, and update the partition information of this partition in the virtual partition table and the actual partition table respectively.

[0083] In the embodiment of the present application, the loading instruction of the host can only be guided to the virtual partition table, and only the partitions in the display state are included in the virtual partition table. The partitions in the hidden state are not visible externally. Therefore, the host can only operate on the partitions in the display state. Any operation related to the partitions in the hidden state is based on the interaction between the hard disk and the control terminal, thereby further improving the data security of the hidden partitions of the hard disk.

[0084] In some specific embodiments, when receiving the status switch instruction from the control terminal, the process of performing a status switch on the partition corresponding to the status switch instruction includes:

[0085] When receiving the status switch instruction from the control terminal, verify whether the unlocking certificate of the status switch instruction is correct;

[0086] If it is, perform a status switch on the partition corresponding to the status switch instruction according to the status switch instruction.

[0087] In some specific embodiments, before performing a status switch on the partition corresponding to the status switch instruction when receiving the status switch instruction from the control terminal, it further includes:

[0088] Determine whether all current partitions are configured with unlocking certificates;

[0089] If not, send a configuration request for partition initialization to the control terminal to enable the control terminal to issue an initialization configuration command including the unlocking certificate.

[0090] In some specific embodiments, the process of verifying whether the unlocking certificate of the status switch instruction is correct when receiving the status switch instruction from the control terminal further includes:

[0091] If the number of times the unlocking certificate of the state switching instruction during this power-on exceeds the preset number of times, a protection mechanism is triggered.

[0092] In some specific embodiments, the process of guiding the loading instruction of the host to the virtual partition table when receiving the power-on signal of the host includes:

[0093] Generating the actual partition table according to the partition information and partition status of all the partitions in the hard disk partition table; the hard disk partition table is the initial configuration information pre-burned in the hard disk;

[0094] Generating the virtual partition table according to the partition information of all the partitions with the display status in the actual partition table.

[0095] In some specific embodiments, before sending the actual partition table to the control end when receiving the handshake request from the control end, the second module 2 is further configured to:

[0096] Broadcasting handshake information to search for the control end and causing the control end to send the handshake request in response to the handshake information.

[0097] In some specific embodiments, the process of broadcasting handshake information to search for the control end and causing the control end to send the handshake request in response to the handshake information includes:

[0098] Broadcasting handshake information through the wireless module to search for the control end and causing the control end to send the handshake request in response to the handshake information;

[0099] Correspondingly, the process of sending the actual partition table to the control end when receiving the handshake request from the control end includes:

[0100] When receiving the handshake request from the control end through the wireless module, sending the actual partition table to the control end through the wireless module.

[0101] Correspondingly, an embodiment of the present application also discloses a hard disk, including:

[0102] Multiple partitions for storing data;

[0103] The partition control device of the hard disk as described in any one of the above embodiments.

[0104] Among them, for the specific details of the partition control device of the hard disk, reference can be made to the above embodiments, and details will not be repeated here.

[0105] Among them, the hard disk in this embodiment has the same technical effects as the hard disk partition control method described in the above embodiments, and details will not be repeated here.

[0106] Finally, it should also be noted that in this text, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the term "comprising", "including" or any other variant thereof is intended to cover non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article or device. Without further limitation, an element defined by the statement "comprising an..." does not exclude the presence of additional identical elements in the process, method, article or device comprising said element.

[0107] The above has introduced in detail a hard disk and a method and device for partitioning control of a hard disk provided by the present invention. Specific examples are used in this text to elaborate on the principle and implementation manner of the present invention. The description of the above embodiments is only used to help understand the method and its core idea of the present invention; at the same time, for those of ordinary skill in the art, according to the idea of the present invention, there will be changes in the specific implementation manner and application scope. In summary, the content of this specification should not be construed as a limitation to the present invention.

Claims

1. A partition control method for a hard disk, characterized in that, The method includes: When receiving the power-on signal of the host, guiding the loading instruction of the host to the virtual partition table, where the virtual partition table only stores the partition information of the partitions in the display state; When receiving the handshake request from the control terminal, sending the actual partition table to the control terminal, where the actual partition table stores the partition information of the partitions in the display state and the partition information of the partitions in the hidden state; When receiving the state switching instruction from the control terminal, performing state switching on the partition corresponding to the state switching instruction according to the state switching instruction, and updating the virtual partition table and the actual partition table respectively; Among them, the process of guiding the loading instruction of the host to the virtual partition table when receiving the power-on signal of the host further includes: Generating the actual partition table according to the partition information and partition status of all the partitions in the hard disk partition table, where the hard disk partition table is the initial configuration information pre-burned in the hard disk; Generating the virtual partition table according to the partition information of all the partitions in the display state in the actual partition table.

2. The control method according to claim 1, characterized in that, The process of performing state switching on the partition corresponding to the state switching instruction according to the state switching instruction when receiving the state switching instruction from the control terminal includes: When receiving the state switching instruction from the control terminal, verifying whether the unlocking credential of the state switching instruction is correct; If so, performing state switching on the partition corresponding to the state switching instruction according to the state switching instruction.

3. The control method according to claim 2, wherein Before performing state switching on the partition corresponding to the state switching instruction according to the state switching instruction when receiving the state switching instruction from the control terminal, it further includes: Judging whether all the current partitions are configured with unlocking credentials; If not, sending a configuration request for partition initialization to the control terminal so that the control terminal issues an initialization configuration command including the unlocking credential.

4. The control method according to claim 2, wherein The process of verifying whether the unlocking credential of the state switching instruction is correct when receiving the state switching instruction from the control terminal further includes: If the number of times the unlocking credential of the state switching instruction is incorrect during this power-on exceeds the preset number of times, triggering a protection mechanism.

5. The control method according to any one of claims 1 to 4, characterized in that Before sending the actual partition table to the control terminal when receiving the handshake request from the control terminal, it further includes: Broadcasting handshake information to search for the control terminal and making the control terminal send the handshake request in response to the handshake information.

6. The control method according to claim 5, wherein The process of broadcasting handshake information to search for the control terminal and making the control terminal send the handshake request in response to the handshake information includes: Broadcasting handshake information through a wireless module to search for the control terminal and making the control terminal send the handshake request in response to the handshake information; Correspondingly, the process of sending the actual partition table to the control terminal when receiving the handshake request from the control terminal includes: When receiving the handshake request from the control terminal through the wireless module, sending the actual partition table to the control terminal through the wireless module.

7. A partition control method for a hard disk, characterized in that, Applied to the control terminal, the method includes: Send a handshake request to the hard disk to receive the actual partition table of the hard disk; the actual partition table stores the partition information of the partitions in the display state and the partition information of the partitions in the hidden state; When receiving a status switch command corresponding to the partition, generate a status switch instruction and send it to the hard disk, so that the hard disk performs a status switch on the partition corresponding to the status switch instruction according to the status switch instruction, and update the virtual partition table and the actual partition table respectively; the virtual partition table only stores the partition information of the partitions in the display state; Among them, the actual partition table is generated according to the partition information and partition status of all the partitions in the hard disk partition table; the virtual partition table is generated according to the partition information of all the partitions in the display state in the actual partition table; the hard disk partition table is the initial configuration information pre-burned in the hard disk.

8. A partition control device for a hard disk, characterized in that Applied to a hard disk, the device includes: A first module, configured to, when receiving a power-on signal from the host, guide the loading instruction of the host to the virtual partition table, and the virtual partition table only stores the partition information of the partitions in the display state; A second module, configured to, when receiving a handshake request from the control end, send the actual partition table to the control end; the actual partition table stores the partition information of the partitions in the display state and the partition information of the partitions in the hidden state; A third module, configured to, when receiving the status switch instruction from the control end, perform a status switch on the partition corresponding to the status switch instruction according to the status switch instruction, and update the partition information of the partition in the virtual partition table and the actual partition table respectively; Among them, the first module is further configured to: generate the actual partition table according to the partition information and partition status of all the partitions in the hard disk partition table, and the hard disk partition table is the initial configuration information pre-burned in the hard disk; generate the virtual partition table according to the partition information of all the partitions in the display state in the actual partition table.

9. A hard disk, characterized in that, Includes: Multiple partitions for storing data; The partition control device of the hard disk as described in claim 8.

Citation Information

Patent Citations

  • Hard disk partition hiding method and device and hard disk

    CN108009447A

  • A hard disk data access method and device

    CN109298832A

  • Method and system for hiding data on removable storage equipment

    CN110489357A