Baseboard management controller adaptation method and program product for basic input and output system

By obtaining BMC identification information during the initialization stage of BIOS and matching the target adaptation algorithm, the problem of BIOS's large adaptation to multiple BMCs is solved, and the effect of automatic adaptation and reducing code maintenance is achieved.

CN119201225BActive Publication Date: 2025-03-14INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411721978.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-11-28
Publication Date
2025-03-14
Estimated Expiration
2044-11-28

AI Technical Summary

Technical Problem

In the prior art, BIOS needs to be adapted separately for different BMCs during startup, resulting in a large workload of code maintenance and version management.

Method used

By obtaining the current BMC identification information in the intermediate storage medium in the initialization stage, and matching the target adaptation algorithm from the pre-stored adaptation algorithm based on the information, the serial port corresponding to the BMC is initialized and configured, thereby realizing communication with the BMC.

Benefits of technology

It reduces the adaptation workload of BIOS to BMC, reduces the workload of code maintenance and management, and realizes the function of automatic matching adaptation algorithm.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119201225B_ABST
    Figure CN119201225B_ABST
Patent Text Reader

Abstract

The present invention provides a basic input and output system baseboard management controller adaptation method and program product, which are applied to the field of computer technology. In order to solve the problems of large code maintenance and large management workload of the adaptation method in the related technology, the current baseboard management controller identification information in the intermediate storage medium is obtained during the initialization stage; the current baseboard management controller identification information is written into the intermediate storage medium when the current baseboard management controller is started; according to the current baseboard management controller identification information, a target adaptation algorithm corresponding to the current baseboard management controller identification information is determined from pre-stored adaptation algorithms corresponding to different baseboard management controller identification information; in the continued startup process, the target adaptation algorithm is used to initialize and configure the serial port corresponding to the current baseboard management controller, so as to communicate with the current baseboard management controller through the initialized and configured serial port, thereby reducing code maintenance and management workload.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a baseboard management controller adaptation method for a basic input and output system, a computer program product, a device and a computer-readable storage medium. Background Art

[0002] BIOS (Basic Input Output System) and BMC (Baseboard Management Controller) are essential functional modules on server devices. BIOS runs on the main CPU (Central Processing Unit) and is used to start the main system.

[0003] During the boot process, some information of BIOS needs to be output through BMC, and some information needs to be exchanged and transmitted with BMC. To complete these functions, BIOS needs to adapt the corresponding interface of BMC during the boot process to communicate normally. Currently, a set of BIOS code corresponding to a CPU platform can only adapt to one BMC. When preparing a device that can support multiple BMCs, it is necessary to set up multiple code branches for different BMCs separately, and then adapt the corresponding BMCs through different code branches, which greatly increases the workload of code maintenance and BIOS code version management.

[0004] It can be seen that how to improve the adaptation efficiency of the BIOS on the server to the baseboard management controller is a problem that technical personnel in this field need to solve. Summary of the invention

[0005] The purpose of the embodiments of the present invention is to provide a basic input and output system baseboard management controller adaptation method, computer program product, device and computer-readable storage medium, which can reduce the workload of code maintenance and management to a certain extent.

[0006] In order to solve the above technical problems, an embodiment of the present invention provides a baseboard management controller adaptation method of a basic input and output system, which is applied to the basic input and output system. The method includes:

[0007] In the initialization stage, the current baseboard management controller identification information in the intermediate storage medium is obtained; the current baseboard management controller identification information is written into the intermediate storage medium when the current baseboard management controller is started;

[0008] According to the current baseboard management controller identification information, determining a target adaptation algorithm corresponding to the current baseboard management controller identification information from pre-stored adaptation algorithms corresponding to different baseboard management controller identification information;

[0009] In the continued startup process, the target adaptation algorithm is used to initialize and configure the serial port corresponding to the current baseboard management controller, so as to communicate with the current baseboard management controller through the initialized and configured serial port.

[0010] In one embodiment, in the initialization phase, obtaining the current baseboard management controller identification information in the intermediate storage medium includes:

[0011] After the system management bus module initialization phase of the basic input and output system is completed, the current baseboard management controller identification information in the intermediate storage medium is obtained.

[0012] In one embodiment, it also includes:

[0013] Pre-storing baseboard management controller identification information corresponding to baseboard management controllers of different models and adaptation algorithms corresponding to baseboard management controllers of different models in a preset resource pool;

[0014] Then, determining, according to the current baseboard management controller identification information, a target adaptation algorithm corresponding to the current baseboard management controller identification information from pre-stored adaptation algorithms corresponding to different baseboard management controller identification information includes:

[0015] Matching the current baseboard management controller identification information with each baseboard management controller identification information stored in the preset resource pool to determine whether there is target baseboard management controller identification information that is consistent with the current baseboard management controller identification information;

[0016] In a case where target baseboard management controller identification information that is consistent with the current baseboard management controller identification information exists in the preset resource pool, a target adaptation algorithm corresponding to the target baseboard management controller identification information is acquired.

[0017] In one embodiment, the target adaptation algorithm is used to initialize and configure the serial port corresponding to the current baseboard management controller during the continued startup process, including:

[0018] In the communication serial port initialization phase, the communication serial port is initialized by using the target adaptation algorithm, so as to send the startup log to the current baseboard management controller through the initialized communication serial port;

[0019] After the communication serial port initialization phase is completed, the system continues to boot to the pre-extensible firmware interface initialization PEI phase to configure the high-speed serial computer expansion bus.

[0020] In one embodiment, after the high-speed serial computer expansion bus is configured, the method further includes:

[0021] Acquire standard baseboard management controller identification information of the current baseboard management controller through the high-speed serial computer expansion bus;

[0022] comparing the standard baseboard management controller identification information with the current baseboard management controller identification information;

[0023] When the standard baseboard management controller identification information is consistent with the current baseboard management controller identification information, the input / output system is controlled to continue to start until the startup is completed.

[0024] In one embodiment, it also includes:

[0025] In the case where the standard baseboard management controller identification information is inconsistent with the current baseboard management controller identification information, determining whether there is baseboard management controller identification information consistent with the standard baseboard management controller identification information in the preset resource pool;

[0026] When there is baseboard management controller identification information consistent with the standard baseboard management controller identification information in the preset resource pool, the standard baseboard management controller identification information is written to the location where the current baseboard management controller identification information is located in the intermediate storage medium to overwrite the current baseboard management controller identification information and trigger its own hot restart.

[0027] In one embodiment, it also includes:

[0028] In the case that there is no baseboard management controller identification information consistent with the standard baseboard management controller identification information in the preset resource pool, marking the current baseboard management controller with an abnormal flag;

[0029] In the remaining startup process, when it is detected that the current baseboard management controller carries an abnormal flag, the interaction process with the current baseboard management controller is skipped and the startup is continued.

[0030] In one embodiment, it also includes:

[0031] The abnormal information of the current baseboard management controller and the identification information of the current baseboard management controller are correspondingly written into the intermediate storage medium.

[0032] In one embodiment, the intermediate storage medium is a logic device.

[0033] In one embodiment, the baseboard management controller identification information includes a vendor identification code and / or a device identification code.

[0034] Another aspect of the present invention provides a basic input and output system baseboard management controller adaptation method, which is applied to a baseboard management controller. The method includes:

[0035] In the startup phase, the current baseboard management controller identification information of the baseboard management controller is written into the intermediate storage medium, so that the basic input and output system obtains the current baseboard management controller identification information in the intermediate storage medium in the initialization phase, and determines the target adaptation algorithm corresponding to the current baseboard management controller identification information from the pre-stored adaptation algorithms corresponding to different baseboard management controller identification information according to the current baseboard management controller identification information, and uses the target adaptation algorithm to initialize and configure the serial port corresponding to the baseboard management controller during the process of the basic input and output system continuing to start up;

[0036] Communicate with the basic input and output system through the initialized and configured serial port.

[0037] In one embodiment, it also includes:

[0038] After the communication serial port of the basic input / output system is initialized by using the target adaptation algorithm in the communication serial port initialization phase, the startup log sent by the basic input / output system is obtained through the communication serial port, and the startup log is stored.

[0039] Another aspect of an embodiment of the present invention provides a computer program product, including a computer program / instruction, which implements the steps of the baseboard management controller adaptation method of the basic input and output system when executed by a processor.

[0040] Another aspect of the present invention provides a baseboard management controller adapter device of a basic input and output system, including:

[0041] Memory for storing computer programs;

[0042] The processor is used to execute the computer program to implement the steps of the baseboard management controller adaptation method of the basic input and output system as described above.

[0043] Another aspect of an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the baseboard management controller adaptation method of the basic input and output system as described above are implemented.

[0044] It can be seen from the above technical solution that the beneficial effects of the present invention are:

[0045] An embodiment of the present invention provides a baseboard management controller adaptation method for a basic input / output system, which is applied to the basic input / output system. The method comprises: in an initialization stage, obtaining current baseboard management controller identification information in an intermediate storage medium; the current baseboard management controller identification information is written into the intermediate storage medium when the current baseboard management controller is started; according to the current baseboard management controller identification information, determining a target adaptation algorithm corresponding to the current baseboard management controller identification information from pre-stored adaptation algorithms corresponding to different baseboard management controller identification information; and in a continued startup process, using the target adaptation algorithm to initialize and configure a serial port corresponding to the current baseboard management controller, so as to communicate with the current baseboard management controller through the initialized and configured serial port.

[0046] It can be seen that in the embodiment of the present invention, the adaptation algorithms corresponding to the identification information of different baseboard management controllers are pre-stored, and when the baseboard management controller is started, its own current baseboard management controller identification information will be written into the intermediate storage medium. The basic input and output system will read the current baseboard management controller identification information from the intermediate storage medium during the initialization stage of startup, and then match the corresponding target adaptation algorithm from the pre-stored adaptation algorithms corresponding to the identification information of each baseboard management controller according to the current baseboard management controller identification information, and then use the target adaptation algorithm to initialize and configure the serial port corresponding to the current baseboard management controller during the continued startup process, so that communication with the current baseboard management controller can be carried out through the initialized and configured serial port. During use, the present invention can automatically match the corresponding adaptation algorithm for different baseboard management controllers without setting a separate code branch, which can reduce the workload of code maintenance and management to a certain extent.

[0047] In addition, the present invention also provides corresponding implementation computer program products, devices and computer-readable storage media for the baseboard management controller adaptation method of the basic input and output system, further making the method more practical, and the computer program products, devices and computer-readable storage media have corresponding advantages. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0049] Figure 1A schematic diagram of a connection architecture between a CPU and a BMC in the related art;

[0050] Figure 2 A schematic flow chart of a baseboard management controller adaptation method for a basic input / output system provided by an embodiment of the present invention;

[0051] Figure 3 A schematic flow chart of another basic input / output system baseboard management controller adaptation method provided by an embodiment of the present invention;

[0052] Figure 4 A schematic flow chart of a baseboard management controller adaptation method of another basic input / output system provided by an embodiment of the present invention;

[0053] Figure 5 A schematic diagram of the structure of a baseboard management controller adapter device for a basic input and output system provided by an embodiment of the present invention;

[0054] Figure 6 A schematic structural diagram of another basic input / output system baseboard management controller adapter device provided by an embodiment of the present invention;

[0055] Figure 7 A schematic diagram of the structure of a baseboard management controller adapter device for a basic input / output system provided by an embodiment of the present invention;

[0056] Figure 8 A schematic diagram of the structure of a computer-readable storage medium provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0057] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0058] The terms "including" and "having" in the specification of the present invention and the above-mentioned drawings, as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device including a series of steps or units is not limited to the listed steps or units, but may include steps or units that are not listed.

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

[0060] It should be noted that BIOS runs on the main CPU and is used to start the main system. The BIOS stores the most important basic input and output programs of the computer, the self-test program after power-on, and the system self-startup program, and finally boots into the OS (Operating System). BMC is the basic core functional subsystem of the server, responsible for the server's hardware status management, operating system management, health status management, power consumption management and other core functions. The main CPU and BMC are connected through buses such as eSPI (Enhanced Serial Peripheral Interface), PCIe (peripheral component interconnect express, high-speed serial computer expansion bus standard), and USB (Universal Serial Bus). The connection between the CPU and BMC is as follows: Figure 1 shown.

[0061] The BIOS startup process requires some information interaction and transmission with the BMC. Therefore, the BIOS must first identify the BMC information and adapt the corresponding interface during the startup process in order to communicate normally. If the original equipment manufacturer wants the device to support multiple BMCs, it is necessary to pull out multiple code branches respectively and adapt the corresponding BMCs respectively, which not only increases the workload of code maintenance, but also increases the workload of BIOS code version management on the project. In view of this, an embodiment of the present invention provides a baseboard management controller adaptation method for a basic input and output system that can reduce the workload of code maintenance and BIOS code version management.

[0062] Next, a baseboard management controller adaptation method of a basic input / output system provided by an embodiment of the present invention is described in detail. Figure 2 A schematic flow chart of a baseboard management controller adaptation method of a basic input / output system provided by an embodiment of the present invention, the method is applied to a basic input / output system, and includes:

[0063] S110: in the initialization phase, obtaining the current baseboard management controller identification information in the intermediate storage medium; the current baseboard management controller identification information is written into the intermediate storage medium when the current baseboard management controller is started;

[0064] It should be noted that when the basic input / output system BIOS and the baseboard management controller BMC are powered on and started, the BMC will write its current baseboard management controller identification information to a preset position in the intermediate storage medium during the startup process. A preset number of byte spaces can be pre-divided in the intermediate storage medium, for example, 4 bytes of space can be divided to store the baseboard management controller identification information. The current baseboard management controller can write its current baseboard management controller identification information to a preset position in the intermediate storage medium, wherein the intermediate storage medium must ensure that both the BIOS and the BMC can access it normally. During the initialization stage of the BIOS startup process, the BIOS can read the current baseboard management controller identification information from the preset position in the intermediate storage medium.

[0065] S120: According to the current baseboard management controller identification information, determine a target adaptation algorithm corresponding to the current baseboard management controller identification information from pre-stored adaptation algorithms corresponding to different baseboard management controller identification information;

[0066] It can be understood that in the embodiment of the present invention, adaptation algorithms corresponding to different baseboard management controller identification information are pre-stored, and then after the BIOS reads the current baseboard management controller identification information from the intermediate storage medium, the current baseboard management controller identification information can be matched with the pre-stored adaptation algorithms corresponding to different baseboard management controller identification information, and then the target adaptation algorithm corresponding to the current baseboard management controller identification information is determined.

[0067] S130: Initializing and configuring the serial port corresponding to the current baseboard management controller using the target adaptation algorithm during the continued startup process, so as to communicate with the current baseboard management controller through the initialized and configured serial port.

[0068] In the embodiment of the present invention, the BIOS continues to start up, and during the continued startup process, the matched target adaptation algorithm is used to initialize and configure the serial port corresponding to the current baseboard management controller. After the serial port corresponding to the current baseboard management controller is initialized and configured, communication with the current baseboard management controller can be carried out through the initialized and configured serial port during the startup process.

[0069] Please refer to the following Figure 3 Based on the above embodiments, the embodiments of the present invention further illustrate and introduce the technical solution:

[0070] In one embodiment, the intermediate storage medium may be a logic device.

[0071] It can be understood that in order to better ensure that both BIOS and BMC can normally access the intermediate storage medium in the embodiment of the present invention, and even in the CPU hot start stage, both BIOS and BMC can normally access the intermediate storage medium, the intermediate storage medium in the embodiment of the present invention can use a logic device, such as a complex programmable logic device (Complex Programmable Logic Device, CPLD), wherein the CPLD is not powered off in the CPU hot start stage, thereby ensuring that the information written by the BIOS or BMC can be saved.

[0072] In actual applications, a preset number (e.g., 4) bytes can be allocated on the CPLD to store the identification information of the baseboard management controller BMC. The address space can be connected to the CPU and BMC through SMBUS (System Management Bus), so that the CPU can access the CPLD through the corresponding SMBUS bus, and the BMC can access the CPLD through the corresponding SMBUS bus. That is, during the startup process, the BMC can only write its own baseboard management controller identification information into the corresponding address space of the CPLD through the corresponding SMBUS bus.

[0073] In one embodiment, the process of acquiring the current baseboard management controller identification information in the intermediate storage medium in the initialization phase in S110 may include:

[0074] After the system management bus module initialization phase is completed, the current baseboard management controller identification information in the intermediate storage medium is obtained.

[0075] It should be noted that in actual applications, the order in which BIOS initializes hardware modules can be adjusted, and the initialization of the SMBUS (System Management Bus) module is placed before the initialization of the UART module. That is, during the BIOS startup process, the SMBUS (System Management Bus) module can be initialized first, and then the UART (Universal Asynchronous Receiver / Transmitter) module (also known as the communication serial port) can be initialized.

[0076] That is, after the BIOS is started, the SMBUS initialization of the SEC (Security Phase) is performed, and after the SMBUS initialization phase is completed, the BIOS can access the intermediate storage medium through the initialized SMBUS bus, and obtain the current baseboard management controller identification information written by the current baseboard management controller from the intermediate storage medium.

[0077] In one embodiment, the method may further include:

[0078] Pre-storing baseboard management controller identification information corresponding to baseboard management controllers of different models and adaptation algorithms corresponding to baseboard management controllers of different models in a preset resource pool;

[0079] It should be noted that in the embodiment of the present invention, a preset resource pool can be pre-established, and for different types of baseboard management controllers, baseboard management controller identification information corresponding to different types of baseboard management controllers is obtained, and adaptation algorithms corresponding to different types of baseboard management controllers are determined, and then different types of baseboard management controllers and corresponding adaptation algorithms are stored in correspondence, and different types of baseboard management controllers and corresponding baseboard management controller identification information are stored in correspondence. The baseboard management controller identification information may include a vendor identification code (also known as a Vender ID (Identity document)) and / or a device identification code (Device ID).

[0080] Accordingly, the process of determining the target adaptation algorithm corresponding to the current baseboard management controller identification information from the pre-stored adaptation algorithms corresponding to different baseboard management controller identification information in the above S120 according to the current baseboard management controller identification information may include:

[0081] Matching the current baseboard management controller identification information with each baseboard management controller identification information stored in a preset resource pool to determine whether there is target baseboard management controller identification information that is consistent with the current baseboard management controller identification information;

[0082] When target baseboard management controller identification information that is consistent with the current baseboard management controller identification information exists in the preset resource pool, a target adaptation algorithm corresponding to the target baseboard management controller identification information is acquired.

[0083] It should be noted that, in an embodiment of the present invention, the current baseboard management controller identification information obtained from the intermediate storage medium can be matched with the baseboard management controller identification information corresponding to different models of baseboard management controllers pre-stored in the baseboard manager control resource pool to determine whether there is target baseboard management controller identification information consistent with the current baseboard management controller identification information in each baseboard management controller identification information. If there is consistent target baseboard management controller identification information, it means that the current baseboard management controller is normal, and the preset resource pool stores a target adaptation algorithm corresponding to the current baseboard management controller, so that the corresponding target model is determined according to the determined target baseboard management controller identification information, and the target adaptation algorithm corresponding to the target signal is determined according to the target model, so that the target adaptation algorithm corresponding to the current baseboard management controller identification information can be determined more accurately, thereby ensuring that the BIOS better adapts to the corresponding BMC during the startup process.

[0084] In one embodiment, in the process of continuing the startup process in S30 above, using the target adaptation algorithm to initialize and configure the serial port corresponding to the current baseboard management controller, the method includes:

[0085] In the communication serial port initialization phase, the communication serial port is initialized by using a target adaptation algorithm, so that the startup log is sent to the current baseboard management controller through the initialized communication serial port;

[0086] After the communication serial port initialization phase is completed, the system continues to boot to the pre-extensible firmware interface initialization PEI phase to configure the high-speed serial computer expansion bus.

[0087] It is understandable that after obtaining the target adaptation algorithm, the corresponding communication serial port UART initialization phase can be jumped to according to the target adaptation algorithm, and the target algorithm is used in the communication serial port initialization phase to initialize the UART serial port corresponding to the current BMC through eSpI (Enhanced Serial Peripheral Interface) or LPC (Low Pin CountBus), so that the startup log can be sent to the current baseboard management controller through the initialized UART serial port. Of course, the serial port log printing of the BIOS during the startup process, the initial VGA (Video Graphics Array) startup image output, the serial port console, etc. can also be sent to the BMC through the UART serial port, and output by the BMC.

[0088] Among them, the LPC interface is a low-speed 33MHz bandwidth bus used to connect the CPU and peripheral devices. The biggest advantage of the LPC bus is that it only requires 7 signals and is easy to layout on the motherboard.

[0089] After the UART initialization phase is completed, the BIOS continues to boot. When booting to the PEI phase, the high-speed serial computer expansion bus (peripheral component interconnect express, PCIe) link is configured. After the configuration is completed, the CPU can communicate with the VGA (Video Graphics Array, video graphics array) / H2B (Host to BMC) device on the BMC side through the PCIe interface and PCIe bus, thereby realizing the communication interaction between the BIOS and the BMC. For example, the asset information of the device is sent to the BMC for easy management and display by the BMC.

[0090] In one embodiment, after the configuration of the high-speed serial computer expansion bus is completed, the method may further include:

[0091] Obtaining standard baseboard management controller identification information of the current baseboard management controller through a high-speed serial computer expansion bus;

[0092] comparing the standard baseboard management controller identification information with the current baseboard management controller identification information;

[0093] When the standard baseboard management controller identification information is consistent with the current baseboard management controller identification information, the input and output system is controlled to continue to start until the startup is completed.

[0094] It should be noted that after the high-speed serial computer expansion bus is configured, the BIOS can communicate and interact with the BMC through the PCIe bus, so the BIOS can directly obtain the baseboard management controller identification information on the current BMC through the PCIe bus. In the embodiment of the present invention, in order to distinguish the baseboard management controller identification information directly obtained by the BIOS through the PCIe bus from the current baseboard management controller identification information obtained by the BIOS from the intermediate storage medium, the baseboard management controller identification information directly obtained by the BIOS through the PCIe bus is called the standard baseboard management controller identification information, which can be represented by B, and the current baseboard management controller identification information obtained from the intermediate storage medium is represented by A. Then, the standard baseboard management controller identification information B is compared with the current baseboard management controller identification information A obtained from the intermediate storage medium. If A is the same as B, the BIOS continues to start until the BIOS startup is completed.

[0095] In one embodiment, the method may further include:

[0096] When the standard baseboard management controller identification information is inconsistent with the current baseboard management controller identification information, determining whether there is baseboard management controller identification information consistent with the standard baseboard management controller identification information in the preset resource pool;

[0097] When there is baseboard management controller identification information consistent with the standard baseboard management controller identification information in the preset resource pool, the standard baseboard management controller identification information is written to the location where the current baseboard management controller identification information is located in the intermediate storage medium to overwrite the current baseboard management controller identification information and trigger its own hot restart.

[0098] It should be noted that if A is different from B, it is further checked whether B is stored in the preset resource pool, that is, the standard baseboard management controller identification information can be compared with each baseboard management controller identification information in the preset resource pool to determine whether there is baseboard management controller identification information consistent with the standard baseboard management controller identification information in the preset resource pool. If there is consistent baseboard management controller identification information, it means that the current BMC is normal, but the current baseboard management controller identification information A written by the current BMC to the intermediate storage medium is inaccurate. At this time, the target baseboard management controller identification information B can be used as the basis, and the standard baseboard management controller identification information can be written to the location where the current baseboard management controller identification information is located in the intermediate storage medium, thereby using the standard baseboard management controller identification information. The information overwrites the current baseboard management controller identification information to ensure that the baseboard management controller identification information stored in the intermediate storage medium is accurate, and triggers a hot restart. The purpose of triggering the hot restart is to restart the BIOS, but the BMC will no longer restart. Therefore, after the BIOS hot restart, since the BMC has not restarted, the BMC will no longer write the baseboard management controller identification information to the intermediate storage medium. At this time, the intermediate storage medium stores the standard baseboard management controller identification information. Therefore, after the BIOS hot restart, it will return to S110 to execute the step of obtaining the current baseboard management controller identification information in the intermediate storage medium in the initialization phase, and re-determine the accurate target configuration algorithm, and adapt the BMC during the startup process to ensure the accuracy of the adaptation.

[0099] In one embodiment, the method may further include:

[0100] When there is no baseboard management controller identification information consistent with the standard baseboard management controller identification information in the preset resource pool, marking the current baseboard management controller with an abnormal identification;

[0101] In the case where it is detected that the current baseboard management controller carries an abnormal flag during the remaining startup process, the interaction process with the current baseboard management controller is skipped and the startup continues.

[0102] It should be noted that, if the preset resource pool does not contain baseboard management controller identification information that is consistent with the standard baseboard management controller identification information, it means that the current baseboard management controller has an exception. The current baseboard management controller can be further marked with an exception mark, such as setting the BMC exception flag global variable, and the BIOS continues to start. In the subsequent startup process, when the BOIS needs to interact with the current BMC, it can first check whether the current baseboard management controller carries an exception flag. If it is detected that the current baseboard management controller carries an exception flag, the interaction process with the current BCM is skipped and the startup continues, thereby ensuring the normal startup of the BIOS when the BMC is abnormal.

[0103] In one embodiment, the method may further include:

[0104] The abnormal information of the current baseboard management controller and the standard baseboard management controller identification information are written into the intermediate storage medium in correspondence.

[0105] It is understandable that, in the case of determining that the current BMC is abnormal, after marking the BMC as abnormal, the abnormal mark and the standard baseboard management controller identification information of the current BMC can also be written into the intermediate storage medium in correspondence with each other, which is different from the address space used to store the current baseboard management controller identification information written by the BMC. Of course, in actual applications, the BIOS can also obtain information such as the error type and error cause of the current BMC, and store the error type and error cause information in the intermediate storage medium in correspondence with the abnormal mark and the standard baseboard management controller identification information of the current BMC, and issue an error prompt, so that the staff can read the abnormal information related to the current BMC and the error type and error cause information from the intermediate storage medium in time according to the error prompt for analysis and problem location.

[0106] It can be seen that in the embodiment of the present invention, the adaptation algorithms corresponding to the identification information of different baseboard management controllers are pre-stored, and when the baseboard management controller is started, its own current baseboard management controller identification information will be written into the intermediate storage medium. The basic input and output system will read the current baseboard management controller identification information from the intermediate storage medium during the initialization stage of startup, and then match the corresponding target adaptation algorithm from the pre-stored adaptation algorithms corresponding to the identification information of each baseboard management controller according to the current baseboard management controller identification information, and then use the target adaptation algorithm to initialize and configure the serial port corresponding to the current baseboard management controller during the continued startup process, so that communication with the current baseboard management controller can be carried out through the initialized and configured serial port. During use, the present invention can automatically match the corresponding adaptation algorithm for different baseboard management controllers without setting a separate code branch, which can reduce the workload of code maintenance and management to a certain extent.

[0107] Another embodiment of the present invention provides a baseboard management controller adaptation method for a basic input and output system, please refer to Figure 4 , applied to a baseboard management controller, the method comprises:

[0108] S210: writing the current baseboard management controller identification information of the baseboard management controller into the intermediate storage medium in the startup phase, so that the basic input and output system obtains the current baseboard management controller identification information in the intermediate storage medium in the initialization phase, and determines the target adaptation algorithm corresponding to the current baseboard management controller identification information from the pre-stored adaptation algorithms corresponding to different baseboard management controller identification information according to the current baseboard management controller identification information, and uses the target adaptation algorithm to initialize and configure the serial port corresponding to the baseboard management controller during the process of the basic input and output system continuing to start up;

[0109] S220: Communicate with the basic input and output system through the initialized and configured serial port.

[0110] In one embodiment, the method may further include:

[0111] After the communication serial port of the basic input and output system is initialized by using a target adaptation algorithm in the communication serial port initialization phase, a startup log sent by the basic input and output system is obtained through the communication serial port, and the startup log is stored.

[0112] It should be noted that after the BMC in the embodiment of the present invention is connected to the CPU, the system is powered on to the BIOS and the BMC is powered on to start. During the BMC startup process, the current baseboard management controller identification information will be written to the preset position in the intermediate storage medium. A preset number of byte spaces can be pre-divided in the intermediate storage medium, for example, 4 bytes of space can be divided to store the baseboard management controller identification information. The current baseboard management controller can write its current baseboard management controller identification information to the preset position of the intermediate storage medium, wherein the intermediate storage medium must ensure that both the BIOS and the BMC can access it normally. During the initialization stage of the BIOS startup process, the BIOS can read the current baseboard management controller identification information from the preset position in the intermediate storage medium.

[0113] In the embodiment of the present invention, adaptation algorithms corresponding to different baseboard management controller identification information are pre-stored, and then after the BIOS reads the current baseboard management controller identification information from the intermediate storage medium, the current baseboard management controller identification information can be matched with the pre-stored adaptation algorithms corresponding to the different baseboard management controller identification information, and then the target adaptation algorithm corresponding to the current baseboard management controller identification information is determined. In the embodiment of the present invention, the BIOS continues to boot, and during the continued booting process, the matched target adaptation algorithm is used to initialize and configure the serial port corresponding to the current baseboard management controller. After the serial port corresponding to the current baseboard management controller is initialized and configured, the current baseboard management controller can be communicated with through the initialized and configured serial port during the booting process.

[0114] It is understandable that the embodiment of the present invention can automatically match corresponding adaptation algorithms for different baseboard management controllers during use without the need to set code branches separately, which can reduce the workload of code maintenance and management to a certain extent.

[0115] In addition, for a detailed description of the process of BIOS adapting to BMC involved in the embodiment of the present invention, please refer to the above embodiment, and the present invention will not be repeated here.

[0116] The present invention also provides a corresponding device for the baseboard management controller adaptation method of the basic input and output system, which further makes the method more practical. Among them, the device can be described from the perspective of functional modules and hardware. The baseboard management controller adaptation device of the basic input and output system provided by the present invention is introduced below. The device is used to implement the baseboard management controller adaptation method of the basic input and output system provided by the present invention. In this embodiment, the baseboard management controller adaptation device of the basic input and output system may include or be divided into one or more program modules, and the one or more program modules are stored in a storage medium and executed by one or more processors to complete the baseboard management controller adaptation method of the basic input and output system disclosed in the above embodiment. The program module referred to in the present invention refers to a series of computer program instruction segments that can complete specific functions, which is more suitable for describing the execution process of the baseboard management controller adaptation device of the basic input and output system in the storage medium than the program itself. The following description will specifically introduce the functions of each program module of this embodiment. The baseboard management controller adaptation device of the basic input and output system described below and the baseboard management controller adaptation method based on the basic input and output system described above can be referred to each other.

[0117] From the perspective of functional modules, see Figure 5 , Figure 5 The present invention provides a structural diagram of a baseboard management controller adapter device for a basic input and output system, which is applied to a basic input and output system and may include:

[0118] The first acquisition module 11 is used to acquire the current baseboard management controller identification information in the intermediate storage medium during the initialization phase; the current baseboard management controller identification information is written into the intermediate storage medium when the current baseboard management controller is started;

[0119] The matching module 12 is used to determine, according to the current baseboard management controller identification information, a target adaptation algorithm corresponding to the current baseboard management controller identification information from pre-stored adaptation algorithms corresponding to different baseboard management controller identification information;

[0120] The initialization configuration module 13 is used to initialize and configure the serial port corresponding to the current baseboard management controller using the target adaptation algorithm during the continued startup process, so as to communicate with the current baseboard management controller through the initialized and configured serial port.

[0121] In one embodiment, the first acquisition module 11 is used to:

[0122] After the system management bus module initialization phase is completed, the current baseboard management controller identification information in the intermediate storage medium is obtained.

[0123] In one embodiment, the apparatus further comprises:

[0124] Pre-storing baseboard management controller identification information corresponding to baseboard management controllers of different models and adaptation algorithms corresponding to baseboard management controllers of different models in a preset resource pool;

[0125] Then, the matching module 12 includes:

[0126] A first matching unit, configured to match the current baseboard management controller identification information with each baseboard management controller identification information stored in a preset resource pool, and determine whether there is target baseboard management controller identification information that is consistent with the current baseboard management controller identification information;

[0127] The acquisition unit is used to acquire a target adaptation algorithm corresponding to the target baseboard management controller identification information when the target baseboard management controller identification information consistent with the current baseboard management controller identification information exists in the preset resource pool.

[0128] In one embodiment, the initialization configuration module 13 includes:

[0129] A first initialization unit is used to initialize the communication serial port using a target adaptation algorithm during the communication serial port initialization phase, so as to send the startup log to the current baseboard management controller through the initialized communication serial port;

[0130] The configuration unit is used to configure the high-speed serial computer expansion bus when the communication serial port initialization phase is completed and the startup continues to the PEI phase.

[0131] In one embodiment, the device further comprises:

[0132] A first acquisition unit, used for acquiring standard baseboard management controller identification information of a current baseboard management controller through a high-speed serial computer expansion bus;

[0133] A comparison unit, used to compare the standard baseboard management controller identification information with the current baseboard management controller identification information;

[0134] The execution unit is used to control the input and output system to continue starting until the startup is completed when the standard baseboard management controller identification information is consistent with the current baseboard management controller identification information.

[0135] In one embodiment, the device further comprises:

[0136] A judging unit, configured to judge whether there is baseboard management controller identification information consistent with the standard baseboard management controller identification information in the preset resource pool when the standard baseboard management controller identification information is inconsistent with the current baseboard management controller identification information;

[0137] A writing unit is used to write the standard baseboard management controller identification information to the location where the current baseboard management controller identification information is located in the intermediate storage medium when there is baseboard management controller identification information consistent with the standard baseboard management controller identification information in the preset resource pool, so as to overwrite the current baseboard management controller identification information and trigger its own hot restart.

[0138] In one embodiment, the device further comprises:

[0139] A marking unit, used for marking the current baseboard management controller with an abnormal mark when there is no baseboard management controller identification information consistent with the standard baseboard management controller identification information in the preset resource pool;

[0140] The skipping unit is used to skip the interaction process with the current baseboard management controller and continue the startup when it is detected that the current baseboard management controller carries an abnormal flag during the remaining startup process.

[0141] In one embodiment, the device further comprises:

[0142] The storage unit is used to write the abnormal information of the current baseboard management controller and the identification information of the current baseboard management controller into the intermediate storage medium in correspondence.

[0143] In one embodiment, the intermediate storage medium is a logic device.

[0144] In one embodiment, the baseboard management controller identification information includes a vendor identification code and / or a device identification code.

[0145] It should be noted that the baseboard management controller adaptation device of the basic input / output system provided in the embodiment of the present invention has the same beneficial effects as the baseboard management controller adaptation method of the basic input / output system provided in the above embodiment, and for the specific introduction of the baseboard management controller adaptation method of the basic input / output system involved in the embodiment of the present invention, please refer to the above embodiment, and the present invention will not repeat it here.

[0146] Based on the above embodiments, Figure 6 As shown, another aspect of the embodiment of the present invention provides a baseboard management controller adapter device for a basic input and output system, which is applied to a baseboard management controller, and the device includes:

[0147] The writing module 14 is used to write its own current baseboard management controller identification information into the intermediate storage medium during the startup phase, so that the basic input and output system obtains the current baseboard management controller identification information in the intermediate storage medium during the initialization phase, and determines the target adaptation algorithm corresponding to the current baseboard management controller identification information from the pre-stored adaptation algorithms corresponding to different baseboard management controller identification information according to the current baseboard management controller identification information, and uses the target adaptation algorithm to initialize and configure the serial port corresponding to the baseboard management controller during the process of the basic input and output system continuing to start up;

[0148] The communication module 15 is used to communicate with the basic input and output system through the initialized and configured serial port.

[0149] In one embodiment, the device may further include:

[0150] The second acquisition module is used to acquire the startup log sent by the basic input and output system through the communication serial port after the communication serial port is initially initialized by using the target adaptation algorithm during the communication serial port initialization phase of the basic input and output system, and store the startup log.

[0151] It should be noted that the baseboard management controller adaptation device of the basic input / output system provided in the embodiment of the present invention has the same beneficial effects as the baseboard management controller adaptation method of the basic input / output system provided in the above embodiment, and for the specific introduction of the baseboard management controller adaptation method of the basic input / output system involved in the embodiment of the present invention, please refer to the above embodiment, and the present invention will not repeat it here.

[0152] The baseboard management controller adapter device of the basic input and output system mentioned above is described from the perspective of functional modules. Further, the present invention also provides a baseboard management controller adapter device of the basic input and output system, which is described from the perspective of hardware. Figure 7 A structural diagram of a baseboard management controller adapter device for a basic input / output system provided by an embodiment of the present invention, such as Figure 7 As shown, the device includes:

[0153] A memory 20, used for storing computer programs;

[0154] The processor 21 is used to implement the steps of the baseboard management controller adaptation method of the basic input and output system in the above embodiment when executing the computer program.

[0155] Among them, the processor 21 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 21 can be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). The processor 21 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 21 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 21 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.

[0156] The memory 20 may include one or more computer-readable storage media, which may be non-transitory. The memory 20 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In some embodiments, the memory 20 may be an internal storage unit of a baseboard management controller adapter device of a basic input and output system, such as a hard disk of a server. In other embodiments, the memory 20 may also be an external storage device of a device, such as a plug-in hard disk equipped on a server, a smart memory card (SmartMedia Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. Further, the memory 20 may also include both an internal storage unit of the device and an external storage device. The memory 20 may not only be used to store application software and various types of data installed in the baseboard management controller adapter device of the basic input and output system, such as: the code of the program in the process of executing the baseboard management controller adaptation method of the basic input and output system, but also may be used to temporarily store data that has been output or is to be output. In this embodiment, the memory 20 is at least used to store the following computer program 201, wherein, after the computer program is loaded and executed by the processor 21, the relevant steps of the baseboard management controller adaptation method of the basic input and output system disclosed in any of the aforementioned embodiments can be implemented. In addition, the resources stored in the memory 20 may also include an operating system 202 and data 203, etc., and the storage method may be temporary storage or permanent storage. Among them, the operating system 202 may include Windows, Unix, Linux, etc. The data 203 may include but is not limited to a set offset (data corresponding to the adaptation result of the baseboard management controller of the basic input and output system), etc.

[0157] In some embodiments, the device may further include a display screen 22, an input / output interface 23, a communication interface 24, a power supply 25, and a communication bus 26. Among them, the display screen 22 and the input / output interface 23, such as a keyboard, belong to the user interface, and the optional user interface may also include a standard wired interface, a wireless interface, and the like. Optionally, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, and an OLED (Organic Light-Emitting Diode) touch device, and the like. The display may also be appropriately referred to as a display screen or a display unit, which is used to display information processed in the device and to display a visual user interface. The communication interface 24 may optionally include a wired interface and / or a wireless interface, such as a WI-FI interface, a Bluetooth interface, and the like, which are generally used to establish a communication connection between the device and other devices. The communication bus 26 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, and the like. The bus may be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, Figure 7 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0158] Those skilled in the art will understand that Figure 7 The structure shown in the figure does not constitute a limitation of the device, and may include more or fewer components than shown.

[0159] It is understandable that if the baseboard management controller adaptation method of the basic input and output system in the above embodiment is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the present invention is essentially or part of the contribution to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium to execute all or part of the steps of the methods of each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (RandomAccess Memory, RAM), electrically erasable programmable ROM, register, hard disk, removable disk, CD-ROM, magnetic disk or optical disk and other media that can store program codes.

[0160] Based on this, Figure 8As shown, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program 31 is stored. When the computer program 31 is executed by a processor, the steps of the baseboard management controller adaptation method of the basic input and output system as described above are implemented.

[0161] In addition, another aspect of the embodiment of the present invention provides a computer program product, including a computer program / instruction, which implements the steps of the baseboard management controller adaptation method of the basic input and output system when executed by a processor.

[0162] The above is a detailed introduction to a baseboard management controller adaptation method, device, computer program product, equipment and computer-readable storage medium for a basic input / output system provided by an embodiment of the present invention. The various embodiments in the specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same and similar parts between the various embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part description.

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

[0164] The above is a detailed introduction to the baseboard management controller adaptation method, device, computer program product, equipment and computer-readable storage medium of a basic input / output system provided by the present invention. Specific examples are used herein to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. It should be pointed out that for ordinary technicians in this technical field, without departing from the principles of the present invention, several improvements and modifications can be made to the present invention, and these improvements and modifications also fall within the scope of protection of the claims of the present invention.

Claims

1. A baseboard management controller adaptation method for a basic input / output system, characterized in that: Applied to a basic input and output system, the method comprises: In the initialization stage, the current baseboard management controller identification information in the intermediate storage medium is obtained; the current baseboard management controller identification information is written into the intermediate storage medium when the current baseboard management controller is started; According to the current baseboard management controller identification information, determining a target adaptation algorithm corresponding to the current baseboard management controller identification information from pre-stored adaptation algorithms corresponding to different baseboard management controller identification information; In the continued startup process, the target adaptation algorithm is used to initialize and configure the serial port corresponding to the current baseboard management controller, so as to communicate with the current baseboard management controller through the initialized and configured serial port; wherein: The method further includes: pre-storing baseboard management controller identification information respectively corresponding to baseboard management controllers of different models and adaptation algorithms respectively corresponding to baseboard management controllers of different models into a preset resource pool; Then, according to the current baseboard management controller identification information, determining a target adaptation algorithm corresponding to the current baseboard management controller identification information from pre-stored adaptation algorithms corresponding to different baseboard management controller identification information includes: Matching the current baseboard management controller identification information with each baseboard management controller identification information stored in the preset resource pool to determine whether there is target baseboard management controller identification information that is consistent with the current baseboard management controller identification information; In a case where target baseboard management controller identification information that is consistent with the current baseboard management controller identification information exists in the preset resource pool, a target adaptation algorithm corresponding to the target baseboard management controller identification information is acquired.

2. The baseboard management controller adaptation method of the basic input and output system according to claim 1, characterized in that: In the initialization phase, the current baseboard management controller identification information in the intermediate storage medium is obtained, including: After the system management bus module initialization phase of the basic input and output system is completed, the current baseboard management controller identification information in the intermediate storage medium is obtained.

3. The baseboard management controller adaptation method of the basic input and output system according to claim 1, characterized in that: In the continued startup process, the target adaptation algorithm is used to initialize and configure the serial port corresponding to the current baseboard management controller, including: In the communication serial port initialization phase, the communication serial port is initialized by using the target adaptation algorithm, so as to send the startup log to the current baseboard management controller through the initialized communication serial port; After the communication serial port initialization phase is completed, the high-speed serial computer expansion bus is configured while continuing to boot to the pre-extensible firmware interface initialization phase.

4. The baseboard management controller adaptation method of the basic input and output system according to claim 3, characterized in that: After the high-speed serial computer expansion bus is configured, the method further includes: Acquire standard baseboard management controller identification information of the current baseboard management controller through the high-speed serial computer expansion bus; comparing the standard baseboard management controller identification information with the current baseboard management controller identification information; When the standard baseboard management controller identification information is consistent with the current baseboard management controller identification information, the input / output system is controlled to continue to start until the startup is completed.

5. The baseboard management controller adaptation method of the basic input and output system according to claim 4, characterized in that: Also includes: In the case where the standard baseboard management controller identification information is inconsistent with the current baseboard management controller identification information, determining whether there is baseboard management controller identification information consistent with the standard baseboard management controller identification information in the preset resource pool; When there is baseboard management controller identification information consistent with the standard baseboard management controller identification information in the preset resource pool, the standard baseboard management controller identification information is written to the location where the current baseboard management controller identification information is located in the intermediate storage medium to overwrite the current baseboard management controller identification information and trigger its own hot restart.

6. The baseboard management controller adaptation method of the basic input and output system according to claim 5, characterized in that: Also includes: In the case that there is no baseboard management controller identification information consistent with the standard baseboard management controller identification information in the preset resource pool, marking the current baseboard management controller with an abnormal flag; In the remaining startup process, when it is detected that the current baseboard management controller carries an abnormal flag, the interaction process with the current baseboard management controller is skipped and the startup is continued.

7. The baseboard management controller adaptation method of the basic input and output system according to claim 6, characterized in that: Also includes: The abnormal information of the current baseboard management controller and the identification information of the current baseboard management controller are correspondingly written into the intermediate storage medium.

8. The baseboard management controller adaptation method of a basic input / output system according to any one of claims 1 to 7, characterized in that: The intermediate storage medium is a logic device.

9. The baseboard management controller adaptation method of the basic input and output system according to claim 8, characterized in that: The baseboard management controller identification information includes a vendor identification code and / or a device identification code.

10. A baseboard management controller adaptation method for a basic input / output system, characterized in that: Applied to a baseboard management controller, the method comprises: In the startup phase, the current baseboard management controller identification information of the baseboard management controller is written into the intermediate storage medium, so that the basic input and output system obtains the current baseboard management controller identification information in the intermediate storage medium in the initialization phase, and determines the target adaptation algorithm corresponding to the current baseboard management controller identification information from the pre-stored adaptation algorithms corresponding to different baseboard management controller identification information according to the current baseboard management controller identification information, and uses the target adaptation algorithm to initialize and configure the serial port corresponding to the baseboard management controller during the process of the basic input and output system continuing to start up; Communicate with the basic input and output system through the initialized and configured serial port; wherein: Then, according to the current baseboard management controller identification information, determining a target adaptation algorithm corresponding to the current baseboard management controller identification information from pre-stored adaptation algorithms corresponding to different baseboard management controller identification information includes: Match the current baseboard management controller identification information with each baseboard management controller identification information stored in a preset resource pool to determine whether there is target baseboard management controller identification information that is consistent with the current baseboard management controller identification information; wherein baseboard management controller identification information corresponding to different types of baseboard management controllers and adaptation algorithms corresponding to different types of baseboard management controllers are stored in the preset resource pool in advance; In a case where target baseboard management controller identification information that is consistent with the current baseboard management controller identification information exists in the preset resource pool, a target adaptation algorithm corresponding to the target baseboard management controller identification information is acquired.

11. The baseboard management controller adaptation method of the basic input and output system according to claim 10, characterized in that: Also includes: After the communication serial port of the basic input / output system is initialized by using the target adaptation algorithm in the communication serial port initialization phase, the startup log sent by the basic input / output system is obtained through the communication serial port, and the startup log is stored.

12. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instruction is executed by a processor, the steps of the baseboard management controller adaptation method of the basic input and output system described in any one of claims 1 to 11 are implemented.

13. A baseboard management controller adapter device for a basic input and output system, characterized in that: include: Memory for storing computer programs; A processor is used to execute the computer program to implement the steps of the baseboard management controller adaptation method of the basic input and output system as claimed in any one of claims 1 to 11.

14. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the baseboard management controller adaptation method of the basic input and output system according to any one of claims 1 to 11 are implemented.

Citation Information

Patent Citations

  • Version information acquisition method and device, server and storage medium

    CN117407043A

  • Batch adaptation method and system for server heterogeneous computing power cards

    CN117687697A