TCG-opal-based raid card management method and related device
Patent Information
- Application Number
- CN202211026936.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-25
- Publication Date
- 2026-08-18
- Estimated Expiration
- 2042-08-25
AI Technical Summary
[0003]本发明的主要目的在于提供一种基于TCG-Opal的RAID卡管理方法、装置、设备及可读存储介质,旨在解决现有技术中,无法通过TCG-Opal协议栈对RAID卡以及支持TCG-Opal协议栈且与RAID卡建立通信连接的固态硬盘进行管理的问题
[0028]In this invention, when the RAID card is powered on, any one of the solid-state drives (SSDs) that have established a communication connection with the RAID card is selected as the primary SSD. Each SSD stores the raw data required by the TCG-Opal protocol stack. The raw data from the primary SSD is loaded into the RAID card's system so that the TCG-Opal protocol stack can be initialized based on this raw data. Through this invention, the TCG-Opal protocol stack is initialized using data from the primary SSD that has established a communication connection with the RAID card, thus implementing a complete TCG-Opal protocol stack on the RAID card. This solves the problem in the prior art where the lack of a TCG-Opal protocol stack on the RAID card prevents the management of the RAID card and the SSDs that support the TCG-Opal protocol stack and have established a communication connection with the RAID card via the TCG-Opal protocol stack.
Smart Images

Figure CN115437567B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of solid-state drive storage technology, and in particular to a RAID card management method and related equipment based on TCG-Opal. Background Technology
[0002] The TCG-Opal protocol stack is widely used for security management of storage devices due to its support for multiple users and permissions. However, because RAID cards do not implement the TCG-Opal protocol stack, it cannot be used on RAID cards. This prevents the host from using the TCG-Opal protocol stack for security management of the RAID card, and also prevents the management of solid-state drives that support the TCG-Opal protocol stack and have established a communication connection with the RAID card. Summary of the Invention
[0003] The main objective of this invention is to provide a RAID card management method, apparatus, device, and readable storage medium based on TCG-Opal, aiming to solve the problem in the prior art that it is impossible to manage RAID cards and solid-state drives that support the TCG-Opal protocol stack and establish communication connections with RAID cards through the TCG-Opal protocol stack.
[0004] In a first aspect, the present invention provides a RAID card management method based on TCG-Opal, the RAID card management method based on TCG-Opal comprising:
[0005] When the RAID card is powered on, any one of the solid-state drives that has established a communication connection with the RAID card is selected as the primary solid-state drive. Each solid-state drive stores the raw data required by the TCG-Opal protocol stack.
[0006] The raw data from the main solid-state drive is loaded into the RAID card's system so that the TCG-Opal protocol stack can be initialized based on the raw data.
[0007] Optionally, after the step of loading data from the primary solid-state drive into the RAID card system for initialization of the TCG-Opal protocol stack based on the raw data, the following steps are included:
[0008] The alignment of the logical space supported by TCG-Opal is determined based on the stripe size of the data sent by the RAID card and the number of solid-state drives that establish communication connections with the RAID card.
[0009] Upon receiving the instruction from the host to set the logical space, the logical space is evenly distributed across each solid-state drive. The logical space in the instruction sent by the host conforms to the alignment method of the logical space supported by the TCG-Opal protocol stack.
[0010] Optionally, after the step of evenly distributing the logical space across each solid-state drive upon receiving the instruction from the host to set the logical space, the method includes:
[0011] When a key instruction to change the logical space is received, the key for each solid-state drive corresponding to the logical space is changed.
[0012] Optionally, after the step of changing the key of each solid-state drive corresponding to the logical space when a key instruction to change the logical space is received, the method includes:
[0013] The replacement keys for each solid-state drive are encrypted based on the user identifier and the identifier of the logical space. The storage address of the encrypted key is not fixed.
[0014] Optionally, after the step of loading the data from the primary solid-state drive into the RAID card's system for TCG-Opal initialization, the method further includes:
[0015] When the RAID card is powered on again, it verifies the TCG-Opal protocol stack data in the main solid-state drive;
[0016] If the verification passes, the data in the main solid-state drive is loaded into the RAID card system so that the TCG-Opal protocol stack can be initialized based on the data in the main solid-state drive.
[0017] If the verification fails, select any one of the remaining solid-state drives that have established a communication connection with the RAID card as the target solid-state drive, and load the data in the target solid-state drive into the RAID card's system so that the TCG-Opal protocol stack can initialize based on the data in the target solid-state drive.
[0018] Optionally, the TCG-Opal-based RAID card management method includes:
[0019] When the TCG-Opal protocol stack data is updated, each solid-state drive is updated based on the updated TCG-Opal protocol stack data.
[0020] Secondly, the present invention also provides a RAID card management device based on TCG-Opal, the RAID card management device based on TCG-Opal comprising:
[0021] The selection module is used to select any one of the solid-state drives (SSDs) that have established a communication connection with the RAID card as the primary SSD when the RAID card is powered on. Each SSD stores the raw data required by the TCG-Opal protocol stack.
[0022] The loading module is used to load the raw data from the main solid-state drive into the RAID card system so that the TCG-Opal protocol stack can be initialized based on the raw data.
[0023] Optionally, the TCG-Opal-based RAID card management device also includes a configuration module for:
[0024] The alignment of the logical space supported by TCG-Opal is determined based on the stripe size of the data sent by the RAID card and the number of solid-state drives that establish communication connections with the RAID card.
[0025] Upon receiving the instruction from the host to set the logical space, the logical space is evenly distributed across each solid-state drive. The logical space in the instruction sent by the host conforms to the alignment method of the logical space supported by the TCG-Opal protocol stack.
[0026] Thirdly, the present invention also provides a TCG-Opal-based RAID card management device, the TCG-Opal-based RAID card management device including a processor, a memory, and a TCG-Opal-based RAID card management program stored in the memory and executable by the processor, wherein when the TCG-Opal-based RAID card management program is executed by the processor, it implements the steps of the TCG-Opal-based RAID card management method as described above.
[0027] Fourthly, the present invention also provides a readable storage medium storing a TCG-Opal-based RAID card management program, wherein when the TCG-Opal-based RAID card management program is executed by a processor, it implements the steps of the TCG-Opal-based RAID card management method as described above.
[0028] In this invention, when the RAID card is powered on, any one of the solid-state drives (SSDs) that have established a communication connection with the RAID card is selected as the primary SSD. Each SSD stores the raw data required by the TCG-Opal protocol stack. The raw data from the primary SSD is loaded into the RAID card's system so that the TCG-Opal protocol stack can be initialized based on this raw data. Through this invention, the TCG-Opal protocol stack is initialized using data from the primary SSD that has established a communication connection with the RAID card, thus implementing a complete TCG-Opal protocol stack on the RAID card. This solves the problem in the prior art where the lack of a TCG-Opal protocol stack on the RAID card prevents the management of the RAID card and the SSDs that support the TCG-Opal protocol stack and have established a communication connection with the RAID card via the TCG-Opal protocol stack. Attached Figure Description
[0029] Figure 1 This is a schematic diagram of the hardware structure of the TCG-Opal-based RAID card management device involved in the embodiments of the present invention;
[0030] Figure 2 This is a flowchart illustrating the first embodiment of the RAID card management method based on TCG-Opal of the present invention;
[0031] Figure 3 This is a schematic diagram of the architecture of an embodiment of the RAID card management method based on TCG-Opal of the present invention;
[0032] Figure 4 This is a flowchart illustrating the second embodiment of the RAID card management method based on TCG-Opal of the present invention;
[0033] Figure 5 This is a schematic diagram of the functional modules of an embodiment of the RAID card management device based on TCG-Opal of the present invention.
[0034] The realization of the objective, functional features and advantages of the present invention will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation
[0035] It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
[0036] In a first aspect, embodiments of the present invention provide a RAID card management device based on TCG-Opal, which can be a personal computer (PC), laptop computer, server or other device with data processing capabilities.
[0037] Reference Figure 1 , Figure 1 This is a schematic diagram of the hardware structure of a TCG-Opal-based RAID card management device involved in an embodiment of the present invention. In this embodiment, the TCG-Opal-based RAID card management device may include a processor 1001 (e.g., a Central Processing Unit, CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. The communication bus 1002 is used to implement communication between these components; the user interface 1003 may include a display screen or an input unit such as a keyboard; the network interface 1004 may optionally include a standard wired interface or a wireless interface (e.g., Wireless Fidelity, Wi-Fi); the memory 1005 may be high-speed random access memory (RAM) or stable memory (non-volatile memory), such as a disk storage device. Alternatively, the memory 1005 may also be a storage device independent of the aforementioned processor 1001. Those skilled in the art will understand that… Figure 1 The hardware structure shown does not constitute a limitation of the invention and may include more or fewer components than shown, or combine certain components, or have different component arrangements.
[0038] Continue to refer to Figure 1 , Figure 1 The memory 1005, which serves as a computer storage medium, may include an operating system, a network communication module, a user interface module, and a TCG-Opal-based RAID card management program. The processor 1001 can call the TCG-Opal-based RAID card management program stored in the memory 1005 and execute the TCG-Opal-based RAID card management method provided in this embodiment of the invention.
[0039] Secondly, embodiments of the present invention provide a RAID card management method based on TCG-Opal.
[0040] In one embodiment, reference is made to Figure 2 , Figure 2 This is a flowchart illustrating the first embodiment of the RAID card management method based on TCG-Opal of the present invention. Figure 2 As shown, the RAID card management method based on TCG-Opal includes:
[0041] Step S10: When the RAID card is powered on, select any solid-state drive among the solid-state drives that have established a communication connection with the RAID card as the main solid-state drive. Each solid-state drive stores the raw data required by the TCG-Opal protocol stack.
[0042] In this embodiment, refer to Figure 3 , Figure 3 This is a schematic diagram of the architecture of an embodiment of the RAID card management method based on TCG-Opal of the present invention. Figure 3 As shown, communication between the host and the RAID card, and between the RAID card and each solid-state drive (SSD), is achieved via the PCIe bus. When the RAID card powers on, it scans all SSDs that have established communication connections with it, and then selects any one of these SSDs as the primary SSD. Each SSD stores the raw data required by the TCG-Opal protocol stack. Furthermore, after selecting the primary SSD, its electronic serial number is stored so that the RAID card can directly locate the primary SSD and read data from it upon subsequent power-ups.
[0043] Step S20: Load the raw data from the main solid-state drive into the RAID card system so that the TCG-Opal protocol stack can be initialized based on the raw data.
[0044] In this embodiment, the raw data required for the TCG-Opal protocol stack is read from the main solid-state drive and loaded into the RAID card system so that the TCG-Opal protocol stack can be initialized based on the raw data read from the main solid-state drive.
[0045] In this embodiment, when the RAID card is powered on, any one of the solid-state drives (SSDs) that have established a communication connection with the RAID card is selected as the primary SSD. Each SSD stores the raw data required by the TCG-Opal protocol stack. The raw data from the primary SSD is loaded into the RAID card's system so that the TCG-Opal protocol stack can be initialized based on this raw data. Through this embodiment, the TCG-Opal protocol stack is initialized using data from the primary SSD that has established a communication connection with the RAID card, thus implementing a complete TCG-Opal protocol stack on the RAID card. This solves the problem in the prior art where the lack of a TCG-Opal protocol stack on the RAID card prevents the management of the RAID card and the SSDs that support the TCG-Opal protocol stack and have established a communication connection with the RAID card via the TCG-Opal protocol stack.
[0046] Furthermore, in one embodiment, reference is made to Figure 4 , Figure 4 This is a flowchart illustrating the second embodiment of the RAID card management method based on TCG-Opal of the present invention. Figure 4 As shown, after step S20, the following steps are included:
[0047] Step S30: Determine the alignment method of the logical space supported by TCG-Opal based on the stripe size of the data sent by the RAID card and the number of solid-state drives that establish communication connections with the RAID card.
[0048] Step S40: After receiving the instruction to set the logical space sent by the host, the logical space is evenly distributed among each solid-state drive. The logical space in the instruction to set the logical space sent by the host conforms to the alignment method of the logical space supported by the TCG-Opal protocol stack.
[0049] In this embodiment, RAID striping is a method of dividing continuous data into data blocks of the same size and writing each data segment to different disks in the array. One stripe size represents the I / O data of a single access. Since this I / O data is distributed across different solid-state drives (SSDs), to ensure that the RAID card evenly distributes the logical space across all SSDs after receiving the command from the host to set the logical space, the alignment method of the logical space supported by TCG-Opal must be determined based on the stripe size of the data sent by the RAID card and the number of SSDs communicating with the RAID card before the host sends the command. After evenly distributing the logical space across all SSDs, during subsequent normal data read and write operations, the RAID card's read and write permissions can be controlled based on the read and write permissions of each SSD that has established a communication connection with the RAID card. That is, if each SSD that has established a communication connection with the RAID card can only read data, then the RAID card can only read data; if each SSD that has established a communication connection with the RAID card can only write data, then the RAID card can only write data. This ensures that the speed of reading and writing data is not affected by the TCG-Opal protocol stack.
[0050] Specifically, if the RAID card transmits data in 8KB stripes and there are four solid-state drives communicating with the RAID card, then the logical space alignment supported by TCG-Opal must be a multiple of 4*8, or a multiple of 32. Therefore, the host sends a command to the RAID card to set the logical space to 32KB, 64KB, or 128KB. It's easy to see that as long as the logical space in the command sent by the host is a multiple of 32, it conforms to the logical space alignment supported by the TCG-Opal protocol stack. Specifically, when the host sends a command to the RAID card to set a logical space of 32KB, each of the four SSDs is allocated 8KB of logical space; when the host sends a command to the RAID card to set a logical space of 64KB, each of the four SSDs is allocated 16KB of logical space; and when the host sends a command to the RAID card to set a logical space of 128KB, each of the four SSDs is allocated 32KB of logical space.
[0051] Furthermore, in one embodiment, reference continues to be made to... Figure 4 After receiving the instruction from the host to set the logical space, and then evenly distributing the logical space across each solid-state drive, the method includes:
[0052] Step S50: When a key instruction to change the logical space is received, the key of each solid-state drive corresponding to the logical space is changed.
[0053] In this embodiment, since the TCG-OPAL protocol stack specifies the starting position, length, read / write permissions, and key corresponding to the logical space, changing the key for the logical space involves changing the key corresponding to the logical space specified on the TCG-OPAL protocol stack. Furthermore, because the logical spaces are evenly distributed across the various solid-state drives (SSDs), when a key change instruction for a logical space is received, the keys for each SSD corresponding to that logical space are changed. After the key change, the written data is encrypted using the AES engine built into each SSD that establishes a communication connection with the RAID card, based on the changed key, and the read data is decrypted. The host application software no longer encrypts user data, ensuring that the speed of reading and writing data is not affected by host resources or the TCG-Opal protocol stack.
[0054] Furthermore, in one embodiment, reference continues to be made to... Figure 4 After the step of changing the key of each solid-state drive corresponding to the logical space when a key instruction to change the logical space is received, the method includes:
[0055] Step S60: Encrypt the replaced key for each solid-state drive based on the user identifier and the identifier of the logical space. The storage address of the encrypted key is not fixed.
[0056] In this embodiment, to ensure key consistency, the replaced keys for each solid-state drive are encrypted based on the user identifier and the logical space identifier. Specifically, a hash value is generated using a hash function based on the user identifier, the logical space identifier, and the replaced key for the solid-state drive. The key is then authenticated by verifying the hash value the next time it is used. The encrypted key is stored in a variable location; that is, the location of the encrypted key is not fixed but dynamically modified, thereby reducing the risk of key leakage and improving data security.
[0057] Furthermore, in one embodiment, after the step of loading data from the primary solid-state drive into the RAID card's system for TCG-Opal initialization, the method further includes:
[0058] When the RAID card is powered on again, it verifies the TCG-Opal protocol stack data in the main solid-state drive;
[0059] If the verification passes, the data in the main solid-state drive is loaded into the RAID card system so that the TCG-Opal protocol stack can be initialized based on the data in the main solid-state drive.
[0060] If the verification fails, select any one of the remaining solid-state drives that have established a communication connection with the RAID card as the target solid-state drive, and load the data in the target solid-state drive into the RAID card's system so that the TCG-Opal protocol stack can initialize based on the data in the target solid-state drive.
[0061] In this embodiment, when the RAID card is powered on again, the TCG-Opal protocol stack data in the main solid-state drive is verified by CRC (Cyclic Redundancy Check), that is, whether the TCG-Opal protocol stack data in the main solid-state drive is corrupted. Data corruption includes data loss and / or data errors.
[0062] If the verification passes, meaning the TCG-Opal protocol stack data in the primary SSD is error-free, the data from the primary SSD is loaded into the RAID card's system so that the TCG-Opal protocol stack can be initialized based on this data. It's important to note that the data loaded into the RAID card's system is not saved after the RAID card is powered down. Therefore, when the RAID card powers on again and the verification of the TCG-Opal protocol stack data in the primary SSD passes, the data from the primary SSD is loaded into the RAID card's system so that the TCG-Opal protocol stack can complete its initialization based on this data.
[0063] If the verification fails, meaning the TCG-Opal protocol stack data in the primary SSD is corrupted, then any one of the remaining SSDs that have established a communication connection with the RAID card is selected as the target SSD. The data in the target SSD is read and loaded into the RAID card's system so that the TCG-Opal protocol stack can initialize based on the data in the target SSD.
[0064] Furthermore, in one embodiment, the TCG-Opal-based RAID card management method includes:
[0065] When the TCG-Opal protocol stack data is updated, each solid-state drive is updated based on the updated TCG-Opal protocol stack data.
[0066] In this embodiment, when the TCG-Opal protocol stack data is updated, the updated TCG-Opal protocol stack data is used to update the communication connections between each solid-state drive and the RAID card, that is, to refresh the updated TCG-Opal protocol stack data to each solid-state drive.
[0067] Thirdly, embodiments of the present invention also provide a RAID card management device based on TCG-Opal.
[0068] In one embodiment, reference is made to Figure 5 , Figure 5 This is a functional module diagram of an embodiment of the RAID card management device based on TCG-Opal of the present invention. Figure 5 As shown, the TCG-Opal-based RAID card management device includes:
[0069] The selection module 10 is used to select any one of the solid-state drives that have established a communication connection with the RAID card as the main solid-state drive when the RAID card is powered on. Each solid-state drive stores the raw data required by the TCG-Opal protocol stack.
[0070] The loading module 20 is used to load the raw data in the main solid-state drive into the RAID card system so that the TCG-Opal protocol stack can be initialized based on the raw data.
[0071] Furthermore, in one embodiment, the TCG-Opal-based RAID card management device further includes a setting module for:
[0072] The alignment of the logical space supported by TCG-Opal is determined based on the stripe size of the data sent by the RAID card and the number of solid-state drives that establish communication connections with the RAID card.
[0073] Upon receiving the instruction from the host to set the logical space, the logical space is evenly distributed across each solid-state drive. The logical space in the instruction sent by the host conforms to the alignment method of the logical space supported by the TCG-Opal protocol stack.
[0074] Furthermore, in one embodiment, the TCG-Opal-based RAID card management device further includes a key replacement module, used for:
[0075] When a key instruction to change the logical space is received, the key for each solid-state drive corresponding to the logical space is changed.
[0076] Furthermore, in one embodiment, the TCG-Opal-based RAID card management device further includes a key storage module, used for:
[0077] The replacement keys for each solid-state drive are encrypted based on the user identifier and the identifier of the logical space. The storage address of the encrypted key is not fixed.
[0078] Furthermore, in one embodiment, the TCG-Opal-based RAID card management device further includes a verification module, used for:
[0079] When the RAID card is powered on again, it verifies the TCG-Opal protocol stack data in the main solid-state drive;
[0080] If the verification passes, the data in the main solid-state drive is loaded into the RAID card system so that the TCG-Opal protocol stack can be initialized based on the data in the main solid-state drive.
[0081] If the verification fails, select any one of the remaining solid-state drives that have established a communication connection with the RAID card as the target solid-state drive, and load the data in the target solid-state drive into the RAID card's system so that the TCG-Opal protocol stack can initialize based on the data in the target solid-state drive.
[0082] Furthermore, in one embodiment, the TCG-Opal-based RAID card management device further includes an update module for:
[0083] When the TCG-Opal protocol stack data is updated, each solid-state drive is updated based on the updated TCG-Opal protocol stack data.
[0084] The functions of each module in the TCG-Opal-based RAID card management device correspond to the steps in the TCG-Opal-based RAID card management method embodiment, and their functions and implementation processes will not be described in detail here.
[0085] Fourthly, embodiments of the present invention also provide a readable storage medium.
[0086] The present invention stores a TCG-Opal-based RAID card management program on a readable storage medium, wherein when the TCG-Opal-based RAID card management program is executed by a processor, it implements the steps of the TCG-Opal-based RAID card management method described above.
[0087] The method implemented when the TCG-Opal-based RAID card management program is executed can be referred to in various embodiments of the TCG-Opal-based RAID card management method of the present invention, and will not be repeated here.
[0088] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or system. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or system that includes that element.
[0089] The sequence numbers of the above embodiments of the present invention are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0090] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes several instructions to cause a terminal device to execute the methods described in the various embodiments of the present invention.
[0091] The above are merely preferred embodiments of the present invention and do not limit the scope of the patent. Any equivalent structural or procedural transformations made based on the description and drawings of the present invention, or direct or indirect applications in other related technical fields, are similarly included within the scope of patent protection of the present invention.
Claims
1. A RAID card management method based on TCG-Opal, characterized in that, The TCG-Opal-based RAID card management method includes: When the RAID card is powered on, any one of the solid-state drives that has established a communication connection with the RAID card is selected as the primary solid-state drive. Each solid-state drive stores the raw data required by the TCG-Opal protocol stack. The raw data in the main solid-state drive is loaded into the RAID card system so that the TCG-Opal protocol stack can be initialized based on the raw data; When the RAID card is powered on again, it verifies the TCG-Opal protocol stack data in the main solid-state drive; If the verification passes, the data in the main solid-state drive is loaded into the RAID card system so that the TCG-Opal protocol stack can be initialized based on the data in the main solid-state drive. If the verification fails, select any one of the remaining solid-state drives that have established a communication connection with the RAID card as the target solid-state drive, and load the data in the target solid-state drive into the RAID card's system so that the TCG-Opal protocol stack can initialize based on the data in the target solid-state drive.
2. The RAID card management method based on TCG-Opal as described in claim 1, characterized in that, Following the step of loading data from the primary solid-state drive into the RAID card system for initialization of the TCG-Opal protocol stack based on the raw data, the following steps are included: The alignment of the logical space supported by TCG-Opal is determined based on the stripe size of the data sent by the RAID card and the number of solid-state drives that establish communication connections with the RAID card. Upon receiving the instruction from the host to set the logical space, the logical space is evenly distributed across each solid-state drive. The logical space in the instruction sent by the host conforms to the alignment method of the logical space supported by the TCG-Opal protocol stack.
3. The RAID card management method based on TCG-Opal as described in claim 2, characterized in that, After receiving the instruction from the host to set the logical space, and then evenly distributing the logical space across each solid-state drive, the process includes: When a key instruction to change the logical space is received, the key for each solid-state drive corresponding to the logical space is changed.
4. The RAID card management method based on TCG-Opal as described in claim 3, characterized in that, After the step of changing the key of each solid-state drive corresponding to the logical space when a key instruction to change the logical space is received, the following steps are included: The replacement keys for each solid-state drive are encrypted based on the user identifier and the identifier of the logical space. The storage address of the encrypted key is not fixed.
5. The RAID card management method based on TCG-Opal as described in claim 1, characterized in that, The TCG-Opal-based RAID card management method includes: When the TCG-Opal protocol stack data is updated, each solid-state drive is updated based on the updated TCG-Opal protocol stack data.
6. A RAID card management device based on TCG-Opal, characterized in that, The TCG-Opal-based RAID card management device includes: The selection module is used to select any one of the solid-state drives (SSDs) that have established a communication connection with the RAID card as the primary SSD when the RAID card is powered on. Each SSD stores the raw data required by the TCG-Opal protocol stack. The loading module is used to load the raw data in the main solid-state drive into the RAID card system so that the TCG-Opal protocol stack can be initialized based on the raw data; The verification module is used to verify the TCG-Opal protocol stack data in the primary solid-state drive when the RAID card is powered on again. If the verification passes, the data in the primary solid-state drive is loaded into the RAID card's system so that the TCG-Opal protocol stack can be initialized based on the data in the primary solid-state drive. If the verification fails, any solid-state drive that has established a communication connection with the RAID card is selected as the target solid-state drive, and the data in the target solid-state drive is loaded into the RAID card's system so that the TCG-Opal protocol stack can be initialized based on the data in the target solid-state drive.
7. The RAID card management device based on TCG-Opal as described in claim 6, characterized in that, The TCG-Opal-based RAID card management device also includes a settings module for: The alignment of the logical space supported by TCG-Opal is determined based on the stripe size of the data sent by the RAID card and the number of solid-state drives that establish communication connections with the RAID card. Upon receiving the instruction from the host to set the logical space, the logical space is evenly distributed across each solid-state drive. The logical space in the instruction sent by the host conforms to the alignment method of the logical space supported by the TCG-Opal protocol stack.
8. A RAID card management device based on TCG-Opal, characterized in that, The TCG-Opal-based RAID card management device includes a processor, a memory, and a TCG-Opal-based RAID card management program stored in the memory and executable by the processor. When the TCG-Opal-based RAID card management program is executed by the processor, it implements the steps of the TCG-Opal-based RAID card management method as described in any one of claims 1 to 5.
9. A readable storage medium, characterized in that, The readable storage medium stores a TCG-Opal-based RAID card management program, wherein when the TCG-Opal-based RAID card management program is executed by a processor, it implements the steps of the TCG-Opal-based RAID card management method as described in any one of claims 1 to 5.
Citation Information
Patent Citations
Encrypted transport solid-state disk controller
CN103620690A