Raid card monitoring device, raid card and raid card monitoring method

By introducing a GPIO expansion chip with I2C functionality into the RAID card, the problem of being unable to obtain power status and restart when the CPLD freezes is solved, enabling effective monitoring and control of the RAID card and ensuring its stability and security.

CN116151298BActive Publication Date: 2026-02-17INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202310033368.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-01-10
Publication Date
2026-02-17
Estimated Expiration
2043-01-10

AI Technical Summary

Technical Problem

Existing RAID cards cannot obtain the onboard power supply status when the CPLD is stuck, and cannot restart the CPLD and main control chip online. Furthermore, the card status and control depend on the interface provided by the supplier.

Method used

In the RAID card design, a GPIO expansion chip supporting I2C function is added. The RAID card is monitored through the BMC, which detects and controls the status of the power supply chip and the main control chip, and realizes the CPLD reset function.

Benefits of technology

When the CPLD freezes or loses power, it can detect the working status of the power module inside the board and control its enable pin, thereby realizing the monitoring and reset of the RAID card and independently completing the reset of the main control chip, solving the problem of status acquisition and restart when the CPLD freezes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116151298B_ABST
    Figure CN116151298B_ABST
Patent Text Reader

Abstract

The application belongs to the technical field and specifically provides a RAID card supervision device, a RAID card and a RAID card supervision method. The device comprises a GPIO expansion chip. The GPIO expansion chip has a plurality of GPIO interface groups. The plurality of GPIO interface groups are respectively connected to the reset interface and the enable interface of the power supply chip on the RAID card and the reset interface and the enable interface of the host chip on the RAID card. The GPIO expansion chip is also connected to the BMC through an I2C interface via an I2C link, so that the BMC supervises the RAID card through the GPIO expansion chip. The power supply chip is used for supplying power for the CPLD on the RAID card. The application can solve the problem that the power supply state in the board cannot be obtained when the CPLD is dead. The application can solve the problem that the CPLD and the host chip cannot be restarted online when the CPLD is dead. The application can solve the problem that the state and control of the board card depend on the interface provided by the supplier.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of server technology, specifically relating to a RAID card monitoring device, a RAID card, and a RAID card monitoring method. Background Technology

[0002] With the development of the internet and big data, the amount of data generated daily is growing exponentially, and the throughput of server disks is constantly increasing. At the same time, higher demands are placed on the security and reliability of server storage. While RAID (Redundant Array of Independent Disks) cards can effectively solve data storage security issues, they themselves may experience operational failures, thus posing potential security risks to server storage. Therefore, how to improve the security and stability of RAID cards, and thus ensure the security of server storage, is a technical problem that urgently needs to be solved by those skilled in the art.

[0003] Most existing RAID card solutions rely on vendor-provided solutions, with the main control hardware and software design controlled by the vendor, leaving developers unable to control its operation at the underlying level. In common RAID cards, the power-on of the board and the enabling of the control chip are controlled by a CPLD, which lacks hardware reset functionality.

[0004] As described above, the existing technical solutions mainly have three problems: when the CPLD is stuck, the power supply status on the board cannot be obtained; when the CPLD is stuck, the CPLD and the main control chip cannot be restarted online; and the status and control of the board depend on the interface provided by the supplier. Summary of the Invention

[0005] In view of the above-mentioned shortcomings of the prior art, the present invention provides a RAID card monitoring device, a RAID card, and a RAID card monitoring method to solve the above-mentioned technical problems.

[0006] In a first aspect, the present invention provides a RAID card monitoring device, comprising:

[0007] The GPIO expansion chip has multiple GPIO interface groups, which are respectively connected to the reset and enable interfaces of the power supply chip and the master control chip on the RAID card. The GPIO expansion chip is also connected to the BMC via an I2C link through an I2C interface, so that the BMC can monitor the RAID card through the GPIO expansion chip. The power supply chip is used to supply power to the CPLD on the RAID card.

[0008] Furthermore, the GPIO expansion chip is located on the RAID card.

[0009] Furthermore, the GPIO expansion chip is powered by the power supplied by the connection port.

[0010] Furthermore, each power supply chip on the RAID card and the main control chip on the RAID card correspond to a GPIO interface group.

[0011] Furthermore, the GPIO interface group includes a first sub-interface and a second sub-interface. The first sub-interface is connected to an enable interface, and the second sub-interface is connected to a reset interface. The enable interface and the reset interface belong to the same chip, which is a power supply chip or a main control chip.

[0012] In a second aspect, the present invention provides a RAID card, comprising: a RAID card body, wherein the RAID card body is provided with a main control chip, multiple power supply chips and the RAID card monitoring device provided in the first aspect.

[0013] Thirdly, the present invention also provides a RAID card monitoring method, comprising:

[0014] BMC detects the presence of RAID through the system and saves it as primary information;

[0015] The status of all power supply chips of the RAID card is obtained through the GPIO expansion chip and saved as secondary information;

[0016] The status of the RAID card and the CPLD on the RAID card is determined based on the first information, the second information, and the preset control rules.

[0017] Based on the status of the RAID card and the CPLD on the RAID card, the target device that needs to be restarted is reset by controlling the GPIO expansion chip. The target device is the RAID card or the CPLD.

[0018] Furthermore, the status of all power supply chips of the RAID card is obtained through the GPIO expansion chip and saved as secondary information, including:

[0019] The BMC receives electrical signals from the second sub-interface of each GPIO interface group reported by the GPIO extension chip via the I2C link;

[0020] Based on the pre-stored connection objects of each GPIO interface group of the GPIO expansion chip and the information received from the GPIO expansion chip, the status of each power supply chip is obtained.

[0021] Furthermore, based on the first information, the second information, and preset control rules, the status of the RAID card and the CPLD on the RAID card is determined, including:

[0022] If the first message indicates that the RAID card is not present, then the RAID card needs to be reset.

[0023] If the first message indicates that the RAID card is present, then determine whether the status of each power supply chip in the second message meets the preset standard status:

[0024] If so, the CPLD status is determined to be normal;

[0025] If not, the CPLD is determined to be in a power-off state.

[0026] Furthermore, based on the state of the RAID card and the CPLD on the RAID card, the target device requiring a restart is reset via the GPIO expansion chip. The target device is either a RAID card or a CPLD, and includes:

[0027] If the RAID card needs to be reset, a reset command is sent to the main control chip through the GPIO expansion chip;

[0028] If the CPLD is in a power-off state, a signal is sent through the GPIO expansion chip to the reset interface of the power supply chip that powers the CPLD, so that the CPLD is reset.

[0029] Thirdly, a terminal is provided, including:

[0030] Processor, memory, among which,

[0031] This memory is used to store computer programs.

[0032] The processor is used to retrieve and run the computer program from memory, causing the terminal to perform the terminal method described above.

[0033] Fourthly, a computer storage medium is provided, wherein instructions are stored therein, which, when executed on a computer, cause the computer to perform the methods described in the above aspects.

[0034] The beneficial effects of this invention are as follows:

[0035] The RAID card monitoring device, RAID card, and RAID card monitoring method provided by this invention add a GPIO expansion chip supporting I2C functionality during the RAID card design. This expansion chip is electrically connected to the CPLD, power supply chips, and main control chip within the RAID card board. The BMC is connected to the GPIO expansion chip via uplink I2C, thus allowing the BMC to still detect the operating status of each power module and control its enable pins even when the CPLD is stuck or powered off. Simultaneously, when the CPLD is powered off, the BMC can reset the power supply chip of the CPLD, thereby achieving the function of resetting the CPLD. Furthermore, the BMC can independently reset the main control chip. This invention enables the monitoring of the RAID card, allowing the acquisition of the RAID card's status and the performance of operations such as RAID reset even when the CPLD is stuck.

[0036] Furthermore, the design principle of this invention is reliable, the structure is simple, and it has a very wide range of application prospects. Attached Figure Description

[0037] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0038] Figure 1 This is a schematic architecture diagram of a RAID card monitoring device according to an embodiment of the present invention.

[0039] Figure 2 This is an overall architecture diagram of a RAID card according to an embodiment of the present invention.

[0040] Figure 3 This is an exemplary flowchart of a RAID management method provided in an embodiment of the present invention. Detailed Implementation

[0041] To enable those skilled in the art to better understand the technical solutions of this invention, the technical solutions of the embodiments of this invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this invention, and not all embodiments. Based on the embodiments of this invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of this invention.

[0042] The key terms used in this invention will be explained below.

[0043] BMC, or Baseboard Management Controller, is a remote server management controller. It allows for firmware upgrades, device monitoring, and other operations even when the machine is not powered on. Fully implementing IPMI functionality in a BMC requires a powerful 16-bit or 32-bit microcontroller, RAM for data storage, flash memory for non-volatile data storage, and firmware. It provides basic remote manageability for secure remote reboots, secure power-on, LAN alerts, and system health monitoring. In addition to basic IPMI and system monitoring functions, the mBMC can also enable rapid BIOS selection and protection by utilizing one of the two flash memories to store previous BIOS images. For example, if the system fails to boot after a remote BIOS upgrade, remote administrators can switch back to a previously working BIOS image to boot the system. Once the BIOS image is upgraded, it can also be locked to effectively prevent virus attacks.

[0044] The I2C bus is a simple, bidirectional, two-wire synchronous serial bus developed by Philips. It requires only two wires to transmit information between devices connected to the bus. The master device initiates data transmission and generates a clock to enable transmission; any addressed device is considered a slave. The master-slave and send-receive relationships on the bus are not constant but depend on the direction of data transmission. If the master wants to send data to a slave device, it first addresses the slave device, then actively sends data, and finally terminates the transmission. If the master wants to receive data from a slave device, it first addresses the slave device, then receives the data sent by the slave, and finally terminates the reception process. In this case, the master is responsible for generating the timing clock and terminating the data transmission.

[0045] A redundant array of disks (RAID) is an array of independent disks designed for redundancy. It combines many independent disks into a single, high-capacity group, leveraging the additive effect of individual disks to improve overall system performance. This technology divides data into segments and stores them across multiple hard drives. RAID also utilizes the concept of parity checking, ensuring data can still be read even if one hard drive in the array fails. During data reconstruction, the data can be recalculated and re-placed onto new hard drives.

[0046] CPLDs employ programming technologies such as CMOS EPROM, EEPROM, flash memory, and SRAM to create high-density, high-speed, and low-power programmable logic devices. The power-on and control chip enable of the RAID card are controlled by the CPLD.

[0047] The RAID card's power-on and control chip enable are controlled by the CPLD, but the CPLD lacks a hardware reset function. When the CPLD freezes, the onboard power supply status cannot be obtained; when the CPLD freezes, the CPLD and main control chip cannot be restarted online; the card's status and control depend on the interface provided by the vendor.

[0048] Based on this, the present invention provides a RAID card monitoring device, a RAID card, and a RAID card monitoring method. When designing the RAID card, a GPIO expansion chip supporting I2C functionality is added. This expansion chip and its peripheral circuitry form a module circuit for detecting and controlling the CPLD and various power modules within the RAID card board. The BMC is connected to the GPIO expansion chip via uplink I2C. This allows the BMC to still detect the operating status of each power module and control its enable pins even when the CPLD is stuck or powered off. When the CPLD is powered off, the BMC can reset the DC chip supplying the CPLD, thus achieving the function of resetting the CPLD. This module is also connected to the RESET and RSTB pins of the main control chip, allowing the BMC to independently reset the main control chip.

[0049] To facilitate understanding of the present invention, the technical solution provided by the present invention will be further described below based on the principles of the present invention and the process of monitoring the RAID card in the embodiments.

[0050] For details, please refer to Figure 1 The RAID card monitoring device includes:

[0051] The GPIO expansion chip has multiple GPIO interface groups, which are respectively connected to the reset and enable interfaces of the power supply chip and the master control chip on the RAID card. The GPIO expansion chip is also connected to the BMC via an I2C link through an I2C interface, so that the BMC can monitor the RAID card through the GPIO expansion chip. The power supply chip is used to power the CPLD on the RAID card.

[0052] The BMC, through the GPIO expansion chip, can obtain the enable status of each power supply chip and the main control chip in the RAID array, determine whether a reset is required, and send reset commands to the devices that need to be reset. This allows for monitoring of the RAID card even when the CPLD is stuck.

[0053] Placing the GPIO expansion chip on the RAID card facilitates its connection with other chips and simplifies the circuitry.

[0054] The GPIO expansion chip is powered by the connection port, so its operation is unaffected by the operating status of the RAID card itself. This means the RAID card monitoring device can function normally even when the RAID card is not in use.

[0055] Typically, a RAID card contains multiple power supply chips and one master control chip. The power supply chips are all connected to a CPLD (Content Management Logic Controller), and the master control chip controls the RAID card's operating status. Each power supply chip and the master control chip on the RAID card correspond to a GPIO interface group. The GPIO interface group includes a first sub-interface and a second sub-interface. The first sub-interface connects to the enable interface, and the second sub-interface connects to the reset interface. The enable and reset interfaces belong to the same chip, which is either the power supply chip or the master control chip. This connection relationship is stored in the BMC (Browser Control Center), which then converts the signals from the GPIO expansion chips into information for each power supply chip or the master control chip.

[0056] Among them, the GPIO expansion chip can be selected from GPIO expansion chips such as PCA9555 / CA9555 that expand GPIO through I2C. These chips have low power consumption, I2C speed up to 400kHz, and 16 expansion GPIOs (extension chips with different GPIO resources can be selected according to the needs of different boards).

[0057] The RAID card monitoring device provided by this invention adds a GPIO expansion chip supporting I2C function when designing the RAID card. The power supply of this chip uses the power provided by the connection port, so the working state of the GPIO expansion chip is not affected by the working state of the RAID card board. The GPIO interface extended by the GPIO expansion chip is connected to the enable and PWRGD interfaces of each power supply IC in the board and the reset and enable interfaces of the main control chip. The I2C link of the GPIO expansion chip is connected to the BMC through the uplink interface, and the BMC directly controls this module circuit.

[0058] In one embodiment of the present invention, a RAID card is provided, please refer to... Figure 2The specific structure includes: a RAID card body, on which a main control chip, multiple power supply chips, and a RAID card monitoring device are mounted. The RAID card monitoring device includes: a GPIO expansion chip, which has multiple GPIO interface groups, each connected to the reset and enable interfaces of the power supply chips and the main control chip on the RAID card; the GPIO expansion chip also connects to the BMC via an I2C link, allowing the BMC to monitor the RAID card through the GPIO expansion chip; the power supply chips supply power to the CPLD on the RAID card. The BMC can obtain the enable status of each power supply chip and the main control chip through the GPIO expansion chip, determine whether a reset is needed, and send a reset command to the devices requiring reset. This allows for monitoring of the RAID card even when the CPLD is stuck. Placing the GPIO expansion chip on the RAID card facilitates its connection with other chips and simplifies the circuitry. The GPIO expansion chip is powered by the connection port, so its operation is unaffected by the RAID card's internal operating status. This means the RAID card monitoring device can function normally even when the RAID card is not in place. Typically, a RAID card contains multiple power supply chips and one main control chip. The power supply chips are all connected to a CPLD, and the main control chip controls the RAID card's operating status. Each power supply chip and the main control chip on the RAID card corresponds to a GPIO interface group. The GPIO interface group includes a first sub-interface and a second sub-interface. The first sub-interface connects to the enable interface, and the second sub-interface connects to the reset interface. The enable and reset interfaces belong to the same chip, which is either the power supply chip or the main control chip. This connection relationship is stored in the BMC, which then converts the signals from the GPIO expansion chip into information from the respective power supply or main control chip.

[0059] Please refer to Figure 3 Based on a RAID card monitoring device, one embodiment of the present invention provides a RAID card monitoring method, comprising the following steps:

[0060] S1. The BMC detects the presence of RAID through the system and saves it as the first piece of information.

[0061] The BMC can detect whether the RAID card is in place by querying commands. At the same time, the BMC establishes I2C communication with the GPIO expansion chip inside the board.

[0062] S2. Obtain the status of all power supply chips of the RAID card through the GPIO expansion chip and save it as the second information.

[0063] BMC detects various RAID-related data through the GPIO expansion chip, specifically:

[0064] The BMC receives electrical signals from the second sub-interfaces of each GPIO interface group reported by the GPIO expansion chip via the I2C link; based on the pre-stored connection objects of each GPIO interface group of the GPIO expansion chip and the information received from the GPIO expansion chip, it obtains the status of each power supply chip.

[0065] S3. Determine the status of the RAID card and the CPLD on the RAID card based on the first information, the second information and the preset control rules.

[0066] If the first message indicates that the RAID card is not present, then the RAID card needs to be reset; if the first message indicates that the RAID card is present, then it is determined whether the status of each power supply chip in the second message meets the preset standard status: if yes, then the CPLD status is normal; if no, then the CPLD is in a power-off state.

[0067] S4. Based on the status of the RAID card and the CPLD on the RAID card, the target device that needs to be restarted is controlled to reset via the GPIO expansion chip. The target device is the RAID card or the CPLD.

[0068] If the RAID card needs to be reset, a reset command is sent to the main control chip through the GPIO expansion chip; if the CPLD is in a power-off state, a signal is sent to the reset interface of the power supply chip that supplies power to the CPLD through the GPIO expansion chip to reset the CPLD.

[0069] The above methods can solve the problem of not being able to obtain the power supply status of the board when the CPLD is stuck; they can solve the problem of not being able to restart the CPLD and main control chip online when the CPLD is stuck; and they can solve the problem of the board status and control depending on the interface provided by the supplier.

[0070] Although the present invention has been described in detail with reference to the accompanying drawings and preferred embodiments, the invention is not limited thereto. Various equivalent modifications or substitutions can be made to the embodiments of the invention by those skilled in the art without departing from the spirit and essence of the invention, and such modifications or substitutions should all be within the scope of the invention. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in the invention should also be covered within the protection scope of the invention. Therefore, the protection scope of the invention should be determined by the scope of the claims.

Claims

1. A RAID card policing device, comprising: The application relates to a RAID card monitoring system and a RAID card monitoring method. The system comprises a GPIO expansion chip, a plurality of GPIO interface groups of the GPIO expansion chip are connected with reset interfaces and enable interfaces of power supply chips on a RAID card and reset interfaces and enable interfaces of a master control chip on the RAID card respectively, the GPIO expansion chip is connected with a BMC through an I2C interface and an I2C link, so that the BMC supervises the RAID card through the GPIO expansion chip, and the power supply chips are used for supplying power for CPLDs on the RAID card. The method comprises the following steps: The BMC detects the in-situ condition of the RAID through a system and saves the in-situ condition as first information; The states of all the power supply chips of the RAID card are acquired through the GPIO expansion chip and saved as second information; The states of the RAID card and the CPLD on the RAID card are judged based on the first information, the second information and a preset control rule; The target device which needs to be restarted is reset through the GPIO expansion chip based on the states of the RAID card and the CPLD on the RAID card, and the target device is the RAID card or the CPLD; The BMC receives the electric signals of the second sub-interfaces of the GPIO interface groups reported by the GPIO expansion chip through the I2C link; The states of the power supply chips are acquired according to the connection objects of the GPIO interface groups of the GPIO expansion chip and the information received from the GPIO expansion chip; The states of the RAID card and the CPLD on the RAID card are judged based on the first information, the second information and a preset control rule, and the judgment comprises the following steps: If the first information is that the RAID card is not in situ, it is determined that the RAID card needs to be reset; If the first information is that the RAID card is in situ, it is determined whether the states of the power supply chips in the second information conform to a preset standard state: If yes, it is determined that the state of the CPLD is normal; If no, it is determined that the CPLD is in a power-off state; The target device which needs to be restarted is reset through the GPIO expansion chip based on the states of the RAID card and the CPLD on the RAID card, and the target device is the RAID card or the CPLD, and the reset comprises the following steps: If the RAID card needs to be reset, a reset instruction is sent to the master control chip through the GPIO expansion chip; If the CPLD is in a power-off state, a signal is sent to the reset interface of the power supply chip which supplies power for the CPLD through the GPIO expansion chip, so that the CPLD is reset. The GPIO expansion chip is arranged on the RAID card.

2. The apparatus of claim 1, wherein, The GPIO expansion chip is powered by a power supply provided by a connection port.

3. The apparatus of claim 1, wherein, Each power supply chip on the RAID card and the master control chip on the RAID card correspond to a GPIO interface group.

4. The apparatus of claim 1, wherein, The GPIO interface group comprises a first sub-interface and a second sub-interface, the first sub-interface is connected with an enable interface, the second sub-interface is connected with a reset interface, the enable interface and the reset interface belong to the same chip, and the chip is a power supply chip or a master control chip.

5. The apparatus of claim 1, wherein, The application relates to a RAID card monitoring system and a RAID card monitoring method.

6. A RAID card, characterized by ​ The RAID card body is provided with a main control chip, multiple power supply chips and the RAID card monitoring device according to any one of claims 1-5.

Citation Information

Patent Citations

  • Hard disk backboard expansion structure

    CN210324193U