Board card remote control method, system and equipment based on IPMI (Intelligent Platform Management Interface) and medium
By adopting a remote control method and system for boards based on IPMI, using a Java-developed B/S architecture, and combining the Spring Boot framework and startup scripts, low-cost and highly compatible graphical management is achieved, which solves the shortcomings of traditional IPMI management methods and improves the operation and maintenance efficiency and compatibility of data centers.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-04
- Publication Date
- 2026-03-10
AI Technical Summary
Traditional IPMI management methods have high operational barriers, unintuitive information display, poor remote control experience, and difficulty in batch management, which cannot meet the needs of large-scale data center operation and maintenance.
This paper provides a method and system for remote control of circuit boards based on IPMI. It adopts a B/S architecture developed in Java and utilizes the Spring Boot framework to achieve graphical management through a web interface. It combines a boot-up script and IPMI tools, supports RESTful API and Socket communication, and provides power control, health status monitoring and SOL interaction functions.
It reduces operational complexity, improves operational efficiency, supports large-scale data center management, is compatible with domestic platforms, and provides a user-friendly interaction method and a compliant remote control experience.
Smart Images

Figure CN121635982A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The application belongs to the technical field of remote control, and particularly relates to a board card remote control method, system, device and medium based on IPMI. BACKGROUND
[0002] As a hardware management standard, IPMI is used for remote monitoring and management of server hardware (such as temperature, voltage, fan status, power control, etc.). Traditional IPMI management mainly relies on command line tools (such as ipmitool) or simple Web interfaces. With the expansion of IT infrastructure and the growing demand for operation and maintenance automation, the traditional management method gradually exposes the following shortcomings: High operation threshold: complete reliance on native command line tools requires operation and maintenance personnel to have a professional Linux operation foundation, and non-professionals are difficult to start; Non-intuitive information display: sensor data, hardware logs, etc. are presented in pure text form, which cannot quickly locate fault points and is inefficient; Poor remote control experience: KVM (keyboard, video, mouse) function relies on a dedicated plug-in, which has insufficient compatibility, especially in scenarios where the plug-in is not popular; Batch management is difficult: lack of visual tools to support simultaneous management of multiple servers, unable to meet the needs of large-scale operation and maintenance of data centers. At the same time, graphical management (GUI) has become a key requirement due to the following driving factors: Efficiency improvement: visual interface reduces learning costs, shortens troubleshooting time, and reduces human error; Data center scale: centralized monitoring of a large number of servers requires a graphical dashboard to provide real-time overview of hardware status; Remote office trend: need to manage servers through browsers or mobile devices, requiring a friendly interaction method; Security compliance requirements: graphical audit logs and permission management are easier to meet industry compliance standards and facilitate the tracing of operation records. Under this background, there is an urgent need for an IPMI board card remote control solution that is suitable for domestic platforms (such as Loongson platforms), low-cost, and highly compatible to address the shortcomings of traditional management methods. SUMMARY
[0003] The purpose of the present application is to overcome the existing defects and provide a board card remote control method, system, device and medium based on IPMI, which can effectively reduce the operation and maintenance complexity and adapt to the management needs of modern data centers.
[0004] To solve the above technical problems, the present application provides the following technical solutions: The first object of the present application is to provide an IPMI-based board card remote control method, comprising the following steps: (1) The server starts the server program through the startup script, and the server program automatically starts the remote command control service; (2) Start and configure the IPMI function on the target board card to ensure that the target board card can respond to the IPMI tool command; (3) The server completes the basic data input, including board card information, custom command data and user information; (4) The server selects the target board card through the web interface, converts the web page function button operation into an http request, and sends the corresponding power control command or the predefined custom command to the target board card by calling the local IPMI tool; (5) The server obtains the health status information of the target board card through the IPMI tool, and the health status information includes sensor data; the health status information is displayed in the form of a list and / or a graphical chart in the web interface, and data export is supported; (6) The server enters the SOL column of the target board card through the web interface, provides a command line interactive interface in the web interface, receives the interactive command input by the user, and displays the CPU log information returned by the target board card in a fixed area.
[0005] Further, in step (1), the startup script sets a delay time, uses the nohup command to record the detailed startup log of the server program, and is used for quickly locating problems when the startup appears abnormally.
[0006] Further, in step (2), the necessary services required for starting the IPMI function on the target board card include network configuration, power-on and BIOS setting.
[0007] Further, in step (3), the fru information management function is used to verify the accuracy of the fru information, and if the fru information is incorrect, the fru information is updated by uploading the fru information template file.
[0008] Another object of the present application is to provide an IPMI-based board card remote control system, comprising: The server module is deployed on a management server integrated with a BMC chip and supporting an IPMI function, realizes self-starting at startup through a convenient script, records the startup log, provides a remote command control service, converts the web interface operation into an http request and tracks the command response; The target board module includes one or more target boards, configures the network, power, and BIOS services required for IPMI functionality, and receives and executes power control commands, custom commands, and SOL interactive commands sent by the server. The communication module is used to establish a network connection between the server and the target board, and to transmit control commands and response data.
[0009] Furthermore, the server module includes: The configuration management unit is used to manage the basic information, user permissions, and custom commands of the target board. The command execution unit is used to convert the instructions for remotely controlling the target board to perform power on / off operations via the Web interface into IPMI commands, send the IPMI commands to the target board for execution, and track the command execution status. The health monitoring unit is used to acquire and analyze sensor data from the target board and provides graphical display and data export functions. The SOL interactive unit, based on Socket communication, is used to provide a command-line interactive interface with the target board's CPU and display real-time echo logs in a specified area. The FRU management unit is used to verify the FRU information of the target board using the FRU information management function, and to update the FRU information of the target board by importing template files.
[0010] Furthermore, the server-side module adopts a B / S architecture, is developed using the Java language and built on the Spring Boot framework, and depends on the JDK environment to run.
[0011] Furthermore, the command execution unit encapsulates IPMI tool commands into a RESTful API interface and provides services via HTTP requests.
[0012] Another object of the present invention is to provide an electronic device, including a processor and a memory storing a computer program, wherein the processor executes the computer program to implement the IPMI-based remote control method for boards provided by the first object of the present invention.
[0013] Another object of the present invention is to provide a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the IPMI-based remote control method for boards provided by the first object of the present invention.
[0014] In combination with the above technical solutions, the beneficial effects of the present invention compared with the prior art are as follows: 1. This invention enables remote graphical control and management of boards on the Loongson platform at a relatively low cost, and provides users with convenient visual management of target boards in a WYSIWYG manner, offering rich remote management functions. Visual Java web technology is used to achieve a visual effect for IPMI board management.
[0015] 2. This invention leverages Java's cross-platform compatibility, supporting X86 Windows, Linux, and mainstream domestic environments. Combined with a startup script, it greatly enhances overall usability. While ensuring the core functionality of the IPMI tool, it simplifies the previously tedious and Linux-intensive usage process through integration with the IPMI tool and a user-friendly graphical UI, thereby reducing the learning curve for system administrators.
[0016] 3. This invention uses Spring Boot as the software framework, requiring only a JDK environment for good compatibility with various runtime environments. The server-side implementation of this invention facilitates the use of IPMI tools, sending various control commands via REST API and receiving response information from target boards in real time. It also provides a web interface to view basic information about all boards, supporting user management, board management, custom directory management, FRU information updates, health information monitoring, power control, SOL, and other functions within the web page. After the target board boots up, connectivity can be verified via the corresponding board's detection button within the server system. Through interface-level interaction with IPMItool, this invention achieves the following technical effects: effectively replacing the original IPMI command-line management method, significantly improving the efficiency of remote board maintenance, while supporting flexible expansion of the number of target boards and enabling various custom commands. The overall architecture is highly cohesive and loosely coupled, enhancing the practicality of this invention. Attached Figure Description
[0017] The accompanying drawings are provided to further illustrate the invention and form part of the specification. They are used in conjunction with embodiments of the invention to explain the invention and do not constitute a limitation thereof. In the drawings: Figure 1 This is a flowchart of the IPMI-based remote control method for circuit boards provided in an embodiment of the present invention; Figure 2 This is a schematic diagram of the IPMI-based remote control method for circuit boards provided in an embodiment of the present invention; Figure 3 This is a schematic diagram of the structure of the IPMI-based remote control system provided in an embodiment of the present invention. Detailed Implementation
[0018] The preferred embodiments of the present invention will be described below with reference to the accompanying drawings. It should be understood that the preferred embodiments described herein are for illustration and explanation only and are not intended to limit the present invention.
[0019] Example 1: like Figure 1 The image shows an embodiment of the IPMI-based remote control method for circuit boards provided by the present invention, which specifically includes the following steps: S1: The server starts the server program through a startup script, and the server program automatically starts the remote command control service. S2: Enable and configure IPMI functionality on the target board to ensure that the target board can respond to IPMI tool commands; S3: The server completes the basic data input, including board information, custom command data, and user information; S4: The server selects the target board through the web interface, converts the web page function button operation into an HTTP request, and sends the corresponding power control command or predefined custom command to the target board by calling the local IPMI tool; S5: The server obtains the health status information of the target board through the IPMI tool. The health status information includes sensor data. The health status information is displayed in the web interface in the form of a list and / or graphical chart, and the data can be exported. S6: The server accesses the SOL field of the target board through a web interface. The web interface provides a command-line interactive interface, receives interactive commands input by the user, and displays the CPU log information returned by the target board in a fixed area.
[0020] Specifically, such as Figure 2As shown, in implementation, the server uses a simplified script to automatically start the server program upon system boot. This script, with a set delay time, uses the `nohup` command to record detailed startup logs of the server program, allowing for quick problem localization should an error occur. After startup, the server program automatically starts the corresponding remote command control service according to the logic of the `main` method of the `server` class. It starts all necessary services required for IPMI functionality on the target board, such as network configuration, power on, and BIOS settings, ensuring the target board can respond correctly to IPMI tool commands. The server inputs basic data based on different business scenarios, such as board information, custom command data, and user information. The server remotely executes power control and custom command execution on the target board. By accessing the board information list, selecting the board for which remote control commands need to be executed, and clicking various function buttons in its power management section, such as power on, power off, and restart, the target board will remotely execute the corresponding power control commands. Similarly, in the target board information interface, clicking the "Custom Command Execution" button in the custom command section will execute the corresponding custom commands (such as fan speed control). The server remotely monitors the health information of the target board. Accessing the board information list, selecting the board for which remote control commands need to be executed, and clicking its health information button enters the health information data details page. This page displays detailed fields such as sensor name, value, unit, status, lower threshold, and upper threshold. The statistical sensor information includes CPU temperature, MAC temperature, LAN temperature, board voltage, and board current. Clicking the graphical view button on this page displays the corresponding sensor attributes graphically with time as the horizontal axis using line graphs and other graphical formats. It also supports exporting statistical data to an Excel file for easy viewing. The server also remotely performs SOL interaction. Accessing the SOL field on the target board opens a black-frame interface similar to the Windows command prompt. Entering relevant interaction commands in this interface will trigger a CPU response from the target board. This allows for command-line interaction with the target board and also enables modifying parameters and actively printing CPU logs to the interactive interface.
[0021] The specific parameter settings for this invention are shown in the table below: Parameter name Parameter value (reference) Description equipment_or_interface / dev / ttyS6:115200 Equipment / interface (protocol) board_fixed_info 00 80 01 01 02 3b 5a 31 00 00 00 Address response fixed information, generally fixed after factory board_address_min 112 Board address minimum value (even number from 2-254), set according to actual address range board_address_max 254 Board address maximum value (even number from 2-254), set according to actual address range Preferably, in step S1 of this embodiment of the invention, the startup script uses a delay time setting and the nohup command to record detailed startup logs of the server program, which is used to quickly locate problems when startup anomalies occur.
[0022] Preferably, in step S2 of this embodiment of the invention, which involves starting and configuring the IPMI function on the target board, the necessary services required to start the IPMI function on the target board include network configuration, power-on, and BIOS settings.
[0023] Preferably, in step S3 of this embodiment of the invention, the accuracy of the fru information is verified by the fru information management function. If the fru information is incorrect, the fru information is updated by uploading the fru information template file.
[0024] Example 2: like Figure 3 As shown, another objective of the present invention is to provide a board-based remote control system based on IPMI, comprising: The server module is deployed on a management server that integrates a BMC chip and supports IPMI functionality. It enables automatic startup through convenient scripts, records startup logs, provides remote command control services, and converts web interface operations into HTTP requests and tracks command responses. The target board module includes one or more target boards, configures the network, power, and BIOS services required for IPMI functionality, and receives and executes power control commands, custom commands, and SOL interactive commands sent by the server. The communication module is used to establish a network connection between the server and the target board, and to transmit control commands and response data.
[0025] Preferably, the server module of this embodiment includes: The configuration management unit is used to manage the basic information, user permissions, and custom commands of the target board. The command execution unit is used to convert the instructions for remotely controlling the target board to perform power on / off operations via the Web interface into IPMI commands, send the IPMI commands to the target board for execution, and track the command execution status. The health monitoring unit is used to acquire and analyze sensor data from the target board and provides graphical display and data export functions. The SOL interactive unit, based on Socket communication, is used to provide a command-line interactive interface with the target board's CPU and display real-time echo logs in a specified area. The FRU management unit is used to verify the FRU information of the target board using the FRU information management function, and to update the FRU information of the target board by importing template files.
[0026] Specifically, first ensure that the management server motherboard has integrated a BMC chip and supports IPMI. For network connection, a dedicated management network port (usually labeled as BMC / iLO / iDRAC) or a shared network port (which needs to be configured in the BIOS) is required. Then check the power configuration. The server must be powered on (even if the host is not powered on), and a redundant power configuration is recommended. Next, check the BIOS settings. Boot into the BIOS settings, enable the IPMI / BMC function, find the "BMC Configuration" or "Server Management" option, enable IPMI over LAN, set the BMC shared or dedicated network mode, configure the IPMI network parameters, set a static IP or dynamic DHCP, configure the subnet mask and gateway, record the MAC address of the BMC, set the IPMI user permissions, create an administrator account, set a strong password, configure the user permission level, save the settings and restart. Continue to check the physical connection configuration. Here, an independent management port solution is adopted. Connect the dedicated BMC network port to the management network. It is recommended to use a VLAN isolated from non-management traffic. Finally, verify the initial network configuration. Confirm that the BMC has obtained an IP address through the BMC status indicator on the server panel and the assigned IP; test the network connectivity by using the command line to ping <BMC_IP address>; or access https: / / <BMC_IP address> through a browser and log in with the configured credentials.
[0027] After ensuring that the server IPMI function is enabled, clarify the appropriate board management method according to the requirements of the project site environment. IPMI supports both local and network modes. In most scenarios, using the network mode can more conveniently manage multiple boards. Then, you can start entering the data related to the boards to be managed by logging in to the board management module in the system management background, including basic information such as the board IP address, motherboard description, motherboard serial number, motherboard version, CPU number, CPU model, design manufacturer, etc. After completing the input of these basic data, the relevant board data can be viewed in the board information list.
[0028] After completing the above settings, you can perform functional control operations on the managed boards, including: updating FRU information, configuring custom commands and assigning them to the boards, health monitoring, power management, and SOL (System Log) functionality. Updating FRU information is primarily for administrator operations; generally, the FRU information is fixed after the motherboard leaves the factory, and should only be modified manually if necessary. Configuring custom commands allows for flexible configuration of custom functions, such as adjusting board fan speeds, and then assigning these custom commands to the target board, making them available in the target board's custom function bar. The health monitoring function allows you to query various sensor parameters of the target board via the network and display them in graphical tables for the user to monitor whether the target board's data is normal. The power management function allows you to remotely control the target board to perform power-related control operations such as power-on, power-off, and restart, facilitating remote graphical maintenance. The SOL function uses a program to simulate a command-line tool, enabling interaction with the target board via the command line and viewing CPU-related logs.
[0029] It should be noted that this invention is a remote control software solution based on the Loongson platform, implemented in Java, using socket communication, and combined with HTML5 web technology. It is a lightweight software system with a B / S architecture. Considering the need for unified adaptation in domestic environments, the dependent environment only requires the JDK to easily run microservices. The overall solution only requires starting the server; the target boards only need to be configured with some basic hardware settings and be on the same local area network for interoperability.
[0030] Because this invention uses a microservice architecture, it is relatively lightweight, does not consume excessive server resources, has good independent operation, and is packaged as an executable JAR / WAR file, requiring no additional application server and supporting containerized deployment. Configuring the target board is also relatively simple; after configuring the necessary IPMI services, it only needs to be connected to the same local area network as the server.
[0031] This invention leverages Java's cross-platform capabilities, making it compatible with x86 Windows, Linux, and mainstream domestic environments. Combined with a startup script, it greatly enhances overall usability. While maintaining the original functionality of IPMI tools, it provides the convenience and scalability of modern web applications, effectively reducing the barrier to entry and maintenance costs for projects.
[0032] This invention uses Spring Boot as the software framework, requiring only a JDK environment for good compatibility with various runtime environments. The server-side of this invention packages IPMI tool commands into HTTP requests and constructs a standardized remote control interface via a RESTful API. After the server initiates a request, it immediately receives the optimized response from the target board, which is then graphically displayed to the end user through a web interface. The server implements more complex SOL interaction functions using UDP-based socket requests to obtain real-time CPU logs. This invention further optimizes and encapsulates the basic IPMI tools, processing various sensor information commands, power commands, FRU operations, and SOL logs using different Java methods. This allows the originally more complex native IPMI tools to be presented to users in a simple and easy-to-understand web interface, while supporting flexible board expansion, FRU information updates, and flexible configuration of custom commands. The overall architecture is highly cohesive and loosely coupled, enhancing the practicality of this invention.
[0033] Example 3: Another object of the present invention is to provide an electronic device, including a processor and a memory storing a computer program, wherein the processor executes the computer program to implement the IPMI-based remote control method for boards provided by the first object of the present invention.
[0034] Example 4: Another object of the present invention is to provide a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the IPMI-based remote control method for boards provided by the first object of the present invention.
[0035] It should be understood that although the steps in the flowcharts of the various embodiments of the present invention are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated in the present invention, there is no strict order restriction on the execution of these steps, and these steps can be executed in other orders. Moreover, at least some steps in the various embodiments may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least a portion of the sub-steps or stages of other steps.
[0036] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, storage, databases, or other media used in the embodiments provided by this invention can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), Rambus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
[0037] Finally, it should be noted that the above descriptions are merely preferred embodiments of the present invention and are not intended to limit the present invention. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art can still modify the technical solutions described in the foregoing embodiments or make equivalent substitutions for some of the technical features. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the protection scope of the present invention.
Claims
1. An IPMI-based board card remote control method, characterized in that, The method comprises the following steps: (1) The server starts the server program through the self-starting script, and the server program automatically starts the remote command control service; (2) The IPMI function is started and configured on the target board card to ensure that the target board card can respond to the IPMI tool command; (3) The server completes the basic data input, including the board card information, the custom command data and the user information; (4) The server selects the target board card through the web interface, converts the web page function button operation into an http request, sends the corresponding power control command or the predefined custom command to the target board card by calling the local IPMI tool; (5) The server obtains the health status information of the target board card through the IPMI tool, wherein the health status information comprises sensor data; the health status information is displayed in the form of a list and / or a graphical chart in the web interface, and the data can be exported; (6) The server enters the SOL column of the target board card through the web interface, provides a command line interactive interface in the web interface, receives the interactive command input by the user and displays the CPU log information returned by the target board card in a fixed area.
2. The IPMI-based board card remote control method according to claim 1, wherein, In step (1), the self-starting script sets a delay time, uses the nohup command to record the detailed startup log of the server program, and is used for quickly locating problems when the startup appears abnormity.
3. The IPMI-based board card remote control method according to claim 1, wherein, In step (2), the necessary services required for starting the IPMI function on the target board card include network configuration, power-on and BIOS setting.
4. The IPMI-based board card remote control method according to claim 1, wherein, In step (3), the fru information management function is used to verify the accuracy of the fru information, and if the fru information is incorrect, the fru information is updated by uploading the fru information template file.
5. An IPMI-based board card remote control system, characterized in that, The system comprises: a server module, which is deployed on a management server integrated with a BMC chip and supporting an IPMI function, realizes self-starting through a convenient script, records a startup log, provides a remote command control service, converts web interface operation into an http request and tracks command response; a target board card module, which comprises one or more target board cards, configures the network, power and BIOS services required for the IPMI function, receives and executes the power control command, the custom command and the SOL interactive command sent by the server; a communication module, which is used for establishing a network connection between the server and the target board card, transmitting control commands and response data.
6. The IPMI-based board card remote control system according to claim 5, wherein, The server module comprises: a configuration management unit, which is used for managing the basic information, user permissions and custom commands of the target board card; a command execution unit, which is used for converting the instruction for remotely controlling the target board card to switch on / off power through the web interface into an IPMI command, sending the IPMI command to the target board card for execution and tracking the command execution state; a health monitoring unit, which is used for obtaining and analyzing the sensor data of the target board card and providing a graphical display and data export function; The SOL interaction unit is based on Socket communication and is used for providing a command line interaction interface with a CPU of the target board card and displaying real-time echo logs in a specified area. The FRU management unit is used for checking FRU information of the target board card by using a FRU information management function and updating the FRU information of the target board card by template file import.
7. The IPMI-based board card remote control system according to claim 5, wherein, The server module adopts a B / S architecture, is developed by using a Java language and is built based on a SpringBoot framework and depends on a JDK environment for operation.
8. The IPMI-based board card remote control system according to claim 6, wherein, The command execution unit encapsulates IPMI tool commands as RESTful API interfaces and provides services in the form of HTTP requests.
9. An electronic device comprising a processor and a memory having a computer program stored therein, characterized in that, The processor executes the computer program to implement the IPMI-based board card remote control method in any one of claims 1 to 4.
10. A computer-readable storage medium having stored thereon a computer program, characterized in that, The computer program is executed by the processor to implement the IPMI-based board card remote control method in any one of claims 1 to 4.