CN114201197A - Firmware upgrading method and device, electronic equipment and readable storage medium - Google Patents

Firmware upgrading method and device, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN114201197A
CN114201197A CN202111445227.3A CN202111445227A CN114201197A CN 114201197 A CN114201197 A CN 114201197A CN 202111445227 A CN202111445227 A CN 202111445227A CN 114201197 A CN114201197 A CN 114201197A
Authority
CN
China
Prior art keywords
management controller
firmware
upgrade
updated
chassis
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
CN202111445227.3A
Other languages
Chinese (zh)
Inventor
刘传旭
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202111445227.3A priority Critical patent/CN114201197A/en
Publication of CN114201197A publication Critical patent/CN114201197A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

本申请公开了一种固件升级方法、装置、电子设备及可读存储介质。应用于包括机箱管理控制器和多个基板管理控制器的服务器,机箱管理控制器监控管理各基板管理控制器,当存在机箱管理控制器的待更新固件,目标BMC设置升级操作标识,CMC在获取升级操作标识后,向目标BMC反馈升级操作执行指令,同时向其他各基板管理控制器下发进入升级准备状态通知信息。目标BMC在接收到升级操作执行指令,将待更新固件传输至CMC,CMC根据待更新固件执行固件升级操作。本申请在不修改服务器硬件的情况下,实现BMC对CMC的固件升级。

Figure 202111445227

The present application discloses a firmware upgrade method, apparatus, electronic device and readable storage medium. It is applied to a server including a chassis management controller and multiple baseboard management controllers. The chassis management controller monitors and manages each baseboard management controller. When there is firmware to be updated for the chassis management controller, the target BMC sets the upgrade operation identifier, and the CMC obtains the update operation ID. After the upgrade operation identification is made, the upgrade operation execution instruction is fed back to the target BMC, and the notification information of entering the upgrade preparation state is issued to other baseboard management controllers at the same time. After receiving the upgrade operation execution instruction, the target BMC transmits the firmware to be updated to the CMC, and the CMC performs the firmware upgrade operation according to the firmware to be updated. The present application realizes the firmware upgrade of the BMC to the CMC without modifying the server hardware.

Figure 202111445227

Description

Firmware upgrading method and device, electronic equipment and readable storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a firmware upgrading method and apparatus, an electronic device, and a readable storage medium.
Background
The CMC (Chassis Management Controller) is responsible for monitoring and managing the entire Chassis. The BMC (Baseboard Management Controller) can implement functions such as related control and information supervision of a server. The CMC may manage and control BMCs in multiple chassis, and communicate with the BMCs via an IPMB (Intelligent Platform Management BUS) protocol via I2C (Inter-Integrated Circuit, serial transmission BUS). However, when the CMC is not connected to the external network and only the BMC is connected to the external network, the BMC and the CMC can communicate only through the I2C protocol. The CMC is used as a main device to actively send messages and acquire information to the BMC.
Inevitably, both the CMC and the BMC need to be upgraded, and in practical applications, the CMC is usually responsible for upgrading the BMC firmware. In the related technology, when the CMC firmware is upgraded, the CMC can be upgraded on a WEB page through a network for a scene that the CMC is connected with the network; under the condition that the CMC is not connected with an external network, the CMC cannot be directly connected to an operating system, cannot be upgraded in a mode of refreshing a CMC mirror image in band, and can only be refreshed and upgraded in a mode of programming a serial port. The mode of upgrading through serial programming cannot intuitively know the upgrading process of the CMC.
In view of this, how to upgrade firmware of CMC by BMC without modifying server hardware is a technical problem to be solved by those skilled in the art.
Disclosure of Invention
The application provides a firmware upgrading method and device, electronic equipment and a readable storage medium, and firmware upgrading of CMC by BMC can be realized under the condition of not modifying server hardware.
In order to solve the above technical problems, embodiments of the present invention provide the following technical solutions:
an embodiment of the present invention provides a firmware upgrade method, applied to a server including a chassis management controller and a plurality of baseboard management controllers, where the chassis management controller monitors and manages each baseboard management controller, and the method is applicable to a target baseboard management controller, and includes:
when detecting the firmware to be updated of the chassis management controller, setting an upgrade operation identifier, so that the chassis management controller feeds back an upgrade operation execution instruction to the target substrate management controller after acquiring the upgrade operation identifier, and simultaneously issues notification information for entering an upgrade preparation state to other substrate management controllers;
and when the upgrading operation execution instruction is received, transmitting the firmware to be updated to the case management controller so that the case management controller executes firmware upgrading operation.
Optionally, the transmitting the firmware to be updated to the chassis management controller when the upgrade operation execution instruction is received includes:
when the upgrading operation execution instruction is received, entering an upgrading preparation state;
and when a file transmission instruction is received, transmitting the firmware to be updated to the case management controller.
Optionally, the transmitting the firmware to be updated to the chassis management controller when the upgrade operation execution instruction is received includes:
when the upgrading operation execution instruction is received, entering an upgrading preparation state;
and when the chassis management controller stops communicating with each baseboard management controller, transmitting the firmware to be updated to the chassis management controller.
Optionally, after the transmitting the firmware to be updated to the chassis management controller, the method further includes:
and when a firmware upgrading completion instruction sent by the chassis management controller is received, generating upgrading success prompt information.
The embodiment of the invention provides a firmware upgrading device which is applied to a server comprising a chassis management controller and a plurality of substrate management controllers, wherein the chassis management controller monitors and manages each substrate management controller, and the method is suitable for a target substrate management controller and comprises the following steps:
the identifier setting module is used for setting an upgrading operation identifier when detecting the firmware to be updated of the chassis management controller, so that the chassis management controller feeds back an upgrading operation execution instruction to the target substrate management controller after acquiring the upgrading operation identifier, and simultaneously issues notification information for entering an upgrading preparation state to other substrate management controllers;
and the file transmission module is used for transmitting the firmware to be updated to the case management controller when the upgrading operation execution instruction is received so as to enable the case management controller to execute firmware upgrading operation.
Another aspect of the embodiments of the present invention further provides a firmware upgrading method, applied to a server including a chassis management controller and a plurality of baseboard management controllers, where the chassis management controller monitors and manages each baseboard management controller, and the method is applied to the chassis management controller, and includes:
when a target base plate management controller with an upgrading operation identifier is inquired, feeding an upgrading operation execution instruction back to the target base plate management controller, and simultaneously sending upgrading preparation state notification information to other base plate management controllers;
and when the firmware to be updated sent by the target substrate management controller is received, executing firmware upgrading operation according to the firmware to be updated.
Optionally, after issuing the update preparation state notification information to the other bmcs at the same time, the method further includes:
entering a state of waiting for receiving the file data, and issuing a file transmission instruction to the target substrate management controller.
Optionally, after the firmware upgrading operation is executed according to the firmware to be updated, the method further includes:
when the firmware upgrading operation is completed, issuing a restarting instruction;
and when the restarting operation is completed, sending a firmware upgrading completion instruction to each baseboard management controller.
An embodiment of the present invention further provides an electronic device, which includes a processor, and the processor is configured to implement the steps of the firmware upgrading method according to any one of the foregoing items when executing the computer program stored in the memory.
Finally, an embodiment of the present invention provides a readable storage medium, where a computer program is stored, and when being executed by a processor, the computer program implements the steps of the firmware upgrading method according to any one of the foregoing items.
The technical scheme provided by the application has the advantages that in the process of inquiring each baseboard management controller, if the baseboard management controller with the upgrading operation identifier is found to exist, the case management controller indicates that the case management controller needs to upgrade the firmware, the case management controller feeds back an upgrading operation execution instruction to the baseboard management controller, so that the baseboard management controller transmits the firmware to be updated to the case management controller, meanwhile, the case management controller stops all operations with other baseboard management controllers, and executes corresponding firmware updating operation after receiving the firmware to be updated, so that the firmware of the CMC can be upgraded under the condition of not modifying the hardware of the server.
In addition, the embodiment of the invention also provides a corresponding implementation device, electronic equipment and a readable storage medium for the firmware upgrading method, so that the method has higher practicability, and the device, the electronic equipment and the readable storage medium have corresponding advantages.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions of the related art, the drawings required to be used in the description of the embodiments or the related art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a schematic flowchart of a firmware upgrading method according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating another firmware upgrading method according to an embodiment of the present invention;
fig. 3 is a structural diagram of a specific embodiment of a firmware upgrading apparatus according to an embodiment of the present invention;
fig. 4 is a block diagram of another specific embodiment of a firmware upgrading apparatus according to an embodiment of the present invention;
fig. 5 is a block diagram of an embodiment of an electronic device according to an embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the disclosure, the invention will be described in further detail with reference to the accompanying drawings and specific embodiments. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first," "second," "third," "fourth," and the like in the description and claims of this application and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "comprising" and "having," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements but may include other steps or elements not expressly listed.
For the server, the chassis management controller and the baseboard management controller are connected only through I2C, because the chassis management controller needs to manage multiple baseboard management controllers at the same time, the chassis management controller can only actively send I2C message communication to the baseboard management controller, and the baseboard management controller as a receiver can only passively receive messages. Because the chassis management controller does not have an operating system, when the chassis management controller is not connected to an external network, the chassis management controller image cannot be refreshed in a conventional out-of-band manner, and the chassis management controller image cannot be refreshed in-band. Based on this, the present application may implement reverse upgrade of the chassis management controller through I2C communication between the baseboard management controller and the chassis management controller. Various non-limiting embodiments of the present application are described in detail below.
Referring to fig. 1, fig. 1 is a schematic flowchart of a firmware upgrading method according to an embodiment of the present invention, where the method is applied to a server including a chassis management controller and a plurality of baseboard management controllers, and the chassis management controller monitors and manages each baseboard management controller, where the following method is applied to a target baseboard management controller, that is, an execution subject of the following method is one of the baseboard management servers, and an embodiment of the present invention may include the following:
s101: when detecting the firmware to be updated of the chassis management controller, setting an upgrade operation identifier, so that the chassis management controller feeds back an upgrade operation execution instruction to the target substrate management controller after acquiring the upgrade operation identifier, and simultaneously issues notification information for entering an upgrade preparation state to other substrate management controllers.
In this embodiment, when the chassis management controller needs to update the firmware, a new firmware, that is, a firmware to be updated, is generated, and when the chassis management controller needs to update the firmware, since the present application needs to update the firmware of the chassis management controller reversely through the baseboard management controller, and the baseboard management controller can only receive information of the chassis management controller passively, in order to make the chassis management controller learn that the chassis management controller needs to update the firmware, one of the baseboard management controllers, that is, a target baseboard management controller, can set an upgrade operation identifier for identifying that the chassis management controller needs to execute the firmware update, and when the chassis management controller periodically or in real time queries each baseboard management controller, after finding that the upgrade operation identifier exists, the chassis management controller sends an upgrade operation execution instruction to the target baseboard management controller to notify the target baseboard management controller that the target baseboard management controller can execute the upgrade operation on the chassis management controller, in order to ensure normal data transmission between the chassis management controller and the target bmc, the chassis management controller needs to send information of entering an upgrade preparation state to each of the other bmcs to notify each of the other bmcs to stop any operation with the chassis management controller.
S102: and when an upgrading operation execution instruction is received, transmitting the firmware to be updated to the case management controller so that the case management controller executes firmware upgrading operation.
And after receiving the firmware to be updated, the chassis management controller starts a firmware updating tool to execute firmware updating operation based on the firmware to be updated. After the case management controller updates the firmware, the case management controller can also send a firmware upgrade completion instruction to the target baseboard management controller. And when receiving a firmware upgrading completion instruction sent by the chassis management controller, the target substrate management controller generates upgrading success prompt information. The differences between the present embodiment and the chassis management controller upgrading the baseboard management controller through I2C are: the chassis management controller upgrading substrate management controller can directly issue instructions and transmit files to the substrate management controller through I2C, the substrate management controller is only used as a passive party for receiving the instructions, and the logic is simple. If the baseboard management controller upgrades the chassis management controller, the chassis management controller is required to inquire whether the baseboard management controller has an instruction or not in a direct instruction mode, and the chassis management controller needs to inform the baseboard management controller of an execution result after acquiring the instruction. When only the external base plate management controller network is connected, the case management controller belongs to a state without external operation, and the case management controller can be upgraded by only connecting one network.
In the technical solution provided in the embodiment of the present invention, in the process of querying each BMC, if a BMC with an upgrade operation identifier is found to exist, it indicates that the BMC needs to perform firmware upgrade, and the BMC feeds back an upgrade operation execution instruction to the BMC, so that the BMC transmits the firmware to be updated to the BMC, and the BMC stops all operations with other BMCs, and executes corresponding firmware update operations after receiving the firmware to be updated, thereby implementing firmware upgrade of the CMC without modifying server hardware.
In the foregoing embodiment, how to trigger execution of the file transfer operation of S102 is not limited, and two parallel alternative implementations are provided in this embodiment, which may include the following steps:
as an optional implementation manner, when the target baseboard management controller receives an instruction for executing the upgrade operation of the chassis management controller, the target baseboard management controller enters an upgrade preparation state; and when a file transmission instruction sent by the case management controller is received, the target substrate management controller transmits the firmware to be updated to the case management controller.
As another implementation manner parallel to the above embodiment, the target baseboard management controller enters an upgrade preparation state after receiving an upgrade operation execution instruction sent by the chassis management controller; when the chassis management controller stops communicating with each baseboard management controller, the target baseboard management controller transmits the firmware to be updated to the chassis management controller.
In addition, the present application also provides another firmware upgrading method, where this embodiment is also applied to a server including a chassis management controller and a plurality of baseboard management controllers, and the chassis management controller monitors and manages each baseboard management controller, please refer to fig. 2, and fig. 2 is a schematic flowchart of another firmware upgrading method provided in an embodiment of the present invention, and an embodiment of the present invention may be applied to a chassis management controller, that is, an execution subject of the following embodiment is a chassis management controller, and specifically may include the following contents:
s201: and when the target substrate management controller with the set upgrading operation identifier exists, feeding an upgrading operation execution instruction back to the target substrate management controller, and simultaneously sending upgrading preparation state notification information to other substrate management controllers.
S202: and when the firmware to be updated sent by the target substrate management controller is received, executing firmware upgrading operation according to the firmware to be updated.
Optionally, after S201, the method may further include: entering a state of waiting for receiving the file data, and issuing a file transmission instruction to the target substrate management controller.
Optionally, after S202, the method may further include: when the firmware upgrading operation is completed, issuing a restarting instruction; and when the restarting operation is completed, sending a firmware upgrading completion instruction to each baseboard management controller.
In order to make the technical solutions of the present application more apparent to those skilled in the art, the present application also provides an illustrative example, which may include:
setting and recording an upgrading operation mark by the BMC, and waiting for a CMC execution result by the BMC; the CMC acquires and records an upgrading operation mark of the BMC, executes upgrading preparation operation and sets the upgrading preparation operation to be in a state of being prepared for upgrading, the CMC informs the BMC that the upgrading operation mark is successfully executed, and the CMC informs other BMCs that the current CMC is in the state of being prepared for upgrading and does not allow other operations to be received; after the CMC notifies the BMC, the CMC waits for receiving the file data; after receiving the successful execution of the CMC operation mark, the BMC enters an upgrading preparation state and waits for sending file data; at the moment, no other communication exists between the BMC and the CMC, and file transmission is carried out; after the file transmission is finished, the CMC starts a mirror image self-refreshing flow and carries out mirror image upgrading; after the CMC is upgraded and restarted, all BMCs are informed of the completion of upgrading; and the BMC receives the upgrade completion message to prompt that the upgrade is successful.
The same methods or the same steps as those in the above embodiments may refer to the implementation manners described in the above embodiments, and thus, the details are not repeated here.
Therefore, the embodiment of the invention can realize firmware upgrade of the CMC by the BMC without modifying the hardware of the server.
It should be noted that, in the present application, there is no strict sequential execution order among the steps, and as long as a logical order is met, the steps may be executed simultaneously or according to a certain preset order, and fig. 1 to fig. 2 are only schematic manners, and do not represent only such an execution order.
The embodiment of the invention also provides a corresponding device for the firmware upgrading method, thereby further ensuring that the method has higher practicability. Wherein the means can be described separately from the functional module point of view and the hardware point of view. The following describes a firmware upgrading apparatus provided in an embodiment of the present invention, where the apparatus is applied to a server including a chassis management controller and a plurality of baseboard management controllers, and the chassis management controller monitors and manages each baseboard management controller, and a firmware upgrading apparatus described below and a firmware upgrading method described above may be referred to correspondingly.
Referring to fig. 3 based on the angle of the functional module, fig. 3 is a structural diagram of a firmware upgrading device according to an embodiment of the present invention, where the device is applied to a target baseboard management controller, and the device may include:
the identifier setting module 301 is configured to set an upgrade operation identifier when detecting that the firmware to be updated of the chassis management controller is to be updated, so that the chassis management controller feeds back an upgrade operation execution instruction to the target substrate management controller after acquiring the upgrade operation identifier, and simultaneously issues notification information of entering an upgrade preparation state to other substrate management controllers.
The file transmission module 302 is configured to, when receiving an upgrade operation execution instruction, transmit the firmware to be updated to the chassis management controller, so that the chassis management controller executes a firmware upgrade operation.
Optionally, in some embodiments of this embodiment, the file transmission module 302 may be configured to enter an upgrade preparation state when receiving an upgrade operation execution instruction; and when a file transmission instruction is received, transmitting the firmware to be updated to the case management controller.
As another optional implementation parallel to the foregoing embodiment, the file transmission module 302 may be further configured to enter an upgrade preparation state when receiving an upgrade operation execution instruction; and when the chassis management controller stops communicating with each baseboard management controller, transmitting the firmware to be updated to the chassis management controller.
Optionally, in other embodiments of this embodiment, the apparatus may further include a prompt information generating module, for example, configured to generate an upgrade success prompt information when a firmware upgrade completion instruction sent by the chassis management controller is received.
Based on the angle of the functional module, please refer to fig. 4, where fig. 4 is a structural diagram of a firmware upgrading device according to an embodiment of the present invention, and the device is applied to a chassis management controller and may include:
the instruction issuing module 401 is configured to, when a target baseboard management controller with an upgrade operation identifier is found, feed back an upgrade operation execution instruction to the target baseboard management controller, and issue upgrade preparation state notification information to other baseboard management controllers.
And the firmware upgrading module 402 is configured to, when receiving the to-be-updated firmware sent by the target baseboard management controller, execute a firmware upgrading operation according to the to-be-updated firmware.
Optionally, in some embodiments of this embodiment, the instruction issuing module 401 may further be configured to: entering a state of waiting for receiving the file data, and issuing a file transmission instruction to the target substrate management controller.
Optionally, in another embodiment of this embodiment, the apparatus may further include:
the restarting module is used for issuing a restarting instruction when the firmware upgrading operation is finished;
and the upgrading result feedback module is used for sending a firmware upgrading completion instruction to each substrate management controller when the restarting operation is completed.
The functions of the functional modules of the firmware upgrading device according to the embodiments of the present invention may be specifically implemented according to the method in the foregoing method embodiments, and the specific implementation process may refer to the related description of the foregoing method embodiments, which is not described herein again.
Therefore, the embodiment of the invention can realize firmware upgrade of the CMC by the BMC without modifying the hardware of the server.
The above mentioned firmware upgrading device is described from the perspective of functional modules, and further, the present application also provides an electronic device described from the perspective of hardware. Fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application. As shown in fig. 5, the electronic device comprises a memory 50 for storing a computer program; a processor 51 for implementing the steps of the firmware upgrade method as mentioned in any of the above embodiments when executing the computer program.
The processor 51 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the processor 51 may also be a controller, a microcontroller, a microprocessor or other data processing chip, and the like. The processor 51 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 51 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 51 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content that the display screen needs to display. In some embodiments, the processor 51 may further include an AI (Artificial Intelligence) processor for processing computing operations related to machine learning.
Memory 50 may include one or more computer-readable storage media, which may be non-transitory. Memory 50 may also include high speed random access memory as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. The memory 50 may in some embodiments be an internal storage unit of the electronic device, for example a hard disk of a server. The memory 50 may also be an external storage device of the electronic device in other embodiments, such as a plug-in hard disk provided on a server, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like. Further, the memory 50 may also include both an internal storage unit and an external storage device of the electronic device. The memory 50 can be used for storing various data and application software installed in the electronic device, such as: the code of the program that executes the vulnerability handling method, etc. may also be used to temporarily store data that has been output or is to be output. In this embodiment, the memory 50 is at least used for storing the following computer program 501, wherein after being loaded and executed by the processor 51, the computer program can implement the relevant steps of the firmware upgrading method disclosed in any of the foregoing embodiments. In addition, the resources stored in the memory 50 may also include an operating system 502, data 503, and the like, and the storage manner may be a transient storage manner or a permanent storage manner. Operating system 502 may include Windows, Unix, Linux, etc. Data 503 may include, but is not limited to, data corresponding to firmware upgrade results, and the like.
In some embodiments, the electronic device may further include a display 52, an input/output interface 53, a communication interface 54, alternatively referred to as a network interface, a power supply 55, and a communication bus 56. The display 52 and the input/output interface 53, such as a Keyboard (Keyboard), belong to a user interface, and the optional user interface may also include a standard wired interface, a wireless interface, and the like. Alternatively, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch device, or the like. The display, which may also be referred to as a display screen or display unit, as appropriate, is used for displaying information processed in the electronic device and for displaying a visualized user interface. The communication interface 54 may optionally include a wired interface and/or a wireless interface, such as a WI-FI interface, a bluetooth interface, etc., typically used to establish a communication connection between an electronic device and other electronic devices. The communication bus 56 may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 5, but this is not intended to represent only one bus or type of bus.
Those skilled in the art will appreciate that the configuration shown in fig. 5 is not intended to be limiting of the electronic device and may include more or fewer components than those shown, such as sensors 57, for example, which may perform various functions.
The functions of the functional modules of the electronic device according to the embodiments of the present invention may be specifically implemented according to the method in the above method embodiments, and the specific implementation process may refer to the description related to the above method embodiments, which is not described herein again.
Therefore, the embodiment of the invention can realize firmware upgrade of the CMC by the BMC without modifying the hardware of the server.
It is to be understood that, if the firmware upgrading method in the above embodiment is implemented in the form of a software functional unit and sold or used as a separate product, it may be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the present application may be substantially or partially implemented in the form of a software product, which is stored in a storage medium and executes all or part of the steps of the methods of the embodiments of the present application, or all or part of the technical solutions. And the aforementioned storage medium includes: a U disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), an electrically erasable programmable ROM, a register, a hard disk, a multimedia card, a card type Memory (e.g., SD or DX Memory, etc.), a magnetic Memory, a removable magnetic disk, a CD-ROM, a magnetic or optical disk, and other various media capable of storing program codes.
Based on this, the embodiment of the present invention further provides a readable storage medium, which stores a computer program, and the computer program is executed by a processor, and the steps of the firmware upgrading method according to any one of the above embodiments are provided.
The embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same or similar parts among the embodiments are referred to each other. For hardware including devices and electronic equipment disclosed by the embodiment, the description is relatively simple because the hardware includes the devices and the electronic equipment correspond to the method disclosed by the embodiment, and the relevant points can be obtained by referring to the description of the method.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The above details describe a firmware upgrading method, apparatus, electronic device and readable storage medium provided by the present application. The principles and embodiments of the present invention are explained herein using specific examples, which are presented only to assist in understanding the method and its core concepts. It should be noted that, for those skilled in the art, it is possible to make various improvements and modifications to the present invention without departing from the principle of the present invention, and those improvements and modifications also fall within the scope of the claims of the present application.

Claims (10)

1.一种固件升级方法,其特征在于,应用于包括机箱管理控制器和多个基板管理控制器的服务器,所述机箱管理控制器监控管理各基板管理控制器,所述方法适用于目标基板管理控制器,包括:1. A firmware upgrade method, characterized in that it is applied to a server comprising a chassis management controller and a plurality of baseboard management controllers, the chassis management controller monitors and manages each baseboard management controller, and the method is applicable to a target substrate Management controllers, including: 当检测到所述机箱管理控制器的待更新固件,设置升级操作标识,以使所述机箱管理控制器在获取所述升级操作标识后,向所述目标基板管理控制器反馈升级操作执行指令,同时向其他基板管理控制器下发进入升级准备状态通知信息;When the firmware to be updated of the chassis management controller is detected, an upgrade operation identifier is set, so that the chassis management controller feeds back an upgrade operation execution instruction to the target baseboard management controller after acquiring the upgrade operation identifier, At the same time, the notification information of entering the upgrade preparation state is sent to other baseboard management controllers; 当接收到所述升级操作执行指令,将所述待更新固件传输至所述机箱管理控制器,以使所述机箱管理控制器执行固件升级操作。When receiving the upgrade operation execution instruction, the firmware to be updated is transmitted to the chassis management controller, so that the chassis management controller performs a firmware upgrade operation. 2.根据权利要求1所述的固件升级方法,其特征在于,所述当接收到所述升级操作执行指令,将所述待更新固件传输至所述机箱管理控制器,包括:2 . The firmware upgrade method according to claim 1 , wherein, when receiving the upgrade operation execution instruction, transmitting the firmware to be updated to the chassis management controller, comprising: 2 . 当接收到所述升级操作执行指令,进入升级准备状态;When receiving the upgrade operation execution instruction, enter the upgrade preparation state; 当接收到文件传输指令,将所述待更新固件传输至所述机箱管理控制器。When a file transfer instruction is received, the firmware to be updated is transferred to the chassis management controller. 3.根据权利要求1所述的固件升级方法,其特征在于,所述当接收到所述升级操作执行指令,将所述待更新固件传输至所述机箱管理控制器,包括:3 . The firmware upgrade method according to claim 1 , wherein, when receiving the upgrade operation execution instruction, transmitting the firmware to be updated to the chassis management controller, comprising: 3 . 当接收到所述升级操作执行指令,进入升级准备状态;When receiving the upgrade operation execution instruction, enter the upgrade preparation state; 当所述机箱管理控制器与各基板管理控制器停止通信,将所述待更新固件传输至所述机箱管理控制器。When the chassis management controller stops communicating with each baseboard management controller, the firmware to be updated is transmitted to the chassis management controller. 4.根据权利要求1所述的固件升级方法,其特征在于,所述将所述待更新固件传输至所述机箱管理控制器之后,还包括:4 . The firmware upgrade method according to claim 1 , wherein after transmitting the firmware to be updated to the chassis management controller, the method further comprises: 4 . 当接收到所述机箱管理控制器发送的固件升级完成指令,生成升级成功提示信息。When receiving the firmware upgrade completion instruction sent by the chassis management controller, a prompt message of successful upgrade is generated. 5.一种固件升级装置,其特征在于,应用于包括机箱管理控制器和多个基板管理控制器的服务器,所述机箱管理控制器监控管理各基板管理控制器,所述装置适用于目标基板管理控制器,包括:5. A firmware upgrade device, characterized in that it is applied to a server comprising a chassis management controller and a plurality of baseboard management controllers, the chassis management controller monitors and manages each baseboard management controller, and the device is suitable for a target substrate Management controllers, including: 标识设置模块,用于当检测到所述机箱管理控制器的待更新固件,设置升级操作标识,以使所述机箱管理控制器在获取所述升级操作标识后,向所述目标基板管理控制器反馈升级操作执行指令,同时向其他基板管理控制器下发进入升级准备状态通知信息;An identification setting module, configured to set an upgrade operation identification when the firmware to be updated of the chassis management controller is detected, so that the chassis management controller, after acquiring the upgrade operation identification, reports to the target baseboard management controller Feedback the upgrade operation execution instruction, and at the same time send the notification information of entering the upgrade preparation state to other baseboard management controllers; 文件传输模块,用于当接收到所述升级操作执行指令,将所述待更新固件传输至所述机箱管理控制器,以使所述机箱管理控制器执行固件升级操作。The file transmission module is configured to transmit the firmware to be updated to the chassis management controller when receiving the upgrade operation execution instruction, so that the chassis management controller executes the firmware upgrade operation. 6.一种固件升级方法,其特征在于,应用于包括机箱管理控制器和多个基板管理控制器的服务器,所述机箱管理控制器监控管理各基板管理控制器,所述方法适用于所述机箱管理控制器,包括:6. A firmware upgrade method, characterized in that it is applied to a server comprising a chassis management controller and a plurality of baseboard management controllers, the chassis management controller monitors and manages each baseboard management controller, and the method is applicable to the Chassis management controller, including: 当查询到存在设置升级操作标识的目标基板管理控制器,向所述目标基板管理控制器反馈升级操作执行指令,同时向其他基板管理控制器下发升级准备状态通知信息;When it is found that there is a target baseboard management controller with an upgrade operation identifier set, feeding back an upgrade operation execution instruction to the target baseboard management controller, and at the same time delivering upgrade preparation state notification information to other baseboard management controllers; 当接收到所述目标基板管理控制器发送的待更新固件,根据所述待更新固件执行固件升级操作。When the firmware to be updated sent by the target baseboard management controller is received, a firmware upgrade operation is performed according to the firmware to be updated. 7.根据权利要求6所述的固件升级方法,其特征在于,所述同时向其他基板管理控制器下发升级准备状态通知信息之后,还包括:7 . The firmware upgrade method according to claim 6 , wherein after delivering the upgrade preparation state notification information to other baseboard management controllers at the same time, the method further comprises: 8 . 进入等待接收文件数据状态,并向所述目标基板管理控制器下发文件传输指令。Enter the state of waiting to receive file data, and issue a file transfer instruction to the target baseboard management controller. 8.根据权利要求6所述的固件升级方法,其特征在于,所述根据所述待更新固件执行固件升级操作之后,还包括:8. The firmware upgrade method according to claim 6, wherein after the firmware upgrade operation is performed according to the firmware to be updated, the method further comprises: 当完成固件升级操作,下发重启指令;When the firmware upgrade operation is completed, a restart command is issued; 当完成重启操作,向各基板管理控制器发送固件升级完成指令。When the restart operation is completed, a firmware upgrade completion instruction is sent to each baseboard management controller. 9.一种电子设备,其特征在于,包括处理器和存储器,所述处理器用于执行所述存储器存储的计算机程序时实现如权利要求1至4任一项所述的固件升级方法和/或如权利要求6至8任一项所述的固件升级方法的步骤。9. An electronic device, characterized in that it comprises a processor and a memory, and the processor is used to implement the firmware upgrade method and/or the method described in any one of claims 1 to 4 when the processor is used to execute a computer program stored in the memory. The steps of the firmware upgrade method according to any one of claims 6 to 8. 10.一种可读存储介质,其特征在于,所述可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求1至4任一项所述的固件升级方法和/或如权利要求6至8任一项所述的固件升级方法的步骤。10. A readable storage medium, wherein a computer program is stored on the readable storage medium, and when the computer program is executed by a processor, the firmware upgrade method according to any one of claims 1 to 4 is implemented and/or the steps of the firmware upgrade method according to any one of claims 6 to 8.
CN202111445227.3A 2021-11-30 2021-11-30 Firmware upgrading method and device, electronic equipment and readable storage medium Withdrawn CN114201197A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111445227.3A CN114201197A (en) 2021-11-30 2021-11-30 Firmware upgrading method and device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111445227.3A CN114201197A (en) 2021-11-30 2021-11-30 Firmware upgrading method and device, electronic equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN114201197A true CN114201197A (en) 2022-03-18

Family

ID=80649777

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111445227.3A Withdrawn CN114201197A (en) 2021-11-30 2021-11-30 Firmware upgrading method and device, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN114201197A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114780119A (en) * 2022-05-07 2022-07-22 深圳星云智联科技有限公司 Firmware updating method and related equipment
CN115129346A (en) * 2022-07-01 2022-09-30 苏州浪潮智能科技有限公司 Method, device, server and medium for upgrading in-band system driver
CN115129344A (en) * 2022-06-30 2022-09-30 苏州浪潮智能科技有限公司 Server protection method and device, electronic equipment and storage medium
CN115794182A (en) * 2022-11-02 2023-03-14 苏州浪潮智能科技有限公司 Firmware out-of-band upgrade method, device, electronic equipment and storage medium
CN116339790A (en) * 2023-05-25 2023-06-27 深圳市磐鼎科技有限公司 BMC firmware upgrading method, device, equipment and storage medium
CN116431190A (en) * 2023-06-13 2023-07-14 苏州浪潮智能科技有限公司 A firmware upgrade method, device, BMC chip, server and medium
CN118394388A (en) * 2024-06-28 2024-07-26 苏州元脑智能科技有限公司 Firmware upgrading method, firmware upgrading device, storage medium, electronic equipment and computer program product
CN120560694A (en) * 2025-07-30 2025-08-29 苏州元脑智能科技有限公司 Firmware upgrade system and method

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114780119A (en) * 2022-05-07 2022-07-22 深圳星云智联科技有限公司 Firmware updating method and related equipment
CN115129344A (en) * 2022-06-30 2022-09-30 苏州浪潮智能科技有限公司 Server protection method and device, electronic equipment and storage medium
CN115129346A (en) * 2022-07-01 2022-09-30 苏州浪潮智能科技有限公司 Method, device, server and medium for upgrading in-band system driver
CN115794182A (en) * 2022-11-02 2023-03-14 苏州浪潮智能科技有限公司 Firmware out-of-band upgrade method, device, electronic equipment and storage medium
CN116339790A (en) * 2023-05-25 2023-06-27 深圳市磐鼎科技有限公司 BMC firmware upgrading method, device, equipment and storage medium
CN116339790B (en) * 2023-05-25 2023-09-08 深圳市磐鼎科技有限公司 BMC firmware upgrading method, device, equipment and storage medium
CN116431190A (en) * 2023-06-13 2023-07-14 苏州浪潮智能科技有限公司 A firmware upgrade method, device, BMC chip, server and medium
CN116431190B (en) * 2023-06-13 2023-08-29 苏州浪潮智能科技有限公司 A firmware upgrade method, device, BMC chip, server and medium
CN118394388A (en) * 2024-06-28 2024-07-26 苏州元脑智能科技有限公司 Firmware upgrading method, firmware upgrading device, storage medium, electronic equipment and computer program product
CN120560694A (en) * 2025-07-30 2025-08-29 苏州元脑智能科技有限公司 Firmware upgrade system and method

Similar Documents

Publication Publication Date Title
CN114201197A (en) Firmware upgrading method and device, electronic equipment and readable storage medium
CN103514010B (en) Automatic App Updates
WO2019237586A1 (en) Method and apparatus for managing scheduled tasks, computer device and storage medium
US9904561B2 (en) Computer system and method for setting BIOS
CN114153477B (en) PCIE driver card firmware upgrade method, device, system, equipment and medium
CN111367544A (en) Multi-peripheral firmware upgrade control method, intelligent device, firmware and electronic device
CN103036916A (en) Method, device and system thereof for calling remote hardware resources
CN113760332A (en) Software upgrade method and electronic device
CN112771497A (en) Method and device for upgrading equipment and storage medium
US12541473B2 (en) Method and system for implementing vehicle bus virtual channel
CN103685405A (en) Network service system and firmware updating method
CN107277163A (en) A kind of long-range mapping method of equipment and device
CN102520895B (en) The printer driver of the registration model centered by use case and being separated of application
CN117369896A (en) Information acquisition system and method
CN115686648A (en) Method, device, equipment and medium for managing configuration information
CN114500263B (en) Distributed distribution network method, device and computer readable storage medium
CN116302136A (en) A firmware configuration method, device, device and readable storage medium
CN116346611A (en) Configuration update method, device, electronic device, and computer-readable storage medium
CN113986279B (en) Smart device upgrade method, device, storage medium and electronic device
CN113934606B (en) Configuration method and device of expansion card, electronic equipment and medium
EP4539432A1 (en) Method and system for implementing vehicle bus virtual channel
CN116243630A (en) A robot state management method, device, terminal equipment and storage medium
CN119861948A (en) Software upgrading method, system, device, electronic equipment and storage medium
CN117579607A (en) A remote upgrade business processing system, method, electronic equipment and medium
CN116991441A (en) Storage system firmware upgrade method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20220318