Redundant array of independent disks controller, control method and device thereof and host equipment

Through the design of independent disk redundant array controllers, the XOR computing engine in the RAID controller is reused to handle the parity operation task of the host device, which solves the problem of achieving high RAID functions without setting up additional hardware devices. Performance and high reliability issues, flexibility and compatibility, and reduce configuration costs.

CN119292528AActive Publication Date: 2025-01-10SHANDONG YUNHAI GUOCHUANG CLOUD COMPUTING EQUIP IND INNOVATION CENT CO LTD
View PDF 11 Cites 0 Cited by

Patent Information

Application Number
CN202411371599.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-29
Publication Date
2025-01-10
Estimated Expiration
2044-09-29

AI Technical Summary

Technical Problem

When implementing RAID functions, it is difficult for the prior art to provide high performance and high reliability, while maintaining flexibility and compatibility, while reducing configuration costs without setting up additional hardware devices.

Method used

Design an independent disk redundant array controller, including communication endpoint units, XOR computing engine, processor, input and output manager, buffer and physical disk manager, supports RAID controller mode and XOR accelerator mode, through complex Use the XOR computing engine in the RAID controller to handle the parity operation tasks of the host device to achieve hardware acceleration of software and hardware hybrid RAID.

Benefits of technology

It realizes the high performance and high reliability of hardware RAID without adding additional hardware equipment, and has the flexibility, scalability and compatibility of hybrid RAID, which facilitates maintenance and upgrades and significantly extends the life cycle of the storage system. At the same time, reduce configuration and maintenance upgrade costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119292528A_ABST
    Figure CN119292528A_ABST
Patent Text Reader

Abstract

The invention discloses a redundant array of independent disks (RAID) controller, a control method and device thereof and host equipment, and relates to the technical field of storage, and the RAID controller comprises a communication endpoint unit which is used for determining a target working mode according to a control instruction sent by the host equipment; if the target working mode is an exclusive-or accelerator mode, calling an exclusive-or computing engine, and processing a direct-connection disk management operation task issued by the host equipment; wherein the direct connection disk management operation task comprises a parity check operation task corresponding to disk equipment connected with the host equipment; the hardware acceleration of the hardware and software mixed RAID of the host equipment is realized by utilizing the RAID controller connected with the host equipment, the characteristics of high performance, high reliability and low delay of the hardware RAID are inherited, the convenience of the mixed RAID in the aspects of expandability and maintenance and upgrade is realized, the life cycle of a storage system can be remarkably prolonged, and the storage efficiency is improved. And meanwhile, the configuration and maintenance upgrading cost is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of storage technology, and in particular to an independent disk redundant array controller and a control method, device, computer program product, host equipment, storage system and server thereof. Background Art

[0002] RAID (Redundant Array of Independent Disks) can combine multiple independent physical disks in a specific way to form a logical storage unit to increase the data reading and writing speed of the storage system and enhance data redundancy to improve fault tolerance.

[0003] At present, the schemes for host devices to implement RAID functions can be divided into three schemes: hardware RAID, software RAID, and hybrid RAID. The hardware RAID scheme implements RAID functions through specially designed hardware RAID controllers; however, the expansion and upgrade of RAID functions are limited by hardware, and usually only support specific RAID levels when leaving the factory, with poor scalability. The software RAID scheme uses the operating system or third-party software of the host device to implement RAID functions, without the need for additional hardware devices, with low-cost advantages and high flexibility and wide compatibility; however, software RAID runs directly at the operating system level, and the host CPU (central processing unit) completes RAID-related computing tasks, such as parity calculation. This method will occupy certain host system resources, and in high-load or I / O (input / output) intensive applications, it will seriously affect the execution efficiency of other services of the host system. Hybrid RAID uses dedicated hardware devices to accelerate the execution of complex computing-intensive tasks, and uses software to perform RAID-related management and configuration tasks, such as RAID level configuration, data stripe management, data reconstruction, hot standby, and data migration. This method can significantly reduce the burden on the host CPU and improve storage performance through hardware acceleration, but it requires additional hardware devices and is more expensive.

[0004] Therefore, how to implement the RAID function of the host device without setting up additional dedicated hardware devices, while providing high performance and high reliability, maintaining flexibility and compatibility, and reducing configuration costs, is a problem that urgently needs to be solved today. Summary of the invention

[0005] The object of the present invention is to provide an independent disk redundant array controller and its control method, device, computer program product, host device, storage system and server, which can provide high performance and high reliability while maintaining flexibility and compatibility, and at the same time reduce configuration costs.

[0006] In order to solve the above technical problems, the present invention provides an independent redundant array of disks controller, wherein the independent redundant array of disks controller is respectively connected to a host device and a hard disk device for communication, and the independent redundant array of disks controller comprises:

[0007] A communication endpoint unit communicatively connected to a host device, used to determine a target operating mode according to a control instruction sent by the host device; if the target operating mode is an XOR accelerator mode, an XOR computing engine is called to process a direct-connected disk management computing task issued by the host device; wherein the target operating mode is any preset operating mode, and the preset operating modes include an independent disk redundant array controller mode and the XOR accelerator mode; the direct-connected disk management computing task includes a parity check computing task corresponding to a disk device connected to the host device;

[0008] The XOR calculation engine is used to perform calculation processing on the direct-connected disk management calculation task according to the control of the communication endpoint unit.

[0009] In another aspect, the redundant array of independent disks controller further comprises: a processor, an input-output manager, a buffer, and a physical disk manager;

[0010] The communication endpoint unit is also used to call the XOR calculation engine, the processor, the input and output manager, the cache and the physical disk manager when the target working mode is the independent disk redundant array controller mode, and control the hard disk device to provide hard disk storage services for the host device.

[0011] On the other hand, the communication endpoint unit is further used to set the processor, the input output manager, the cache and the physical disk manager to a sleep state when the target operating mode is the XOR accelerator mode.

[0012] On the other hand, the hard disk storage service includes a queue configuration management function of an independent disk redundant array, a storage data management function, a parity calculation function, a data migration function, and a control function of the hard disk device.

[0013] In another aspect, the communication endpoint unit is connected to the host device via a peripheral component express bus.

[0014] On the other hand, the communication endpoint unit is also used to provide independent disk redundant array controller function and XOR accelerator function for the host device through single root input / output virtualization technology.

[0015] In another aspect, the hard disk device comprises a solid state drive;

[0016] Among them, the communication endpoint unit is also used to call the XOR computing engine and the hard disk XOR computing engine to process the direct-connected disk management computing tasks issued by the host device when the target working mode is the XOR accelerator mode; wherein the hard disk XOR computing engine is the XOR computing engine in the hard disk controller of the solid-state hard disk.

[0017] On the other hand, the XOR calculation engine includes at least two operation units; the operation units are used to process the XOR operations corresponding to the direct-connected disk management operation tasks in parallel.

[0018] On the other hand, the preset working mode also includes a multi-functional concurrent mode;

[0019] The communication endpoint unit is also used to time-share the XOR computing engine when the target working mode is the multi-functional concurrent mode, provide hard disk storage services for the host device and process the direct-connected disk management computing tasks.

[0020] The present invention also provides a control method for an independent redundant array of disks controller, which is applied to a host device and includes:

[0021] Acquire a direct-connected disk management computing task; wherein the direct-connected disk management computing task includes a parity check computing task corresponding to the disk device connected to the host device;

[0022] The working mode of the independent redundant array of disks controller is adjusted, and the direct-connected disk management operation task is sent to the independent redundant array of disks controller, so as to utilize the XOR calculation engine of the independent redundant array of disks controller to process the direct-connected disk management operation task; wherein the independent redundant array of disks controller is the independent redundant array of disks controller as described above.

[0023] On the other hand, when the number of independent redundant array of disk controllers connected to the host device is greater than or equal to 2, adjusting the working mode of the independent redundant array of disk controller and sending the direct-connected disk management operation task to the independent redundant array of disk controller includes:

[0024] Determine the target controller corresponding to the current task to be sent according to the working mode information of each independent redundant array of disks controller; wherein the current task to be sent is any of the direct-connected disk management computing tasks, and the target controller is any of the independent redundant array of disks controllers;

[0025] The working mode of the target controller is adjusted, and the current task to be sent is sent to the target controller, so as to use the XOR calculation engine of the target controller to process the current task to be sent.

[0026] On the other hand, determining the target controller corresponding to the current task to be issued according to the working mode information of each of the redundant array of independent disk controllers includes:

[0027] According to the working mode information and the preset working mode priority order of each independent disk redundant array controller, the target controller corresponding to the current task to be issued is determined; wherein the working mode information includes the current working mode of each independent disk redundant array controller, the current working mode is any preset working mode, and the preset working mode priority order is the priority order of each preset working mode.

[0028] On the other hand, the hard disk device connected to the independent redundant array of disks controller includes a solid state disk, and the step of adjusting the working mode of the independent redundant array of disks controller and sending the direct-connected disk management operation task to the independent redundant array of disks controller includes:

[0029] Determine the target controller corresponding to the current task to be sent according to the working mode information of the independent redundant array of disks controller and the hard disk controller; wherein the current task to be sent is any of the direct-connected disk management computing tasks, and the target controller is any of the independent redundant array of disks controller or the hard disk controller; the hard disk controller is arranged in the solid-state hard disk, and an XOR computing engine is arranged in the hard disk controller;

[0030] The working mode of the target controller is adjusted, and the current task to be sent is sent to the target controller, so as to use the XOR calculation engine of the target controller to process the current task to be sent.

[0031] The present invention also provides a control device for an independent redundant array of disks controller, which is applied to a host device and includes:

[0032] A task acquisition module, used to acquire a direct-connected disk management computing task; wherein the direct-connected disk management computing task includes a parity check computing task corresponding to the disk device connected to the host device;

[0033] The task issuing module is used to adjust the working mode of the independent redundant array of disks controller and send the direct-connected disk management operation task to the independent redundant array of disks controller so as to utilize the XOR calculation engine of the independent redundant array of disks controller to process the direct-connected disk management operation task; wherein the independent redundant array of disks controller is the independent redundant array of disks controller as described above.

[0034] The present invention also provides a computer program product, comprising a computer program / instruction, which implements the steps of the control method of the independent redundant array of disks controller as described above when executed by a processor.

[0035] The present invention also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the control method of the independent redundant array of disks controller as described above are implemented.

[0036] The present invention also provides a host device, comprising:

[0037] Memory for storing computer programs;

[0038] The processor is used to execute the computer program to implement the steps of the control method of the redundant array of independent disks controller as described above.

[0039] The present invention also provides a storage system, comprising: the independent redundant array of disks controller as described above, the host device, the disk device and the hard disk device as described above;

[0040] The host device is connected to the disk device and the independent redundant array of disks controller in communication with each other, and the independent redundant array of disks controller is connected to the hard disk device in communication with each other.

[0041] In another aspect, the number of redundant array of independent disk controllers is greater than or equal to two.

[0042] In addition, the present invention also provides a server, comprising: the storage system as described above.

[0043] The present invention provides an independent disk redundant array controller, which is respectively connected to a host device and a hard disk device for communication, and comprises: a communication endpoint unit connected to the host device for communication, and used for determining a target working mode according to a control instruction sent by the host device; if the target working mode is an XOR accelerator mode, an XOR calculation engine is called to process a direct-connected disk management operation task issued by the host device; wherein the target working mode is any preset working mode, and the preset working modes include an independent disk redundant array controller mode and an XOR accelerator mode; the direct-connected disk management operation task includes a parity check operation task corresponding to a disk device connected to the host device; and the XOR calculation engine is used for performing operation processing on the direct-connected disk management operation task according to the control of the communication endpoint unit.

[0044] It can be seen that the independent redundant array of disks controller in the present invention supports two working modes: RAID controller mode and XOR accelerator mode. It can call the XOR calculation engine inside the independent redundant array of disks controller in the XOR accelerator mode to process the parity calculation task of the host device managing the disk device, so as to use the independent redundant array of disks controller connected to the host device to realize the hardware acceleration of the hardware and software hybrid RAID of the host device, inheriting the high performance, high reliability and low latency characteristics of hardware RAID, and having the convenience of hybrid RAID in terms of flexibility, scalability, compatibility and maintenance and upgrading, which can significantly extend the life cycle of the storage system and reduce the cost of configuration and maintenance and upgrading. In addition, the present invention also provides a control method, device, computer program product, host device, storage system and server of an independent redundant array of disks controller, which also have the above-mentioned beneficial effects. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.

[0046] Figure 1 A schematic diagram of a conventional RAID controller connecting to a host device and a flash memory;

[0047] Figure 2 A schematic diagram of the organizational structure of a storage system with a traditional software-hardware hybrid RAID architecture;

[0048] Figure 3 A structural block diagram of a redundant array of independent disks controller provided by an embodiment of the present invention;

[0049] Figure 4 A schematic diagram of the structure of another redundant array of independent disks controller provided by an embodiment of the present invention;

[0050] Figure 5 A schematic diagram of a RAID controller mode of a RAID controller provided by an embodiment of the present invention;

[0051] Figure 6 A schematic diagram of an XOR accelerator mode of a RAID controller provided by an embodiment of the present invention;

[0052] Figure 7 A flowchart of a control method of an independent redundant array of disks controller provided by an embodiment of the present invention;

[0053] Figure 8 A structural block diagram of a control device of an independent redundant array of disks controller provided by an embodiment of the present invention;

[0054] Fig. 9 A schematic diagram of the structure of a host device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0055] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0056] In the related art, in the traditional hardware RAID solution, the connection method between the RAID controller and the host device and the hard disk device can be as follows: Figure 1 As shown in the figure, the RAID controller and the host device are interconnected through the PCIe (Peripheral Component Interconnect Express, a high-speed serial computer expansion bus standard) bus, and the RAID controller and the hard disk device (physical disk #1-n) are interconnected through the SAS (Serial Attached SCSI, a high-speed interconnect technology using a serial bus), SATA (Serial ATA, a computer bus) or PCIe bus. As a bridge between the host and the hard disk device, the RAID controller is responsible for managing all independent hard disk devices in the downstream array, and forming one or more logical storage units according to specific RAID levels, such as RAID1 (a RAID storage level), RAID5 (a RAID storage level), etc., and scheduling and allocating data access operations from the host device among multiple hard disk devices. For RAID levels with data verification, the controller is also responsible for processing data parity information calculation, data splitting and reorganization, error management and data recovery.

[0057] The organizational structure of the storage system of the traditional hybrid RAID architecture is as follows: Figure 2As shown, the host device is directly connected to the physical disk device (physical disk #1-m) through the SAS, SATA or PCIe bus, and communicates with the XOR (Exclusive OR) calculation engine (i.e., a dedicated hardware device) using a PCIe interface or a dedicated interface. The XOR calculation engine can be a dedicated hardware circuit used to significantly improve the efficiency of parity calculation in the RAID system. The operating system software running on the host device is responsible for managing the physical disk array, organizing independent disk devices into logical storage units in a specified manner according to the user-defined RAID level, and coordinating data read and write operations between these disk devices. For the RAID level configured with parity calculation, the operating system software can take on the task of managing and scheduling the XOR calculation engine to ensure accurate calculation and verification of parity data, thereby maintaining data integrity and reliability. Although the storage system of this software-hardware hybrid RAID architecture can use the hardware acceleration of the additional XOR calculation engine to enhance the overall performance and response speed of the storage system, the additional XOR calculation engine will increase the configuration cost.

[0058] Therefore, the embodiments of the present invention reuse the XOR calculation engine in the RAID controller, so that the host device can use the connected RAID controller to implement hardware acceleration of software-hardware hybrid RAID, avoid the need for an additional XOR calculation engine, achieve a balance between high performance and low cost, and possess the convenience of hybrid RAID in terms of flexibility, scalability, compatibility, and maintenance and upgrade.

[0059] For details, please refer to Figure 3 , Figure 3 A structural block diagram of a redundant array of independent disks controller provided by an embodiment of the present invention. The redundant array of independent disks (RAID) controller is respectively connected to a host device and a hard disk device for communication, and the RAID controller may include:

[0060] The communication endpoint unit 10, which is connected to the host device for communication, is used to determine the target working mode according to the control instruction sent by the host device; if the target working mode is the XOR accelerator mode, the XOR calculation engine 20 is called to process the direct-connected disk management operation task issued by the host device; wherein the target working mode is any preset working mode, and the preset working modes include the independent disk redundant array controller mode and the XOR accelerator mode; the direct-connected disk management operation task includes the parity check operation task corresponding to the disk device connected to the host device;

[0061] The XOR calculation engine 20 is used to perform calculation processing on the direct-connected disk management calculation task according to the control of the communication endpoint unit 10.

[0062] It can be understood that the communication endpoint unit 10 in this embodiment can be a component for bidirectional communication with the host device. The specific type of the communication endpoint unit 10 in this embodiment, that is, the communication method between the communication endpoint unit 10 and the host device, can be set by the designer according to the usage scenario and user needs. For example, the communication endpoint unit 10 can be connected to the host device through a PCIe bus, that is, the communication endpoint unit 10 can be specifically a PCIe Endpoint (EP, endpoint) unit, such as Figure 4 PCIe EP in. Figure 4 As shown, PCIe EP can be a key functional component in the PCIe hierarchy, and has the ability to communicate efficiently and bidirectionally with the Root Complex (master control) of the host device; through the PCIe bus, PCIe EP can transmit data, control instructions and execute configuration commands. The communication endpoint unit 10 can also communicate bidirectionally with the host device through other communication methods such as SAS bus or SATA bus, and this embodiment does not impose any restrictions on this.

[0063] Correspondingly, the communication endpoint unit 10 in this embodiment can provide a RAID controller function (such as Figure 4 Function A) and XOR accelerator function (such as Figure 4 Function B in the RAID controller enables the host device to control the start and stop of the two functions, corresponding to the current working mode (i.e., the target working mode) of the RAID controller; the target working mode may be a preset working mode. That is to say, the RAID controller function in this embodiment may be a function of controlling the hard disk device connected to the RAID controller to provide hard disk storage services for the host device, such as the conventional storage function provided by the RAID controller in the related art; the XOR accelerator function may be a function of calling the XOR calculation engine 20 in the RAID controller to provide the XOR accelerator for the host device; that is, a single RAID controller can not only realize the conventional RAID controller function, but also provide the XOR accelerator function, thereby optimizing the utilization efficiency of hardware resources, reducing the demand for additional hardware, and reducing the configuration cost.

[0064] Accordingly, the communication endpoint unit 10 in this embodiment can determine the target working mode according to the control instruction sent by the host device, such as the host device can send a control instruction for controlling the start and stop of the RAID controller function and the XOR accelerator function to the communication endpoint unit 10, so that the communication endpoint unit 10 can determine the target working mode of the RAID controller from the preset working mode. The preset working mode may include the RAID controller mode and the XOR accelerator mode. For example, when the host device starts the RAID controller function and stops the XOR accelerator function (that is, the XOR accelerator function remains silent), the communication endpoint unit 10 can determine the target working mode as the RAID controller function; when the host device stops the RAID controller function and starts the XOR accelerator function, the target working mode is determined to be the XOR accelerator mode. Further, the preset working mode can also include a multi-function concurrent mode, that is, the communication endpoint unit 10 can determine the target working mode as the multi-function concurrent mode when the host device starts the RAID controller function and the XOR accelerator function.

[0065] In order to facilitate the host device to control the RAID controller, such as Figure 4 As shown, when the communication endpoint unit 10 is specifically a PCIe EP, the PCIe EP can provide the host device with RAID controller functions and XOR accelerator functions through the PCIe SR-IOV (Single Root I / O Virtualization) technology, so that the host device can detect and identify the RAID controller function (function A) and XOR accelerator function (function B) provided by the PCIe EP. In other words, the SR-IOV technology allows a single RAID controller to support two or more PCIe physical functions (Physical Functions) or virtual functions (Virtual Functions). The PCIe EP can use the SR-IOV technology to enable the host device to detect and identify the RAID controller device corresponding to the RAID controller function and the XOR accelerator device corresponding to the XOR accelerator function, thereby controlling the start and stop of the RAID controller function and the XOR accelerator function by calling these two virtualized devices.

[0066] It is understandable that in this embodiment, the communication endpoint unit 10 can call the XOR calculation engine 20 in the RAID controller to process the direct-connected disk management computing tasks issued by the host device when the target working mode is the XOR accelerator mode, so as to use the XOR calculation engine 20 to cooperate with the host's operating system or third-party software to realize the hardware-software hybrid RAID. In other words, the direct-connected disk management computing tasks in this embodiment can be computing tasks that need to be hardware-accelerated by the XOR calculation engine 20 when the host device manages the directly connected disk device through the RAID function, such as the direct-connected disk management computing tasks including the parity computing tasks corresponding to the disk device connected to the host device, such as the parity computing tasks of RAID5 (a RAID storage level) and RAID6 (a RAID storage level).

[0067] Correspondingly, in this embodiment, the communication endpoint unit 10 can also call the XOR calculation engine 20 and other hardware components in the RAID controller when the target working mode is the XOR accelerator mode, control the hard disk device connected to the flash memory controller, and provide hard disk storage services for the host device.

[0068] For example, the RAID controller further includes: a processor 30 (such as a central processing unit CPU), an input and output manager 40 (such as Figure 4 IO manager in), cache 50 (such as Figure 4 The communication endpoint unit 10 is also used to call the XOR calculation engine 20, the processor 30, the input and output manager 40, the cache 50 and the physical disk manager 60 when the target working mode is the RAID controller mode, control the hard disk device connected to the physical disk manager 60, and provide hard disk storage services for the host device. Figure 4 As shown, the processor 30 in the RAID controller can run RAID controller software to utilize the RAID controller software to complete tasks such as RAID array control and management, RAID level configuration, array status monitoring and reporting, error handling and recovery, etc.

[0069] The input / output manager 40 in the RAID controller can be responsible for tasks such as I / O request scheduling, data striping and reorganization, and load balancing. It receives I / O requests from the host device and intelligently schedules these requests to the appropriate hard disk device based on factors such as the read / write type, priority, and RAID policy of the request. For read operations, it can also reorganize data blocks from multiple hard disk devices into original data and return it to the host device.

[0070] The physical disk manager 60 in the RAID controller is a key component inside the RAID controller. It can be responsible for communicating and managing the connected hard disk devices (such as mechanical hard disks HDD or solid-state hard disks SSD), converting data read and write instructions into command sets that can be understood by the hard disk devices, such as SAS, SATA or NVMe (Non-Volatile Memory Express, a standard protocol for non-volatile memory), and sending them to the corresponding hard disk devices for execution. Among them, when the hard disk devices connected to the RAID controller include mechanical hard disks, the RAID controller can be connected to the mechanical hard disk (or hard disk drive), such as connecting to the mechanical hard disk through a SAS or SATA bus; when the hard disk devices connected to the RAID controller include solid-state hard disks, the RAID controller can be connected to the solid-state hard disk. In other words, the hard disk devices connected to the RAID controller can include mechanical hard disks and / or solid-state hard disks with SAS, SATA or NVME standard interfaces.

[0071] The XOR calculation engine 20 in the RAID controller is a dedicated hardware circuit that can be used to accelerate the parity calculation required for RAID5 and RAID6 levels. It can effectively unload the calculation load of the processor 30 in the RAID controller, significantly improve the write performance and data reconstruction speed of the RAID system, and improve the overall efficiency. Further, the XOR calculation engine 20 can include at least two operation units, which can process the XOR operation required for the parity calculation task in parallel, thereby achieving efficient data verification and processing capabilities.

[0072] The cache 50 (high-speed cache, such as dynamic random access memory DRAM) in the RAID controller can be used to temporarily store frequently accessed data blocks, improve data access speed, reduce access latency, reduce I / O operations of hard disk devices, and extend the service life of hard disk devices. When a hard disk failure occurs in the RAID array, the cache 50 can also speed up the RAID data reconstruction process.

[0073] That is to say, Figure 4 The RAID controller shown incorporates two independent functions: function A as a RAID controller device and function B as an XOR accelerator device. The two functions have their own independent resource allocations and can operate independently to perform their specific tasks, thereby optimizing the performance and efficiency of the overall system, thereby optimizing resource utilization efficiency by reusing the XOR calculation engine resources inside the RAID controller.

[0074] For example, if Figure 5As shown, when the communication endpoint unit 10 determines that the target working mode is the RAID controller mode, that is, the RAID controller function is activated and the XOR accelerator function remains silent, the RAID controller can play the role of a normal RAID controller, managing the physical hard disk devices (disks R.1-n) to provide comprehensive hard disk storage services for the host device; that is, the processor 30, input and output manager 40, XOR calculation engine 20, cache 50 (cache) and physical disk manager 60 inside the RAID controller can work together to implement hard disk storage services to realize the RAID controller function.

[0075] Accordingly, the hard disk storage service may include the queue configuration management function of the RAID array, the storage data management function, the parity calculation function, the data migration function, and the hard disk device control function. Among them, the queue configuration management function of the RAID array can be used to manage a specific RAID array configuration; the storage data management function can be used to perform data read and write operations, process data striping and reorganization, schedule and optimize I / O operations, and perform data reconstruction when the hard disk device fails; the parity calculation function can be used to perform parity calculations; the data migration function supports data migration; and the hard disk device control function can be used to control the operation of the hard disk device.

[0076] like Figure 6 As shown, when the communication endpoint unit 10 determines that the target working mode is the XOR accelerator mode, that is, the XOR accelerator function is activated and the RAID controller function remains silent, the RAID controller can play the role of a hardware XOR accelerator, specifically providing hardware acceleration services for the host device to improve the efficiency of data processing. In this case, the processor 30, input-output manager 40, cache 50 (cache) and physical disk manager 60 inside the RAID controller can all be put into a sleep state to reduce system power consumption and optimize resource usage. In other words, the communication endpoint unit 10 can also be used to set the processor 30, input-output manager 40, cache 50 and physical disk manager 60 to a sleep state when the target working mode is the XOR accelerator mode.

[0077] Accordingly, Figure 6The XOR acceleration engine in the RAID controller can collaborate with the operating system software or third-party software of the host device to implement a hardware-software hybrid RAID solution; the operating system software or third-party software running on the host device can take over the management responsibilities of the RAID array and be responsible for the following tasks: managing the disk devices (disks D.1-m) in the RAID array; performing data read and write operations to ensure the accuracy and efficiency of data access; scheduling I / O operations to optimize data flow and improve system response speed; processing data striping and reorganization to adapt to different data access modes; responsible for data reconstruction when a disk device fails to ensure data integrity and availability; scheduling the XOR acceleration engine to accelerate the parity operation of RAID5 and RAID6 levels, that is, the host device can send the parity operation task to the RAID controller to use the XOR acceleration engine inside the RAID controller to perform the XOR operation required for the parity operation.

[0078] Furthermore, Figure 6 The demonstration is based on the example of a host device connected to a RAID controller. For the case where the host device is connected to two or more RAID controllers, such as the host device is connected to the corresponding hard disk devices through two RAID controllers, the host device can also send the parity calculation task to all or part of the connected RAID controllers to use the XOR acceleration engine in multiple RAID controllers to further improve the RAID storage performance of the host device.

[0079] For example, the host device can determine the target controller according to the working mode information of each RAID controller; send the current direct-connected disk management operation task (such as a parity check operation task) to the target controller, and control and adjust the working mode of the target controller; wherein the target controller can be any RAID controller among the RAID controllers connected to the host device; for example, when there is an inoperative RAID controller among the RAID controllers connected to the host device, select a RAID controller from the inoperative RAID controllers as the target controller to execute the current direct-connected disk management operation task; when there is no inoperative RAID controller, determine the target controller from the RAID controllers according to the preset working mode priority order; for example, the preset working mode priority order can be that the priority of the XOR accelerator mode is higher than the priority of the RAID controller mode is higher than the priority of the multi-function concurrent mode, so as to give priority to calling the RAID controller whose RAID controller function is not started for hardware acceleration; the preset working mode priority order can also be that the priority of the RAID controller mode is higher than the priority of the XOR accelerator mode is higher than the priority of the multi-function concurrent mode, or other priority orders, and this embodiment does not impose any restrictions on this.

[0080] Furthermore, when the hard disk device connected to the RAID controller connected to the host device includes a solid-state hard disk, since an XOR calculation engine (i.e., a hard disk XOR calculation engine) is set in the hard disk controller (such as an NVMe SSD controller) in the solid-state hard disk, in some embodiments, the host device can also send the parity calculation task to the RAID controller and the hard disk controller to further improve the RAID storage performance of the host device by using the XOR calculation engine in the hard disk controller. In other words, the communication endpoint unit 10 in the RAID controller can also call the XOR calculation engine 20 and the hard disk XOR calculation engine to process the direct-connected disk management calculation task sent by the host device when the target working mode is the XOR accelerator mode (or the multi-function concurrent mode); wherein the hard disk XOR calculation engine is the XOR calculation engine in the hard disk controller of the solid-state hard disk.

[0081] Furthermore, when the preset working mode also includes a multi-function concurrent mode, the communication endpoint unit 10 determines that the target working mode is a multi-function concurrent mode, that is, the XOR accelerator function and the RAID controller function are both activated, and the communication endpoint unit 10 time-shares the XOR computing engine 20 to provide hard disk storage services for the host device and process direct-connected disk management computing tasks to achieve efficient resource sharing. In other words, the XOR accelerator function and the RAID controller function can share the XOR computing engine resources inside the RAID controller through a time-share mechanism to optimize resource utilization efficiency. Figure 4 As shown in the figure, the RAID controller function (function A) is responsible for managing its subordinate hard disk devices (disks R.1-n), performing tasks including data reading and writing, array management, and I / O scheduling, to ensure the high-performance operation of the hardware RAID controller. At the same time, the XOR accelerator function (function B) uses the capabilities of the XOR calculation engine to provide hardware acceleration for parity calculations and enhance data integrity and reliability; the operating system software of the host device can manage another group of disk devices (disks D.1-m) to form an independent RAID array; this RAID array is isolated from the RAID array managed by function A, and each runs independently, and the operating system software is responsible for the corresponding data management and maintenance tasks. This design allows different functions to be optimized for different needs, providing a flexible, efficient and reliable storage solution for the host device.

[0082] Correspondingly, the specific method of the communication endpoint unit 10 time-division multiplexing the XOR calculation engine 20 to provide hard disk storage services for the host device and process the direct-connected disk management computing tasks can be set by the designer according to practical scenarios and user needs. For example, the communication endpoint unit 10 can use the processor 30 in the RAID controller to call the XOR calculation engine 20 in chronological order to complete these parity calculation tasks according to the issuance time of the parity calculation tasks issued by the host device and the generation time of the parity calculation tasks generated by itself; the communication endpoint unit 10 can use the processor 30 in the RAID controller to call the XOR calculation engine 20 according to the preset multiplexing priority order to complete the parity calculation tasks issued by the host device and the parity calculation tasks generated by itself; for example, the preset multiplexing priority order can be that the priority of the parity calculation tasks generated by itself is higher (or lower) than the priority of the parity calculation tasks issued by the host device. This embodiment does not impose any restrictions on this.

[0083] In this embodiment, the independent redundant array of disks controller supports two working modes, RAID controller mode and XOR accelerator mode. In the XOR accelerator mode, the XOR calculation engine 20 inside the independent redundant array of disks controller can be called to process the parity calculation task of the host device managing the disk device, so as to utilize the independent redundant array of disks controller connected to the host device to realize the hardware acceleration of the software and hardware hybrid RAID of the host device, inheriting the high performance, high reliability and low latency characteristics of the hardware RAID, and having the convenience of hybrid RAID in terms of flexibility, scalability, compatibility and maintenance and upgrade, which can significantly extend the life cycle of the storage system while reducing the cost of configuration and maintenance and upgrade.

[0084] Corresponding to the above RAID controller embodiment, an embodiment of the present invention further provides a control method of an independent redundant array of disks controller. The control method of an independent redundant array of disks controller described below and the independent redundant array of disks controller described above can be referred to each other.

[0085] Please refer to Figure 7 , Figure 7 A flowchart of a control method of an independent redundant array of disks controller provided by an embodiment of the present invention. The method is applied to a host device and may include:

[0086] Step 101: Obtain a direct-connected disk management computing task; wherein the direct-connected disk management computing task includes a parity check computing task corresponding to a disk device connected to a host device.

[0087] Among them, the direct-connected disk management computing task in this embodiment can be a computing task that needs to be hardware-accelerated by an XOR computing engine when the host device manages the directly connected disk device through the RAID function. For example, the direct-connected disk management computing task includes a parity computing task corresponding to the disk device connected to the host device, such as a parity computing task of RAID5 (a RAID storage level) and RAID6 (a RAID storage level) levels.

[0088] Correspondingly, the specific method and task content for the host device to obtain the direct-connected disk management computing task in this embodiment can be set by the designer according to practical scenarios and user needs, such as using the same or similar method as the method for obtaining the task processed by calling a dedicated XOR computing engine in the hardware-software hybrid RAID solution in the related art, such as the direct-connected disk management computing task can include the parity computing task of RAID5 and / or RAID6 level. This embodiment does not impose any restrictions on this.

[0089] Step 102: Adjust the working mode of the redundant array of independent disks controller, and send the direct-connected disk management computing task to the redundant array of independent disks controller, so as to utilize the XOR computing engine of the redundant array of independent disks controller to process the direct-connected disk management computing task.

[0090] The RAID controller in this embodiment is the RAID controller provided in the above embodiment.

[0091] It can be understood that in this embodiment, the host device can adjust the working mode of the RAID controller (such as adjusting the working mode to the XOR accelerator mode or the multi-function concurrent mode), and send the direct-connected disk management operation task to the RAID controller, thereby controlling the RAID controller to call its internal XOR calculation engine to process the direct-connected disk management operation task.

[0092] Among them, the specific method of adjusting the working mode of the independent disk redundant array controller and sending the direct-connected disk management operation task to the independent disk redundant array controller in this embodiment can be set by the designer according to practical scenarios and user needs. For example, when the number of RAID controllers connected to the host device is 1, the host device can directly adjust the working mode of the RAID controller to the XOR accelerator mode or the multi-function concurrent mode, and send the direct-connected disk management operation task to the RAID controller; for example, the host device can start by controlling the XOR accelerator function of the RAID controller to adjust the working mode of the RAID controller to the XOR accelerator mode or the multi-function concurrent mode.

[0093] Correspondingly, when the number of RAID controllers connected to the host device is greater than or equal to 2, in this step, the host device determines the target controller corresponding to the current task to be sent according to the working mode information of each RAID controller; wherein the current task to be sent is any directly connected disk management operation task, and the target controller is any independent disk redundant array controller; adjust the working mode of the target controller, and send the current task to be sent to the target controller, so as to use the XOR calculation engine of the target controller to process the current task to be sent. In other words, for each directly connected disk management operation task, the host device can determine the RAID controller (i.e., the target controller) where the XOR calculation engine that executes the task is located according to the current working mode information of each RAID controller (such as the respective working modes or the start and stop status of the respective RAID controller functions and XOR accelerator functions).

[0094] For example, the process of determining the target controller corresponding to the current task to be issued according to the working mode information of each RAID controller may include: determining the target controller corresponding to the current task to be issued according to the working mode information of each independent disk redundant array controller and the preset working mode priority order; wherein the working mode information includes the current working mode of each independent disk redundant array controller, the current working mode is any preset working mode, and the preset working mode priority order is the priority order of each preset working mode. For example, when there is an inoperative RAID controller among the RAID controllers connected to the host device, a RAID controller is selected from the inoperative RAID controllers as the target controller to execute the current direct-connected disk management operation task; when there is no inoperative RAID controller, the target controller is determined from the RAID controller according to the preset working mode priority order; for example, the preset working mode priority order may be that the priority of the XOR accelerator mode is higher than the priority of the RAID controller mode is higher than the priority of the multi-function form concurrent mode, so as to preferentially call the RAID controller whose RAID controller function is not started for hardware acceleration; the preset working mode priority order may also be that the priority of the RAID controller mode is higher than the priority of the XOR accelerator mode is higher than the priority of the multi-function form concurrent mode, or other priority orders, and this embodiment does not impose any restrictions on this.

[0095] Correspondingly, when the hard disk device connected to the RAID controller includes a solid-state hard disk, the host device can also use the XOR calculation engine in the hard disk controller in the solid-state hard disk and the XOR calculation engine of the RAID controller to jointly process the direct-connected disk management computing task. For example, in this step, the host device can determine the target controller corresponding to the current task to be sent according to the working mode information of the independent disk redundant array controller and the hard disk controller; wherein the current task to be sent is any directly connected disk management computing task, and the target controller is any independent disk redundant array controller or hard disk controller; the hard disk controller is set in the solid-state hard disk, and the hard disk controller is provided with an XOR calculation engine; adjust the working mode of the target controller, and send the current task to be sent to the target controller, so as to use the XOR calculation engine of the target controller to process the current task to be sent. That is to say, for each direct-connected disk management computing task, the host device can determine the RAID controller or hard disk controller (i.e., the target controller) where the XOR calculation engine that executes the task is located according to the current working mode information of the RAID controller and the hard disk controller (such as the respective working modes or the start and stop states of the respective hardware controller functions and the XOR accelerator functions).

[0096] Accordingly, the specific method of determining the target controller corresponding to the current task to be issued according to the working mode information of the redundant array of independent disks controller and the hard disk controller can be set in a similar manner to the method of determining the target controller corresponding to the current task to be issued according to the working mode information of each RAID controller, such as determining the target controller corresponding to the current task to be issued from the RAID controller and the hard disk controller according to the working mode information of the RAID controller and the hard disk controller according to the priority order of each working mode set in advance. This embodiment does not impose any limitation on this.

[0097] In this embodiment, the embodiment of the present invention adjusts the working mode of the independent redundant array of disks controller and sends the direct-connected disk management operation task to the independent redundant array of disks controller. It can utilize the XOR calculation engine inside the RAID controller to process the parity operation task of the host device managing the disk device, so as to utilize the independent redundant array of disks controller connected to the host device to realize the hardware acceleration of the software and hardware hybrid RAID of the host device, inherits the high performance, high reliability and low latency characteristics of the hardware RAID, and has the convenience of hybrid RAID in terms of flexibility, scalability, compatibility and maintenance and upgrade, which can significantly extend the life cycle of the storage system while reducing the cost of configuration and maintenance and upgrade.

[0098] Corresponding to the above method embodiment, the embodiment of the present invention further provides a control device of an independent redundant array of disks controller. The control device of an independent redundant array of disks controller described below and the control method of an independent redundant array of disks controller described above can refer to each other.

[0099] Please refer to Figure 8 , Figure 8 This is a structural block diagram of a control device of an independent redundant array of disks controller provided by an embodiment of the present invention. The device is applied to a host device and may include:

[0100] The task acquisition module 100 is used to acquire a direct-connected disk management computing task; wherein the direct-connected disk management computing task includes a parity check computing task corresponding to a disk device connected to a host device;

[0101] The task sending module 200 is used to adjust the working mode of the independent redundant array of disks controller and send the direct-connected disk management operation task to the independent redundant array of disks controller so as to utilize the XOR calculation engine of the independent redundant array of disks controller to process the direct-connected disk management operation task; wherein, the independent redundant array of disks controller is the independent redundant array of disks controller as described above.

[0102] In some embodiments, when the number of independent redundant array of disk controllers connected to the host device is greater than or equal to 2, the task issuing module 200 may include:

[0103] The first determination submodule is used to determine the target controller corresponding to the current task to be issued according to the working mode information of each independent redundant array of disk controller; wherein the current task to be issued is any directly connected disk management operation task, and the target controller is any independent redundant array of disk controller;

[0104] The first task sending submodule is used to adjust the working mode of the target controller and send the current task to be sent to the target controller so as to use the XOR calculation engine of the target controller to process the current task to be sent.

[0105] In some embodiments, the first determination submodule can be specifically used to determine the target controller corresponding to the current task to be issued based on the working mode information of each independent redundant array of disks controller and the preset working mode priority order; wherein the working mode information includes the current working mode of each independent redundant array of disks controller, the current working mode is any preset working mode, and the preset working mode priority order is the priority order of each preset working mode.

[0106] In some embodiments, the task issuing module 200 may include:

[0107] The second determination submodule is used to determine the target controller corresponding to the current task to be issued according to the working mode information of the independent disk redundant array controller and the hard disk controller; wherein the current task to be issued is any direct-connected disk management operation task, and the target controller is any independent disk redundant array controller or hard disk controller; the hard disk controller is set in the solid-state hard disk, and the hard disk controller is provided with an XOR calculation engine;

[0108] The second task sending submodule is used to adjust the working mode of the target controller and send the current task to be sent to the target controller so as to use the XOR calculation engine of the target controller to process the current task to be sent.

[0109] In this embodiment, the embodiment of the present invention adjusts the working mode of the independent redundant array of disks controller through the task issuing module 200, and sends the direct-connected disk management operation task to the independent redundant array of disks controller, and can use the XOR calculation engine inside the RAID controller to process the parity operation task of the host device managing the disk device, so as to use the independent redundant array of disks controller connected to the host device to realize the hardware acceleration of the software and hardware hybrid RAID of the host device, inheriting the high performance, high reliability and low latency characteristics of the hardware RAID, and having the convenience of hybrid RAID in terms of flexibility, scalability, compatibility and maintenance and upgrade, which can significantly extend the life cycle of the storage system, while reducing the cost of configuration and maintenance and upgrade.

[0110] Corresponding to the above method embodiment, the embodiment of the present invention further provides a computer program product. The computer program product described below and the control method of the independent redundant array of disks controller described above can be referred to each other.

[0111] A computer program product includes a computer program / instruction. When the computer program / instruction is executed by a processor, the steps of the control method of the independent redundant array of disks controller provided in the embodiment are implemented.

[0112] Corresponding to the above method embodiment, the embodiment of the present invention further provides a computer-readable storage medium. The computer-readable storage medium described below and the control method of the independent redundant array of disks controller described above can refer to each other.

[0113] A computer-readable storage medium stores a computer program, which implements the steps of the control method of the independent redundant array of disks controller when executed by a processor.

[0114] Corresponding to the above method embodiment, the embodiment of the present invention further provides a host device. The host device described below and the control method of the independent redundant array of disks controller described above can refer to each other.

[0115] Please refer to Fig. 9 , Fig. 9 A schematic diagram of the structure of a host device provided by an embodiment of the present invention. The host device may include:

[0116] A memory D1, for storing computer programs;

[0117] The processor D2 is used to implement the steps of the control method of the redundant array of independent disks controller provided by the above method embodiment when executing the computer program.

[0118] The host device provided in this embodiment may specifically be a server host or a computer.

[0119] Corresponding to the above embodiment, an embodiment of the present invention further provides a storage system. The storage system described below and the host device and the independent disk array controller described above can refer to each other.

[0120] A storage system, comprising: an independent redundant array of disks controller as provided in the above embodiment, a host device, a disk device and a hard disk device as provided in the above embodiment;

[0121] The host device is connected to the disk device and the independent redundant array of disks controller in communication, and the independent redundant array of disks controller is connected to the hard disk device in communication.

[0122] In some embodiments, the number of redundant array of independent disk controllers is greater than or equal to two.

[0123] In some embodiments, the hard disk device connected to the redundant array of independent disks controller may include a solid-state hard disk; and the hard disk controller in the solid-state hard disk may include an XOR calculation engine.

[0124] Corresponding to the above system embodiment, the embodiment of the present invention further provides a server. The server described below and the storage system described above can refer to each other.

[0125] A server includes: the storage system provided by the above embodiment.

[0126] The various embodiments in the specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referred to each other. For the device, host device, storage system, computer program product and computer-readable storage medium disclosed in the embodiment, since they correspond to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part description.

[0127] The above is a detailed introduction to a redundant array of independent disk controller and its control method, device, computer program product, host device, storage system and server provided by the present invention. This article uses specific examples to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. It should be pointed out that for ordinary technicians in this technical field, without departing from the principle of the present invention, the present invention can also be improved and modified, and these improvements and modifications also fall within the scope of protection of the present invention.

Claims

1. A redundant array of independent disks controller, wherein the redundant array of independent disks controller is connected to a host device and a hard disk device for communication, wherein: The independent redundant array of disks controller comprises: A communication endpoint unit communicatively connected to a host device, used to determine a target operating mode according to a control instruction sent by the host device; if the target operating mode is an XOR accelerator mode, an XOR computing engine is called to process a direct-connected disk management computing task issued by the host device; wherein the target operating mode is any preset operating mode, and the preset operating modes include an independent disk redundant array controller mode and the XOR accelerator mode; the direct-connected disk management computing task includes a parity check computing task corresponding to a disk device connected to the host device; The XOR calculation engine is used to perform calculation processing on the direct-connected disk management calculation task according to the control of the communication endpoint unit.

2. The independent redundant array of disks controller according to claim 1, characterized in that: Also includes: processor, input-output manager, cache and physical disk manager; The communication endpoint unit is also used to call the XOR calculation engine, the processor, the input and output manager, the cache and the physical disk manager when the target working mode is the independent disk redundant array controller mode, and control the hard disk device to provide hard disk storage services for the host device.

3. The independent redundant array of disks controller according to claim 2, characterized in that: The communication endpoint unit is also used to set the processor, the input and output manager, the cache and the physical disk manager to a sleep state when the target operating mode is the XOR accelerator mode.

4. The redundant array of independent disks controller according to claim 2, characterized in that: The hard disk storage service includes a queue configuration management function of an independent disk redundant array, a storage data management function, a parity calculation function, a data migration function, and a control function of the hard disk device.

5. The redundant array of independent disks controller according to claim 1, characterized in that: The communication endpoint unit is connected to the host device via a peripheral component express (PIC) bus.

6. The redundant array of independent disks controller according to claim 5, characterized in that: The communication endpoint unit is also used to provide independent disk redundant array controller function and XOR accelerator function for the host device through single root input / output virtualization technology.

7. The redundant array of independent disks controller according to claim 1, characterized in that: The hard disk device includes a solid state hard disk; Among them, the communication endpoint unit is also used to call the XOR computing engine and the hard disk XOR computing engine to process the direct-connected disk management computing tasks issued by the host device when the target working mode is the XOR accelerator mode; wherein the hard disk XOR computing engine is the XOR computing engine in the hard disk controller of the solid-state hard disk.

8. The redundant array of independent disks controller according to claim 1, characterized in that: The XOR calculation engine includes at least two operation units; the operation units are used to process the XOR operations corresponding to the direct-connected disk management operation tasks in parallel.

9. The redundant array of independent disks controller according to any one of claims 1 to 8, characterized in that: The preset working mode also includes a multi-functional concurrent mode; The communication endpoint unit is also used to time-share the XOR computing engine when the target working mode is the multi-functional concurrent mode, provide hard disk storage services for the host device and process the direct-connected disk management computing tasks.

10. A control method for a redundant array of independent disks controller, characterized in that: Applicable to host devices, including: Acquire a direct-connected disk management computing task; wherein the direct-connected disk management computing task includes a parity check computing task corresponding to the disk device connected to the host device; Adjust the working mode of the independent redundant array of disks controller, and send the direct-connected disk management operation task to the independent redundant array of disks controller, so as to use the XOR calculation engine of the independent redundant array of disks controller to process the direct-connected disk management operation task; wherein the independent redundant array of disks controller is the independent redundant array of disks controller as described in any one of claims 1 to 9.

11. The control method of the independent redundant array of disks controller according to claim 10, characterized in that: When the number of independent redundant array of disk controllers connected to the host device is greater than or equal to 2, adjusting the working mode of the independent redundant array of disk controller and sending the direct-connected disk management operation task to the independent redundant array of disk controller includes: Determine the target controller corresponding to the current task to be sent according to the working mode information of each independent redundant array of disks controller; wherein the current task to be sent is any of the direct-connected disk management computing tasks, and the target controller is any of the independent redundant array of disks controllers; The working mode of the target controller is adjusted, and the current task to be sent is sent to the target controller, so as to use the XOR calculation engine of the target controller to process the current task to be sent.

12. The control method of the independent redundant array of disks controller according to claim 11, characterized in that: The step of determining the target controller corresponding to the task to be issued currently according to the working mode information of each of the redundant array of independent disks controllers includes: According to the working mode information and the preset working mode priority order of each independent disk redundant array controller, the target controller corresponding to the current task to be issued is determined; wherein the working mode information includes the current working mode of each independent disk redundant array controller, the current working mode is any preset working mode, and the preset working mode priority order is the priority order of each preset working mode.

13. The control method of the independent redundant array of disks controller according to any one of claims 10 to 12, characterized in that: The hard disk device connected to the independent redundant array of disks controller includes a solid state disk, and the step of adjusting the working mode of the independent redundant array of disks controller and sending the direct-connected disk management operation task to the independent redundant array of disks controller includes: Determine the target controller corresponding to the current task to be sent according to the working mode information of the independent redundant array of disks controller and the hard disk controller; wherein the current task to be sent is any of the direct-connected disk management computing tasks, and the target controller is any of the independent redundant array of disks controller or the hard disk controller; the hard disk controller is arranged in the solid-state hard disk, and an XOR computing engine is arranged in the hard disk controller; The working mode of the target controller is adjusted, and the current task to be sent is sent to the target controller, so as to use the XOR calculation engine of the target controller to process the current task to be sent.

14. A control device for an independent redundant array of disks controller, characterized in that: Applicable to host devices, including: A task acquisition module, used to acquire a direct-connected disk management computing task; wherein the direct-connected disk management computing task includes a parity check computing task corresponding to the disk device connected to the host device; A task issuing module is used to adjust the working mode of an independent redundant array of disks controller and send the direct-connected disk management operation task to the independent redundant array of disks controller so as to utilize the XOR calculation engine of the independent redundant array of disks controller to process the direct-connected disk management operation task; wherein the independent redundant array of disks controller is the independent redundant array of disks controller as claimed in any one of claims 1 to 9.

15. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instruction is executed by a processor, the steps of the control method of the independent redundant array of disks controller as claimed in any one of claims 10 to 13 are implemented.

16. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the control method of the independent redundant array of disks controller according to any one of claims 10 to 13 are implemented.

17. A host device, characterized in that: include: Memory for storing computer programs; A processor is used to execute the computer program to implement the steps of the control method of the independent redundant array of disks controller according to any one of claims 10 to 13.

18. A storage system, characterized in that: include: The independent redundant array of disks controller according to any one of claims 1 to 9, the host device, the disk device and the hard disk device according to claim 17; The host device is connected to the disk device and the independent redundant array of disks controller in communication with each other, and the independent redundant array of disks controller is connected to the hard disk device in communication with each other.

19. The storage system according to claim 18, characterized in that: The number of the independent redundant array of disk controllers is greater than or equal to 2.

20. A server, characterized in that: include: The storage system of claim 19.

Citation Information

Patent Citations

  • Architecture and data processing method for hardware RAID 5 / 6 memory system

    CN102609221A

  • Multi-disk fault-tolerant two-dimensional hybrid disk RAID4 system architecture and read-write method thereof

    CN103019893A

  • An RAID active acceleration device and acceleration method in SSD master control

    CN109933546A

  • Data processing device for improving calculation performance based on RAID (Redundant Array of Independent Disks) controller

    CN113687977A

  • Method for realizing XOR acceleration of solid state disk

    CN117389481A