MCU and embedded web-based lightweight BMC remote management method and related equipment
By using a lightweight BMC remote management method that integrates MCU and embedded Web, the problems of high resource consumption, high power consumption and unfriendly management of existing BMC remote management solutions are solved. This enables efficient and low-cost remote management and upgrades, improving server management efficiency and reliability.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- XIAN MICROELECTRONICS TECH INST
- Filing Date
- 2025-05-26
- Publication Date
- 2026-07-07
AI Technical Summary
Existing BMC remote management solutions suffer from problems such as high resource consumption, high power consumption, inconsistent protocols, long troubleshooting cycles, and unfriendly management, especially in MCU-based implementations which lack effective remote management functions.
A lightweight BMC remote management method using MCU and embedded Web is adopted. Sensor information, board information and SEL recorded data are obtained through ASP requests, and serial port output is redirected through SSI. Combined with CGI interface, remote control and firmware upgrade are realized. The RT-Thread operating system is used to reasonably schedule resources and provide visual management in browser/server mode.
It enables real-time monitoring of sensor information at the second level, remote device management, serial port redirection control, and firmware upgrades, improving management efficiency and integration, providing a user-friendly human-machine interface, and reducing power consumption and development costs.
Smart Images

Figure CN120610919B_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of server management technology, specifically relating to a lightweight BMC remote management method and related equipment based on MCU and embedded Web. Background Technology
[0002] Web-based Baseboard Management Controller (BMC) remote health management has become indispensable for servers and system systems with increasingly complex hardware and software designs. It not only ensures the reliability and stability of server and system operation but also provides an intuitive and visual web interface, improving the convenience and centralization of remote server management. Existing BMC visual remote web management solutions mainly fall into two categories: one uses dedicated chips with high power consumption, such as the AST2500, coupled with OpenBMC + Linux. This approach has relatively high requirements for chip performance and resources, resulting in higher power consumption and cost. The other approach uses a Microcontroller Unit (MCU) + management CPU with a custom interaction protocol. This approach relies not only on the BMC hardware and software but also on the management unit hardware and software, leading to high hardware and software resource consumption and high power consumption. Furthermore, different manufacturers using custom protocols result in long software implementation cycles, protocol inconsistencies, and lengthy troubleshooting periods. Patent application CN110691128A, entitled "Communication Method, System, Medium, and Device Based on IPMI System Health Management Middleware," encapsulates collected health information into IPMI LAN packets using the NET protocol and sends them to the upper-layer application via UDP. While this method enables some remote management, the command-line interaction is not user-friendly and does not mention control functions for individual units or remote firmware upgrades. Patent application CN110109856A, entitled "A Device and Method for Remotely Managing a Server System BMC," proposes using the AST2500 chip as the BMC for remote management, primarily involving SOL functions. This method relies on a dedicated BMC chip, resulting in high cost and limited functional expansion; therefore, this solution is not suitable for MCUs.
[0003] BMCs based on standalone MCUs offer advantages such as small size, low cost, and low power consumption. However, their resources are limited, often lacking remote management capabilities or only providing simple remote management via UDP. Therefore, a solution for implementing remote web management of BMCs independently based on an MCU remains unclear. How to rationally allocate limited resources to build a web-based development environment while simultaneously meeting remote management requirements to achieve lightweight web management of BMCs is a pressing issue in the embedded health management field. Summary of the Invention
[0004] The purpose of this invention is to provide a lightweight BMC remote management method and related equipment based on MCU and embedded Web, so as to realize lightweight Web management of BMC.
[0005] To achieve the above objectives, the present invention adopts the following technical solution:
[0006] Firstly, a lightweight BMC remote management method based on MCU and embedded Web includes the following steps:
[0007] Access the sensor monitoring page or switch the board tab, request the BMC terminal to obtain the managed node sensor information through the Active Server Pages (ASP), and display the managed node sensor information on the remote web terminal after corresponding it with the board tab.
[0008] Access the remote device management page or switch the board tab, request the BMC end through ASP to obtain the managed node board information, and display the managed node board information on the remote web end after corresponding the board tab with the board information. At the same time, send the managed node board information to the backend CGI (Common Gateway Interface) to complete the remote IP setting or remote board power-on / off control.
[0009] Access the log management page or switch the board tab, request the BMC end through ASP to obtain the SEL record data of the managed node, and display the SEL record data of the managed node on the remote web end after corresponding the board tab;
[0010] Access the SOL page or switch board tabs. The SSI request to the BMC terminal redirects the serial port output of each board tab to the remote Web terminal. At the same time, the control commands from the remote Web terminal are sent to the backend CGI interface and sent to the corresponding board via serial port to complete the serial port redirection control.
[0011] Access the log management page or switch the board tab, fill in the firmware information to be upgraded via the remote web client, and upload the firmware file to the BMC or IPMC (Intelligent Platform Management Controller) to complete the firmware upgrade. After that, the firmware flashing result will be returned to the remote web client.
[0012] In some implementations, the step of displaying the sensor information, board information, or SEL record data of the managed node on a remote web terminal after corresponding it with the board tabs specifically includes:
[0013] JavaScript is used to determine whether the sensor information, board information, or SEL record data of the managed node belongs to the current board tab. If it does, the sensor information, board information, or SEL record data of the managed node, along with the corresponding board tab, are displayed on the remote web terminal.
[0014] Otherwise, determine if there is any other sensor information; if so, repeat the previous step.
[0015] Otherwise, determine whether the refresh cycle has been reached. If so, request the BMC terminal again via ASP to obtain the sensor information, board information or SEL record data of the managed node. If not, wait until the refresh cycle is reached.
[0016] In some implementations, the step of sending the managed node board information to the backend CGI interface to complete remote IP configuration specifically includes:
[0017] After filling in the managed node board information on the remote web client, submit it to the backend CGI interface. After extracting the IP parameter information of the managed node board information, the remote IP setting is completed.
[0018] In some implementations, the step of sending the managed node board information to the backend CGI interface to complete remote board power-on / off control specifically includes:
[0019] The current board status is obtained based on the managed node board information. Based on the current board status, the power-on, power-off, or reset control operation information is selected and submitted to the backend CGI interface. After extracting the control code and board information from the control operation information, the IPMB command is sent to the current board IPMC to complete the power-on / off control.
[0020] In some implementations, the steps of completing the firmware upgrade by filling in the firmware information to be upgraded and uploading the firmware file to the BMC via a remote web terminal specifically include:
[0021] Obtain the firmware file and parse the firmware information;
[0022] Based on the Flash partition management mechanism, the BMC firmware to be upgraded is burned into the specified partition;
[0023] After resetting or powering on again, the firmware upgrade is completed by executing the upgrade strategy through the Bootloader according to the firmware information and writing the BMC firmware to be upgraded into the running partition.
[0024] In some implementations, the steps of completing the firmware upgrade by filling in the firmware information to be upgraded and uploading the firmware file to the IPMC terminal via a remote web interface specifically include:
[0025] Obtain the firmware file and parse the firmware information;
[0026] Based on the IPMI protocol and a custom firmware upgrade frame protocol, the IPMC firmware to be upgraded is sent to the managed terminal for firmware flashing using a request-response frame and a three-way handshake protocol according to the firmware information. If the readback data is correct, the firmware upgrade is completed.
[0027] Secondly, a lightweight BMC remote management system based on MCU and embedded Web includes:
[0028] The remote sensor monitoring module is used to access the sensor monitoring page or switch the board tab. It requests the BMC terminal through ASP to obtain the sensor information of the managed node and displays the sensor information of the managed node on the remote web terminal after corresponding the board tab.
[0029] The remote device management module is used to access the remote device management page or switch the board tab. It obtains the managed node board information through ASP requests to the BMC end, and displays the managed node board information on the remote web end after corresponding the board tab. At the same time, it sends the managed node board information to the backend CGI interface to complete the remote IP setting or remote board power-on / off control.
[0030] The remote log management module is used to access the log management page or switch the board tab. It obtains the SEL record data of the managed node through ASP requests to the BMC end, and displays the SEL record data of the managed node on the remote web end after corresponding the board tab with the managed node SEL record data.
[0031] The serial port redirection network SOL module is used to access the SOL page or switch board tabs. It requests the BMC end through SSI to redirect the serial port output of each board tab to the remote Web end. At the same time, the control commands from the remote Web end are sent to the backend CGI interface and sent to the corresponding board through the serial port, thus completing the serial port redirection control.
[0032] The remote firmware upgrade module is used to access the log management page or switch board tabs. After filling in the firmware information to be upgraded and uploading the firmware file to the BMC or IPMC to complete the firmware upgrade, the module returns the firmware burning result to the remote web terminal.
[0033] Thirdly, an electronic device includes a memory, a processor, and a computer program stored in the memory and executable in the processor, wherein the processor executes the computer program to implement the steps of the lightweight BMC remote management method based on MCU and embedded Web.
[0034] Fourthly, a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of the lightweight BMC remote management method based on an MCU and embedded Web.
[0035] Fifthly, a computer program product comprising a computer program that, when executed by a processor, implements the steps of the lightweight BMC remote management method based on an MCU and embedded Web.
[0036] Compared with the prior art, the present invention has the following beneficial effects:
[0037] This invention obtains managed node sensor information from the BMC terminal via ASP requests, and displays this information on a remote web terminal after mapping it to the corresponding board tabs. This allows for one-to-one tab mapping on the webpage and provides real-time remote monitoring of sensor information down to the second. It also obtains managed node board information from the BMC terminal via ASP requests, and displays this information on a remote web terminal after mapping it to the corresponding board tabs. Simultaneously, it sends this information to the backend CGI interface to complete remote IP settings or remote board power-on / off control. This enables remote viewing of device status and information, remote configuration of Ethernet IP information, and remote control of board power-on / off, improving device management efficiency, simplifying management operations, and providing a user-friendly and efficient human-machine interface. Furthermore, it obtains managed node SEL record data from the BMC terminal via ASP requests, and displays this data on a remote web terminal after mapping it to the corresponding board tabs, achieving real-time updates down to the second. This provides intuitive remote log monitoring and effective real-time fault information for rapid fault location and corrective action. By requesting the BMC (Block Controller Center) via SSI (Search Engine Instructions) to redirect the serial port output of each board's tab to the remote web terminal, and simultaneously sending control commands from the remote web terminal to the backend CGI interface and then to the corresponding board via serial port, serial port redirection control is completed. This improves management integration and efficiency, and enables serial port debugging across physical connections. Firmware upgrades are completed by filling in the firmware information to be upgraded and uploading the firmware file to the BMC or IPMC terminal via the remote web terminal, eliminating the need for a physical emulator connection and freeing the firmware upgrade machine from the influence of location and hardware status changes. Attached Figure Description
[0038] Figure 1 A system architecture diagram of a lightweight BMC remote management method based on MCU and embedded Web provided for an embodiment;
[0039] Figure 2 A flowchart of the remote sensor monitoring module provided in this embodiment;
[0040] Figure 3 A flowchart of the remote device management module provided in this embodiment;
[0041] Figure 4 A flowchart of the remote log management module provided in this embodiment;
[0042] Figure 5 Flowchart of the serial port redirection network SOL module provided for the embodiment;
[0043] Figure 6 A flowchart of the remote firmware upgrade module provided in this embodiment. Detailed Implementation
[0044] To enable those skilled in the art to better understand the present invention, the technical solution of the present invention will be further described in detail below with reference to the accompanying drawings. The content described herein is for explanation rather than limitation of the present invention.
[0045] It should be noted that the terms "comprising" and "having" and any variations thereof in the specification and claims of this invention are intended to cover a non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or units is not necessarily limited to those steps or units that are explicitly listed, but may include other steps or units that are not explicitly listed or that are inherent to such processes, methods, systems, products, or devices.
[0046] like Figure 1 As shown, this embodiment designs a lightweight remote management method for BMCs with limited hardware resources, based on an MCU and embedded web. It can independently provide remote health management functions for visualized servers in a browser / server (B / S) mode. It is equipped with the domestically developed, open-source, and independently controllable embedded real-time operating system RT-Thread (Real-TimeThread), which rationally allocates limited resources and realizes centralized and unified remote sensor monitoring, remote device management, remote log management, serial port redirection network SOL, and remote firmware upgrade management functions via the web. This effectively improves server management efficiency and provides a reference for the design of lightweight remote web management solutions for servers based on MCUs.
[0047] The method specifically includes the following steps:
[0048] Access the sensor monitoring page or switch the board tab, request the BMC terminal through ASP to obtain the managed node sensor information, and display the managed node sensor information on the remote web terminal after corresponding the board tab;
[0049] Access the remote device management page or switch the board tab, request the BMC end through ASP to obtain the managed node board information, and display the managed node board information on the remote web end after corresponding the board tab with the board information. At the same time, send the managed node board information to the backend CGI interface to complete the remote IP setting or remote board power-on / off control.
[0050] Specifically, after filling in the managed node board information on the remote web terminal, the information is submitted to the backend CGI interface. After extracting the IP parameter information of the managed node board, the remote IP setting is completed. The current board status is obtained based on the managed node board information. Based on the current board status, the control operation information for power-on, power-off, or reset is selected and submitted to the backend CGI interface. After extracting the control code and board information from the control operation information, the IPMB command is sent to the current board IPMC to complete the power-on / off control.
[0051] Access the log management page or switch the board tab, request the BMC end through ASP to obtain the SEL record data of the managed node, and display the SEL record data of the managed node on the remote web end after corresponding the board tab;
[0052] Access the SOL page or switch board tabs. The SSI request to the BMC terminal redirects the serial port output of each board tab to the remote Web terminal. At the same time, the control commands from the remote Web terminal are sent to the backend CGI interface and sent to the corresponding board via serial port to complete the serial port redirection control.
[0053] Access the log management page or switch the board tab, fill in the firmware information to be upgraded via the remote web terminal, and upload the firmware file to the BMC or IPMC terminal to complete the firmware upgrade. After that, the firmware flashing result will be returned to the remote web terminal.
[0054] Specifically, the firmware file is obtained and the firmware information is parsed; based on the Flash partition management mechanism, the firmware to be upgraded BMC is burned into the specified partition; after resetting or powering on again, the firmware to be upgraded BMC is written into the running partition by executing the upgrade strategy through the Bootloader according to the firmware information to complete the firmware upgrade.
[0055] Specifically, the firmware file is obtained and the firmware information is parsed; based on the IPMI protocol and the custom firmware upgrade frame protocol, the IPMC firmware to be upgraded is sent to the managed terminal for firmware flashing using a request-response frame and a three-way handshake protocol according to the firmware information; if the readback data is correct, the firmware upgrade is completed.
[0056] Specifically, JavaScript is used to determine whether the sensor information, board information, or SEL record data of the managed node belongs to the current board tab. If it does, the sensor information, board information, or SEL record data of the managed node, along with the corresponding board tab, are displayed on the remote web terminal.
[0057] Otherwise, determine if there is any other sensor information; if so, repeat the previous step.
[0058] Otherwise, determine whether the refresh cycle has been reached. If so, request the BMC terminal again via ASP to obtain the sensor information, board information or SEL record data of the managed node. If not, wait until the refresh cycle is reached.
[0059] like Figure 1 As shown, this embodiment also provides a lightweight BMC remote management system based on MCU and embedded Web, including:
[0060] like Figure 2 As shown, the remote sensor monitoring module is used to access the sensor monitoring page or switch board tabs. It obtains the managed node sensor information from the BMC end through ASP requests, and displays the managed node sensor information on the remote web end after corresponding it with the board tab. Based on the Intelligent Platform Management Interface (IPMI) protocol and dual-path Intelligent Platform Management Bus (IPMB) communication, it realizes dynamic request-response acquisition, storage, and real-time updating of sensor information of each managed sub-node board. Based on the embedded web front-end and back-end working mechanism, ASP variable substitution technology, and JavaScript technology, the acquired board sensor information is filtered and displayed on the remote web end according to the board tab, realizing second-level remote sensor information real-time monitoring.
[0061] like Figure 3As shown, the remote device management module is used to access the remote device management page or switch board tabs. It obtains the managed node board information from the BMC end through ASP requests, and displays the managed node board information on the remote web end after corresponding it with the board tab. At the same time, it sends the managed node board information to the backend CGI interface to complete remote IP settings or remote board power-on / off control. Based on ASP technology and web page technology, it realizes the display of device information, firmware version, and IP address of different boards in tabs. Based on CGI remote interaction technology and IPMI protocol, it sends IP, gateway, subnet mask information or power-on / off control operation codes and board information to the corresponding backend CGI interface for parameter acquisition and business processing. It sends IPMI (Intelligent Platform Management Interface) request control commands to the Intelligent Platform Management Controller (IPMC) of the board, realizing efficient and visualized remote IP settings and remote board power-on / off control.
[0062] like Figure 4 As shown, the remote log management module is used to access the log management page or switch board tabs. It requests the BMC terminal via ASP to obtain the SEL record data of the managed nodes, and displays the SEL record data of the managed nodes on the remote web terminal after corresponding with the board tabs. The platform event message command of the IPMI protocol realizes the reporting of events such as sensor alarms on the managed end. The BMC parses the reported events, adds identification information including record ID, type, timestamp and device ID, and stores them in the System Event Log (SEL). Using ASP technology and web front-end technology, the events in the SEL are displayed in real time on the web page according to the board tabs, realizing remote log management based on embedded web real-time synchronous updates.
[0063] like Figure 5As shown, the serial port redirection network SOL module is used to access the SOL page or switch board tabs. It requests the BMC to redirect the serial port output of each board tab to the remote web terminal via SSI. Simultaneously, it sends control commands from the remote web terminal to the backend CGI interface and then to the corresponding board via serial port, completing the serial port redirection control. Based on the SOL protocol, SSI (Server Side Includes) technology, CGI technology, and web technology, the serial port output of each board is redirected to the remote web terminal via the BMC. Frontend input control commands are submitted to the backend CGI interface, and the BMC sends the control commands to the managed end. This achieves IPMC serial port redirection to the network, enabling access to the serial ports of each managed end from the remote web terminal for highly integrated remote control across physical interfaces.
[0064] like Figure 6 As shown, the remote firmware upgrade module is used to access the log management page or switch board tabs. After filling in the firmware information to be upgraded and uploading the firmware file to the BMC or IPMC end via the remote web interface, the firmware upgrade is completed, and the firmware burning result is returned to the remote web interface. Remote firmware upgrades for the BMC and IPMC are implemented based on embedded web. For BMC firmware upgrades, the firmware is transferred from the remote end to the BMC as a file via the file upload front-end and back-end interfaces. A Flash Memory partition management mechanism is used to burn the firmware to be upgraded into a designated partition. Upon reset or power-on, based on the firmware version detection and upgrade strategy in the Bootloader startup loader, the firmware to be upgraded is written from this partition to the running partition, thus realizing remote web-based firmware upgrades for the BMC. For IPMC firmware upgrades, a frame protocol and IPMI protocol instruction format are defined for firmware upgrades. A request-response protocol and a three-way handshake protocol are used to send the IPMC firmware file uploaded from the front end to the managed end, completing firmware burning and confirmation, and returning the result to the remote web interface, thus realizing web-based remote IPMC firmware upgrades.
[0065] Based on the above, this embodiment adapts RT-Thread management and scheduling resources on a domestically produced MCU. The method was implemented, verified, and tested using C, HTML5, and JavaScript. Test results show that this invention can achieve remote Web management of servers with limited BMC hardware resources, improving the efficiency of hardware and software health management. It not only solves the problem of independently implementing server and system health management on MCUs with limited resources, but can also be extended to Web applications on other MCUs with limited hardware resources. This method improves the security and reliability of the server and system, while providing a unified, lightweight hardware and software solution with good usability and scalability. It can reduce the power consumption of the entire system and server, saving hardware and software development costs.
[0066] The lightweight BMC remote management system based on MCU and embedded Web provided in this embodiment has the following advantages:
[0067] (1) Remote sensor monitoring module: For the remote monitoring of sensor visualization, an embedded Web-based implementation method is proposed. The ASP variable substitution technology and JS technology are combined with the IPMI protocol to display the sensor information obtained by the BMC polling each managed sub-node in the web page in correspondence with the board tabs, and provide the second-level remote real-time monitoring function of sensor information.
[0068] (2) Remote device management module: Based on ASP technology, CGI remote interaction technology and IPMI protocol, a Web-based device remote management method is designed. It can remotely view device status and information, remotely configure Ethernet IP information, and remotely control the power on and off of the board. This module not only improves the efficiency of device management, but also simplifies management operations and provides a friendly and fast human-machine interface.
[0069] (3) Remote log management module: A visual monitoring method is designed for the remote management of platform event messages. Based on IPMI protocol and ASP technology, the reported sensor alarms and other platform events are stored in SEL. The SEL event log is parsed and output to the webpage for display. It can achieve real-time updates at the second level. While providing remote and intuitive log monitoring, it also provides effective real-time fault information for rapid fault location and measures.
[0070] (4) The serial port redirection network SOL module is based on the embedded Web SSI and CGI technology and the Web front-end and back-end technology proposed by the serial port redirection network design and implementation method. It can redirect the serial port output of each board received by the BMC to the remote Web terminal. At the same time, it can send remote control commands to the BMC and then send them to the controlled terminal through the serial port, realize the redirection of the IPMC serial port to the network, improve the management integration and management efficiency, and realize the serial port debugging function across physical connections.
[0071] (5) Remote Firmware Upgrade Module: For embedded Web remote firmware upgrades, remote upgrade methods for BMC and IPMC firmware are proposed respectively. The firmware is transmitted to the BMC processing interface in the form of a file. Based on the Flash partition management mechanism and the established firmware version detection and upgrade strategy, remote upgrades of the BMC firmware can be realized. For the IPMC firmware, firmware upgrade frame interaction based on IPMB protocol communication is performed. The firmware is transmitted in frames to the managed end for burning and upgrade result confirmation. On the basis of realizing the visual remote firmware upgrade function, the reliability of remote upgrade is guaranteed. Remote firmware upgrade does not require physical emulator connection, thus eliminating the influence of changes in the location and hardware status of the firmware upgrade machine.
[0072] The module division in this embodiment of the invention is illustrative and represents only one logical functional division. In actual implementation, other division methods may be used. Furthermore, the functional modules in the various embodiments of the invention can be integrated into a single processor, exist as separate physical entities, or be integrated into a single module. The integrated modules described above can be implemented in hardware or as software functional modules.
[0073] This embodiment also provides a computer device, which includes a processor and a memory. The memory is used to store a computer program (in this embodiment, the computer program includes a computing component and an iterative component, capable of model calculation and model updating). The computer program includes program instructions, and the processor is used to execute the program instructions stored in the computer storage medium. The processor may be a Central Processing Unit (CPU), or it may be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. It is the computing core and control core of the terminal, and is suitable for implementing one or more instructions, specifically suitable for loading and executing one or more instructions in the computer storage medium to realize the corresponding method flow or corresponding function. The processor described in this embodiment can be used in a lightweight BMC remote management method based on MCU and embedded Web.
[0074] This embodiment also provides a storage medium, specifically a computer-readable storage medium (Memory), which is a memory device in a computer device used to store programs and data. It is understood that the computer-readable storage medium here can include both the built-in storage medium in the computer device and extended storage media supported by the computer device. The computer-readable storage medium provides storage space that stores the terminal's operating system. Furthermore, this storage space also stores one or more instructions suitable for loading and execution by a processor. These instructions can be one or more computer programs (including program code). It should be noted that the computer-readable storage medium here can be high-speed RAM or non-volatile memory, such as at least one disk storage device. The processor can load and execute one or more instructions stored in the computer-readable storage medium to implement the corresponding steps of the lightweight BMC remote management method based on an MCU and embedded Web in the above embodiment.
[0075] This embodiment also provides a computer program product, which includes a computer program that, when executed by a processor, implements the corresponding steps of the lightweight BMC remote management method based on MCU and embedded Web in the above embodiment.
[0076] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0077] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0078] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0079] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0080] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and not to limit it. Although the present invention has been described in detail with reference to the above embodiments, those skilled in the art should understand that modifications or equivalent substitutions can still be made to the specific implementation of the present invention. Any modifications or equivalent substitutions that do not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.
Claims
1. A lightweight BMC remote management method based on MCU and embedded Web, characterized in that, Includes the following steps: Access the sensor monitoring page or switch the board tab, request the BMC terminal through ASP to obtain the managed node sensor information, and display the managed node sensor information on the remote web terminal after corresponding the board tab; Access the remote device management page or switch the board tab, request the BMC end through ASP to obtain the managed node board information, and display the managed node board information on the remote web end after corresponding the board tab with the board information. At the same time, send the managed node board information to the backend CGI interface to complete the remote IP setting or remote board power-on / off control. Access the log management page or switch the board tab, request the BMC end through ASP to obtain the SEL record data of the managed node, and display the SEL record data of the managed node on the remote web end after corresponding the board tab; Access the SOL page or switch board tabs. The SSI request to the BMC terminal redirects the serial port output of each board tab to the remote Web terminal. At the same time, the control commands from the remote Web terminal are sent to the backend CGI interface and sent to the corresponding board via serial port to complete the serial port redirection control. Access the log management page or switch the board tab, fill in the firmware information to be upgraded via the remote web terminal, and upload the firmware file to the BMC or IPMC terminal to complete the firmware upgrade. After that, the firmware flashing result will be returned to the remote web terminal.
2. The lightweight BMC remote management method based on MCU and embedded Web as described in claim 1, characterized in that, The step of displaying the sensor information, board information, or SEL record data of the managed node on a remote web terminal after corresponding it with the board tabs specifically includes: JavaScript is used to determine whether the sensor information, board information, or SEL record data of the managed node belongs to the current board tab. If it does, the sensor information, board information, or SEL record data of the managed node, along with the corresponding board tab, are displayed on the remote web terminal. Otherwise, determine if there is any other sensor information; if so, repeat the previous step. Otherwise, determine whether the refresh cycle has been reached. If so, request the BMC end again via ASP to obtain the sensor information, board information or SEL record data of the managed node. If not, wait until the refresh cycle is reached.
3. The lightweight BMC remote management method based on MCU and embedded Web as described in claim 1, characterized in that, The step of sending the managed node board information to the backend CGI interface to complete the remote IP setting specifically includes: After filling in the managed node board information on the remote web client, submit it to the backend CGI interface. After extracting the IP parameter information of the managed node board information, the remote IP setting is completed.
4. The lightweight BMC remote management method based on MCU and embedded Web as described in claim 1, characterized in that, The steps of sending the managed node board information to the backend CGI interface to complete remote board power-on / off control specifically include: The current board status is obtained based on the managed node board information. Based on the current board status, the power-on, power-off, or reset control operation information is selected and submitted to the backend CGI interface. After extracting the control code and board information from the control operation information, the IPMB command is sent to the current board IPMC to complete the power-on / off control.
5. A lightweight BMC remote management method based on MCU and embedded Web as described in claim 1, characterized in that, The steps to complete the firmware upgrade by filling in the firmware information to be upgraded and uploading the firmware file to the BMC via a remote web interface include: Obtain the firmware file and parse the firmware information; Based on the Flash partition management mechanism, the BMC firmware to be upgraded is burned into the specified partition; After resetting or powering on again, the firmware upgrade is completed by executing the upgrade strategy through the Bootloader according to the firmware information and writing the BMC firmware to be upgraded into the running partition.
6. A lightweight BMC remote management method based on MCU and embedded Web as described in claim 1, characterized in that, The steps to complete the firmware upgrade by filling in the firmware information to be upgraded and uploading the firmware file to the IPMC terminal via a remote web interface include: Obtain the firmware file and parse the firmware information; Based on the IPMI protocol and a custom firmware upgrade frame protocol, the IPMC firmware to be upgraded is sent to the managed terminal for firmware flashing using a request-response frame and a three-way handshake protocol according to the firmware information. If the readback data is correct, the firmware upgrade is completed.
7. A lightweight BMC remote management system based on MCU and embedded Web, characterized in that, include: The remote sensor monitoring module is used to access the sensor monitoring page or switch the board tab. It requests the BMC terminal through ASP to obtain the sensor information of the managed node and displays the sensor information of the managed node on the remote web terminal after corresponding the board tab. The remote device management module is used to access the remote device management page or switch the board tab. It obtains the managed node board information through ASP requests to the BMC end, and displays the managed node board information on the remote web end after corresponding the board tab. At the same time, it sends the managed node board information to the backend CGI interface to complete the remote IP setting or remote board power-on / off control. The remote log management module is used to access the log management page or switch the board tab. It obtains the SEL record data of the managed node through ASP requests to the BMC end, and displays the SEL record data of the managed node on the remote web end after corresponding the board tab with the managed node SEL record data. The serial port redirection network SOL module is used to access the SOL page or switch board tabs. It requests the BMC end through SSI to redirect the serial port output of each board tab to the remote Web end. At the same time, the control commands from the remote Web end are sent to the backend CGI interface and sent to the corresponding board through the serial port, thus completing the serial port redirection control. The remote firmware upgrade module is used to access the log management page or switch board tabs. After filling in the firmware information to be upgraded and uploading the firmware file to the BMC or IPMC to complete the firmware upgrade, the module returns the firmware burning result to the remote web terminal.
8. An electronic device, characterized in that, The method includes a memory, a processor, and a computer program stored in the memory and executable in the processor. When the processor executes the computer program, it implements the steps of the lightweight BMC remote management method based on an MCU and embedded Web as described in any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the steps of the lightweight BMC remote management method based on an MCU and embedded Web as described in any one of claims 1 to 6.
10. A computer program product, the computer program product comprising a computer program, characterized in that, When the computer program is executed by the processor, it implements the steps of the lightweight BMC remote management method based on MCU and embedded Web as described in any one of claims 1 to 6.