Hard disk data hiding method, device, system, hard disk equipment and storage medium

CN116820338BActive Publication Date: 2026-10-30SHANDONG YUNHAI GUOCHUANG CLOUD COMPUTING EQUIP IND INNOVATION CENT CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310785767.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-06-29
Publication Date
2026-10-30
Estimated Expiration
2043-06-29

AI Technical Summary

Technical Problem

然而,恶意用户同样可以通过修改分区表、越界访问等方式强行访问隐藏分区中的敏感数据,进而上述硬盘数据隐藏方式并不可靠

Benefits of technology

[0040]可见在本发明中,硬盘设备首先可创建多个逻辑空间,并可将待隐藏数据及普通数据存储于不同的逻辑空间中,即待隐藏数据和普通数据并不存储于同一逻辑空间,而是存储于不同的逻辑空间;随后,本发明可对待隐藏数据所在的逻辑空间进行隐藏,而并非对待隐藏数据所在的分区进行隐藏。考虑到硬盘设备中的逻辑空间相互独立,互不关联,因此在对待隐藏数据所在的逻辑空间进行隐藏后,用户无法通过修改相关参数及越界访问的方式读取到已隐藏逻辑空间中的数据,进而可对待隐藏数据进行有效隐藏,避免相关技术中通过隐藏分区来隐藏数据容易导致的不可靠隐藏问题,从而可提升硬盘数据隐藏的可靠性。本发明还提供一种硬盘数据隐藏装置、系统、硬盘设备及计算机可读存储介质,具有上述有益效果。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116820338B_ABST
    Figure CN116820338B_ABST
Patent Text Reader

Abstract

The application provides a hard disk data hiding method, device, system, hard disk equipment and storage medium, relates to the field of hard disk equipment, and the method is applied to the hard disk equipment and comprises the following steps: creating multiple logical spaces; storing the to-be-hidden data and the normal data in different logical spaces; and hiding the logical space where the to-be-hidden data is located, so as to hide the to-be-hidden data. The to-be-hidden data and the normal data can be arranged in different logical spaces, and the logical space where the to-be-hidden data is located can be hidden, so that the data in the hidden logical space cannot be accessed, the hard disk data can be effectively hidden, the unreliable hiding problem caused by hiding the partition to hide the data in the prior art can be avoided, and the reliability of the hard disk data hiding can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of hard disk devices, and particularly to a hard disk data hiding method, apparatus, system, hard disk device, and computer-readable storage medium. Background Technology

[0002] To facilitate system maintenance or data recovery, host manufacturers typically create special partitions on hard drives and store high-privilege data such as special tools in these partitions. Since this sensitive data should not be accessible to ordinary users, manufacturers can further hide these special partitions to prevent them from accessing this sensitive data. However, malicious users can still forcibly access sensitive data in hidden partitions by modifying partition tables or performing out-of-bounds access, rendering these hard drive data hiding methods unreliable. Summary of the Invention

[0003] The purpose of this invention is to provide a hard disk data hiding method, apparatus, system, hard disk device, and computer-readable storage medium, which can set the data to be hidden and ordinary data in different logical spaces, and hide the logical space of the data to be hidden, thereby reliably hiding the hard disk data.

[0004] To address the aforementioned technical problems, this invention provides a hard disk data hiding method, applied to hard disk devices, the method comprising:

[0005] Create multiple logical spaces;

[0006] The data to be hidden and the ordinary data are stored in different logical spaces;

[0007] The logical space containing the data to be hidden is hidden in order to hide the data to be hidden.

[0008] Optionally, each logical space is set with a default value of display or hidden state. Hiding the logical space containing the data to be hidden includes:

[0009] The logical space containing the data to be hidden is marked as a special logical space;

[0010] The visibility status value of the special logical space is set to hidden, so that when a logical space query request is received from the host device through the system, only the logical space information of the logical space with the visibility status value displayed is returned to the host device.

[0011] Optionally, marking the logical space where the data to be hidden is located as a special logical space includes:

[0012] When a host device receives a labeling request for the logical space where the data to be hidden is located, based on a preset program, the logical space where the data to be hidden is located is labeled as the special logical space.

[0013] Optionally, it also includes:

[0014] When a request to cancel the labeling of the special logical space is received from the host device based on the preset program, the special logical space is adjusted to a normal logical space.

[0015] Optionally, it also includes:

[0016] When a special logical space query request is received from the host device based on the preset program, a special logical space information table is formed based on the logical space information and the display / hidden status value of the special logical space.

[0017] The host device returns the special logical space information table to the host device so that the host device can search for hidden data in the special logical space based on the logical space information in the special logical space information table.

[0018] Optionally, it also includes:

[0019] When a display request for the special logical space is received from the host device based on the preset program, the display / hidden status value of the special logical space is set to display.

[0020] When a logical space query request is received from a host device through the system, a logical space information table is formed based on the logical space information of the logical space that is displayed, according to the explicit / implicit state value.

[0021] The logical space information table is returned to the host device so that the host device can search for hidden data in the special logical space based on the logical space information in the logical space information table.

[0022] Optionally, it also includes:

[0023] When the hard disk device is detected to be reset, the visibility state value of the special logical space is restored to hidden.

[0024] Optionally, before receiving a request sent by the host device based on the preset program, the method further includes:

[0025] When the host device receives the identity information sent based on the preset program, the identity information to be verified is verified using the identity information pre-stored in the hard disk firmware;

[0026] When it is determined that the identity information to be verified has passed verification, the system begins to receive requests sent by the host device based on the preset program.

[0027] The present invention also provides a hard disk data hiding device, applied to a hard disk device, the device comprising:

[0028] The logical space creation module is used to create multiple logical spaces;

[0029] The storage module is used to store the data to be hidden and ordinary data in different logical spaces;

[0030] The hiding module is used to hide the logical space where the data to be hidden is located, so as to hide the data to be hidden.

[0031] The present invention also provides a hard disk data hiding system, comprising: a host device and a hard disk device;

[0032] The host device is used to send a request to the hard disk device through a preset program and / or system.

[0033] The hard disk device is used to perform the hard disk data hiding method described above.

[0034] The present invention also provides a hard disk device, comprising:

[0035] The first memory is used to store user data;

[0036] The second memory is used to store computer programs;

[0037] A processor for implementing the hard disk data hiding method as described above when executing the computer program.

[0038] The present invention also provides a computer-readable storage medium storing computer-executable instructions, which, when loaded and executed by a processor, implement the hard disk data hiding method described above.

[0039] This invention provides a hard disk data hiding method, applied to a hard disk device. The method includes: creating multiple logical spaces; storing data to be hidden and ordinary data in different logical spaces; and hiding the logical space where the data to be hidden is located, thereby hiding the data to be hidden.

[0040] As can be seen from this invention, the hard disk device can first create multiple logical spaces, and can store the data to be hidden and ordinary data in different logical spaces. That is, the data to be hidden and ordinary data are not stored in the same logical space, but in different logical spaces. Subsequently, this invention can hide the logical space where the data to be hidden is located, rather than hiding the partition where the data to be hidden is located. Considering that the logical spaces in the hard disk device are independent and unrelated to each other, after the logical space where the data to be hidden is located is hidden, the user cannot read the data in the hidden logical space by modifying relevant parameters or accessing it out of bounds. Thus, the data to be hidden can be effectively hidden, avoiding the unreliable hiding problem that is easily caused by hiding data through hidden partitions in related technologies, thereby improving the reliability of hard disk data hiding. This invention also provides a hard disk data hiding device, system, hard disk device, and computer-readable storage medium, which have the above-mentioned beneficial effects. Attached Figure Description

[0041] To more clearly illustrate the technical solutions in the embodiments of the present invention 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 embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on the provided drawings without creative effort.

[0042] Figure 1 A flowchart of a hard disk data hiding method provided in an embodiment of the present invention;

[0043] Figure 2 This is a schematic diagram illustrating the logical space partitioning of a hard disk using the related technologies provided in this embodiment of the invention.

[0044] Figure 3 This is a schematic diagram illustrating the method for partitioning a hard disk into logical spaces according to an embodiment of the present invention.

[0045] Figure 4 This is a schematic diagram of the logical space provided in an embodiment of the present invention;

[0046] Figure 5 A flowchart of another hard disk data hiding method provided in an embodiment of the present invention;

[0047] Figure 6 This is a structural block diagram of a hard disk data hiding device provided in an embodiment of the present invention;

[0048] Figure 7 This is a structural block diagram of a hard disk data hiding system provided in an embodiment of the present invention. Detailed Implementation

[0049] 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 embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0050] In related technologies, hiding hard disk data is typically achieved through hidden partitions. However, this method cannot reliably hide hard disk data and is prone to data leakage. Therefore, this invention provides a hard disk data hiding method that stores the data to be hidden and ordinary data in different logical spaces, and hides the logical space of the data to be hidden, thereby reliably hiding the hard disk data. For ease of understanding, please refer to... Figure 1 , Figure 1 This is a flowchart illustrating a hard disk data hiding method provided in an embodiment of the present invention. The method is applied to a hard disk device and can be executed by the device firmware within the hard disk device. It should be noted that this embodiment of the present invention does not limit the specific type of hard disk device; for example, it can be an NVMe hard disk device (NVM Express, Non-Volatile Memory Host Controller Interface Specification). Specifically, this method may include:

[0051] S101. Create multiple logical spaces.

[0052] A logical namespace is a logical unit used by a hard disk device to segment and manage user data storage space. Specifically, the storage space for user data on a hard disk device should first be divided into logical namesspaces, and then partitioned within those logical namesspaces. It is important to note that each logical namespace has an independent Logical Block Address (LBA), and the LBAs of adjacent logical namespaces are not contiguous. Therefore, malicious users cannot use the LBA of an unhidden logical namespace as a basis to maliciously adjust that address to access data within a hidden logical namespace. It should be noted that this embodiment of the invention does not limit the number of logical namespaces; it can be set according to actual application needs, but at least two are permitted. This embodiment of the invention also does not limit the method of creating logical namespaces; relevant technologies for hard disk devices can be referenced.

[0053] S102. Store the data to be hidden and the ordinary data in different logical spaces.

[0054] To achieve reliable disk data hiding, this embodiment of the invention specifically stores the data to be hidden and ordinary data in different logical spaces; that is, the data to be hidden and ordinary data cannot reside in the same logical space. The reason for this arrangement is that the logical block address of each logical space is independently set, and the logical block addresses of different logical spaces are not contiguous. Therefore, users cannot access data in different logical spaces by crossing boundaries. This effectively isolates the data to be hidden from the ordinary data.

[0055] For easier understanding, please refer to Figure 2 and Figure 3 ,in Figure 2 This is a schematic diagram illustrating the logical space partitioning of a hard disk according to the related technology provided in the embodiments of the present invention. Figure 3 This is a schematic diagram illustrating the method for partitioning a hard disk into logical spaces, as provided in an embodiment of the present invention. Figure 2 In this example, the hard drive's storage space is divided into only one logical space, namely logical space A (Namespace A). This logical space is further divided into partition 1, partition 2, and partition 3. Partitions 1 and 2 are ordinary partitions, while partition 3 is a hidden partition. The logical block addresses of these three partitions are [0-29], [30-85], and [86-99], respectively. It is evident that since partitions 1 to 3 are located in the same logical space, their logical block addresses are contiguous. Considering that partitions 1 and 2 are ordinary partitions, while partition 3 is a hidden partition, ordinary users should only be able to access [0, 85]. However, because the addresses of the ordinary and hidden partitions are contiguous, ordinary users can actually forcefully read the content in [86-99] by accessing beyond the bounds. This directly results in the inability of related technologies to effectively hide hard drive partitions. Figure 3In this invention, the storage space of the hard disk device is divided into two logical spaces: logical space A (Namespace A) and logical space B (Namespace B). Ordinary partitions 1 and 2 are assigned to logical space A, while hidden partition 3 is assigned to logical space B (Namespace B). The logical block addresses of these three partitions are [0-29], [30-85], and [0-13], respectively. It is evident that since logical spaces A and B each have their own set of logical block addresses, the logical block addresses between the ordinary partitions and the hidden partitions in this embodiment are not contiguous. Therefore, users cannot access data in partition 3 through partition 2 by accessing outside the specified boundaries. Thus, this invention effectively hides hard disk data. It should be noted that logical spaces do not necessarily need to be partitioned. In other words, data can be stored directly in the logical space, or the logical space can be partitioned first, and then the data stored in the corresponding partition. In this embodiment, it is sufficient to ensure that the data to be hidden and ordinary data are stored in different logical spaces.

[0056] S103. Hide the logical space where the data to be hidden is located, in order to hide the data to be hidden.

[0057] After data storage is complete, the hard drive can hide the logical space containing the data to be hidden, ensuring that ordinary users cannot access the logical space information of the hidden data and thus cannot initiate access to that logical space. Specifically, the hard drive can mark the logical space containing the hidden data as a special logical space. Therefore, when it receives a logical space query request from the host device through the system (such as the operating system or basic input / output system), it can only return the logical space information of the ordinary logical space to the host device, ensuring that ordinary users cannot access the logical space information of the special logical space. Simultaneously, considering that the partition table in the special logical space is also controlled by that logical space, when the hard drive refuses to provide the logical space information of the special logical space to ordinary users, ordinary users also cannot obtain the partition information within that logical space. In other words, when partitions are set up in the special logical space, ordinary users cannot access the special logical space, nor can they know the partition information within it.

[0058] It should be noted that the embodiments of the present invention do not limit the marking method of special logical spaces. For example, a special mark can be set for the logical space, so that the hard disk device can decide which logical space information to return to the ordinary user based on this special mark; of course, each logical space can be set to a default value of a visible state value, and the visible state value of the special logical space can be set to hidden, so that the hard disk device can decide which logical space information to return to the ordinary user based on this visible state value. It can be set according to the actual application requirements.

[0059] Based on the above embodiments, in this invention, the hard disk device can first create multiple logical spaces, and the data to be hidden and ordinary data can be stored in different logical spaces. That is, the data to be hidden and ordinary data are not stored in the same logical space, but in different logical spaces. Subsequently, this invention can hide the logical space where the data to be hidden is located, rather than hiding the partition where the data to be hidden is located. Considering that the logical spaces in the hard disk device are independent and unrelated to each other, after the logical space where the data to be hidden is located is hidden, the user cannot read the data in the hidden logical space by modifying relevant parameters or accessing it out of bounds. Thus, the data to be hidden can be effectively hidden, avoiding the unreliable hiding problem that is easily caused by hiding data through hidden partitions in related technologies, thereby improving the reliability of hard disk data hiding.

[0060] Based on the above embodiments, the marking method for special logical spaces will be described in detail below. In one possible case, this method may further include:

[0061] S201. Create multiple logical spaces; each logical space is set with a default value indicating whether it is visible or hidden.

[0062] In this embodiment of the invention, each logical space is set with a default value of being visible or hidden; this state is an attribute of the logical space. For special logical spaces that need to be hidden, the hard disk device can modify the visible / hidden state value of that logical space to hidden. Thus, when the hard disk device receives a logical space query request sent by the host device through the system, it can only return logical space information for logical spaces with a visible / hidden state value to the host device, thereby preventing the host device's user from accessing the logical space information of these special logical spaces.

[0063] It should be noted that, in addition to "show" and "hide", the show / hide status value can also have other status values, which can be set according to actual application needs. For example, it can also be set to "arbitrary", which means that it can be shown to the user or not. The hard disk device can return logical space information of the logical space with arbitrary show / hide status value to the ordinary user according to the user's priority level.

[0064] S202. Store the data to be hidden and the ordinary data in different logical spaces.

[0065] S203. Mark the logical space where the data to be hidden is located as a special logical space.

[0066] Specifically, the hard disk device can add a special marker to the logical space containing the data to be hidden, thus marking it as a special logical space. For ease of configuration, this special marker can be an attribute of the logical space. In other words, embodiments of the present invention can add two attributes to each logical space. Please refer to... Figure 4 , Figure 4 This is a schematic diagram of the logical space provided in an embodiment of the present invention. The hard disk device is divided into logical space A (Namespace A), logical space B (Namespace B), and logical space C (Namespace C). Each of these three logical spaces has a "Special Namespace" attribute and a "Display / Hide Status Value" attribute. When a logical space is a special logical space, its corresponding "Special Namespace" will be set to active; for example, the "Special Namespace" of logical space A and logical space B has been set to active. When a logical space needs to be hidden, its corresponding "Display / Hide Status Value" will be set to hidden; for example, the "Display / Hide Status Value" of logical space B has been set to hidden. It is worth noting that although logical space A is a special logical space, its display / hide status value is set to visible. This is to meet specific query requirements, as described in subsequent embodiments.

[0067] Furthermore, the annotation of special logical spaces can also be initiated by the host device. Specifically, the host device can send an annotation request to the hard disk device based on a preset program, targeting the logical space where the data to be hidden is located, thus marking the logical space as a special logical space. This preset program can be a program pre-installed in the host device's operating system, or it can be a program pre-installed on the hard disk device and need to be loaded into the host device's Basic Input / Output System (BIOS) for execution. In other words, a special user can either execute the operation in the preset program in the host device's operating system to initiate an annotation request to the hard disk device, or the user can execute the operation in the Option ROM after the host device loads the hard disk device's Option ROM into the BIOS, enabling the BIOS to initiate an annotation request to the hard disk device. Furthermore, for user convenience, both the preset program in the operating system and the Option ROM can be configured with a visual interface.

[0068] Based on this, the logical space containing the data to be hidden is marked as a special logical space, which may include:

[0069] Step 11: When a labeling request for the logical space where the data to be hidden is located is received from the host device based on a preset program, the logical space where the data to be hidden is located is labeled as a special logical space.

[0070] Of course, the host device can also send a request to the hard disk device to cancel the labeling of the special logical space based on the above-mentioned preset procedure, so as to adjust the special logical space into a normal logical space.

[0071] Based on this, the method may also include:

[0072] Step 21: When a request to cancel the labeling of a special logical space is received from the host device based on a preset program, the special logical space is adjusted to a normal logical space.

[0073] It should be noted that the embodiments of the present invention do not limit the specific form of annotation requests and annotation cancellation requests, and can be set with reference to related technologies.

[0074] S204. Set the visibility status value of the special logical space to hidden, so that when a logical space query request is received from the host device through the system, only logical space information with the visibility status value of the logical space is returned to the host device.

[0075] Based on the above embodiments, the present invention can set a default value of a visible state for each logical space, and can set the visible state value of a special logical space to be hidden. Thus, when the hard disk device receives a logical space query request sent by the host device through the system, it can only return the logical space information of the logical space with a visible state value to the host device. As a result, the user of the host device will not be able to access the logical space information of the special logical space.

[0076] Based on the above embodiments, two query methods for special logical spaces will be introduced below. In one possible case, this method may further include:

[0077] Step 31: When a special logical space query request is received from the host device based on a preset program, a special logical space information table is formed based on the logical space information and the explicit / implicit status values ​​of the special logical space.

[0078] Step 32: Return the special logical space information table to the host device so that the host device can search for hidden data in the special logical space based on the logical space information in the special logical space information table.

[0079] For the first query method, the host device can send a special logical space query request to the hard disk device based on the aforementioned preset program (a special program preset in the host operating system or a special Option ROM that needs to be loaded into the hard disk device of the basic input / output system). Upon receiving the request, the hard disk device can form a special logical space information table based on the logical space information and display / hidden status values ​​of the special logical space, and return this information table to the host device. The user of the host device can then determine the special logical space and identify hidden data within it according to the logical space information in the special logical space information table; furthermore, the user can determine the hiding status of each special logical space according to the display / hidden status values ​​in the special logical space information table, and manually adjust the hiding status of each special logical space in a timely manner.

[0080] In one possible scenario, this method may also include:

[0081] Step 41: When a display request for a special logical space is received from the host device based on a preset program, the display / hidden status value of the special logical space is set to display.

[0082] Step 42: When a logical space query request is received from the host device through the system, a logical space information table is formed based on the logical space information of the logical space that is displayed, according to the explicit / implicit status value.

[0083] Step 43: Return the logical space information table to the host device so that the host device can search for hidden data in the special logical space based on the logical space information in the logical space information table.

[0084] For the second query method, the host device first sends a display request for a specific logical space to the hard disk device based on the aforementioned preset procedure. This causes the hard disk device to adjust the display / hidden status value of the specific logical space corresponding to the request to be displayed. Subsequently, the host device can send a regular logical space query request to the hard disk device through the system (such as an operating system or a basic input / output system). This allows the hard disk device to form a logical space information table based on the logical space information of the logical spaces whose display / hidden status value is displayed, and then return this information table to the host device. It is understandable that since the display / hidden status value of the specific logical space has been adjusted to be displayed, its logical space information will appear in the regular logical space information table. Therefore, the host device user can determine the specific logical space based on its logical space information in the logical space information table, and search for hidden data within the specific logical space.

[0085] Of course, it should be noted that in the latter query method, users may fail to restore the display / hidden state value of the special logical space to hidden. To avoid the exposure of the special logical space due to user error, embodiments of the present invention can also add an automatic recovery function to the hard disk device. That is, when the hard disk device detects a hard disk device reset (e.g., a restart, or the hard disk device being replaced by another host device), the display / hidden state value of the special logical space can be automatically restored to hidden, thereby avoiding the problem of exposure of the special logical space due to user error.

[0086] Based on this, the method may also include:

[0087] Step 51: When a hard disk device reset is detected, restore the visibility state value of the special logical space to hidden.

[0088] Based on the above embodiments, this invention provides two query methods: one is to initiate a logical space query to the hard disk device through a special program in the host device; the other is to control the hard disk device to adjust the special logical space to a visible state through a special program in the host device, and then initiate a logical space query to the hard disk device through the system, thereby enabling flexible querying of the special logical space.

[0089] Based on the above embodiments, to further enhance the security of the hard disk device, before a user uses a special program in the host device to perform logical space marking, querying, and display with the hard disk device, the hard disk device needs to verify the user's identity. Therefore, before receiving a special logical space query request sent by the host device, the following may also be included:

[0090] Step 61: When the host device receives the identity information to be verified based on the preset program, the identity information to be verified is verified using the identity information pre-stored in the hard disk firmware.

[0091] In this embodiment of the invention, the hard disk device can pre-store identity information in its firmware. When it receives identity information to be verified from the host device based on a preset program, it uses the pre-stored identity information to verify the identity information to be verified. Furthermore, the hard disk device only allows the host device to perform logical space marking, querying, and display operations based on the preset program when it determines that the identity information to be verified has passed the verification, thereby further improving the security of the hard disk device.

[0092] It should be particularly noted that, in this embodiment of the invention, the pre-stored identity information is stored in the hard disk firmware of the hard disk device, and is not stored in the storage space of the hard disk device along with the user data. This effectively prevents the user from accessing the pre-stored identity information and effectively ensures the security of the hard disk device.

[0093] Step 62: When it is determined that the identity information to be verified has passed the verification, start receiving requests sent by the host device based on a preset program.

[0094] It should be noted that the request in step 62 is an operation request for a special logical space, such as the annotation request, annotation cancellation request, special logical space query request, and display request mentioned in the above embodiments.

[0095] The following section describes the above hard disk data hiding method based on a complete example and flowchart. Please refer to it. Figure 5 , Figure 5 A flowchart illustrating another hard disk data hiding method provided in an embodiment of the present invention. The process may include:

[0096] 1. The host device is connected to an NVMe hard drive that conforms to the characteristics of this invention. Maintenance personnel can divide the hard drive into multiple logical spaces as needed. One or more of these logical spaces can be reserved for storing sensitive information (hereinafter referred to as the logical spaces to be hidden), while the remaining logical spaces are left for normal user use.

[0097] 2. Maintenance personnel can deploy sensitive information, or even an operating system (OS), in one or more logical spaces to be hidden as needed.

[0098] 3. After deploying sensitive information, computer maintenance personnel should immediately perform a hiding operation to avoid security risks. Depending on the actual operation scenario, one of the following operation paths can be selected:

[0099] 3.1. Using a program that can be executed under the host device's operating system, a request command is sent to the NVMe hard drive firmware of the present invention, requesting that the above-mentioned logical spaces to be hidden be marked as special logical spaces, and requesting that these special logical spaces be hidden. Then, the operating system is requested to retrieve the information list of all logical spaces on this NVMe hard drive to update the logical spaces currently displayed to the user.

[0100] 3.2. Reset the computer and enter the Option ROM interactive interface of the NVMe hard drive of the present invention during the Basic Input Output System (BIOS) boot process. Send a request command to the NVMe hard drive firmware of the present invention, requesting that the above-mentioned logical spaces to be hidden be marked as special logical spaces and that these special logical spaces be hidden. Then request the Basic Input Output System to re-obtain the information list of all logical spaces on the NVMe hard drive to update the logical spaces currently displayed to the user.

[0101] At this point, the special logical space can no longer be seen.

[0102] 4. If the computer maintenance personnel forget to set the visibility value of the special logical space to hidden after marking it in step 3, the special logical space will be visible before the reset. However, after deploying sensitive information, the computer maintenance personnel will generally restart the computer. This will trigger a function of the NVMe hard drive firmware mentioned above: "Automatically change the visibility value of all logical spaces marked as special logical spaces to hidden after each reset." Therefore, the special logical space will be automatically hidden after the computer restarts.

[0103] Additionally, if the NVMe hard drive is unplugged and connected to another computer while the special logical space is in the visible state, the NVMe hard drive firmware's "automatically change the visible / hidden status value of all logical spaces marked as special logical spaces to hidden after each reset" function will be triggered, automatically hiding the special logical space.

[0104] 5. The set of programs that can be executed under the operating system and the set of NVMe hard disk Option ROM that can run under the basic input / output system described in step 3 should have authentication functions, such as requiring a password to be entered during operation. This authentication information, such as the password, is only known to computer maintenance personnel and is stored in the firmware of the NVMe hard disk of this invention rather than in the hard disk data storage area, so as to prevent other personnel from misusing or maliciously using it.

[0105] 6. In subsequent use, if sensitive information in the special logical space needs to be used for computer maintenance or data recovery, the computer maintenance personnel can choose one of the following operation paths to display the special logical space, depending on the actual operation scenario:

[0106] 6.1. Use a program that can be executed under the operating system to query the list of all special logical spaces currently on the aforementioned NVMe hard drive. Find one or more special logical spaces needed from the list, send a request command to the NVMe hard drive firmware to request that these special logical spaces be displayed, and then request the operating system to retrieve the information list of all logical spaces on this NVMe hard drive to update the logical spaces currently displayed to the user.

[0107] 6.2. Reset the computer and enter the Option ROM interactive interface of the NVMe hard drive during the Basic Input / Output System (BIOS) startup process. Query the list of all special logical spaces currently displayed on the NVMe hard drive. Find one or more required special logical spaces from the list, send a request command to the NVMe hard drive firmware to request the display of these special logical spaces, and then request the BIOS to retrieve the information list of all logical spaces on this NVMe hard drive to update the logical spaces currently displayed to the user.

[0108] At this point, the special logical space can be seen. Especially after the operation in step 6.2 is completed, as long as the Basic Input / Output System (BIOS) re-acquires the list of all logical spaces on this NVMe hard drive, the special logical space that was just displayed can then be seen in the BIOS's boot device list. If an operating system has been deployed in this special logical space, then computer maintenance personnel can select this special logical space as the boot device and enter the operating system within it.

[0109] 7. Similar to step 5, step 6 also requires the addition of an authentication function.

[0110] 8. After performing computer maintenance or data recovery operations using sensitive information in a special logical space, computer maintenance personnel should immediately hide the sensitive information to avoid security risks. The method is the same as step 3.

[0111] 9. If computer maintenance personnel intend to modify sensitive information in a special logical space during their work, they must first use the method in step 6 to display the special logical space, and after modifying the sensitive information, use the method in step 3 to hide the special logical space.

[0112] 10. If computer maintenance personnel believe that one or more special logical spaces will no longer be needed, they can choose one of the following operation paths to convert a special logical space to a regular logical space:

[0113] 10.1. Using a program that can be executed under the operating system, query the current list of all special logical spaces of the NVMe hard drive of this invention. Find one or more special logical spaces required from the list, send a request command to the NVMe hard drive firmware to request the removal of these special logical space markers, and then request the operating system to retrieve the information list of all logical spaces on this NVMe hard drive to update the logical spaces currently displayed to the user.

[0114] 10.2. Reset the computer and enter the Option ROM interactive interface of the NVMe hard drive during the Basic Input / Output System (BIOS) startup process. Query the list of all special logical spaces currently on the NVMe hard drive. Find one or more required special logical spaces from the list, send a request command to the NVMe hard drive firmware to request the removal of these special logical space markers, and then request the BIOS to retrieve the information list of all logical spaces on this NVMe hard drive to update the logical spaces currently displayed to the user.

[0115] At this point, the special logical space should be visible, and it will no longer be hidden after a computer restart or hard drive removal / removal; it has essentially become a regular logical space. However, please note that because this logical space previously stored sensitive information, a prompt should appear after the operating system program or Option ROM interface has completed the process of removing the special logical space marker, requiring the data in this logical space to be erased before use.

[0116] 11. If the computer described above is a server that requires remote maintenance (i.e., computer maintenance personnel need to operate the computer via the network), then the computer maintenance personnel can configure the computer's BMC (Baseboard Manager Controller) and then remotely log in to the computer's operating system or basic input / output system operating environment via KVM (Keyboard VideoMouse, remote access method), SOL (Serial Over LAN, remote access method), etc., and then execute the operation path under the operating system or basic input / output system environment (i.e., the several steps described above, which will not be repeated here).

[0117] The following describes the hard disk data hiding device, system, hard disk device, and computer-readable storage medium provided in the embodiments of the present invention. The hard disk data hiding device, system, hard disk device, and computer-readable storage medium described below can be referred to in correspondence with the hard disk data hiding method described above.

[0118] Please refer to Figure 6 , Figure 6 This is a structural block diagram of a hard disk data hiding device provided in an embodiment of the present invention. The device is applied to a hard disk device and may include:

[0119] Logical space creation module 601 is used to create multiple logical spaces;

[0120] Storage module 602 is used to store the data to be hidden and ordinary data in different logical spaces;

[0121] The hiding module 603 is used to hide the logical space where the data to be hidden is located, in order to hide the data to be hidden.

[0122] Optionally, each logical space is set with a default value for a visible / hidden state. The hidden module 603 may include:

[0123] The annotation submodule is used to annotate the logical space containing the data to be hidden as a special logical space;

[0124] The hidden submodule is used to set the visibility status value of a special logical space to hidden, so that when a logical space query request is received from the host device through the system, the logical space information with the visibility status value being visible is returned to the host device only.

[0125] Optionally, a hidden submodule may include:

[0126] The annotation request processing unit is used to annotate the logical space where the data to be hidden is located as a special logical space when it receives an annotation request sent by the host device based on a preset program for the logical space where the data to be hidden is located.

[0127] Optionally, the device may further include:

[0128] The annotation cancellation request processing unit is used to adjust the special logical space to a normal logical space when it receives an annotation cancellation request for a special logical space sent by the host device based on a preset program.

[0129] Optionally, the device may further include:

[0130] The special logical space query request processing module is used to form a special logical space information table based on the logical space information and display / hidden status values ​​of the special logical space when it receives a special logical space query request sent by the host device based on a preset program.

[0131] The special logical space information table return module is used to return a special logical space information table to the host device, so that the host device can search for hidden data in the special logical space based on the logical space information in the special logical space information table.

[0132] Optionally, the device may further include:

[0133] The display request processing module is used to set the display status value of the special logical space to display when it receives a display request for the special logical space sent by the host device based on a preset program.

[0134] The logical space query request processing module is used to form a logical space information table based on the logical space information of the logical space that is displayed when a logical space query request is received from the host device through the system.

[0135] The logical space information table return module is used to return a logical space information table to the host device, so that the host device can search for hidden data in the special logical space based on the logical space information in the logical space information table.

[0136] Optionally, the device may further include:

[0137] The reset and recovery module is used to restore the visible / hidden state value of a special logical space to hidden when a hard disk device reset is detected.

[0138] Optionally, the device may further include:

[0139] The authentication module is used to verify the identity information to be verified by using the identity information pre-stored in the hard disk firmware when it receives the identity information to be verified sent by the host device based on a preset program; when it is determined that the identity information to be verified has passed the verification, it starts to receive requests sent by the host device based on the preset program.

[0140] Please refer to Figure 7 , Figure 7 This is a structural block diagram of a hard disk data hiding system provided in an embodiment of the present invention. The system may include: a host device 701 and a hard disk device 702;

[0141] Host device 701 is used to send requests to the hard disk device through a preset program and / or system;

[0142] The hard disk device 702 is used to perform the steps of the hard disk data hiding method described above.

[0143] Since the embodiments of the hard disk data hiding system correspond to the embodiments of the hard disk data hiding method, please refer to the description of the embodiments of the hard disk data hiding method for the embodiments of the hard disk data hiding system, and will not be repeated here.

[0144] This invention also provides a hard disk device, which may include:

[0145] The first memory is used to store user data;

[0146] The second memory is used to store computer programs;

[0147] A processor is used to implement the hard disk data hiding method described above when executing computer programs.

[0148] In other words, the logical space in the above embodiments should be located in the first memory.

[0149] Since the embodiments of the hard disk device part correspond to the embodiments of the hard disk data hiding method part, please refer to the description of the embodiments of the hard disk data hiding method part for the embodiments of the hard disk device part, and will not be repeated here.

[0150] This invention also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps of the hard disk data hiding method described in any of the above embodiments.

[0151] Since the embodiments of the computer-readable storage medium portion correspond to the embodiments of the hard disk data hiding method portion, please refer to the description of the embodiments of the hard disk data hiding method portion for the embodiments of the computer-readable storage medium portion, and will not be repeated here.

[0152] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on its differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. For the apparatus disclosed in the embodiments, since it corresponds to the method disclosed in the embodiments, the description is relatively simple; relevant parts can be referred to in the method section.

[0153] Those skilled in the art will further recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this invention.

[0154] The steps of the methods or algorithms described in conjunction with the embodiments disclosed herein can be implemented directly by hardware, a software module executed by a processor, or a combination of both. The software module can be located in random access memory (RAM), main memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other form of storage medium known in the art.

[0155] The above provides a detailed description of the hard disk data hiding method, apparatus, system, hard disk device, and computer-readable storage medium provided by the present invention. Specific examples have been used to illustrate the principles and implementation methods of the present invention. The descriptions of the embodiments above are merely for the purpose of helping to understand the method and core ideas of the present invention. It should be noted that those skilled in the art can make various improvements and modifications to the present invention without departing from its principles, and these improvements and modifications also fall within the protection scope of the claims of the present invention.

Claims

1. A method for hiding hard disk data, characterized in that, Applied to hard disk devices, the method includes: Create multiple logical spaces; each logical space is set with a default value indicating a visible or hidden state. The data to be hidden and the ordinary data are stored in different logical spaces; When a labeling request for the logical space where the data to be hidden is located is received from the host device based on a preset program, the logical space where the data to be hidden is located is labeled as a special logical space. The visibility status value of the special logical space is set to hidden, so that when a logical space query request is received from the host device through the system, only the logical space information of the logical space with the visibility status value displayed is returned to the host device. When a special logical space query request is received from the host device based on the preset program, a special logical space information table is formed based on the logical space information and the display / hidden status value of the special logical space. The host device returns the special logical space information table to the host device so that the host device can search for hidden data in the special logical space based on the logical space information in the special logical space information table.

2. The hard disk data hiding method according to claim 1, characterized in that, Also includes: When a request to cancel the labeling of the special logical space is received from the host device based on the preset program, the special logical space is adjusted to a normal logical space.

3. The hard disk data hiding method according to claim 1, characterized in that, Also includes: When a display request for the special logical space is received from the host device based on the preset program, the display / hidden status value of the special logical space is set to display. When a logical space query request is received from a host device through the system, a logical space information table is formed based on the logical space information of the logical space that is displayed, according to the explicit / implicit state value. The logical space information table is returned to the host device so that the host device can search for hidden data in the special logical space based on the logical space information in the logical space information table.

4. The hard disk data hiding method according to claim 3, characterized in that, Also includes: When the hard disk device is detected to be reset, the visibility state value of the special logical space is restored to hidden.

5. The hard disk data hiding method according to any one of claims 1 to 4, characterized in that, Before receiving a request sent by the host device based on the preset program, the method further includes: When the host device receives the identity information to be verified based on the preset program, the identity information to be verified is verified using the identity information pre-stored in the hard disk firmware. When it is determined that the identity information to be verified has passed verification, the system begins to receive requests sent by the host device based on the preset program.

6. A hard disk data hiding device, characterized in that, Applied to hard disk devices, the device includes: The logical space creation module is used to create multiple logical spaces; The storage module is used to store the data to be hidden and ordinary data in different logical spaces; A hiding module is used to hide the logical space where the data to be hidden is located, so as to hide the data to be hidden; Each logical space is set with a default value for a visible / hidden state. The hidden module includes: The annotation submodule is used to annotate the logical space where the data to be hidden is located as a special logical space; The hidden submodule is used to set the visibility status value of the special logical space to hidden, so that when a logical space query request is received from the host device through the system, the logical space information of the logical space with the visibility status value being visible is returned to the host device only. The hidden submodule includes: The annotation request processing unit is used to annotate the logical space where the data to be hidden is located as the special logical space when it receives an annotation request for the logical space where the data to be hidden is located from the host device based on a preset program. The special logical space query request processing module is used to form a special logical space information table based on the logical space information and display / hidden status value of the special logical space when it receives a special logical space query request sent by the host device based on the preset program. The special logical space information table return module is used to return the special logical space information table to the host device, so that the host device can search for hidden data in the special logical space based on the logical space information in the special logical space information table.

7. A hard disk data hiding system, characterized in that, include: Host equipment and hard disk equipment; The host device is used to send a request to the hard disk device through a preset program and / or system. The hard disk device is used to perform the hard disk data hiding method as described in any one of claims 1 to 5.

8. A hard disk device, characterized in that, include: The first memory is used to store user data; The second memory is used to store computer programs; A processor, configured to implement the hard disk data hiding method as described in any one of claims 1 to 5 when executing the computer program.

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when loaded and executed by a processor, implement the hard disk data hiding method as described in any one of claims 1 to 5.

Citation Information

Patent Citations

  • Data protection method and solid-state hard disk

    CN109255262A

  • Configuration method and device for hidden partition of solid state disk and storage medium

    CN114546266A