CN115437567A - RAID card management method based on TCG-Opal and related equipment - Google Patents

RAID card management method based on TCG-Opal and related equipment Download PDF

Info

Publication number
CN115437567A
CN115437567A CN202211026936.2A CN202211026936A CN115437567A CN 115437567 A CN115437567 A CN 115437567A CN 202211026936 A CN202211026936 A CN 202211026936A CN 115437567 A CN115437567 A CN 115437567A
Authority
CN
China
Prior art keywords
tcg
opal
solid state
raid card
state disk
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211026936.2A
Other languages
Chinese (zh)
Inventor
陈晓天
弗兰克·陈
李晓龙
张晓霞
熊小明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Exascend Technology Wuhan Co ltd
Original Assignee
Exascend Technology Wuhan Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Exascend Technology Wuhan Co ltd filed Critical Exascend Technology Wuhan Co ltd
Priority to CN202211026936.2A priority Critical patent/CN115437567A/en
Publication of CN115437567A publication Critical patent/CN115437567A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0604Improving or facilitating administration, e.g. storage management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0629Configuration or reconfiguration of storage systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/0671In-line storage system
    • G06F3/0683Plurality of storage devices
    • G06F3/0689Disk arrays, e.g. RAID, JBOD

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention provides a RAID card management method based on TCG-Opal and related equipment. The method comprises the following steps: when the RAID card is powered on, selecting any solid state disk from all solid state disks which are in communication connection with the RAID card as a main solid state disk, wherein original data required by a TCG-Opal protocol stack are stored in all the solid state disks; and loading the original data in the main solid state disk into a system of the RAID card for initialization of a protocol stack based on the original data. According to the invention, the protocol stack is initialized through the data in the main solid state disk which is in communication connection with the RAID card, and the complete protocol stack is realized on the RAID card, so that the problem that the RAID card and the solid state disk which supports the protocol stack and is in communication connection with the RAID card cannot be managed through the protocol stack in the prior art because the TCG-Opal protocol stack is not realized on the RAID card is solved.

Description

RAID card management method based on TCG-Opal and related equipment
Technical Field
The invention relates to the technical field of solid state disk storage, in particular to a TCG-Opal-based RAID card management method and related equipment.
Background
The TCG-Opal protocol stack is widely used for security management of storage devices due to its function of supporting multiple users and multiple rights. However, because the TCG-Opal protocol stack is not implemented on the RAID card, the TCG-Opal protocol stack cannot be applied to the RAID card, so that the host cannot perform secure management on the RAID card through the TCG-Opal protocol stack, and cannot manage a solid state disk that supports the TCG-Opal protocol stack and establishes a communication connection with the RAID card.
Disclosure of Invention
The invention mainly aims to provide a RAID card management method, a device, equipment and a readable storage medium based on TCG-Opal, aiming at solving the problem that the prior art can not manage a RAID card and a solid state disk which supports the TCG-Opal protocol stack and establishes communication connection with the RAID card through the TCG-Opal protocol stack.
In a first aspect, the present invention provides a TCG-Opal-based RAID card management method, where the TCG-Opal-based RAID card management method includes:
when the RAID card is powered on, selecting any solid state disk from all solid state disks which are in communication connection with the RAID card as a main solid state disk, wherein original data required by a TCG-Opal protocol stack are stored in all the solid state disks;
and loading the original data in the main solid state disk into a system of the RAID card, so that the TCG-Opal protocol stack is initialized based on the original data.
Optionally, after the step of loading the data in the main solid state disk into the system of the RAID card for initialization by the TCG-Opal protocol stack based on the original data, the method includes:
determining an alignment mode of a logic space supported by TCG-Opal based on the size of a stripe of data sent by the RAID card and the number of solid state disks establishing communication connection with the RAID card;
and after receiving a command for setting the logic space sent by the host, uniformly setting the logic space in each solid state disk, wherein the logic space in the command for setting the logic space sent by the host conforms to the alignment mode of the logic space supported by the TCG-Opal protocol stack.
Optionally, after the step of uniformly setting the logic space in each solid state disk after receiving the instruction for setting the logic space sent by the host, the method includes:
and when a key command for replacing the logic space is received, replacing the keys of the solid state disks corresponding to the logic space.
Optionally, after the step of replacing the key of each solid state disk corresponding to the logical space when the key instruction for replacing the logical space is received, the method includes:
and encrypting the replaced secret key of each solid state disk based on the user identification code and the identification code of the logic space, wherein the storage address of the encrypted secret key is not fixed.
Optionally, after the step of loading the data in the master solid state disk into the system of the RAID card for initializing the TCG-Opal, the method further includes:
when the RAID card is electrified again, verifying TCG-Opal protocol stack data in the main solid state disk;
if the verification is passed, loading the data in the main solid state disk into a system of the RAID card for initializing the TCG-Opal protocol stack based on the data in the main solid state disk;
and if the verification fails, selecting any solid state disk from the rest solid state disks which are in communication connection with the RAID card as a target solid state disk, and loading the data in the target solid state disk into a system of the RAID card so as to initialize the TCG-Opal protocol stack based on the data in the target solid state disk.
Optionally, the TCG-Opal-based RAID card management method includes:
and when the TCG-Opal protocol stack data is updated, updating each solid state disk based on the updated TCG-Opal protocol stack data.
In a second aspect, the present invention further provides a TCG-Opal-based RAID card management apparatus, where the TCG-Opal-based RAID card management apparatus includes:
the selection module is used for selecting any solid state disk from all solid state disks which are in communication connection with the RAID card as a main solid state disk when the RAID card is powered on, wherein original data required by a TCG-Opal protocol stack are stored in all the solid state disks;
and the loading module is used for loading the original data in the main solid state disk into a system of the RAID card so as to initialize the TCG-Opal protocol stack based on the original data.
Optionally, the TCG-Opal-based RAID card management apparatus further includes a setting module, configured to:
determining an alignment mode of a logic space supported by TCG-Opal based on the size of a stripe of data sent by the RAID card and the number of solid state disks establishing communication connection with the RAID card;
and after receiving a command for setting the logic space sent by the host, uniformly setting the logic space in each solid state disk, wherein the logic space in the command for setting the logic space sent by the host conforms to the alignment mode of the logic space supported by the TCG-Opal protocol stack.
In a third aspect, the present invention further provides a TCG-Opal-based RAID card management apparatus, where the TCG-Opal-based RAID card management apparatus includes a processor, a memory, and a TCG-Opal-based RAID card management program stored on the memory and executable by the processor, where when the TCG-Opal-based RAID card management program is executed by the processor, the steps of the TCG-Opal-based RAID card management method described above are implemented.
In a fourth aspect, the present invention further provides a readable storage medium, on which a TCG-Opal-based RAID card management program is stored, wherein when the TCG-Opal-based RAID card management program is executed by a processor, the steps of the TCG-Opal-based RAID card management method described above are implemented.
In the invention, when the RAID card is powered on, any solid state disk is selected from all solid state disks which are in communication connection with the RAID card as a main solid state disk, wherein original data required by a TCG-Opal protocol stack are stored in all the solid state disks; and loading the original data in the main solid state disk into a system of a RAID card for initialization of a TCG-Opal protocol stack based on the original data. According to the invention, the TCG-Opal protocol stack is initialized through the data in the main solid state disk which establishes communication connection with the RAID card, and the complete TCG-Opal protocol stack is realized on the RAID card, so that the problem that the RAID card and the solid state disk which supports the TCG-Opal protocol stack and establishes communication connection with the RAID card cannot be managed through the TCG-Opal protocol stack in the prior art because the TCG-Opal protocol stack is not realized on the RAID card is solved.
Drawings
Fig. 1 is a schematic diagram of a hardware structure of a RAID card management device based on TCG-Opal according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a first embodiment of a TCG-Opal-based RAID card management method according to the present invention;
FIG. 3 is a block diagram of an embodiment of a TCG-Opal-based RAID card management method according to the present invention;
FIG. 4 is a flowchart illustrating a second embodiment of a TCG-Opal-based RAID card management method according to the present invention;
FIG. 5 is a functional block diagram of an embodiment of a TCG-Opal-based RAID card management apparatus according to the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and do not limit the invention.
In a first aspect, an embodiment of the present invention provides a RAID card management device based on TCG-Opal, where the RAID card management device based on TCG-Opal may be a device with a data processing function, such as a Personal Computer (PC), a notebook computer, and a server.
Referring to fig. 1, fig. 1 is a schematic diagram of a hardware structure of a RAID card management device based on TCG-Opal according to an embodiment of the present invention. In this embodiment of the present invention, the TCG-Opal-based RAID card management apparatus 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 for implementing connection communication among the components; the user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard); the network interface 1004 may optionally include a standard wired interface, a WIreless interface (e.g., a WI-FI interface, WI-FI interface); the memory 1005 may be a Random Access Memory (RAM) or a non-volatile memory (non-volatile memory), such as a disk memory, and the memory 1005 may optionally be a storage device independent of the processor 1001. Those skilled in the art will appreciate that the hardware configuration shown in fig. 1 is not intended to limit the present invention, and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
With continued reference to FIG. 1, the memory 1005 of FIG. 1, which is one type of 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 may call a TCG-Opal-based RAID card management program stored in the memory 1005, and execute the TCG-Opal-based RAID card management method according to the embodiment of the present invention.
In a second aspect, an embodiment of the present invention provides a TCG-Opal-based RAID card management method.
In an embodiment, referring to fig. 2, fig. 2 is a flowchart illustrating a first embodiment of a TCG-Opal-based RAID card management method according to the present invention. As shown in fig. 2, the TCG-Opal-based RAID card management method includes:
step S10, when the RAID card is powered on, selecting any solid state disk from all solid state disks which are in communication connection with the RAID card as a main solid state disk, wherein original data required by a TCG-Opal protocol stack are stored in all the solid state disks;
in this embodiment, referring to fig. 3, fig. 3 is a schematic configuration diagram of an embodiment of a TCG-Opal-based RAID card management method according to the present invention. As shown in fig. 3, communication is performed between the host and the RAID card, and between the RAID card and each Solid State Disk (SSD) via the Pcle bus. When the RAID card is powered on, scanning each Solid State Disk (SSD) in communication connection with the RAID card, and then selecting any solid state disk from the SSD in communication connection with the RAID card as a main solid state disk, wherein original data required by a TCG-Opal protocol stack are stored in each solid state disk. Further, after the main solid state disk is selected, the electronic serial number of the main solid state disk is stored, so that when the RAID card is electrified again, the main solid state disk is directly found through the electronic serial number, and data are read from the main solid state disk.
Step S20, loading the original data in the main solid state disk into a system of the RAID card for initializing the TCG-Opal protocol stack based on the original data.
In this embodiment, the original data required for reading the TCG-Opal protocol stack from the master solid state disk is loaded into the system of the RAID card, so that the TCG-Opal protocol stack is initialized based on the original data required for reading the TCG-Opal protocol stack from the master solid state disk.
In this embodiment, when the RAID card is powered on, any solid state disk is selected from the solid state disks that establish communication connection with the RAID card as a master solid state disk, where original data required by the TCG-Opal protocol stack is stored in each solid state disk; and loading the original data in the main solid state disk into a system of a RAID card for initialization of a TCG-Opal protocol stack based on the original data. Through the embodiment, the TCG-Opal protocol stack is initialized through data in the main solid state disk which establishes communication connection with the RAID card, and a complete TCG-Opal protocol stack is realized on the RAID card, so that the problem that the RAID card and the solid state disk which supports the TCG-Opal protocol stack and establishes communication connection with the RAID card cannot be managed through the TCG-Opal protocol stack in the prior art because the TCG-Opal protocol stack is not realized on the RAID card is solved.
Further, in an embodiment, referring to fig. 4, fig. 4 is a flowchart illustrating a second embodiment of a TCG-Opal-based RAID card management method according to the present invention. As shown in fig. 4, after step S20, the method includes:
step S30, determining an alignment mode of a logic space supported by TCG-Opal based on the stripe size of data sent by the RAID card and the number of solid state disks establishing communication connection with the RAID card;
and step S40, after receiving the instruction for setting the logic space sent by the host, uniformly setting the logic space in each solid state disk, wherein the logic space in the instruction for setting the logic space sent by the host conforms to the alignment mode of the logic space supported by the TCG-Opal protocol stack.
In this embodiment, a RAID stripe (strip) is a method of dividing continuous data into data blocks of the same size and writing each data block to a different disk in the array. Since the IO data accessed this time are distributed in different solid state disks, in order to ensure that the RAID card uniformly sets the logical space in each solid state disk after receiving the instruction for setting the logical space sent by the Host (Host), before the Host sends the instruction for setting the logical space to the RAID card, the alignment method of the logical space supported by the TCG-Opal is determined based on the size of the stripe where the RAID card sends data and the number of the solid state disks which establish communication connection with the RAID card. After the logic spaces are uniformly arranged in each solid state disk, when data are read and written in the subsequent normal process, the permission of the RAID card for reading the data and the permission of the data writing in the data can be respectively controlled based on the read-write permission of each solid state disk hardware in communication connection with the RAID card, namely, if each solid state disk hardware in communication connection with the RAID card can only read the data, and if each solid state disk hardware in communication connection with the RAID card can only write the data, thereby ensuring that the speed of reading and writing the data is not influenced by a TCG-Opal protocol stack.
Specifically, if the stripe size of the data sent by the RAID card is 8KB, and the number of the solid state disks establishing communication connection with the RAID card is 4, the alignment manner of the logic space supported by the TCG-Opal is a multiple of 4 × 8, that is, a multiple of 32. The host sends an instruction to set the logical space to the RAID card to set a logical space of 32KB or a logical space of 64KB or a logical space of 128 KB. It is easy to think that the logical space in the instruction sent by the machine for setting the logical space is in accordance with the alignment mode of the logical space supported by the TCG-Opal protocol stack as long as the logical space is a multiple of 32. When the host sends a command for setting the logic space to the RAID card, wherein the command is used for setting the logic space of 32KB, each solid state disk in the 4 solid state disks is provided with the logic space of 8 KB; when the host sends a command for setting the logic space to the RAID card, the command is set to be the logic space of 64KB, and each solid state disk in the 4 solid state disks is set to be the logic space of 16 KB; when the host sends an instruction to the RAID card to set the logical space to 128KB, each of the 4 solid state disks sets 32KB of logical space.
Further, in an embodiment, with reference to fig. 4 continuously, after the step of uniformly setting the logic spaces in the solid state disks after receiving the instruction for setting the logic spaces sent by the host, the method includes:
and S50, when a key command for replacing the logic space is received, replacing the keys of the solid state disks corresponding to the logic space.
In this embodiment, since the start position, the length, the read-write permission, and the key corresponding to the logical space are specified in the TCG-OPAL protocol stack, when the key of the logical space is replaced, the key corresponding to the logical space specified in the TCG-OPAL protocol stack is replaced. And because the logic space is uniformly arranged in each solid state disk, when a key command for replacing the logic space is received, the key of each solid state disk corresponding to the logic space is replaced. After the key is replaced, the written data is encrypted through the AES engine of each solid state disk in communication connection with the RAID card and based on the replaced key, the read data is decrypted, the data of a user is not encrypted by using Host application software, and the speed of reading and writing the data is guaranteed not to be influenced by main machine resources and a TCG-Opal protocol stack.
Further, in an embodiment, with reference to fig. 4 continuously, after the step of replacing the key of each solid state disk corresponding to the logical space when the key instruction for replacing the logical space is received, the method includes:
and S60, encrypting the replaced secret key of each solid state disk based on the user identification code and the identification code of the logic space, wherein the encrypted secret key storage address is not fixed.
In this embodiment, in order to ensure consistency of the secret key, the replaced secret key of each solid state disk is encrypted based on the user identification code and the identification code of the logical space, that is, a HASH value is generated by using a HASH function according to the identification code of the user, the identification code of the logical space, and the replaced secret key of the solid state disk, and the secret key is authenticated by HASH value verification when the secret key is used next time. The encrypted key storage address is not fixed, that is, the position of the encrypted key is not fixedly stored in a certain position but is dynamically modified, so that the risk of the key being leaked is reduced, and the data security is improved.
Further, in an embodiment, after the step of loading the data in the master solid state disk into the system of the RAID card for initializing the TCG-Opal, the method further includes:
when the RAID card is electrified again, verifying TCG-Opal protocol stack data in the main solid state disk;
if the verification is passed, loading the data in the main solid state disk into a system of the RAID card for initializing the TCG-Opal protocol stack based on the data in the main solid state disk;
and if the verification fails, selecting any solid state disk from the rest solid state disks which are in communication connection with the RAID card as a target solid state disk, and loading the data in the target solid state disk into a system of the RAID card so as to initialize the TCG-Opal protocol stack based on the data in the target solid state disk.
In this embodiment, when the RAID card is powered on again, the TCG-Opal protocol stack data in the main solid state disk is checked by a CRC (Cyclic Redundancy Check), that is, whether the TCG-Opal protocol stack data in the main solid state disk is in error is checked, where the data error includes data loss and/or data error.
And if the verification is passed, namely the data of the TCG-Opal protocol stack in the main solid state disk has no error, loading the data in the main solid state disk into a system of the RAID card for initializing the TCG-Opal protocol stack based on the data in the main solid state disk. It should be noted that, after the RAID card is powered off, the data loaded by the system of the RAID card is not stored, and therefore, when the RAID card is powered on again and the data of the TCG-Opal protocol stack in the main solid state disk passes the verification, the data in the main solid state disk is loaded into the system of the RAID card, so that the TCG-Opal protocol stack completes initialization based on the data in the main solid state disk.
If the verification fails, namely data in the TCG-Opal protocol stack in the main solid state disk is wrong, selecting any solid state disk from the rest solid state disks which are in communication connection with the RAID card as a target solid state disk, reading data in the target solid state disk and loading the data into a system of the RAID card so as to initialize the TCG-Opal protocol stack based on the data in the target solid state disk.
Further, in an embodiment, the TCG-Opal-based RAID card management method includes:
and when the TCG-Opal protocol stack data is updated, updating each solid state disk based on the updated TCG-Opal protocol stack data.
In this embodiment, when the TCG-Opal protocol stack data is updated, each solid state disk establishing communication connection with the RAID card is updated based on the updated TCG-Opal protocol stack data, that is, the updated TCG-Opal protocol stack data is refreshed into each solid state disk.
In a third aspect, an embodiment of the present invention further provides a RAID card management apparatus based on TCG-Opal.
In an embodiment, referring to fig. 5, fig. 5 is a functional module schematic diagram of an embodiment of a RAID card management apparatus based on TCG-Opal according to the present invention. As shown in fig. 5, the TCG-Opal-based RAID card management apparatus includes:
the selecting module 10 is configured to select any solid state disk from the solid state disks that establish communication connection with the RAID card as a main solid state disk when the RAID card is powered on, where original data required by the TCG-Opal protocol stack is stored in each solid state disk;
and a loading module 20, configured to load the original data in the main solid state disk into a system of a RAID card, so that the TCG-Opal protocol stack is initialized based on the original data.
Further, in an embodiment, the TCG-Opal-based RAID card management apparatus further includes a setting module, configured to:
determining an alignment mode of a logic space supported by TCG-Opal based on the size of a stripe of data sent by the RAID card and the number of solid state disks establishing communication connection with the RAID card;
and after receiving a command for setting the logic space sent by the host, uniformly setting the logic space in each solid state disk, wherein the logic space in the command for setting the logic space sent by the host conforms to the alignment mode of the logic space supported by the TCG-Opal protocol stack.
Further, in an embodiment, the TCG-Opal-based RAID card management apparatus further includes a key exchange module, configured to:
and when a key command for replacing the logic space is received, replacing the keys of the solid state disks corresponding to the logic space.
Further, in an embodiment, the RAID card management apparatus based on TCG-Opal further includes a key saving module, configured to:
and encrypting the replaced key of each solid state disk based on the user identification code and the identification code of the logic space, wherein the encrypted key storage address is not fixed.
Further, in an embodiment, the RAID card management apparatus based on TCG-Opal further includes a check module, configured to:
when the RAID card is electrified again, verifying TCG-Opal protocol stack data in the main solid state disk;
if the verification is passed, loading the data in the main solid state disk into a system of the RAID card for initializing the TCG-Opal protocol stack based on the data in the main solid state disk;
if the verification fails, selecting any solid state disk from the rest solid state disks which establish communication connection with the RAID card as a target solid state disk, and loading data in the target solid state disk into a system of the RAID card so as to initialize the TCG-Opal protocol stack based on the data in the target solid state disk.
Further, in an embodiment, the TCG-Opal-based RAID card management apparatus further includes an update module, configured to:
and when the TCG-Opal protocol stack data is updated, updating each solid state disk based on the updated TCG-Opal protocol stack data.
The function implementation of each module in the TCG-Opal-based RAID card management apparatus corresponds to each step in the above-described TCG-Opal-based RAID card management method embodiment, and the function and implementation process thereof are not described in detail here.
In a fourth aspect, the embodiment of the present invention further provides a readable storage medium.
The readable storage medium of the present invention stores a TCG-Opal-based RAID card management program, wherein when the TCG-Opal-based RAID card management program is executed by a processor, the steps of the TCG-Opal-based RAID card management method as described above are implemented.
The method implemented when the TCG-Opal-based RAID card management program is executed may refer to various embodiments of the TCG-Opal-based RAID card management method of the present invention, and details are not described here.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrases "comprising one of 8230; \8230;" 8230; "does not exclude the presence of additional like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the description of the foregoing embodiments, it is clear to those skilled in the art that the method of the foregoing embodiments may be implemented by software plus a necessary general hardware platform, and certainly may also be implemented by hardware, but in many cases, the former is a better implementation. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for causing a terminal device to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention, and all equivalent structures or equivalent processes performed by the present invention or directly or indirectly applied to other related technical fields are also included in the scope of the present invention.

Claims (10)

1. A RAID card management method based on TCG-Opal is characterized by comprising the following steps:
when the RAID card is powered on, selecting any solid state disk from all solid state disks which are in communication connection with the RAID card as a main solid state disk, wherein original data required by a TCG-Opal protocol stack are stored in all the solid state disks;
and loading the original data in the main solid state disk into a system of a RAID card for initialization of a TCG-Opal protocol stack based on the original data.
2. The TCG-Opal-based RAID card management method of claim 1, wherein after the step of loading the data in the master solid state disk into the system of RAID cards for initialization by the TCG-Opal protocol stack based on the original data, comprising:
determining an alignment mode of a logic space supported by TCG-Opal based on the stripe size of data sent by the RAID card and the number of solid state disks establishing communication connection with the RAID card;
and after receiving a command for setting the logic space sent by the host, uniformly setting the logic space in each solid state disk, wherein the logic space in the command for setting the logic space sent by the host conforms to the alignment mode of the logic space supported by the TCG-Opal protocol stack.
3. The TCG-Opal-based RAID card management method according to claim 2, wherein after the step of setting the logical space uniformly in the respective solid state disks after receiving the instruction to set the logical space sent by the host, the method comprises:
and when a key command for replacing the logic space is received, replacing the keys of the solid state disks corresponding to the logic space.
4. The TCG-Opal-based RAID card management method according to claim 3, wherein after the step of replacing the key of each solid state disk corresponding to the logical space when the key instruction for replacing the logical space is received, the method includes:
and encrypting the replaced secret key of each solid state disk based on the user identification code and the identification code of the logic space, wherein the storage address of the encrypted secret key is not fixed.
5. The TCG-Opal-based RAID card management method of claim 1, wherein after the step of loading the data in the master solid state disk into the system of RAID cards for TCG-Opal initialization, further comprising:
when the RAID card is electrified again, verifying TCG-Opal protocol stack data in the main solid state disk;
if the verification is passed, loading the data in the main solid state disk into a system of the RAID card for initializing the TCG-Opal protocol stack based on the data in the main solid state disk;
if the verification fails, selecting any solid state disk from the rest solid state disks which establish communication connection with the RAID card as a target solid state disk, and loading data in the target solid state disk into a system of the RAID card so as to initialize the TCG-Opal protocol stack based on the data in the target solid state disk.
6. The TCG-Opal-based RAID card management method of claim 1, wherein the TCG-Opal-based RAID card management method comprises:
and when the TCG-Opal protocol stack data is updated, updating each solid state disk based on the updated TCG-Opal protocol stack data.
7. A TCG-Opal-based RAID card management apparatus, comprising:
the selecting module is used for selecting any solid state disk from all solid state disks which are in communication connection with the RAID card as a main solid state disk when the RAID card is powered on, wherein original data required by a TCG-Opal protocol stack are stored in all the solid state disks;
and the loading module is used for loading the original data in the main solid state disk into a system of the RAID card so as to initialize the TCG-Opal protocol stack based on the original data.
8. The TCG-Opal-based RAID card management apparatus of claim 7, wherein the TCG-Opal-based RAID card management apparatus further comprises a setup module to:
determining an alignment mode of a logic space supported by TCG-Opal based on the stripe size of data sent by the RAID card and the number of solid state disks establishing communication connection with the RAID card;
and after receiving a command for setting the logic space sent by the host, uniformly setting the logic space in each solid state disk, wherein the logic space in the command for setting the logic space sent by the host conforms to the alignment mode of the logic space supported by the TCG-Opal protocol stack.
9. A TCG-Opal-based RAID card management apparatus comprising a processor, a memory, and a TCG-Opal-based RAID card management program stored on the memory and executable by the processor, wherein the TCG-Opal-based RAID card management program, when executed by the processor, implements the steps of the TCG-Opal-based RAID card management method of any one of claims 1 through 6.
10. A readable storage medium having a TCG-Opal-based RAID card management program stored thereon, wherein the TCG-Opal-based RAID card management program, when executed by a processor, implements the steps of the TCG-Opal-based RAID card management method according to any one of claims 1 to 6.
CN202211026936.2A 2022-08-25 2022-08-25 RAID card management method based on TCG-Opal and related equipment Pending CN115437567A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211026936.2A CN115437567A (en) 2022-08-25 2022-08-25 RAID card management method based on TCG-Opal and related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211026936.2A CN115437567A (en) 2022-08-25 2022-08-25 RAID card management method based on TCG-Opal and related equipment

Publications (1)

Publication Number Publication Date
CN115437567A true CN115437567A (en) 2022-12-06

Family

ID=84244713

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211026936.2A Pending CN115437567A (en) 2022-08-25 2022-08-25 RAID card management method based on TCG-Opal and related equipment

Country Status (1)

Country Link
CN (1) CN115437567A (en)

Similar Documents

Publication Publication Date Title
US12052356B2 (en) Method and apparatus for data storage and verification
RU2456663C2 (en) Progressive boot strap loading for wireless device
CN101965597B (en) Method and devices for installing and retrieving linked MIFARE applications
CN107169344B (en) Method for blocking unauthorized application and apparatus using the same
US20060086785A1 (en) Portable electronic apparatus and method of updating application in portable electronic apparatus
EP2161673A1 (en) Method and system for protecting data
US20090164709A1 (en) Secure storage devices and methods of managing secure storage devices
JP2000148567A (en) Method for storing data object in memory of smart card
CN110383240B (en) Method and apparatus for containerized secure computing resources
US7836309B2 (en) Generic extensible pre-operating system cryptographic infrastructure
US8695085B2 (en) Self-protecting storage
JP6923582B2 (en) Information processing equipment, information processing methods, and programs
US12045680B2 (en) Barcode-based enrollment of devices with a management service
US6976172B2 (en) System and method for protected messaging
CN105577644A (en) Encryption and authentication method and system
CN106406939A (en) EMMC chip-based mobile terminal rollback prevention method and system
CN111709033A (en) Method, system, device and medium for safely starting server based on PUF
US8190813B2 (en) Terminal apparatus with restricted non-volatile storage medium
CN111753268B (en) Single sign-on method, single sign-on device, storage medium and mobile terminal
CN110807186B (en) Method, device, equipment and storage medium for safe storage of storage equipment
CN115437567A (en) RAID card management method based on TCG-Opal and related equipment
CN115017543A (en) Flash memory data reading method and device, computer equipment and storage medium
JP4972994B2 (en) Information processing apparatus, information processing method, and program
CN114448722A (en) Cross-browser login method and device, computer equipment and storage medium
JP2005165493A (en) Shared computer, control program therefor and recording medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination