Firmware upgrade method, system, program product, and storage medium

By using a high-speed serial computer expansion bus and a link locking mechanism between the management controller and the host, the problems of low data transmission efficiency and poor reliability during the management controller firmware upgrade process are solved, and efficient and reliable firmware upgrades are achieved.

CN120492005BActive Publication Date: 2025-09-23SHANDONG YINGXIN COMP TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510977688.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-07-16
Publication Date
2025-09-23
Estimated Expiration
2045-07-16

AI Technical Summary

Technical Problem

In the prior art, during the firmware upgrade process of the management controller, the out-of-band management protocol is based on a low-speed bus, resulting in low data transmission efficiency and easy switching to other server host communications during the upgrade, affecting reliability.

Method used

Connect the management controller and the host through a high-speed serial computer expansion bus (such as the PCIe bus), set up a logical bus device and mount it, and implement a link locking mechanism to ensure that the communication link with the target host remains locked during the firmware upgrade to avoid switching.

Benefits of technology

Improves data transmission efficiency and firmware upgrade reliability between the management controller and the host, avoiding communication interruptions caused by switching during the upgrade process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120492005B_ABST
    Figure CN120492005B_ABST
Patent Text Reader

Abstract

The present invention discloses a firmware upgrade method, system, program product, and storage medium, relating to the field of server technology. In the present invention, a management controller can be connected to at least two hosts via a high-speed serial computer expansion bus, and the management controller can set a logical bus device based on its own storage space and mount the logical bus device to each host, so that the host can read and write the storage space based on a high-speed serial computer expansion protocol, thereby improving the data transmission efficiency between the host and the management controller. At the same time, during the firmware upgrade process, the host can first request the management controller to set the management controller's bus communication link to remain locked with the target host, and then control the management controller to perform the firmware upgrade after confirming that the lock is successful. This can prevent the management controller from being switched to communicate with other hosts during the upgrade process, thereby ensuring the reliability of the management controller's firmware upgrade.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of server technology, and in particular to a firmware upgrade method, system, program product, and storage medium. Background Art

[0002] The management controller is an important component of the server host. It can monitor the operating status of each component in the server host and manage the operation of the server host. With the development of management controllers, the current management controller can manage multiple server hosts.

[0003] In related technologies, a server host can control a management controller to perform firmware upgrades using an out-of-band management protocol (such as IPMI). However, because out-of-band management protocols are typically based on low-speed buses, they can easily affect the efficiency of data transmission between the server host and the management controller. More importantly, during a firmware upgrade, the management controller can easily switch to communicating with other server hosts, leading to data transmission interruptions and compromising the reliability of the management controller firmware upgrade. Summary of the Invention

[0004] The present invention provides a firmware upgrade method, system, program product, and storage medium. Firmware can be transmitted between a host and a management controller via a high-speed serial computer expansion bus. Before controlling the management controller to upgrade, the host can request the management controller to lock the bus communication link, thereby improving the efficiency and reliability of the management controller firmware upgrade.

[0005] To solve the above technical problems, the present invention provides a firmware upgrade method, which is applied to a management controller, wherein the management controller is connected to at least two hosts via a high-speed serial computer expansion bus. The method includes:

[0006] Setting up a logical bus device based on its own storage space and mounting the logical bus device to each host so that the host can read and write the storage space based on a high-speed serial computer extension protocol;

[0007] When receiving a link lock signal from the target host from the storage space, the bus communication link of the bus is set to remain locked with the target host, and a link lock success signal is sent to the target host through the storage space;

[0008] When a firmware upgrade signal and an upgrade firmware are received from the storage space, the firmware upgrade is performed according to the firmware upgrade signal and the upgrade firmware.

[0009] The present invention also provides a firmware upgrade method, which is applied to a host, wherein a management controller is connected to at least two hosts via a high-speed serial computer expansion bus, and the method comprises:

[0010] Mounting the logical bus device to read and write the storage space of the logical bus device based on a high-speed serial computer extension protocol; the logical bus device is based on the storage space setting of the management controller;

[0011] a link lock signal sent to the memory space to cause the management controller to set its bus communication link to remain locked with the host;

[0012] When a link locking success signal sent by the management controller is received through the storage space, a firmware upgrade signal and upgrade firmware are sent to the storage space, so that the management controller performs firmware upgrade according to the firmware upgrade signal and upgrade firmware.

[0013] The present invention also provides a firmware upgrade system, comprising a management controller and at least two hosts, wherein the management controller is connected to the hosts via a high-speed serial computer expansion bus;

[0014] A management controller, configured to execute the above-mentioned firmware upgrade method applied to the management controller;

[0015] The host is used to execute the above-mentioned firmware upgrade method applied to the host.

[0016] The present invention also provides a computer program product, including a computer program or instructions, which implements the above-mentioned firmware upgrade method applied to the management controller or the firmware upgrade method applied to the host when the computer program or instructions are executed by a processor.

[0017] The present invention also provides a non-volatile computer-readable storage medium, which stores computer-executable instructions. When the computer-executable instructions are loaded and executed by a processor, the above-mentioned firmware upgrade method applied to the management controller or the firmware upgrade method applied to the host is implemented.

[0018] The beneficial effects of the present invention are as follows: In the present invention, the management controller can be connected to at least two hosts via a high-speed serial computer expansion bus. The high-speed serial computer expansion bus is a high-speed bus that can improve the data transmission efficiency between the management controller and the hosts. At the same time, the management controller can set a logical bus device based on its own storage space and mount the logical bus device to each host so that the host can read and write the storage space based on the high-speed serial computer expansion protocol. In other words, the host can operate the above-mentioned logical bus device in the same way as an ordinary bus device and can read and write the storage space based on the high-speed serial computer expansion protocol. During the firmware upgrade process, when the management controller receives a link lock signal sent by the target host from the storage space, it sets its own bus communication link to remain locked with the target host and sends a link lock success signal to the target host through the storage space. Subsequently, when it receives a firmware upgrade signal and upgrade firmware sent by the target host from the storage space, it performs a firmware upgrade based on the firmware upgrade signal and the upgrade firmware. In other words, before controlling the management controller to perform a firmware upgrade, the host can request the management controller to set the management controller's bus communication link to remain locked with the target host, and can control the management controller to perform a firmware upgrade after confirming that the lock is successful. This can prevent the management controller from being switched to communicate with other hosts during the upgrade process, thereby ensuring the reliability of the management controller's firmware upgrade.

[0019] The present invention also provides a firmware upgrade system, a computer program product, and a computer-readable storage medium, which have the above-mentioned beneficial effects. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] In order to more clearly illustrate the embodiments of the present invention, the following is a brief introduction to the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0021] Figure 1 A flowchart of a firmware upgrade method for a management controller provided by an embodiment of the present invention;

[0022] Figure 2 A flowchart of a firmware upgrade method applied to a host provided by an embodiment of the present invention;

[0023] Figure 3 A structural block diagram of a firmware upgrade system provided by an embodiment of the present invention;

[0024] Figure 4 A schematic diagram of the upgrade activation sequence provided by an embodiment of the present invention;

[0025] Figure 5A schematic diagram of the firmware data transmission timing provided by an embodiment of the present invention;

[0026] Figure 6 A schematic diagram of the upgrade completion sequence provided by an embodiment of the present invention;

[0027] Figure 7 A structural block diagram of a firmware upgrade device provided by an embodiment of the present invention;

[0028] Figure 8 A structural block diagram of another firmware upgrade device provided by an embodiment of the present invention;

[0029] Figure 9 This is a structural block diagram of another firmware upgrade system provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0030] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making any creative efforts shall fall within the scope of protection of the present invention.

[0031] It should be noted that, in the description of the present invention, the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, article, or apparatus comprising a series of elements includes not only those elements but also other elements not explicitly listed, or elements inherent to such process, method, article, or apparatus. The terms "first," "second," etc., in the present invention are used to distinguish similar objects, and are not used to describe a particular order or precedence.

[0032] In order to enable those skilled in the art to better understand the solutions of the present invention, the present invention is further described in detail below with reference to the accompanying drawings and specific implementation methods.

[0033] The management controller (MC) is a crucial component of a server host. It typically monitors the operating status of various server components and manages the server's operations. The MC is an independent system-on-chip (SoC) within the server host, possessing independent hardware resources such as computing and storage, and can operate independently of the server host. With technological advancements, the MC can now manage multiple server hosts.

[0034] In the related art, a server host can control a management controller to perform firmware upgrades using out-of-band management protocols. For example, a server host can use the IPMI HPM protocol (Hardware Package Manager) within the IPMI (Intelligent Platform Management Interface) protocol to control the management controller to perform firmware upgrades. However, out-of-band management protocols are typically based on low-speed bus configurations, such as I2C (Inter-Integrated Circuit) and LPC (Low Pin Count), which significantly reduces communication efficiency between the server host and the management controller. Although out-of-band management protocols such as IPMI over BT (IPMI over Block Transfer) that can communicate over PCIe (Peripheral Component Interconnect Express) links have emerged in the related art, it is difficult for the server host to communicate directly with the management controller, as it does with standard PCIe devices (such as graphics cards). This is because the management controller is a separate system-on-chip (SoC). Therefore, using IPMI over BT requires that the server host's operating system, basic input / output system (BIOS), and management controller all support the protocol. This results in higher implementation costs at the protocol layer.

[0035] More importantly, since the management controller can manage multiple server hosts, that is, the management controller can switch to communicate with different server hosts, if the management controller is switched to communicate with other server hosts when performing a firmware upgrade with the target server host, the transmission between the management controller and the target server host will be interrupted, which will directly affect the reliability of the management controller firmware upgrade.

[0036] In view of this, in order to solve the technical problem of how to control the management controller by the server host to perform firmware upgrades to improve the efficiency and reliability of firmware upgrades, the present invention can provide a firmware upgrade method, wherein firmware can be transmitted between the host and the management controller through a high-speed serial computer expansion bus, and before controlling the management controller to upgrade, the host can request the management controller to lock the bus communication link, thereby effectively improving the efficiency and reliability of the management controller firmware upgrade.

[0037] It should be noted that this embodiment does not limit the specific type of management controller. For example, it can be a baseboard management controller (BMC), iLO, iDRAC, or other management controller. This embodiment also does not limit the number of hosts connected to the management controller, which can be set according to actual application requirements.

[0038] The following first introduces the application of the firmware upgrade method provided by this embodiment in the management controller. Figure 1 , Figure 1 This is a flowchart of a firmware upgrade method for a management controller provided by an embodiment of the present invention. This method is applied to a management controller connected to at least two hosts via a high-speed serial computer expansion bus (PCIe bus). This method may include:

[0039] S101 , setting a logical bus device based on its own storage space, and mounting the logical bus device to each host, so that the host reads and writes the storage space based on a high-speed serial computer extension protocol.

[0040] In this step, the management controller can set up a logical bus device (i.e., a logical PCIe device) based on its own storage space and mount this logical bus device to each host. The purpose of setting up the logical bus device is to ensure that the host can communicate with the logical bus device using the same communication method as a regular PCIe device, that is, to ensure that the host can directly read and write to the storage space within the management controller using the high-speed serial computer extension protocol. This ensures that the host and management controller can directly communicate via PCIe based on this storage space, while also avoiding the need to set up complex communication protocols in the host and management controller, thereby improving data transmission efficiency and reducing communication implementation costs.

[0041] Specifically, since the management controller is an independent system-on-chip, hardware resources capable of configuring logical bus devices can be added to the management controller's board. For example, in addition to using the memory in the management controller to provide storage space, a base address register (BAR) can be set internally to map the storage space to the host operating system, and the address information of the aforementioned storage space can be set in the base address register. In this way, when mounting a logical bus device, the host can map the storage space within the management controller to the host operating system based on the address information in the base address register. Furthermore, the host can read and write the storage space in the management controller just as it operates host memory, thereby further improving the communication efficiency between the host and the management controller.

[0042] Based on this, setting up a logical bus device based on its own storage space can include:

[0043] Step 11: Set the address information of the storage space to its own base address register, and set the logical bus device based on the storage space and the base address register, so that the host maps the storage space to the host operating system according to the base address register.

[0044] It should be noted that this embodiment does not limit the size of the storage space, and it can be set according to actual application requirements. In addition, since the host is stateless when reading and writing the internal storage of an ordinary PCIe device, and the firmware upgrade of the management controller involves multiple stages such as firmware data transmission, firmware upgrade startup, and firmware upgrade completion, it is necessary for the host and the management controller to transmit status through signals. Therefore, this embodiment can also set two areas in the storage space of the management controller, namely the message storage space and the data storage space. Among them, the data transmitted in the message storage space is signal data, and the host and the management controller understand each other's requests and status based on the signal data in the message storage space. The data storage space is used to store firmware data. In other words, after the host writes the firmware data to the data storage space, it needs to send a relevant signal to the management controller through the message storage space to trigger the management controller to retrieve data from the data storage space. For details, please refer to the description in the subsequent embodiments.

[0045] Of course, when the message storage space and the data storage space are set, the logic bus device needs to set a message base address register and a memory base address memory correspondingly for storing the address information of the message storage space and the data storage space respectively.

[0046] S102: upon receiving a link locking signal from the target host from the storage space, setting the bus communication link thereof to remain locked with the target host, and sending a link locking success signal to the target host through the storage space.

[0047] In this step, to prevent the management controller from being switched to communicate with other hosts during the firmware upgrade, resulting in interruption of communication between the management controller and the target host, thereby affecting the firmware upgrade, this embodiment may add a link locking mechanism.

[0048] Specifically, before the target host controls the management controller to perform a firmware upgrade, it must write a link lock signal to the management controller's storage space. Upon receiving this link lock signal, the management controller must lock its bus communication link to the target host. The bus communication link in this case must be at least a high-speed serial computer expansion bus link. In other words, the management controller will only be able to communicate with the target host, not with other hosts, and cannot switch to communicating with other hosts. After completing the link lock, the management controller can send a link lock success signal to the target host via its storage space to initiate the firmware upgrade process.

[0049] It is understandable that the link locking signal and the link locking success signal may be transmitted through the message storage space in the management controller.

[0050] It should be noted that this embodiment does not limit the specific method of locking the bus communication link. This can be achieved through pure software. For example, after locking the link, the management controller can directly ignore the signals and data sent by other hosts. Of course, in order to improve the link locking effect, this embodiment can be further combined with hardware implementation. Specifically, the management controller can be connected to each host through a multiplexer and a high-speed serial computer expansion bus. The multiplexer can be used to switch the management controller to communicate with different hosts through the high-speed serial computer expansion bus. At the software level, this embodiment can set a lock mechanism for the host. Only one host can hold the lock within a period of time, and only the host can release the lock; at the hardware level, this embodiment can set a trigger for the multiplexer. The trigger can be used to adjust and maintain the state of the multiplexer, so that the state of the selector is maintained unchanged while the lock is in effect.

[0051] Based on this, setting the bus communication link to lock with the target host may include:

[0052] Step 21: Set a lock for the target host, and set the multiplexer through a trigger in the multiplexer to keep the bus communication link with the target host open and shield the bus communication link with other hosts.

[0053] It can be seen that in this step, the locking mechanism and the trigger can be used to set the locking state of the bus communication link, thereby improving the locking effect.

[0054] Furthermore, in addition to locking the high-speed serial computer expansion bus, in order to prevent the communication in other buses from affecting the management controller firmware upgrade, this embodiment can also shield the communication between the management controller and other hosts in each bus. For example, the communication between the management controller and other hosts can be shielded in buses such as I2C and LPC, so that other hosts cannot communicate with the management controller through other buses, thereby further improving the reliability of the management controller firmware upgrade.

[0055] Based on this, after setting the bus communication link of the host to be locked with the target host, the following steps may also be included:

[0056] Step 31: Shield the communication between the management controller and other hosts in each bus.

[0057] S103 : When a firmware upgrade signal and an upgrade firmware are received from the storage space, the firmware upgrade is performed according to the firmware upgrade signal and the upgrade firmware.

[0058] In this step, after the management controller completes link locking, the target host can send a firmware upgrade signal and upgrade firmware to the management controller through the storage space to trigger the management controller to perform firmware upgrade according to the firmware upgrade signal and upgrade firmware.

[0059] It should be noted that this embodiment does not limit how the management controller performs firmware upgrade, and reference may be made to related technologies of the management controller.

[0060] Furthermore, after completing the firmware upgrade, the management controller can send an upgrade completion signal to the target host to inform it of the upgrade completion. Upon receiving the upgrade completion signal, the target host can write a link release signal to its storage space, triggering the management controller to release the lock on its bus communication link with the target host, thereby resuming communication between other hosts and the management controller.

[0061] Based on this, the method may further include:

[0062] S104: When the firmware upgrade is completed, an upgrade completion signal is sent to the target host via the storage space.

[0063] S105 : When receiving a link release signal sent by the target host from the storage space, releasing the lock between the bus communication link thereof and the target host.

[0064] In step S105, since this embodiment can achieve link locking through a lock mechanism and a trigger, when releasing the link, the lock can be released for the target host, and the trigger in the multiplexer can be used to set the multiplexer to release the bus communication link with other hosts.

[0065] Based on this, releasing the lock between the bus communication link itself and the target host may include:

[0066] Step 41: Release the lock for the target host, and set the multiplexer to release the bus communication link with other hosts through a trigger in the multiplexer.

[0067] Based on the above embodiments, in the present invention, a management controller can be connected to at least two hosts via a high-speed serial computer expansion bus. The high-speed serial computer expansion bus is a high-speed bus that can improve the efficiency of data transmission between the management controller and the hosts. At the same time, the management controller can set a logical bus device based on its own storage space and mount the logical bus device to each host, allowing the host to read and write to the storage space based on the high-speed serial computer expansion protocol. In other words, the host can operate the above-mentioned logical bus device in the same way as an ordinary bus device and can read and write to the storage space based on the high-speed serial computer expansion protocol. During the firmware upgrade process, upon receiving a link lock signal sent by the target host from the storage space, the management controller sets its own bus communication link to remain locked with the target host and sends a link lock success signal to the target host via the storage space. Subsequently, upon receiving a firmware upgrade signal and upgrade firmware from the host from the storage space, the management controller performs a firmware upgrade based on the firmware upgrade signal and the upgrade firmware. In other words, before controlling the management controller to perform a firmware upgrade, the host can request the management controller to set the management controller's bus communication link to remain locked with the target host, and can control the management controller to perform a firmware upgrade after confirming that the lock is successful. This can prevent the management controller from being switched to communicate with other hosts during the upgrade process, thereby ensuring the reliability of the management controller's firmware upgrade.

[0068] Based on the above embodiment, the firmware upgrade process is further described below based on the message storage space and data storage space. Based on this, the base address register includes a message base address register and a memory base address register. The host maps the message storage space to the host operating system according to the message base address register, and maps the data storage space to the host operating system according to the memory base address register. This method may also include:

[0069] S201. When a link locking signal sent by a target host is received from a message storage space, the bus communication link thereof is set to remain locked with the target host, and a link locking success signal is sent to the target host via the message storage space.

[0070] In this step, the target host can send a link lock signal to the management controller via the message storage space, and receive a link lock success signal from the management controller via the message storage space. Upon receiving the link lock signal, the management controller is responsible for setting its own bus communication link to remain locked with the target host and returning a link lock success signal after locking.

[0071] S202: When a data transmission request signal sent by the target host is received from the message storage space, firmware data for upgrading the firmware is received from the data storage space, and a data reception completion signal is sent to the target host through the message storage space.

[0072] In this step, the target host first writes the firmware data for the firmware upgrade to the data storage space and then sends a data transfer request signal to the message storage space. Upon receiving the data transfer request signal from the message storage space, the management controller reads the firmware data from the data storage space and returns a data reception completion signal to the target host upon completion. The firmware data can be all or part of the firmware upgrade data.

[0073] Furthermore, as the functions of the management controller become more complex, the size of its firmware files becomes larger and larger, which easily makes it difficult for the data storage space to fully store the upgraded firmware. Therefore, in one embodiment, the target host can transmit the upgraded firmware in segments. Specifically, the target host can write the first segment of firmware data to the data storage space, and send a data transmission request signal through the message storage space to trigger the management controller to take away the first segment of firmware data. Subsequently, the target host can write the next segment of firmware data to the data storage space, and send a data addition request signal through the message storage space to trigger the management controller to take away the next segment of firmware data. Repeat the above process until the transmission is stopped when all the firmware data is transmitted.

[0074] Based on this, after sending the data reception completion signal to the target host through the message storage space, the following steps may also be included:

[0075] Step 51: When a data adding request signal sent by the target host is received from the message storage space, firmware data for upgrading the firmware is continued to be received from the data storage space, and a data adding completion signal is sent to the target host through the message storage space.

[0076] S203: When receiving the upgrade start request signal sent by the target host from the message storage space, perform firmware upgrade using the upgrade firmware.

[0077] In this step, upon receiving the upgrade start request signal from the target host via the message storage space, the management controller may initiate the firmware upgrade process. Of course, since the upgrade firmware may be transmitted in segments, upon receiving the upgrade start request signal, the management controller may also merge the individual firmware data copies of the upgrade firmware into the upgrade firmware and use the upgrade firmware to perform the firmware upgrade.

[0078] Based on this, using the upgraded firmware to upgrade the firmware may include:

[0079] Step 61: Merge the firmware data of the upgrade firmware into the upgrade firmware, and use the upgrade firmware to perform firmware upgrade.

[0080] Furthermore, to facilitate the target host to understand the firmware upgrade process, the management controller may collect firmware upgrade progress information, convert it into an upgrade progress signal, and send it to the target host via the message storage space.

[0081] Based on this, the process of upgrading the firmware using the upgrade firmware also includes:

[0082] Step 71: Obtain the firmware upgrade progress, and send an upgrade progress signal to the target host through the message storage space according to the firmware upgrade progress.

[0083] S204: When the firmware upgrade is completed, an upgrade completion signal is sent to the target host via the message storage space.

[0084] S205 : When receiving a link release signal sent by the target host from the message storage space, releasing the lock between the bus communication link thereof and the target host.

[0085] In steps S204-S205, upon completing the firmware upgrade, the management controller can send an upgrade completion signal to the target host via the message storage space, triggering the target host to release the link. Subsequently, upon receiving a link release signal from the target host via the message storage space, the management controller can release the lock between its bus communication link and the target host.

[0086] Based on the above embodiment, the implementation of the firmware upgrade method provided by this embodiment on the host side is introduced below. Please refer to Figure 2 , Figure 2 This is a flowchart of a firmware upgrade method applied to a host provided by an embodiment of the present invention. This method is applied to a host, and a management controller is connected to at least two hosts via a high-speed serial computer expansion bus. This method may include:

[0087] S301 , mounting a logical bus device to read and write a storage space of the logical bus device based on a high-speed serial computer extension protocol; the logical bus device is based on a storage space setting of a management controller.

[0088] In this step, the management controller can set up a logical bus device (i.e., a logical PCIe device) based on its own storage space, and the host can mount the logical bus device to the host operating system. This ensures that the host can communicate with the logical bus device based on the same communication method as ordinary PCIe devices, that is, ensures that the host can directly read and write the storage space inside the management controller based on the high-speed serial computer extension protocol, thereby not only improving the communication efficiency between the host and the management controller, but also avoiding the introduction of complex communication protocols in the host and the management controller.

[0089] Specifically, the management controller can configure the aforementioned logical bus device based on its own storage space and base address register, and can set the address information of the aforementioned storage space in the base address register. Thus, when mounting the logical bus device, the host can map the storage space within the management controller to the host operating system based on the address information in the base address register. Furthermore, the host can read and write to the storage space in the management controller as if it were operating host memory, further improving communication efficiency between the host and the management controller.

[0090] Based on this, mounting the logical bus device may include:

[0091] Step 81: Read the base address register of the logical bus device, and map the storage space to the host operating system according to the address information recorded in the base address register.

[0092] S302: Send a link locking signal to the storage space, so that the management controller sets its bus communication link to remain locked with the host.

[0093] In this step, to prevent the management controller from switching to communicate with other hosts during a firmware upgrade, potentially disrupting communication between the management controller and the target host and thus affecting the firmware upgrade, the host must write a link lock signal to the management controller's storage space before controlling the management controller to perform a firmware upgrade. This triggers the management controller to lock its bus communication link with the host. At this point, the management controller can only communicate with the host itself, not with other hosts, and cannot switch to communicating with other hosts. This effectively prevents other hosts from interfering with the baseboard management controller's firmware upgrade, thereby improving the reliability of the management controller's firmware upgrade.

[0094] S303 : When the link locking success signal sent by the management controller is received through the storage space, a firmware upgrade signal and the upgrade firmware are sent to the storage space, so that the management controller performs the firmware upgrade according to the firmware upgrade signal and the upgrade firmware.

[0095] In this step, after determining that the management controller completes link locking, the host can send a firmware upgrade signal and upgrade firmware to the management controller through the storage space to trigger the management controller to perform firmware upgrade according to the firmware upgrade signal and upgrade firmware.

[0096] Furthermore, after completing the firmware upgrade, the management controller can send an upgrade completion signal to the host to inform it of the upgrade completion. Upon receiving the upgrade completion signal, the host can write a link release signal to its storage space to trigger the management controller to release the lock between its bus communication link and the target host, thereby resuming communication between other hosts and the management controller.

[0097] Based on this, the method may further include:

[0098] S304 : When the upgrade completion signal sent by the management controller is received through the storage space, a link release signal is sent through the storage space to enable the management controller to release the lock between its bus communication link and the host.

[0099] Based on the above embodiment, the above firmware upgrade process is further described below based on the message storage space and data storage space. In one embodiment, the base address register includes a message base address register and a memory base address register. The host maps the message storage space to the host operating system according to the message base address register, and maps the data storage space to the host operating system according to the memory base address register. This method may also include:

[0100] S401: Send a link locking signal to the message storage space to enable the management controller to set its bus communication link to remain locked with the host.

[0101] In this step, the link locking signal may be sent via the message storage space.

[0102] S402: When a link locking success signal is received from the management controller through the message storage space, firmware data of the upgraded firmware is written into the data storage space, and a data transmission request signal is sent through the message storage space to enable the management controller to read the firmware data from the data storage space.

[0103] In this step, upon determining that the link is locked, the host may first write the firmware data for the firmware upgrade to the data storage space and then send a data transfer request signal to the message storage space. Upon receiving the data transfer request signal from the message storage space, the management controller may read the firmware data from the data storage space and, upon completion of the read, return a data reception completion signal to the target host.

[0104] Furthermore, as the functions of the management controller become more complex, the size of its firmware files becomes larger and larger, which easily makes it difficult for the data storage space to fully store the upgraded firmware. Therefore, in one embodiment, the host can transmit the upgraded firmware in segments. Specifically, the host can write the first segment of firmware data to the data storage space, and send a data transmission request signal through the message storage space to trigger the management controller to take away the first segment of firmware data. Subsequently, the host can write the next segment of firmware data to the data storage space, and send a data addition request signal through the message storage space to trigger the management controller to take away the next segment of firmware data. The host can repeat the above process until all the firmware data is transmitted and stop the transmission.

[0105] Based on this, after sending the data transmission request signal through the message storage space, the following steps may also be included:

[0106] Step 91: Continue to send firmware data for upgrading firmware to the data storage space, send a data adding request signal through the message storage space, so that the management controller continues to receive firmware data for upgrading firmware from the data storage space, and sends a data adding completion signal to the host through the message storage space.

[0107] S403: When it is determined that the upgrade firmware has been transmitted completely, a start upgrade request signal is sent to the message storage space, so that the management controller uses the upgrade firmware to perform firmware upgrade.

[0108] In this step, when the host determines that the upgrade firmware has been transmitted, it can send an upgrade start request signal through the message storage space to enable the management controller to perform firmware upgrade using the upgrade firmware.

[0109] Furthermore, to facilitate the host to understand the firmware upgrade progress, the management controller can send an upgrade progress signal through the message storage space. Furthermore, the host can receive the upgrade progress signal through the message storage space and output the upgrade progress of the management controller according to the upgrade progress signal.

[0110] Based on this, the method may further include:

[0111] Step 1101: receiving an upgrade progress signal through a message storage space, and outputting the upgrade progress of the management controller according to the upgrade progress signal.

[0112] Furthermore, to promptly detect any anomalies in the management controller during firmware upgrades, the host can monitor the message storage space and record the feedback duration of each signal sent by the management controller. The host can then determine whether the feedback duration exceeds a preset time. If so, the host can determine that the management controller has experienced an upgrade anomaly and resend the firmware upgrade signal and firmware to the storage space to re-execute the firmware upgrade process.

[0113] Based on this, the method may further include:

[0114] Step 1201: Monitor the message storage space and record the feedback duration of each signal sent by the management controller;

[0115] Step 1202: When it is determined that the feedback time exceeds the preset time, the firmware upgrade signal is resent to the storage space and the firmware is upgraded.

[0116] S404: When the upgrade completion signal sent by the management controller is received through the message storage space, a link release signal is sent through the message storage space to enable the management controller to release the lock between its bus communication link and the host.

[0117] In this step, when the target host receives the upgrade completion signal sent by the management controller through the message storage space, it can send a link release signal through the message storage space to trigger the management controller to release the lock between its bus communication link and the host, thereby facilitating other hosts to communicate with the management controller.

[0118] Based on the above embodiment, the above firmware upgrade method is fully introduced below based on a specific schematic diagram. Figure 3 , Figure 3 This is a structural block diagram of a firmware upgrade system provided by an embodiment of the present invention. The system may include:

[0119] Host module:

[0120] The control signal module interacts with the management controller's control signal module through the Msg BAR (Message Base Address Register) of the logical bus device (H2B device, host-to-BMC). This module transmits firmware upgrade control signals, sends upgrade activation signals to lock the management controller device link, sends data transmission signals to notify the management controller to receive data, and sends upgrade completion signals to unlock the management controller device link. The module also receives status signals from the management controller at each stage to monitor the upgrade process.

[0121] Data signal module: exchanges firmware upgrade data with the management controller through the logical bus device Mem BAR (memory base address register), and uses the high-speed transmission characteristics of the PCIe channel to quickly complete firmware data transmission, saving upgrade time.

[0122] Upgrade monitoring module: During the firmware upgrade on the management controller side, the control signal module on the management controller side must regularly send the completion progress so that the firmware upgrade tool on the host side can monitor the completion progress.

[0123] Management Controller Module:

[0124] Link status control module: controls the status of the router. When receiving a link status maintenance request from the control signal module in the management controller, the router status can be locked until a recovery request from the control signal module in the management controller is received. The router's operable status is restored. At this time, other hosts can initiate a management controller device switching request to switch the management controller device to other hosts, ensuring that during the management controller firmware upgrade, the device link is always connected to the host that initiated the upgrade request to ensure the integrity of the data channel. In specific implementation, a lock mechanism can be used. Only one host can hold the lock within a period of time, and only the host can release the lock. At the hardware level, a trigger can be used to maintain the status of the router unchanged while the lock is in effect.

[0125] Control signal module: interacts with the host-side control signal module through the logical bus device Msg BAR, transmits control signals during firmware upgrade, sends an upgrade activation completion signal to notify the host side to send firmware data, sends a data reception completion signal to notify the host to start a timer to monitor the upgrade process, and sends a firmware update completion signal to notify the host to perform resource release operations.

[0126] Data signal module: receives the management controller firmware upgrade data sent by the host side through the logical bus device Mem BAR, completes the transmission of the management controller firmware upgrade data from the host to the management controller, and triggers the management controller firmware upgrade.

[0127] Upgrade activation sequence description:

[0128] Please refer to Figure 4 , Figure 4 Before upgrading, it is necessary to ensure that the management controller device establishes a link with the host that initiates the upgrade request, so that the upgrade tool can exchange control signals with the management controller through the logical bus device.

[0129] 1) Sending an upgrade activation signal: The host sends an upgrade activation signal to the management controller through the control signal module to ensure that the management controller device link will not be disconnected due to a path switching request initiated by other hosts during the upgrade. After receiving the upgrade activation signal, the management controller requests the link status control module to enable the link maintenance mechanism.

[0130] 2) Enable the link maintenance mechanism: The link state control module starts the trigger to maintain the current routing signal state and starts the lock mechanism to ensure that the management controller device routing requests of other hosts are invalid. Only the host that initiates the upgrade activation signal can release the lock resource through the upgrade success signal.

[0131] 3) Return activation success signal: The management controller returns an activation success signal. After receiving it, the host side starts the firmware data transmission process.

[0132] Firmware data transmission timing description:

[0133] Please refer to Figure 5 , Figure 5 This is a schematic diagram of the firmware data transmission timing provided by an embodiment of the present invention. The specific process is as follows:

[0134] 1) Initiate a data transfer request: The host writes the firmware data to the logical bus device MemBAR through the data signal module, and sends a data transfer request to the management controller through the control signal module. The request information includes the length of the data written to the MemBAR space. After receiving the data transfer request, the management controller reads the firmware data in the MemBAR through the data signal module.

[0135] 2) Initiate a data append request: To deal with the situation where the firmware data length exceeds the Mem BAR space, the host side can send the firmware data in segments. The host writes the remaining firmware data to the logical bus device Mem BAR through the data signal module, and sends a data append request to the management controller through the control signal module. After receiving the data append request, the management controller side reads the firmware data in the Mem BAR through the data signal module and appends the data to the read firmware data to ensure the integrity of the firmware data.

[0136] 3) Sending a Data Transfer Completion Signal: After all firmware data transfers are complete, the host sends a data transfer completion signal and starts a timer and the upgrade monitoring module. The timer ensures that a repair mechanism can be triggered if the firmware upgrade operation is not completed within the specified time. The upgrade monitoring module receives progress information from the management controller during the upgrade. After receiving the data transfer completion signal, the management controller initiates the upgrade process and periodically transmits upgrade progress information to the host-side upgrade monitoring module via the control signal module.

[0137] Upgrade completion timing description:

[0138] Please refer to Figure 6 , Figure 6 This is a schematic diagram of the upgrade completion sequence provided by an embodiment of the present invention. The specific process is as follows:

[0139] 1) Sending firmware upgrade progress signal: During the upgrade process, the management controller regularly transmits the upgrade progress information to the host upgrade monitoring module through MsgBAR to update the upgrade progress information in the firmware upgrade tool in the host.

[0140] 2) Sending a firmware upgrade completion signal: After the management controller completes the firmware upgrade and runs the upgraded firmware, it sends a firmware upgrade completion signal to the host. After receiving the signal, the host performs the final operations of the upgrade, such as clearing resources and clearing Mem BAR space, and sends a link release request control signal to the management controller.

[0141] 3) Release link occupation: After receiving the link release request control signal, the management controller requests the link status control module to release the lock resources and restore the trigger status so that other hosts can normally execute the management controller device switching request.

[0142] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus the necessary general hardware platform, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method.

[0143] Please refer to Figure 7 , Figure 7 This is a block diagram of a firmware upgrade device provided by an embodiment of the present invention. The device is applied to a management controller, which is connected to at least two hosts via a high-speed serial computer expansion bus. The device may include:

[0144] The logical bus device setting module 701 is used to set a logical bus device based on its own storage space and mount the logical bus device to each host so that the host can read and write the storage space based on the high-speed serial computer extension protocol;

[0145] The link locking module 702 is configured to, upon receiving a link locking signal from the target host from the storage space, lock its own bus communication link with the target host and send a link locking success signal to the target host via the storage space;

[0146] The firmware upgrade module 703 is configured to perform firmware upgrade according to the firmware upgrade signal and the upgrade firmware when receiving the firmware upgrade signal and the upgrade firmware sent by the target host from the storage space.

[0147] Optionally, the device may further include:

[0148] The upgrade completion feedback module is used to send an upgrade completion signal to the target host through the storage space when the firmware upgrade is completed;

[0149] The link release module is used to release the lock between its own bus communication link and the target host when receiving a link release signal sent by the target host from the storage space.

[0150] Optionally, the management controller is connected to each host via a multiplexer and a high-speed serial computer expansion bus;

[0151] The link locking module 702 may include:

[0152] The locking submodule is used to set a lock for the target host and set the multiplexer to keep the bus communication link with the target host open and shield the bus communication link with other hosts through a trigger in the multiplexer;

[0153] The link release module may include:

[0154] The release submodule is used to release the lock for the target host and set the multiplexer to release the bus communication link with other hosts through a trigger in the multiplexer.

[0155] Optionally, the device may further include:

[0156] The bus shielding module is used to shield the communication between the management controller and other hosts in each bus.

[0157] Optionally, the logic bus device setting module 701 may be used to:

[0158] The address information of the storage space is set to its own base address register, and a logical bus device is set based on the storage space and the base address register, so that the host maps the storage space to the host operating system according to the base address register.

[0159] Optionally, the base address register includes a message base address register and a memory base address register, and the host maps the message storage space to the host operating system according to the message base address register, and maps the data storage space to the host operating system according to the memory base address register;

[0160] The link locking module 702 may be used to:

[0161] When receiving a link lock signal sent by the target host from the message storage space, the bus communication link of the bus is set to be locked with the target host, and a link lock success signal is sent to the target host through the message storage space;

[0162] The firmware upgrade module 703 may include:

[0163] The firmware receiving submodule is used to receive the firmware data of the upgraded firmware from the data storage space when receiving the data transmission request signal sent by the target host from the message storage space, and send a data reception completion signal to the target host through the message storage space;

[0164] The firmware upgrade submodule is used to upgrade the firmware using the upgrade firmware when receiving a start upgrade request signal sent by the target host from the message storage space.

[0165] Optionally, the firmware upgrade module 703 may further include:

[0166] The data adding submodule is used to continue receiving the firmware data of the upgraded firmware from the data storage space when receiving the data adding request signal sent by the target host from the message storage space, and send a data adding completion signal to the target host through the message storage space;

[0167] The firmware merging submodule is used to merge the firmware data of the upgrade firmware into the upgrade firmware, and use the upgrade firmware to perform the firmware upgrade.

[0168] Optionally, the firmware upgrade module 703 may further include:

[0169] The progress feedback module is used to obtain the firmware upgrade progress and send an upgrade progress signal to the target host through the message storage space according to the firmware upgrade progress.

[0170] Please refer to Figure 8 , Figure 8 This is a structural block diagram of another firmware upgrade device provided by an embodiment of the present invention. The device is applied to a host, and a management controller is connected to at least two hosts via a high-speed serial computer expansion bus. The device method includes:

[0171] The device mounting module 801 is used to mount the logical bus device to read and write the storage space of the logical bus device based on the high-speed serial computer extension protocol; the logical bus device is based on the storage space setting of the management controller;

[0172] A link locking module 802 is configured to send a link locking signal to the storage space so that the management controller sets its bus communication link to remain locked with the host;

[0173] The firmware upgrade module 803 is configured to send a firmware upgrade signal and upgrade firmware to the storage space when receiving a link lock success signal sent by the management controller through the storage space, so that the management controller performs firmware upgrade according to the firmware upgrade signal and upgrade firmware.

[0174] Optionally, the device further comprises:

[0175] The link release module is used to send a link release signal through the storage space when receiving the upgrade completion signal sent by the management controller through the storage space, so that the management controller releases the lock between its bus communication link and the host.

[0176] Optionally, the device mounting module 801 may be used to:

[0177] Read the base address register of the logical bus device and map the storage space to the host operating system according to the address information recorded in the base address register.

[0178] Optionally, the base address register includes a message base address register and a memory base address register, and the host maps the message storage space to the host operating system according to the message base address register, and maps the data storage space to the host operating system according to the memory base address register;

[0179] The link locking module 802 may be used to:

[0180] A link lock signal is sent to the message storage space;

[0181] The firmware upgrade module 803 may include:

[0182] a firmware transmission submodule, configured to write firmware data for upgrading the firmware into the data storage space upon receiving a link locking success signal sent by the management controller through the message storage space, and to send a data transmission request signal through the message storage space so that the management controller reads the firmware data from the data storage space;

[0183] The upgrade trigger submodule is used to send an upgrade start request signal to the message storage space when it is determined that the upgrade firmware has been transmitted, so that the management controller uses the upgrade firmware to perform firmware upgrade.

[0184] Optionally, the firmware upgrade module 803 may further include:

[0185] The data adding submodule is used to continue to send the firmware data of the upgraded firmware to the data storage space, send a data adding request signal through the message storage space, so that the management controller continues to receive the firmware data of the upgraded firmware from the data storage space, and send a data adding completion signal to the host through the message storage space.

[0186] Optionally, the firmware upgrade module 803 may further include:

[0187] The anomaly detection module is used to monitor the message storage space and record the feedback duration of each signal sent by the management controller; when it is determined that the feedback duration exceeds the preset duration, the firmware upgrade signal and the upgraded firmware are resent to the storage space.

[0188] Optionally, the firmware upgrade module 803 may further include:

[0189] The upgrade progress collection module is used to receive the upgrade progress signal through the message storage space and output the upgrade progress of the management controller according to the upgrade progress signal.

[0190] For the description of the features in the embodiment corresponding to the firmware upgrade device, please refer to the relevant description of the embodiment corresponding to the firmware upgrade method, and no further details will be given here.

[0191] Please refer to Figure 9 , Figure 9 This is a block diagram of another firmware upgrade system provided by an embodiment of the present invention. This system may include a management controller 10 and at least two hosts 20. The management controller 10 may be connected to the hosts 20 via a high-speed serial bus. For example, the management controller may be connected to a high-speed serial bus interface in each host.

[0192] The management controller 10 is configured to execute the firmware upgrade method applied to the management controller 10;

[0193] The host 20 is configured to execute the firmware upgrade method applied to the host 20 .

[0194] An embodiment of the present invention further provides a computer-readable storage medium, in which a computer program is stored. The computer program is configured to execute the steps of any of the above firmware upgrade method embodiments when running.

[0195] In an exemplary embodiment, the computer-readable storage medium may include, but is not limited to, various media that can store computer programs, such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk, or an optical disk.

[0196] An embodiment of the present invention further provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the steps of any of the above firmware upgrade method embodiments are implemented.

[0197] An embodiment of the present invention further provides another computer program product, including a non-volatile computer-readable storage medium, wherein the non-volatile computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of any of the above-mentioned firmware upgrade method embodiments are implemented.

[0198] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the above description has generally described the components and steps of each example according to their functions. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the present invention.

[0199] The above is a detailed introduction to a firmware upgrade method, system, program product, and storage medium provided by the present invention. Specific examples are used herein 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 principles of the present invention, the present invention can also be improved and modified in a number of ways, and these improvements and modifications also fall within the scope of protection of the present invention.

Claims

1. A firmware upgrade method, characterized in that: Applied to a management controller, the management controller is connected to at least two hosts via a high-speed serial computer expansion bus, the method comprising: Setting a logical bus device based on its own storage space, and mounting the logical bus device to each of the hosts, so that the hosts can read and write the storage space based on a high-speed serial computer extension protocol; When receiving a link locking signal sent by the target host from the storage space, setting its own bus communication link to remain locked with the target host, and sending a link locking success signal to the target host through the storage space; When the firmware upgrade signal and the upgrade firmware sent by the target host are received from the storage space, the firmware upgrade is performed according to the firmware upgrade signal and the upgrade firmware.

2. The firmware upgrade method according to claim 1, wherein: Also includes: When the firmware upgrade is completed, sending an upgrade completion signal to the target host through the storage space; When receiving a link release signal sent by the target host from the storage space, the lock between the bus communication link of the storage space and the target host is released.

3. The firmware upgrade method according to claim 2, wherein: The management controller is connected to each of the hosts via a multiplexer and the high-speed serial computer expansion bus; Sets its own bus communication link to remain locked with the target host, including: Setting a lock for the target host, and setting the multiplexer via a trigger in the multiplexer to keep the bus communication link with the target host open and shield the bus communication link with other hosts; Releasing the lock between the bus communication link of the host and the target host, including: The lock is released for the target host, and the multiplexer is set to release the bus communication link with other hosts via a trigger in the multiplexer.

4. The firmware upgrade method according to claim 1, wherein: Set up logical bus devices based on their own storage space, including: The address information of the storage space is set to its own base address register, and the logical bus device is set based on the storage space and the base address register, so that the host maps the storage space to the host operating system according to the base address register.

5. The firmware upgrade method according to claim 4, wherein: The base address register includes a message base address register and a memory base address register, and the host maps the message storage space to the host operating system according to the message base address register, and maps the data storage space to the host operating system according to the memory base address register; When receiving a link lock signal sent by the target host from the storage space, setting the bus communication link thereof to remain locked with the target host, and sending a link lock success signal to the target host through the storage space, including: When receiving a link locking signal sent by the target host from the message storage space, setting its own bus communication link to remain locked with the target host, and sending a link locking success signal to the target host through the message storage space; When receiving the firmware upgrade signal and the upgrade firmware sent by the target host from the storage space, performing the firmware upgrade according to the firmware upgrade signal and the upgrade firmware, including: When a data transmission request signal sent by the target host is received from the message storage space, the firmware data of the upgraded firmware is received from the data storage space, and a data reception completion signal is sent to the target host through the message storage space; When a start-up upgrade request signal sent by the target host is received from the message storage space, the firmware upgrade is performed using the upgrade firmware.

6. The firmware upgrade method according to claim 5, wherein: After sending a data reception completion signal to the target host through the message storage space, the method further includes: When a data adding request signal sent by the target host is received from the message storage space, the firmware data of the upgraded firmware is continued to be received from the data storage space, and a data adding completion signal is sent to the target host through the message storage space; Performing a firmware upgrade using the upgrade firmware includes: The firmware data of each upgrade firmware are merged into the upgrade firmware, and the upgrade firmware is used to perform the firmware upgrade.

7. The firmware upgrade method according to claim 5, wherein: The process of using the upgrade firmware to perform firmware upgrade also includes: The firmware upgrade progress is acquired, and an upgrade progress signal is sent to the target host through the message storage space according to the firmware upgrade progress.

8. A firmware upgrade method, characterized in that: Applied to a host, a management controller is connected to at least two of the hosts via a high-speed serial computer expansion bus, and the method includes: Mounting a logical bus device to read and write a storage space of the logical bus device based on a high-speed serial computer extension protocol; the logical bus device is set based on the storage space of the management controller; sending a link lock signal to the storage space so that the management controller sets its bus communication link to remain locked with the host; When a link locking success signal sent by the management controller is received through the storage space, a firmware upgrade signal and upgrade firmware are sent to the storage space, so that the management controller performs firmware upgrade according to the firmware upgrade signal and the upgrade firmware.

9. The firmware upgrade method according to claim 8, wherein: Also includes: When the upgrade completion signal sent by the management controller is received through the storage space, a link release signal is sent through the storage space to enable the management controller to release the lock between its bus communication link and the host.

10. The firmware upgrade method according to claim 8, wherein: Mounting the logical bus device includes: The base address register of the logical bus device is read, and the storage space is mapped to the host operating system according to the address information recorded in the base address register.

11. The firmware upgrade method according to claim 10, wherein: The base address register includes a message base address register and a memory base address register, and the host maps the message storage space to the host operating system according to the message base address register, and maps the data storage space to the host operating system according to the memory base address register; The link locking signal sent to the storage space includes: a link locking signal sent to the message storage space; When a link locking success signal sent by the management controller is received through the storage space, a firmware upgrade signal and an upgrade firmware are sent to the storage space, comprising: When a link locking success signal sent by the management controller is received through the message storage space, the firmware data of the upgraded firmware is written into the data storage space, and a data transmission request signal is sent through the message storage space to enable the management controller to read the firmware data from the data storage space; When it is determined that the transmission of the upgrade firmware is completed, a start upgrade request signal is sent to the message storage space, so that the management controller uses the upgrade firmware to perform firmware upgrade.

12. The firmware upgrade method according to claim 11, wherein: After sending the data transmission request signal through the message storage space, the method further includes: Continue to send the firmware data of the upgraded firmware to the data storage space, send a data addition request signal through the message storage space, so that the management controller continues to receive the firmware data of the upgraded firmware from the data storage space, and sends a data addition completion signal to the host through the message storage space.

13. The firmware upgrade method according to claim 11, wherein: Also includes: monitoring the message storage space and recording the feedback duration of each signal sent by the management controller; When it is determined that the feedback duration exceeds the preset duration, a firmware upgrade signal is resent to the storage space and the firmware is upgraded.

14. The firmware upgrade method according to claim 11, wherein: Also includes: An upgrade progress signal is received through the message storage space, and the upgrade progress of the management controller is output according to the upgrade progress signal.

15. A firmware upgrade system, characterized in that: It includes a management controller and at least two hosts, wherein the management controller is connected to the hosts via a high-speed serial computer expansion bus; The management controller is configured to execute the firmware upgrade method according to any one of claims 1 to 7; The host is used to execute the firmware upgrade method according to any one of claims 8 to 14.

16. A computer program product comprising a computer program or instructions, characterized in that When the computer program or instruction is executed by a processor, the firmware upgrade method according to any one of claims 1 to 7 or the firmware upgrade method according to any one of claims 8 to 14 is implemented.

17. A non-volatile computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, which, when loaded and executed by a processor, implement the firmware upgrade method according to any one of claims 1 to 7 or the firmware upgrade method according to any one of claims 8 to 14.

Citation Information

Patent Citations

  • Firmware upgrading method and device

    CN115981698A

  • Firmware upgrading method, computer program product, equipment and storage medium

    CN119127265A