Method for realizing hidden partition of solid state disk, solid state disk and read-write method of solid state disk

By dividing the storage array of the solid-state drive into multiple storage units and establishing firmware for each channel, physical isolation storage of data in the solid-state drive is achieved, which solves the problem in the existing technology that data cannot obtain higher security when the hard drive is damaged or attacked by a virus. issues and improve data integrity and security.

CN119336254AActive Publication Date: 2025-01-21HEFEI DATANG STORAGE TECH CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202411347433.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-24
Publication Date
2025-01-21
Estimated Expiration
2044-09-24

AI Technical Summary

Technical Problem

The prior art cannot realize physically isolated storage of data in solid-state drives, resulting in hidden partitions not being able to obtain higher security when hard disks are damaged or virus attacks.

Method used

By dividing the storage array of solid -state hard disks into multiple storage units, and establishing firmware that belongs to the current channel for each channel, the storage unit connected to each channel and Realize the physical isolation storage of data.

Benefits of technology

Realize the physical isolation storage of data, improve the integrity and security of the data, and prevent the leakage or illegal access of data during hard disk damage or virus attack.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119336254A_ABST
    Figure CN119336254A_ABST
Patent Text Reader

Abstract

The invention discloses a method for realizing hidden partition of a solid state disk, the solid state disk and a read-write method of the solid state disk. According to the embodiment of the invention, one solid state disk is physically divided into a plurality of sub-physical solid state disks, and each sub-physical solid state disk has a complete solid state disk function; and each sub physical solid state disk can independently respond to a read-write command of the host to complete data storage operation. A user can switch the solid state disk to different sub physical solid state disk modes and store different data to different sub physical solid state disks according to actual data storage requirements, so that physical isolation storage of different data such as common data and important sensitive data is realized, and integrity and safety of stored data are ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to but is not limited to the technical field of storage systems, and specifically to a method for implementing a hidden partition of a solid-state hard disk and a solid-state hard disk and a reading and writing method thereof. Background Art

[0002] Hiding partitions means hiding partitions from the file explorer, making them invisible. The benefit of doing so is that it can prevent other users or programs from accidentally operating or accessing the data in these partitions, thereby protecting the integrity and security of the data. At the same time, hidden partitions can also be used to store some sensitive or private files to ensure that they will not be easily discovered.

[0003] Usually, a complete hard disk can be logically divided into several different partitions. Through software settings or partition settings, some partitions can be set to be hidden and invisible to the host to form hidden partitions. Hidden partition technology can only protect the integrity and security of user data to a certain extent and prevent data from being leaked or illegally accessed. Hidden partitions only logically partition a hard disk, and cannot physically isolate the data stored in ordinary partitions and the important data stored in hidden partitions and store them on different storage media. When the hard disk storage medium is damaged or attacked by a virus, the data on the hidden partition will not be more secure than the data on the ordinary partition.

[0004] In order to solve the defect that hidden partitions cannot achieve physical isolation, user data can be stored in completely different hard disks according to their importance. However, this method not only increases storage costs, but also is easily limited by the number of storage interfaces on the host during actual deployment, resulting in limited system deployment. Summary of the invention

[0005] The present application provides a method for realizing hidden partition of a solid-state hard disk and a solid-state hard disk and a reading and writing method thereof, which can realize physical isolation storage of data and ensure the integrity and security of stored data.

[0006] An embodiment of the present invention provides a method for implementing a hidden partition of a solid state drive, comprising:

[0007] Divide the storage array of the solid state drive into multiple storage units, and establish a connection between each channel of the solid state drive master control and a different storage unit;

[0008] Firmware belonging to the current channel is established for each channel respectively, so that multiple sub-physical solid-state hard disks composed of storage units connected to each channel and firmware corresponding to the channel are used as different partitions; wherein each sub-physical solid-state hard disk responds to read and write commands through the firmware of the channel to which it is connected and only the firmware of one of the channels responds to read and write commands at the same time.

[0009] In an exemplary embodiment, a channel is connected to one or more storage units.

[0010] In one exemplary embodiment, the storage unit includes a NAND flash memory;

[0011] The NAND flash memory includes any one or any combination of the following: a single-layer cell type, a three-layer cell type, and a four-layer cell type.

[0012] In an exemplary embodiment, when programming the firmware on the channel, the identifiers of all storage units connected to all remaining channels are forcibly assigned to be invalid.

[0013] In an exemplary embodiment, it also includes:

[0014] After the firmware writing on the channel is completed, the firmware on the channel is written into a storage unit connected to the channel.

[0015] In an exemplary embodiment, the size of the storage space corresponding to each of the sub-physical solid-state hard disks is the size of the storage area of ​​the storage unit connected to the channel corresponding to the sub-physical solid-state hard disk.

[0016] The embodiment of the present application further provides a method for reading and writing a solid state hard disk, and the solid state hard disk is established based on the method for realizing a hidden partition of a solid state hard disk according to any one of claims 1 to 6, comprising:

[0017] When the system application reads data from the solid state drive or writes data to the solid state drive, the read and write operations between the system application and the storage unit connected to the current channel are completed through the firmware of the channel belonging to the current sub-physical solid state drive.

[0018] In an exemplary embodiment, it also includes:

[0019] When the system is powered on, the solid state drive master controller selects a corresponding channel to load a corresponding firmware to run according to a setting condition, so as to complete the switching of the sub-physical solid state drive.

[0020] In an exemplary embodiment, the switching of the sub-physical solid-state drive is implemented by using a general purpose input and output interface (GPIO) to select a channel corresponding to the setting condition to load the corresponding firmware to run.

[0021] An embodiment of the present application further provides a computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are used to execute any of the above methods for implementing a hidden partition of a solid-state hard disk and / or any of the above methods for reading and writing a solid-state hard disk.

[0022] An embodiment of the present application further provides a computer device, including a memory and a processor, wherein the memory stores the following instructions executable by the processor: used to execute the steps of the method for implementing a hidden partition of a solid-state hard disk as described in any of the above items, and / or the steps of the method for reading and writing a solid-state hard disk as described in any of the above items.

[0023] The embodiment of the present application also provides a solid state drive, including: a solid state drive master control, at least one communication interface, and multiple sub-physical solid state drives as different partitions; wherein,

[0024] The SSD master controller is used to receive and parse commands from the host through the communication interface to realize the read and write control of the storage unit corresponding to the sub-physical SSD; each channel equipped with the SSD master controller is connected to a different storage unit;

[0025] Each sub-physical solid-state drive includes a channel, a storage unit connected to the channel and firmware corresponding to the channel, which are used to receive commands from the solid-state drive master and respond to read and write commands through the firmware of the channels to which they are connected, and only the firmware of one of the channels responds to read and write commands at the same time.

[0026] In an exemplary embodiment, the solid state drive controller has multiple channels, and each channel is connected to one or more different storage units.

[0027] In an exemplary instance, the sub-physical solid-state hard disk is also used to complete the read and write operations between the system application and the storage unit connected to the current channel through the firmware of the channel belonging to the current sub-physical solid-state hard disk when the system application reads data from the solid-state hard disk or writes data to the solid-state hard disk.

[0028] In one exemplary embodiment, the storage unit includes a NAND flash memory;

[0029] The NAND flash memory includes any one or any combination of the following: a single-layer cell type, a three-layer cell type, and a four-layer cell type.

[0030] Through the method for realizing hidden partition of solid state drive provided by the embodiment of the present application, a solid state drive is physically divided into multiple sub-physical solid state drives, each sub-physical solid state drive has complete solid state drive functions, and each sub-physical solid state drive can independently respond to the host's read and write commands to complete data storage operations. Users can switch the solid state drive to different sub-physical solid state drive modes according to actual data storage needs, and store different data in different sub-physical solid state drives, thereby realizing physical isolation storage of different data such as ordinary data and important sensitive data, ensuring the integrity and security of stored data.

[0031] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures particularly pointed out in the description, claims and drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] The accompanying drawings are used to provide further understanding of the technical solution of the present application and constitute a part of the specification. Together with the embodiments of the present application, they are used to explain the technical solution of the present application and do not constitute a limitation on the technical solution of the present application.

[0033] Figure 1 A schematic diagram of a process for implementing a method for hiding a solid state drive partition in an embodiment of the present application;

[0034] Figure 2 This is a schematic diagram of an embodiment of implementing a hidden partition of a solid state drive in an embodiment of the present application;

[0035] Figure 3 Schematic diagram of the composition structure of the solid state drive in the embodiment of the present application. DETAILED DESCRIPTION

[0036] In order to make the purpose, technical solution and advantages of the present application more clear, the embodiments of the present application will be described in detail below with reference to the accompanying drawings. It should be noted that the embodiments and features in the embodiments of the present application can be combined with each other arbitrarily without conflict.

[0037] In order to facilitate understanding of the present application, the present application will be described more fully below with reference to the relevant drawings. Embodiments of the present application are provided in the drawings. However, the present application can be implemented in many different forms and is not limited to the embodiments described herein. On the contrary, the purpose of providing these embodiments is to make the disclosure of the present application more thorough and comprehensive.

[0038] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein in the specification of this application are only for the purpose of describing specific embodiments and are not intended to limit this application.

[0039] It is understood that the terms "first" and "second" used in this application are only used for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of this application, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0040] It can be understood that the “connection” in the following embodiments should be understood as “electrical connection”, “communication connection”, etc. if the connected circuits, modules, units, etc. have electrical signals or data transmission between each other.

[0041] When used herein, the singular forms "a", "an", and "said / the" may also include plural forms, unless the context clearly indicates otherwise. It should also be understood that the terms "include / comprise" or "have" and the like specify the presence of stated features, wholes, steps, operations, components, parts, or combinations thereof, but do not exclude the possibility of the presence or addition of one or more other features, wholes, steps, operations, components, parts, or combinations thereof. At the same time, the term "and / or" used in this specification includes any and all combinations of the relevant listed items.

[0042] As a new type of storage device, compared with traditional mechanical hard disks, solid-state hard disks have the advantages of large capacity, high reliability, fast read and write speed, shock and drop resistance, low power consumption, and no noise. Therefore, solid-state hard disks have been widely used in the consumer PC field and enterprise server field.

[0043] The storage array of a solid-state drive is mainly composed of multiple Nand Flash units (Nand Flash Die). Multiple units (Die) form multiple channels (channels) and multiple storage areas (banks). Each Die is composed of multiple blocks (blocks), and each block is composed of multiple pages (pages). Usually, the physical size of each page is 16KB.

[0044] The order of writing or reading data stored in the SSD is to first determine the channel and bank of the storage array, and then determine the block and page. When the system application writes data to the SSD, it accesses the storage space of the SSD according to the logical block address (LBA, Logical Block Address) of the host. The firmware inside the SSD needs to translate the LBA accessed by the system application into the physical page address (PPA, Physical Page Address) of the storage array, that is, to determine the channel, bank, block, and page location of the data storage. The one-to-one mapping relationship between LBA and PPA constitutes the mapping table of the logical address to the physical address of the SSD. When the system application reads data from the SSD, the SSD firmware will look up the mapping table based on the LBA, obtain the PPA, find the actual storage location of the data, and then read the data from the storage array based on the PPA and return it to the system application.

[0045] In order to physically isolate the data stored in the common partition and the important data stored in the hidden partition and physically store them on different storage media to ensure the integrity and security of the stored data, the embodiment of the present application provides a method for implementing a hidden partition of a solid state drive. Figure 1 FIG. 1 is a flow chart of a method for implementing a hidden partition of a solid state drive in an embodiment of the present application. Figure 1 As shown, it may include:

[0046] Step 100: Divide the storage array of the solid state drive into a plurality of storage units, and establish a connection between each channel of the solid state drive master controller and a different storage unit.

[0047] Figure 2 Schematic diagram of an embodiment of implementing a hidden partition of a solid state drive in an embodiment of the present application. Figure 2 As shown, Figure 2 The solid state drive 21 is connected to the host through a communication interface. In one embodiment, the communication interface can be, but is not limited to, USB, SATA, PCIe or a network port.

[0048] like Figure 2 As shown, the SSD master 22 is mainly used to complete the host command parsing and realize the read and write control of the storage unit such as the Nand Flash Die. The SSD master usually has multiple channels, each channel is connected to a different storage unit, and the storage units between each channel can perform read and write operations concurrently. In one embodiment, one channel can be connected to one or more storage units.

[0049] like Figure 2 As shown, the storage unit 23 of the solid state drive, such as Nand Flash Die, is mainly used to accept commands from the solid state drive master 22 to complete data reading and writing operations. In one embodiment, the storage unit 23 can be, but is not limited to, a single-level cell (SLC), a triple-level cell (TLC), or a quad-level cell (QLC), or a mixture of the two, determined according to the number of bits stored in each storage cell. Figure 2 In the example, the storage unit 23 of the solid state drive includes four Nand Flashes, Nand Flash 231, Nand Flash 232, Nand Flash 233 and Nand Flash 234. In this embodiment, the four Nand Flashes are respectively connected to different channels on the main control ( Figure 2For example, the first channel channel_0 is connected to Nand Flash 231, the second channel channel_1 is connected to Nand Flash 232, the third channel channel_2 is connected to Nand Flash 233, and the fourth channel channel_3 is connected to Nand Flash 234.

[0050] exist Figure 2 In the illustrated embodiment, through step 100, the storage array of the solid state drive is divided into four storage units, namely Nand Flash 231, Nand Flash 232, Nand Flash 233 and Nand Flash 234, and each Nand Flash is connected to the first channel channel_0 to the fourth channel channel_3 on the solid state drive master 22.

[0051] Step 101: For each channel, a firmware belonging to the current channel is established respectively, so that the multiple sub-physical solid-state hard disks composed of the storage unit connected to each channel and the firmware corresponding to the channel are used as different partitions; wherein each sub-physical solid-state hard disk responds to read and write commands through the firmware of the channel to which it is connected and only the firmware of one of the channels responds to read and write commands at the same time.

[0052] In an exemplary embodiment, for each channel, a firmware belonging to the channel is written separately, so that each channel has its own dedicated firmware. The firmware is mainly responsible for controlling and managing the code of the NAND Flash operation on each channel.

[0053] When the system is powered on, the SSD will send a read Nand Flash ID command to all channels and banks to confirm which channels and banks have Nand Flash, so that the firmware of each channel knows the NAND Flash it controls. In other words, through the initialization process of system power-on, the firmware knows which channels and banks have valid NAND Flash, and performs corresponding operations based on this information. Therefore, the initialization process provides basic data for the written firmware, and the firmware ensures that the object of its operation is limited to the device on the current channel based on the information obtained.

[0054] In one embodiment, Figure 2For example, when programming the firmware on the first channel channel_0, the Nand Flash identifiers (Nand Flash ID) of all Nand Flashes connected to the second channel channel_1, the third channel channel_2, and the fourth channel channel_3 are forcibly assigned to be invalid, such as set to 0. At this time, the firmware on the first channel channel_0 can only scan the Nand Flash connected to the first channel channel_0, that is, Nand Flash 231. When programming the firmware on the second channel channel_1, the Nand Flash IDs of all Nand Flashes connected to the first channel channel_0, the third channel channel_2, and the fourth channel channel_3 are forcibly assigned to be 0. At this time, the firmware on the second channel channel_1 can only scan the Nand Flash connected to the second channel channel_1, that is, Nand Flash 232. Programming the firmware on the remaining channels is the same as described above and will not be repeated here.

[0055] In an exemplary embodiment, Figure 2 For example, after the firmware programming on the first channel channel_0 is completed, the firmware on the first channel channel_0 is written into the Nand Flash connected to the first channel channel_0, that is, Nand Flash 231, such as bank0, block0; similarly, the firmware on the remaining channels are written into the Nand Flashes connected to them respectively.

[0056] Through step 101, the system is powered on, which means that an independent firmware program is written for each channel in the solid state drive. Figure 2For example, by programming the firmware on the first channel channel_0, through step 101, the solid state drive main control 22, the Nand Flash 231 connected to the first channel channel_0 on the solid state drive main control 22, and the firmware corresponding to the first channel channel_0 form the first sub-physical solid state drive. Similarly, by programming the firmware on the second channel channel_1, through step 101, the solid state drive main control 22, the Nand Flash 232 connected to the second channel channel_1 on the solid state drive main control 22, and the firmware corresponding to the second channel channel_1 form the second sub-physical solid state drive. By programming the firmware on the third channel channel_2, through step 101, the solid state drive main control 22, the Nand Flash 233 connected to the third channel channel_2 on the solid state drive main control 22, and the firmware corresponding to the third channel channel_2 form the third sub-physical solid state drive. By programming the firmware on the fourth channel channel_3, through step 101, the solid state drive controller 22, the Nand Flash 234 connected to the fourth channel channel_3 on the solid state drive controller 22, and the firmware corresponding to the fourth channel channel_3 form a fourth sub-physical solid state drive.

[0057] In the embodiment of the present application, each sub-physical solid-state drive is physically separated. Each sub-physical solid-state drive is a partition physically separated from other sub-physical solid-state drives. It can respond to the host's read and write commands by relying on the firmware on its own channel, and cannot respond to the host's commands at the same time, that is, only the firmware on one of the channels is running at a certain time.

[0058] In the embodiment of the present application, the storage space size corresponding to each sub-physical solid-state hard disk is the storage area size of the Nand Flash connected to each channel.

[0059] In the embodiment of the present application, the firmware of each sub-physical solid-state hard disk only manages the Nand Flash connected to its corresponding current channel and can only send read and write commands to the Nand Flash connected to the current channel.

[0060] In an exemplary embodiment, the present application also provides a method for reading and writing a solid state drive, based on the solid state drive established by the method for implementing a hidden partition of a solid state drive provided by the present application embodiment, further comprising:

[0061] Step 102: When the system application reads data from the SSD or writes data to the SSD, the firmware of the channel belonging to the current sub-physical SSD completes the read and write operation between the system application and the storage unit connected to the current channel.

[0062] In an exemplary embodiment, when a system application writes data to a solid state drive, for example, writing data to a NAND Flash controlled by the first channel channel_0, the firmware on the first channel channel_0 translates the LBA accessed by the system application into the PPA of the storage array, and sends a write command to the NAND Flash connected to the first channel channel_0, such as Nand Flash 231, at the same time. The write command address is the PPA, and the data that the host wants to write to the hard disk is written to Nand Flash 231. At this time, the firmware on the first channel channel_0 can only send commands to Nand Flash 231 to read data.

[0063] In an exemplary embodiment, when a system application reads data from a solid-state drive, taking the case of reading data from a NAND Flash controlled by the first channel channel_0 as an example, the firmware on the first channel channel_0 searches the mapping table according to the LBA to obtain the PPA, i.e., the location where the data is actually stored in the storage array. At the same time, the firmware on the first channel channel_0 sends a read command to the NAND Flash connected to the first channel channel_0, such as Nand Flash 231, and the read command address is the PPA. Then the firmware on the first channel channel_0 returns the data read from the storage array to the system application. At this time, the firmware on the first channel channel_0 can only send a command to Nand Flash 231 to write data.

[0064] The method for realizing hidden partition of solid state drive provided by the embodiment of the present application physically divides a solid state drive into multiple sub-physical solid state drives, each of which has complete solid state drive functions, and each sub-physical solid state drive can independently respond to the host's read and write commands to complete data storage operations. Users can switch the solid state drive to different sub-physical solid state drive modes according to actual data storage needs, and store different data in different sub-physical solid state drives, thereby realizing physical isolation storage of different data such as ordinary data and important sensitive data, ensuring the integrity and security of stored data.

[0065] In an exemplary embodiment, after the solid state drive is physically divided into multiple physical sub-solid state drives, the firmware corresponding to each channel has been written into the Nand Flash connected to the current channel, such as bank0, block0. Before writing data to the solid state drive or reading data from the solid state drive, the method for implementing hidden partitions of the solid state drive provided in the embodiment of the present application may further include:

[0066] When the system is powered on, the SSD master controller selects the corresponding channel to load the corresponding firmware according to the set conditions to complete the switching of the sub-physical SSD.

[0067] In an exemplary embodiment, a general purpose input / output (GPIO) interface can be used to implement the switching of the sub-physical solid-state drive to select a channel corresponding to the setting condition to load the corresponding firmware to run.

[0068] In one embodiment, GPIO1 and GPIO2 can be selected as the sub-physical solid state drive switching selection pins (pins). As shown in Table 1, different GPIO1 and GPIO2 combination values ​​(level values) correspond to different sub-physical solid state drives. The user can set the GPIO1 and GPIO2 combination values ​​as shown in Table 1 when the system is powered on, and select which channel of firmware to load (or start) according to the level state of the GPIO pins.

[0069] GPIO 1 value GPIO 2 value Select the loaded firmware 0 0 Firmware on the first channel channel_0 0 1 Firmware on the second channel channel_1 1 0 Firmware on the third channel channel_2 1 1 Firmware on the fourth channel channel_3

[0070] Table 1

[0071] In an embodiment of the present application, ordinary data and important sensitive data may be stored in different sub-physical solid-state hard drives respectively.

[0072] In one embodiment, when the user needs to store ordinary data, the setting conditions can be set, and the values ​​of GPIO1 and GPIO2 can be set to correspond to the sub-physical solid-state hard disk for storing ordinary data. For example, GPIO1=0 can be set. When GPIO2=0, the firmware of the channel where the sub-physical solid-state hard disk for storing ordinary data is located is selected to load, such as the firmware on the first channel channel_0. Then, when the system is powered on, the solid-state hard disk master will load the firmware on the first channel channel_0 to run. In this way, the host can identify the first sub-physical solid-state hard disk with NandFlash such as Nand Flash 231 connected to the first channel channel_0 as the storage space, and the host can send read and write commands to the first sub-physical solid-state hard disk to achieve access to ordinary data.

[0073] In one embodiment, when the user needs to store important sensitive data, the host is first turned off, that is, the solid-state drive is powered off, and GPIO1 and GPIO2 on the solid-state drive are selected to another set of values ​​corresponding to the sub-physical solid-state drive for storing important sensitive data. For example, GPIO1=0 can be set, and when GPIO2=1, the firmware of the channel where the sub-physical solid-state drive for ordinary data storage is located is selected to load, such as the firmware on the second channel channel_1. Then, when the system is powered on, the solid-state drive master will load the firmware on the second channel channel_1 to run. In this way, the host can identify the second sub-physical solid-state drive with the Nand Flash connected to the second channel channel_1, such as Nand Flash 232, as the storage space, and the host can send read and write commands to the second sub-physical solid-state drive to achieve access to important sensitive data.

[0074] From the embodiment of the present application, it can be seen that the user's ordinary data and important sensitive data are stored in different sub-physical solid-state hard disks, namely Nand Flash 231 and Nand Flash 232, respectively, to achieve physical isolation. In this way, when the user accesses ordinary data, the user cannot access the storage medium storing important sensitive data through the host read and write commands, thereby achieving physical isolation of sensitive data and ordinary data and ensuring the integrity and security of important sensitive data.

[0075] The present application also provides a computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are used to execute any of the above methods for implementing a hidden partition of a solid-state hard disk.

[0076] The embodiment of the present disclosure further provides a computer device, including a memory; and a processor connected to the memory, wherein the processor executes the steps of the method for implementing a hidden partition of a solid state drive as described in any of the preceding items based on instructions stored in the memory.

[0077] Figure 3 Schematic diagram of the composition structure of the solid state drive in the embodiment of the present application. Figure 3 As shown, it at least includes: a solid state drive master control, at least one communication interface, and multiple sub-physical solid state drives; wherein,

[0078] The solid state drive master controller is used to receive and parse commands from the host through the communication interface to achieve read and write control of the storage unit corresponding to the sub-physical solid state drive; each channel equipped with the solid state drive master controller is connected to a different storage unit.

[0079] In one embodiment, the solid state drive controller has multiple channels, and each channel is connected to one or more different storage units.

[0080] Each sub-physical solid-state drive includes a channel, a storage unit connected to the channel and firmware corresponding to the channel, which are used to receive commands from the solid-state drive master and respond to read and write commands through the firmware of the channels to which they are connected, and only the firmware of one of the channels responds to read and write commands at the same time.

[0081] In an exemplary embodiment, a sub-physical solid-state drive is used to complete the read and write operations between the system application and the storage unit connected to the current channel through the firmware of the channel belonging to the current sub-physical solid-state drive when the system application reads data from the solid-state drive or writes data to the solid-state drive.

[0082] The solid-state drive provided in the embodiment of the present application physically divides a solid-state drive into multiple sub-physical solid-state drives, each of which has complete solid-state drive functions, and each of which can independently respond to the host's read and write commands to complete data storage operations. Users can switch the solid-state drive to different sub-physical solid-state drive modes according to actual data storage needs, and store different data in different sub-physical solid-state drives, thereby achieving physical isolation storage of different data such as ordinary data and important sensitive data, ensuring the integrity and security of the stored data.

[0083] In an exemplary embodiment, the solid state drive master controller is also used to: when powered on, select a corresponding channel according to setting conditions to load a corresponding firmware to run, so as to complete the switching of the sub-physical solid state drive.

[0084] Although the embodiments disclosed in this application are as above, the contents described are only embodiments adopted to facilitate understanding of this application and are not intended to limit this application. Any technician in the field to which this application belongs can make any modifications and changes in the form and details of implementation without departing from the spirit and scope disclosed in this application, but the scope of patent protection of this application shall still be based on the scope defined in the attached claims.

Claims

1. A method for realizing hidden partition of solid state hard disk, characterized in that: include: Divide the storage array of the solid state drive into multiple storage units, and establish a connection between each channel of the solid state drive master control and a different storage unit; Firmware belonging to the current channel is established for each channel respectively, so that multiple sub-physical solid-state hard disks composed of storage units connected to each channel and firmware corresponding to the channel are used as different partitions; wherein each sub-physical solid-state hard disk responds to read and write commands through the firmware of the channel to which it is connected and only the firmware of one of the channels responds to read and write commands at the same time.

2. The method according to claim 1, wherein: The channel is connected to one or more storage units.

3. The method according to claim 1, wherein: The storage unit includes a NAND flash memory; The NAND flash memory includes any one or any combination of the following: a single-layer cell type, a three-layer cell type, and a four-layer cell type.

4. The method according to any one of claims 1 to 3, wherein: When programming the firmware on the channel, the identifiers of all storage units connected to all remaining channels are forcibly assigned to be invalid.

5. The method according to claim 4, further comprising: After the firmware writing on the channel is completed, the firmware on the channel is written into a storage unit connected to the channel.

6. The method according to claim 2, wherein: The size of the storage space corresponding to each of the sub-physical solid-state hard disks is the size of the storage area of ​​the storage unit connected to the channel corresponding to the sub-physical solid-state hard disk.

7. A method for reading and writing a solid state hard disk, characterized in that: A solid state hard disk established based on the method for realizing a hidden partition of a solid state hard disk according to any one of claims 1 to 6, comprising: When the system application reads data from the solid state drive or writes data to the solid state drive, the read and write operations between the system application and the storage unit connected to the current channel are completed through the firmware of the channel belonging to the current sub-physical solid state drive.

8. The reading and writing method according to claim 7, further comprising: When the system is powered on, the solid state drive master controller selects a corresponding channel to load a corresponding firmware to run according to a setting condition, so as to complete the switching of the sub-physical solid state drive.

9. The reading and writing method according to claim 8, wherein: The switching of the sub-physical solid state drive is realized by using a general purpose input and output interface GPIO to select a channel corresponding to the setting condition to load the corresponding firmware to run.

10. A computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are used to execute the method for implementing a hidden partition of a solid-state hard disk as described in any one of claims 1 to 6, and / or the method for reading and writing a solid-state hard disk as described in any one of claims 7 to 9.

11. A computer device comprising a memory and a processor, wherein: The memory stores the following instructions executable by the processor: used to execute the steps of the method for implementing a hidden partition of a solid-state hard disk as described in any one of claims 1-6, and / or the steps of the method for reading and writing a solid-state hard disk as described in any one of claims 7-9.

12. A solid state hard disk, characterized in that: include: A solid state drive master control, at least one communication interface, and multiple sub-physical solid state drives with different partitions; wherein, The SSD master controller is used to receive and parse commands from the host through the communication interface to realize the read and write control of the storage unit corresponding to the sub-physical SSD; each channel equipped with the SSD master controller is connected to a different storage unit; Each sub-physical solid-state drive includes a channel, a storage unit connected to the channel and firmware corresponding to the channel, which are used to receive commands from the solid-state drive master and respond to read and write commands through the firmware of the channels to which they are connected, and only the firmware of one of the channels responds to read and write commands at the same time.

13. The solid state drive according to claim 12, wherein: The solid state hard disk master controller has multiple channels, and each channel is connected to one or more different storage units.

14. According to the solid-state hard disk according to claim 12 or 13, the sub-physical solid-state hard disk is also used to complete the read and write operations between the system application and the storage unit connected to the current channel through the firmware of the channel belonging to the current sub-physical solid-state hard disk when the system application reads data from the solid-state hard disk or writes data to the solid-state hard disk.

15. The solid state drive according to claim 12 or 13, wherein: The storage unit includes a NAND flash memory; The NAND flash memory includes any one or any combination of the following: a single-layer cell type, a three-layer cell type, and a four-layer cell type.

Citation Information

Patent Citations

  • Method for improving stability in use of large-capacity solid state disk

    CN102122531A

  • Data storage device and data processing system including the data storage device

    CN106951180A

  • Firmware data processing method and device, equipment and storage medium

    CN112925569A

  • Independent set data channel for IOD SSD

    CN114450673A

  • Disk array apparatus, method for application of control firmware, and controlling unit for controlling application of control firmware

    US20090292873A1