BMC firmware upgrading method and system in offline state

By deploying intelligent BMC firmware storage devices and BMC upgrade and repair modules in the server, the automatic upgrade of BMC firmware is realized when the network is disconnected, solving the problem of the inability to upgrade firmware in the existing technology when the network fails, improving management efficiency and security, and avoiding the problem of redundant backup areas occupying storage resources.

CN119988105AActive Publication Date: 2025-05-13四川华鲲振宇智能科技有限责任公司

Patent Information

Application Number
CN202510474048.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-16
Publication Date
2025-05-13
Estimated Expiration
2045-04-16

AI Technical Summary

Technical Problem

The existing technology cannot upgrade BMC firmware in case of network failure, resulting in security vulnerabilities and performance problems, requiring a large amount of human resources to manage, inefficient maintenance, and redundant backup areas of the equipment occupy storage resources, reducing space utilization.

Method used

Deploy intelligent BMC firmware storage devices and BMC upgrade and repair modules in the server to automatically upgrade BMC firmware when the network is disconnected, and ensure that the server can automatically respond to upgrade requests when the network is disconnected.

Benefits of technology

It realizes automatic upgrade of BMC firmware when the network is disconnected, improves the automation and efficiency of server management, reduces management complexity and security risks, and avoids the problem of redundant backup areas occupying storage resources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119988105A_ABST
    Figure CN119988105A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of server management and firmware upgrading, and particularly relates to a BMC firmware upgrading method and system in an offline state, and the method comprises the steps: firstly deploying an intelligent BMC firmware storage device in a server; then, the server detects that BMC firmware upgrading or repairing needs to be carried out, a specified abnormal request signal is sent to the intelligent BMC firmware storage device, and the intelligent BMC firmware storage device analyzes the abnormal request signal; the intelligent BMC firmware storage device generates a response, specifies a BMC firmware version according to the server, and sends corresponding BMC firmware version data to the BMC firmware; the BMC firmware receives the firmware version data and verifies the firmware version data; and the BMC firmware executes automatic upgrading according to the firmware version data, and writes new and verified BMC firmware version data into the BMC chip. Automatic upgrading and maintenance of the BMC firmware in the offline state are achieved, and the reliability, stability and efficiency of the server are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of server management and firmware upgrade, and in particular relates to an offline BMC firmware upgrade method and system. Background Art

[0002] In modern data centers and server management, the role of Baseboard Management Controller (BMC) is becoming increasingly important. BMC is an embedded management controller that allows administrators to remotely monitor, manage, and maintain server hardware and firmware, including server power, temperature, fan speed, logging, and most critically, firmware updates.

[0003] BMC firmware upgrade is one of the key links in server maintenance, which ensures that the server has the latest security, performance and stability updates. Existing BMC firmware upgrade technology mainly relies on a stable network connection. This means that BMC firmware upgrade can only be performed when the network connection is normal. In actual operation, the network environment where the server is located may face various problems, such as network failure, configuration error or network attack, which may cause network interruption. In this case, the existing technology cannot perform BMC firmware upgrade, leaving potential security vulnerabilities and performance issues.

[0004] When the network is offline, performing BMC firmware upgrades usually requires physical access to the server. This means that the administrator must go to the server room or data center in person to operate through the serial port or other physical interface. This physical access requirement increases the complexity and cost of maintenance, especially in large-scale server deployments, where a large amount of human resources are required to manage the server's BMC firmware. Since the existing technology requires manual intervention when the network is offline, the server may be in an unsafe state. Administrators may not be able to perform BMC firmware updates in a timely manner to fix known security vulnerabilities, thereby increasing potential risks, especially in environments with high security requirements. The need for physical access to the server and manual operations also leads to inefficient maintenance. Especially when large-scale server maintenance or upgrades are required, a large amount of time and human resources are required, which may delay maintenance work and increase management costs. At the same time, in order to prevent abnormal situations during the upgrade process, a redundant backup area of ​​the device is required, but the redundant backup area of ​​the device will increase the occupancy of server device storage resources and reduce server space utilization.

[0005] Therefore, there is an urgent need to solve the technical problems existing in the prior art, such as the inability to upgrade the BMC firmware when a network failure occurs, resulting in security vulnerabilities, requiring a large amount of human resources to manage the BMC firmware of the server, low maintenance efficiency, and the increase in the occupancy of server device storage resources and reduced server space utilization. Summary of the invention

[0006] The object of the present invention is to provide a BMC firmware upgrade method and system in an offline state, so as to solve the technical problems existing in the prior art that the BMC firmware cannot be upgraded when a network failure occurs, resulting in security vulnerabilities, a large amount of human resources are required to manage the BMC firmware of the server, the maintenance efficiency is low, and setting a redundant backup area for the device increases the occupancy of the storage resources of the server device and reduces the space utilization of the server.

[0007] In order to solve the above technical problems, the technical solution adopted by the present invention is as follows: In a first aspect, a method for upgrading BMC firmware in an offline state is provided, comprising the following steps: S1: deploying an intelligent BMC firmware storage device and a BMC upgrade and repair module in a server, wherein the intelligent BMC firmware storage device stores multiple BMC firmware versions, and starting the server; S2: When the server detects that a BMC firmware upgrade is required, a specified exception request signal is sent to the intelligent BMC firmware storage device, and the intelligent BMC firmware storage device parses the exception request signal to obtain server identification information and a specified BMC firmware version; S3: The intelligent BMC firmware storage device generates a response and sends corresponding BMC firmware version data to the BMC firmware according to the BMC firmware version specified by the server; S4: The BMC firmware receives the firmware version data and verifies it, including the data signature and ensuring that the data has not been tampered with; S5: The BMC firmware automatically upgrades according to the firmware version data, and writes the new and verified BMC firmware version data into the BMC chip; at the same time, the upgrade process is monitored to determine whether there is an upgrade anomaly, wherein the anomaly includes power failure. If so, step S6 is executed; if not, the automatic upgrade process continues; S6: starting the BMC upgrade and repair module, processing abnormal situations in the upgrade process through the BMC upgrade and repair module, and after the abnormal situations are processed, repeating step S5 until the upgrade is successful.

[0008] Preferably, the multiple BMC firmware versions in step S1 are customized according to the manufacturers and models of the corresponding servers and have adaptability and compatibility.

[0009] Preferably, after step S1, a secure local communication protocol needs to be created between the intelligent BMC firmware storage device and the BMC firmware to enable communication between the intelligent BMC firmware storage device and the BMC firmware without an external network.

[0010] Preferably, at the same time as step S3, the intelligent BMC firmware storage device also performs BMC firmware version management, tracks the history of each BMC firmware version, including verification, authentication and release date, and the BMC firmware version data is encrypted to ensure data confidentiality and integrity.

[0011] Preferably, at the same time as step S2, a server disconnection status detection is also performed, including the following specific steps: S21: Start hardware-level heartbeat detection and set the heartbeat time interval in the underlying hardware configuration of the server; S22: within a set time interval, the underlying hardware of the server generates a hardware-level heartbeat signal; S23: The BMC firmware checks the continuity of the heartbeat signal. If the specified number of consecutive heartbeat signals is not received, the server will be marked as disconnected. S24: the BMC firmware triggers an automatic processing procedure, including communicating with the intelligent BMC firmware storage device to request a BMC firmware upgrade; S25: When the server is disconnected from the Internet, the system records relevant events and sends an alarm to notify the administrator; S26: When the network is disconnected, the server will continue to try to send hardware-level heartbeat signals to restore the connection in time when the network is restored.

[0012] Preferably, the underlying hardware of the server in step S22 is part of a mainboard.

[0013] Preferably, during the automatic upgrade process of step S5, the intelligent BMC firmware storage device and the BMC firmware continuously record detailed upgrade process information, including the date, time, version number and verification status of the upgrade.

[0014] Preferably, the specific process of the BMC upgrade repair module in step S6 processing abnormal situations during the upgrade process is as follows: S61: reading the upgrade data of the parameter configuration module in the BMC firmware version to be upgraded in the BMC firmware storage device, and obtaining the upgrade path of the upgrade data; S62: Reading partition information of upgrade data in the BMC firmware version to be upgraded; S63: Checking the legitimacy of partition information of the upgrade data in the BMC firmware version to be upgraded; S64: performing image upgrade of the corresponding partition according to the partition information of the upgrade data in the BMC firmware version to be upgraded, and not upgrading the partition of the loader and the repair program of the BMC upgrade and repair module during the image upgrade process; S65: clearing the upgrade data of the parameter configuration module in the BMC firmware version to be upgraded; S66: The BMC upgrade and repair module completes the abnormal repair of the abnormal power failure and restarts the server.

[0015] In a second aspect, a BMC firmware upgrade system in an offline state is provided, including an intelligent BMC firmware storage device, a BMC firmware upgrade module, a BMC firmware upgrade detection module, a BMC upgrade repair module and a parameter configuration module; the intelligent BMC firmware storage device is connected to the BMC upgrade repair module, the BMC firmware upgrade module is stored in the intelligent BMC firmware storage device, the BMC firmware upgrade detection module is connected to the BMC upgrade repair module and the BMC firmware upgrade detection module, and the parameter configuration module is connected to the BMC firmware upgrade module and the BMC firmware upgrade detection module; The intelligent BMC firmware storage device is used to store the BMC firmware version; The BMC firmware upgrade module is used to upgrade the BMC firmware; The parameter configuration module is used to configure the parameters during the BMC firmware upgrade process; The BMC firmware upgrade detection module is used to detect abnormal conditions during the BMC firmware upgrade process, wherein the abnormal conditions include power failure; The BMC upgrade and repair module is used to handle abnormal situations that occur during the upgrade process.

[0016] The beneficial effects of the present invention include: The offline BMC firmware upgrade method and system provided by the present invention first deploy an intelligent BMC firmware storage device in a server; then the server detects that the BMC firmware needs to be upgraded or repaired, and sends a specified abnormal request signal to the intelligent BMC firmware storage device, and the intelligent BMC firmware storage device parses the abnormal request signal; the intelligent BMC firmware storage device generates a response, and according to the BMC firmware version specified by the server, sends corresponding BMC firmware version data to the BMC firmware; the BMC firmware receives the firmware version data and verifies it; the BMC firmware performs automatic upgrade according to the firmware version data, and writes the new and verified BMC firmware version data into the BMC chip.

[0017] First, through the local area communication protocol between the intelligent BMC firmware storage device and the server, the automatic upgrade and maintenance of the server BMC firmware is realized, ensuring that the server can still communicate with the intelligent storage device when the network connection is unavailable.

[0018] Secondly, the heartbeat detection mechanism in the underlying hardware of the server is used to monitor the normal operation of the server in the case of network disconnection, to detect whether the server is in a disconnected state, and to identify the working status of the server to ensure that appropriate measures are taken when upgrades or repairs are needed, thereby improving the reliability and stability of the server.

[0019] Thirdly, it can automatically detect the BMC firmware version required by the server, request it and upgrade it to the server, and realize automatic upgrade of BMC firmware in the offline state without manual intervention, which improves the automation and efficiency of server management and ensures the timely update and stability of the system.

[0020] Finally, by setting up the BMC upgrade and repair module, we can avoid setting up redundant backup areas for devices, effectively reduce the occupancy of server device storage resources, and improve server space utilization. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] Figure 1 The figure is a flow chart of the offline BMC firmware upgrade method of the present invention.

[0022] Figure 2 The figure is a flow chart of server disconnection status detection according to the present invention.

[0023] Figure 3 The figure is a schematic diagram of the architecture of the BMC firmware upgrade system in the offline state of the present invention. DETAILED DESCRIPTION

[0024] To make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all of the embodiments. The components of the embodiments of the present application usually described and shown in the drawings here can be arranged and designed in various configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.

[0025] The following is combined with Figure 1-Figure 3 The present invention is further described in detail: Example 1 See attached Figure 1 As shown, a method for upgrading BMC firmware in an offline state includes the following steps: S1: deploying an intelligent BMC firmware storage device and a BMC upgrade and repair module in a server, wherein the intelligent BMC firmware storage device stores multiple BMC firmware versions, and starting the server; S2: When the server detects that a BMC firmware upgrade is required, a specified exception request signal is sent to the intelligent BMC firmware storage device, and the intelligent BMC firmware storage device parses the exception request signal to obtain server identification information and a specified BMC firmware version; S3: The intelligent BMC firmware storage device generates a response and sends corresponding BMC firmware version data to the BMC firmware according to the BMC firmware version specified by the server; S4: The BMC firmware receives the firmware version data and verifies it, including the data signature and ensuring that the data has not been tampered with; S5: The BMC firmware performs automatic upgrade according to the firmware version data, and writes the new and verified BMC firmware version data into the BMC chip. During the automatic upgrade process, the intelligent BMC firmware storage device and the BMC firmware continuously record detailed upgrade process information, including the upgrade date, time, version number, and verification status; At the same time, the upgrade process is monitored to determine whether there is an upgrade anomaly, the anomaly includes power failure, if yes, execute step S6, if no, continue the automatic upgrade process; S6: starting the BMC upgrade and repair module, processing abnormal situations in the upgrade process through the BMC upgrade and repair module, and after the abnormal situations are processed, repeating step S5 until the upgrade is successful.

[0026] In the above solution, the intelligent BMC firmware storage device is the core component. Its highly intelligent functions and security solve the problem of BMC firmware upgrade when the network is offline, and also improve the efficiency and security of server maintenance. In addition, the intelligent BMC firmware storage device can adapt to the needs of different server models and manufacturers, and has high flexibility and scalability.

[0027] After step S1, a secure local communication protocol needs to be created between the intelligent BMC firmware storage device and the BMC firmware to enable communication between the intelligent BMC firmware storage device and the BMC firmware without an external network. At the same time as step S3, the intelligent BMC firmware storage device also performs BMC firmware version management, tracking the history of each BMC firmware version, including verification, authentication and release date, and the BMC firmware version data is encrypted to ensure data confidentiality and integrity.

[0028] In another implementation of this embodiment, the BMC firmware upgrade is implemented through the following process to download the BMC firmware: First, the latest BMC firmware version matching the server model needs to be downloaded from the official website of the server manufacturer. Make sure that the downloaded firmware fully matches the server model to avoid incompatibility issues. Prepare upgrade tools and environment: Before upgrading the BMC, you need to prepare a computer that can be remotely connected to the server and install tools that support BMC firmware upgrades. Usually, the manufacturer will provide corresponding tools and documents, which can be obtained from the official website. Connect to the server: Use a serial cable to connect the serial port interface of the server to a management terminal device, such as a computer serial port or a USB to serial cable. Then use a serial terminal software (such as Putty or SecureCRT) to open the serial port connection and set the baud rate, data bit, stop bit and check bit of the serial port to be consistent with the server. Enter the BMC command line: In the serial terminal, find the relevant prompts of BMC and follow the prompts to enter the BMC command line interface. ‌Back up the original BMC data‌: In the BMC command line interface, use the command to back up the original BMC data to prevent data loss or system crash caused by problems during the upgrade process‌. ‌Flash the BMC firmware‌: Upload the latest downloaded BMC firmware file to the server, and use the corresponding command in the BMC command line interface to flash the firmware. A series of prompts and progress bars will appear during the flashing process. Wait patiently until it is completed‌. ‌Verify the BMC firmware‌: After the flashing is complete, restart the server and connect to the BMC command line interface through the serial terminal. Use the command to check the version and status of the BMC firmware to ensure that the upgrade is successful‌.

[0029] Example 2 Based on Example 1, see Figure 2 At the same time as step S2, the server disconnection status detection is also performed, including the following specific steps: S21: Start hardware-level heartbeat detection and set the heartbeat time interval in the underlying hardware configuration of the server; S22: within a set time interval, the underlying hardware of the server generates a hardware-level heartbeat signal, and the underlying hardware of the server is a part of the motherboard; S23: The BMC firmware checks the continuity of the heartbeat signal. If the specified number of consecutive heartbeat signals is not received, the server will be marked as disconnected. S24: the BMC firmware triggers an automatic processing procedure, including communicating with the intelligent BMC firmware storage device to request a BMC firmware upgrade; S25: When the server is disconnected from the Internet, the system can record relevant events and send an alarm to notify the administrator; S26: When disconnected from the network, the server will continue to try to send hardware-level heartbeat signals so that the connection can be restored in time when the network is restored.

[0030] The above heartbeat detection mechanism ensures that the server can monitor its own status before the BMC firmware is normally running, and take automatic measures when necessary, such as requesting a BMC firmware upgrade to restore network connectivity. This mechanism is critical during the server startup process because it protects the server's network connectivity status before the BMC firmware is properly loaded.

[0031] The specific process of the BMC firmware in step S5 performing automatic upgrade according to the firmware version data is as follows: first parse the package configuration ini file u_fw_layout.ini. Extract the values ​​of each field in each upgrade partition item UserPartX (X=1, 2, 3, ...) in the configuration file and save it in the partition table information, then calculate the number of partitions to be upgraded in the upgrade package, fill in the partition table and header information in the upgrade package partition information structure, create the output upgrade package file: u_firmware.img, then write the header and partition table information of the upgrade package into the upgrade package binary file u_firmware.img, and then write the image files corresponding to each partition into the upgrade package binary file u_firmware.img. If the size of the image file is larger than the partition size, an error is returned. If the size of the image file is smaller than the partition size, fill u_firmware.img with null characters after the image file is written so that the image in the upgrade package is equal to the partition size. The purpose is that in the subsequent upgrade process, there is no need to go through the erasure process, but directly fill the corresponding physical partition with the corresponding image in the upgrade package, thereby improving the upgrade efficiency and finally completing the upgrade.

[0032] Example 3 On the basis of Example 1 or Example 2, the specific process of the BMC upgrade repair module in step S6 processing the abnormal situation during the upgrade process is as follows: S61: reading the upgrade data of the parameter configuration module in the BMC firmware version to be upgraded in the BMC firmware storage device, and obtaining the upgrade path of the upgrade data; S62: Reading partition information of upgrade data in the BMC firmware version to be upgraded; S63: Checking the legitimacy of partition information of the upgrade data in the BMC firmware version to be upgraded; S64: performing image upgrade of the corresponding partition according to the partition information of the upgrade data in the BMC firmware version to be upgraded, and not upgrading the partition of the loader and the repair program of the BMC upgrade and repair module during the image upgrade process; S65: clearing the upgrade data of the parameter configuration module in the BMC firmware version to be upgraded; S66: The BMC upgrade and repair module completes the abnormal repair of the abnormal power failure and restarts the server.

[0033] In step S63, the partition information of the upgrade data in the BMC firmware version to be upgraded is checked for legitimacy by checking the magic number (uiFwMagic) of the header information in the partition information to determine whether the magic number of the header information is equal to 0x5559444a. If they are not equal, it is an illegal firmware. If they are equal to 0x5559444a, it is determined to be a legal firmware.

[0034] The purpose of not upgrading the partitions of the loader and the repair program of the BMC upgrade and repair module during the image upgrade in step S64 is to avoid accidents during the recovery of the repair program of the BMC upgrade and repair module, which may cause the repair program of the BMC upgrade and repair module to be unable to be repaired. The upgrade data of the parameter configuration module in the BMC firmware version to be upgraded in step S65 is cleared, which is the process of erasing the upgrade mode mark, to avoid directing the loader to the repair mode after the upgrade is successful.

[0035] ‌See also Figure 3 , a BMC firmware upgrade system in offline state, including an intelligent BMC firmware storage device, a BMC firmware upgrade module, a BMC firmware upgrade detection module, a BMC upgrade repair module and a parameter configuration module; the intelligent BMC firmware storage device is connected to the BMC upgrade repair module, the BMC firmware upgrade module is stored in the intelligent BMC firmware storage device, the BMC firmware upgrade detection module is connected to the BMC upgrade repair module and the BMC firmware upgrade detection module, and the parameter configuration module is connected to the BMC firmware upgrade module and the BMC firmware upgrade detection module. The intelligent BMC firmware storage device is used to store the BMC firmware version; the BMC firmware upgrade module is used to upgrade the BMC firmware; the parameter configuration module is used to configure the parameters during the BMC firmware upgrade process; the BMC firmware upgrade detection module is used to detect abnormal conditions during the BMC firmware upgrade process, and the abnormal conditions include power failure; the BMC upgrade repair module is used to handle abnormal conditions that occur during the upgrade process.

[0036] The offline BMC firmware upgrade method and system provided by the present invention, on the one hand, enables the BMC firmware to be automatically upgraded when the network is offline without physical access to the server. This is crucial for data center and remote server management. No matter where the server is located, even if it cannot be remotely connected, the administrator can still maintain control and upgrade of the BMC firmware to ensure the server's up-to-dateness and stability. On the other hand, through automatic upgrades and communication mechanisms in offline states, the management process is simplified, and operational risks and management complexity are reduced. Administrators can more easily manage the entire server cluster without having to rely on physical contact.

[0037] On the other hand, it provides real-time BMC firmware upgrade and maintenance, which is not limited by the network connection status, ensuring that the server firmware can always keep up to date, increasing the reliability and stability of the system. Even when the network is disconnected, the server can still automatically respond to upgrade requests and provide reliable services. Finally, a secure local area communication protocol is introduced to ensure the confidentiality and integrity of communications. Compared with traditional physical access, this communication method is more secure and reduces potential security risks. Administrators can trust the communication protocol to ensure that data will not be tampered with or leaked during the firmware upgrade process. At the same time, by setting up the BMC upgrade and repair module, it is avoided to set up redundant backup areas for equipment, effectively reducing the occupancy of server equipment storage resources and improving server space utilization.

[0038] The above-mentioned embodiments only express the specific implementation method of the present application, and the description thereof is relatively specific and detailed, but it cannot be understood as limiting the protection scope of the present application. It should be pointed out that, for ordinary technicians in this field, several variations and improvements can be made without departing from the technical solution concept of the present application, and these all belong to the protection scope of the present application.

Claims

1. A method for upgrading BMC firmware in offline state, characterized in that: The following steps are involved: S1: deploying an intelligent BMC firmware storage device and a BMC upgrade and repair module in a server, wherein the intelligent BMC firmware storage device stores multiple BMC firmware versions, and starting the server; S2: When the server detects that a BMC firmware upgrade is required, a specified exception request signal is sent to the intelligent BMC firmware storage device, and the intelligent BMC firmware storage device parses the exception request signal to obtain server identification information and a specified BMC firmware version; S3: The intelligent BMC firmware storage device generates a response and sends corresponding BMC firmware version data to the BMC firmware according to the BMC firmware version specified by the server; S4: The BMC firmware receives the firmware version data and verifies the firmware version data. The verification content includes the data signature to ensure that the data has not been tampered with. S5: The BMC firmware automatically upgrades according to the firmware version data, and writes the new and verified BMC firmware version data into the BMC chip; at the same time, the upgrade process is monitored to determine whether there is an upgrade anomaly, wherein the anomaly includes power failure. If so, step S6 is executed; if not, the automatic upgrade process continues; S6: starting the BMC upgrade and repair module, and processing the abnormal situation in the upgrade process through the BMC upgrade and repair module. After the abnormal situation is processed, repeating step S5 until the upgrade is successful.

2. The offline BMC firmware upgrade method according to claim 1, characterized in that: The multiple BMC firmware versions in step S1 are customized according to the manufacturers and models of the corresponding servers, and have adaptability and compatibility.

3. The offline BMC firmware upgrade method according to claim 1, characterized in that: After step S1, a secure local communication protocol is created between the intelligent BMC firmware storage device and the BMC firmware, so that the intelligent BMC firmware storage device and the BMC firmware can communicate with each other without an external network.

4. The offline BMC firmware upgrade method according to claim 1, characterized in that: At the same time as step S3, the intelligent BMC firmware storage device also performs BMC firmware version management, tracking the history of each BMC firmware version, including verification, authentication and release date, and the BMC firmware version data is encrypted to ensure data confidentiality and integrity.

5. The offline BMC firmware upgrade method according to claim 1, characterized in that: At the same time as step S2, the server disconnection status detection is also performed, including the following specific steps: S21: Start hardware-level heartbeat detection and set the heartbeat time interval in the underlying hardware configuration of the server; S22: within a set time interval, the underlying hardware of the server generates a hardware-level heartbeat signal; S23: The BMC firmware checks the continuity of the heartbeat signal. If the specified number of consecutive heartbeat signals is not received, the server will be marked as disconnected. S24: the BMC firmware triggers an automatic processing procedure, including communicating with the intelligent BMC firmware storage device to request a BMC firmware upgrade; S25: When the server is disconnected from the Internet, the system records relevant events and sends an alarm to notify the administrator; S26: When the network is disconnected, the server will continue to try to send hardware-level heartbeat signals to restore the connection in time when the network is restored.

6. The offline BMC firmware upgrade method according to claim 5, characterized in that: The underlying hardware of the server in step S22 is part of the mainboard.

7. The offline BMC firmware upgrade method according to claim 1, characterized in that: During the automatic upgrade process in step S5, the intelligent BMC firmware storage device and the BMC firmware continuously record detailed upgrade process information, including the date, time, version number, and verification status of the upgrade.

8. The offline BMC firmware upgrade method according to claim 1, characterized in that: The specific process of the BMC upgrade repair module in step S6 processing abnormal situations during the upgrade process is as follows: S61: reading the upgrade data of the parameter configuration module in the BMC firmware version to be upgraded in the BMC firmware storage device, and obtaining the upgrade path of the upgrade data; S62: Reading partition information of upgrade data in the BMC firmware version to be upgraded; S63: Checking the legitimacy of partition information of the upgrade data in the BMC firmware version to be upgraded; S64: performing image upgrade of the corresponding partition according to the partition information of the upgrade data in the BMC firmware version to be upgraded, and not upgrading the partition of the loader and the repair program of the BMC upgrade and repair module during the image upgrade process; S65: clearing the upgrade data of the parameter configuration module in the BMC firmware version to be upgraded; S66: The BMC upgrade and repair module completes the abnormal repair of the abnormal power failure and restarts the server.

9. A BMC firmware upgrade system in an offline state, used to implement a BMC firmware upgrade method in an offline state as described in any one of claims 1 to 8, characterized in that: It includes an intelligent BMC firmware storage device, a BMC firmware upgrade module, a BMC firmware upgrade detection module, a BMC upgrade repair module and a parameter configuration module; the intelligent BMC firmware storage device is connected to the BMC upgrade repair module, the BMC firmware upgrade module is stored in the intelligent BMC firmware storage device, the BMC firmware upgrade detection module is connected to the BMC upgrade repair module and the BMC firmware upgrade detection module, and the parameter configuration module is connected to the BMC firmware upgrade module and the BMC firmware upgrade detection module; The intelligent BMC firmware storage device is used to store the BMC firmware version; The BMC firmware upgrade module is used to upgrade the BMC firmware; The parameter configuration module is used to configure the parameters during the BMC firmware upgrade process; The BMC firmware upgrade detection module is used to detect abnormal conditions during the BMC firmware upgrade process, wherein the abnormal conditions include power failure; The BMC upgrade and repair module is used to handle abnormal situations that occur during the upgrade process.

Citation Information

Patent Citations

  • Firmware upgrade processing method, server system, and storage medium

    CN113760328A

  • Server firmware upgrading method, storage device and terminal

    CN114115984A

  • Firmware upgrading method and device, storage medium, electronic equipment and program product

    CN119356716A

  • Firmware update using rest over IPMI interface

    US10572242B1

Cited By

  • Firmware burning method and electronic equipment

    CN120853650A

  • Firmware programming method and electronic device

    CN120853650B