A configuration management method, system, device and computer readable storage medium

By obtaining the pin configuration file from the CPLD through the BMC, the cost problem of adding monitored components to the computer system is solved, and automated and flexible configuration management is achieved.

CN115525350BActive Publication Date: 2026-08-04INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
INSPUR SUZHOU INTELLIGENT TECH CO LTD
Filing Date
2022-09-30
Publication Date
2026-08-04

AI Technical Summary

Technical Problem

When adding components to be monitored to a computer system using existing technologies, new BMCs need to be continuously manufactured, leading to increased time and economic costs.

Method used

After obtaining the identification information of the pins to be used, the BMC retrieves the pre-stored pin configuration files from the CPLD and calls these files to transmit signals, thus avoiding the need to remake the BMC.

Benefits of technology

It reduces time and economic costs, increases automation and flexibility, and reduces the need for hardware replacement.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115525350B_ABST
    Figure CN115525350B_ABST
Patent Text Reader

Abstract

The application discloses a configuration management method, system and device and a computer readable storage medium, and relates to the management field. When a start-up instruction is received, the identification information of a to-be-used pin of the self is acquired; a pin configuration file corresponding to the identification information of the to-be-used pin in the CPLD is acquired and stored; when a signal is transmitted through the to-be-used pin, the pin configuration file corresponding to the identification information of the to-be-used pin of the transmitted signal is called. After the BMC acquires the identification information of the current to-be-used pin of the self, the pin configuration file corresponding to the identification information of the pin and pre-stored in the CPLD is acquired, and then when the pin is used to transmit a signal, the pin configuration file is called according to the identification information of the pin, so that when a new to-be-monitored component is added to the computer system, only the pin configuration file of the pin connected with the new to-be-monitored component needs to be acquired from the CPLD, and the time and economic cost are reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of management, and in particular to a configuration management method, system, apparatus, and computer-readable storage medium. Background Technology

[0002] In computer systems such as servers, the BMC (Baseboard Management Controller) typically has multiple pins. The BMC connects to monitored components via these pins, and each pin typically connects to a different component with a different function. Therefore, when the BMC monitors and controls these components, it needs to store the corresponding pin configuration. When a new monitored component is added to the computer system, and this new component also needs to be monitored and controlled by the BMC, although existing unused pins on the BMC can be used, the BMC does not store the corresponding pin configuration. Therefore, a new pin configuration needs to be added. Current technology typically involves manufacturing a new BMC that includes this new pin configuration. This means that whenever a new monitored component is added to the computer system, a new BMC needs to be continuously manufactured, significantly increasing time and economic costs. Summary of the Invention

[0003] The purpose of this invention is to provide a configuration management method, system, device, and computer-readable storage medium. After the BMC obtains the identification information of its currently used pins, it retrieves the pin configuration file corresponding to the pin identification information pre-stored in the CPLD. Then, when using the pin to transmit signals, the pin configuration file is retrieved according to the pin's identification information. This allows for easier access to the computer system when a new monitored component is added, requiring only the pin configuration file of the pin connected to the new monitored component to be retrieved from the CPLD, thus reducing time and economic costs.

[0004] To address the aforementioned technical problems, this invention provides a configuration management method applied to a BMC, comprising:

[0005] Upon receiving a power-on command, it obtains the identification information of its own pins to be used;

[0006] Obtain the pin configuration file corresponding to the identification information of the pin to be used in the CPLD and store the pin configuration file. The CPLD pre-stores the pin configuration files of all the pins to be used.

[0007] Call the pin configuration file corresponding to the identification information of the pin to be used so that the pin to be used can transmit signals.

[0008] Preferably, after calling the pin configuration file corresponding to the identification information of the pin to be used, the method further includes:

[0009] When the transmission direction of the transmitted signal is determined to be input according to the pin configuration file, the level value of the signal is obtained;

[0010] Determine the preset trigger signal level value contained in the pin configuration file;

[0011] Determine whether the level value and the preset trigger signal level value are equal;

[0012] If so, store the signal as a trigger signal to be processed.

[0013] Preferably, after calling the pin configuration file corresponding to the identification information of the pin to be used, the method further includes:

[0014] When the transmission direction of the transmitted signal is determined to be output according to the pin configuration file, the circuit type of the motherboard where the BMC is located, contained in the pin configuration file, is obtained.

[0015] When the signal is determined to be a signal that needs to be triggered, obtain the trigger signal script;

[0016] Obtain the circuit type script corresponding to the circuit type;

[0017] Run the circuit type script and the trigger signal script and output the signal.

[0018] Preferred options also include:

[0019] When it is determined that the signal is a signal that does not need to be triggered, obtain the default signal script;

[0020] Run the circuit type script and the default signal script and output the signal.

[0021] Preferably, the identification information of the pin to be used is obtained, including:

[0022] Obtain the identification information of the pin to be used of the BMC sent by the CPLD.

[0023] Preferably, acquiring the level value of the signal includes:

[0024] Obtain the register offset value corresponding to the identification information of the pin to be used for transmitting the signal;

[0025] The register offset value is used as the signal level value.

[0026] Preferably, before obtaining the pin configuration file corresponding to the identification information of the pin to be used in the CPLD and storing the pin configuration file, the method further includes:

[0027] Call the pin configuration file storage tool;

[0028] Storing the pin configuration file includes:

[0029] The pin configuration file is stored inside the pin configuration file storage tool.

[0030] To address the aforementioned technical problems, the present invention also provides a configuration management system, comprising:

[0031] The identification information acquisition unit is used to acquire the identification information of its own pins to be used when it receives a power-on command;

[0032] A pin configuration file acquisition unit is used to acquire the pin configuration file corresponding to the identification information of the pin to be used in the CPLD and store the pin configuration file. The CPLD pre-stores the pin configuration files of all the pins to be used.

[0033] The pin configuration file calling unit is used to call the pin configuration file corresponding to the identification information of the pin to be used so that the pin to be used can transmit signals.

[0034] To address the aforementioned technical problems, the present invention also provides a configuration management device, comprising:

[0035] Memory, used to store computer programs;

[0036] A processor for executing the computer program to implement the steps of the configuration management method described above.

[0037] To address the aforementioned technical problems, the present invention also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps of the configuration management method described above.

[0038] This application provides a configuration management method, system, device, and computer-readable storage medium. Upon receiving a power-on command, the system obtains the identification information of its own pins to be used; it then obtains and stores the pin configuration file corresponding to the identification information of the pins in the CPLD (Content Management Logic Controller). The CPLD pre-stores pin configuration files for all pins to be used. When transmitting signals through the pins to be used, the system calls the pin configuration file corresponding to the identification information of the pins transmitting the signals. After the BMC (Body Control Module) obtains the identification information of its current pins to be used, it obtains the pin configuration file pre-stored in the CPLD corresponding to the pin identification information. Then, when transmitting signals using the pin, the system calls the pin configuration file based on the pin's identification information. This eliminates the need to create a new BMC when a new monitored component is added to the computer system; instead, it only needs to obtain the pin configuration file of the pin connected to the new monitored component from the CPLD, reducing time and economic costs. Attached Figure Description

[0039] To more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the prior art and embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0040] Figure 1 A flowchart of a configuration management method provided by the present invention;

[0041] Figure 2 A schematic diagram of the structure of a configuration management system provided by the present invention;

[0042] Figure 3 This is a schematic diagram of a configuration management device provided by the present invention. Detailed Implementation

[0043] The core of this invention is to provide a configuration management method, system, device, and computer-readable storage medium. After the BMC obtains the identification information of its currently used pins, it retrieves the pin configuration file corresponding to the pin identification information pre-stored by the CPLD. Then, when using the pin to transmit signals, the pin configuration file is retrieved according to the pin's identification information. This allows for easier access to the computer system when a new monitored component is added; only the pin configuration file of the pin connected to the new monitored component needs to be retrieved from the CPLD, reducing time and economic costs.

[0044] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0045] Please refer to Figure 1 , Figure 1 A flowchart illustrating a configuration management method provided by the present invention. This method is applied to a BMC (Browser Management Center) and includes:

[0046] S11: Upon receiving a power-on command, obtain the identification information of the pins to be used.

[0047] In existing technologies, when a new monitored component is added to a computer system and connects to the Base Controller (BMC), the BMC's GPIO pins are used. To enable the BMC to monitor and control the newly added monitored component, a corresponding pin configuration file is required. However, since the monitored component is newly added, no such configuration file was previously stored. Existing technologies would directly create a new BMC containing the configuration file, which increases manufacturing costs and reduces efficiency. Therefore, this application proposes a configuration management method that automatically provides a pin configuration file for a new monitored component upon its connection, enabling the BMC to monitor the component. The system eliminates the need for manual input of configuration files into the BMC and the need to rebuild the BMC, thus improving the automation level of the solution. Upon receiving a power-on command, it obtains the identification information of its own pins to be used. Based on the identification information of the pins to be used, it can determine which of its multiple pins will be used in subsequent monitoring and control functions. When obtaining pin configuration files later, it only needs to obtain the configuration files of the pins that may be used, and does not need to obtain the configuration files of the pins that the BMC itself will not use. This improves the efficiency of the solution and the reliability of obtaining pin configuration files. The obtained files are all the pin configuration files that will be used later, which improves the feasibility of the solution.

[0048] S12: Obtain the pin configuration file corresponding to the identification information of the pin to be used in the CPLD and store the pin configuration file. The CPLD pre-stores the pin configuration files of all pins to be used.

[0049] In the specific acquisition process, the CPLD, as the main chip managing the computer system, can monitor the BMC hardware and software such as BIOS, playing a key management role. The CPLD can also serve as a tool for storing pin profiles for all pins to be used, including pin profiles for all functions and the pins corresponding to the components to be monitored. These pin profiles are pre-stored by the developers. When a pin profile changes—that is, when a new pin is added—the developers can update the pin profile, improving the flexibility of the solution and the reliability of the pin profiles. The CPLD retrieves and stores the pin profiles corresponding to the identification information of the pins to be used. During actual acquisition, the corresponding pin profile can be obtained based on the identification information of the pins to be used. The identification information can be, but is not limited to, codes or names, and can be changed according to actual conditions and user needs, improving the flexibility of the solution and the user experience. Here, the identification information of the pins to be used is the pin number. Each pin of the BMC can correspond to a number. When implementing control or monitoring functions, the pin number of the currently transmitting signal can be obtained.

[0050] The CPLD pre-stores pin configuration files for all pins to be used, allowing retrieval based on pin identification information. This eliminates the need to recreate a new BMC, increasing automation and reducing costs. Furthermore, the CPLD is an existing component in the computer system, eliminating the need for additional hardware. This step reuses the CPLD, and the entire process is automated, further enhancing automation.

[0051] Table 1

[0052]

[0053] It should be noted that the CPLD requires the following BMC pin configuration information:

[0054] 1. The pin to be used for this function (GPIO number, which is the identification information of the pin to be used)

[0055] 2. What is the direction setting (input / output, i.e., whether the signal transmission direction is input or output)?

[0056] 3. Circuit type design (type is open-drain / push-pull, that is, whether the circuit type of the motherboard where the BMC is located is open-drain or push-pull)

[0057] 4. What is the default signal? (The default signal is high / low; the default signal is the level setting of the signal that does not need to be triggered.)

[0058] 5. What is the drive signal (active mode is low active or high active; the drive signal is the actual level of the signal that needs to be triggered, specifically whether it is a high-level or low-level trigger)? After obtaining the above configuration, corresponding control can be performed according to the configuration content when transmitting signals, improving the reliability of the solution. In addition to the necessary configurations, configurations such as those shown in Table 1 can also be added. The specific configuration content can be set according to the actual situation.

[0059] S13: Call the pin profile corresponding to the identification information of the pin to be used so that the pin to be used can transmit signals.

[0060] When transmitting signals through a pin to be used, the pin configuration file is retrieved based on the pin's identification information. After storing the pin configuration file in the previous step, it can be retrieved. The configuration file corresponding to the pin to be used is retrieved when a function is required, facilitating signal transmission through that pin. The entire process is automated, improving the reliability of the solution. Furthermore, the pin configuration file for the pin to be used is already stored internally in the BMC, eliminating the need to retrieve it from the CPLD. The stored configuration file corresponds to the one used during this power-on. Upon the next power-on, if the monitored component is replaced, the configuration file for the currently used pin can also be retrieved. This automated process enhances the flexibility and reliability of the solution.

[0061] The CPLD must provide I2C communication and an address, but is not limited to I2C; other communication methods are also possible. It stores commonly used GPIO configurations by the BMC (such as power button, reset button, platform reset, BIOS default loading, CPU, NMI, BMC heartbeat, system LEDs, system power good, etc.) in their corresponding registers. It provides instructions for the BMC to read these configurations via the I2C interface. After the BMC runs, it stores the pin configuration file read from the CPLD. When needed, it retrieves the corresponding pin configuration file and performs actions based on it. This allows for dynamic configuration of BMC pins in conjunction with the CPLD, eliminating the need to re-build the BMC. One version of the BMC can support pin configurations for all motherboards. Furthermore, developing a new motherboard typically requires updating the corresponding CPLD, BMC, and BIOS. This method reduces the time spent configuring BMC pins, improving processing efficiency.

[0062] In summary, this application provides a configuration management method. Upon receiving a power-on command, the system obtains the identification information of its own pins to be used; it then retrieves and stores the pin configuration file corresponding to the identification information of the pins in the CPLD (Content Management Logic Controller). The CPLD pre-stores the pin configuration files for all pins to be used. When transmitting signals through the pins to be used, the system calls the pin configuration file corresponding to the identification information of the pins transmitting the signals. After the BMC (Body Control Module) obtains the identification information of its current pins to be used, it retrieves the pin configuration file pre-stored in the CPLD. Then, when transmitting signals using the pin, the system calls the pin configuration file based on the pin's identification information. This eliminates the need to create a new BMC when a new monitored component is added to the computer system; instead, it only needs to retrieve the pin configuration file of the pin connected to the new monitored component from the CPLD, reducing time and economic costs.

[0063] Based on the above embodiments:

[0064] In a preferred embodiment, after calling the pin configuration file corresponding to the identification information of the pin to be used, the method further includes:

[0065] When the transmission direction of the signal is determined to be input based on the pin configuration file, the signal level value is obtained.

[0066] Determine the preset trigger signal level value contained in the pin configuration file;

[0067] Determine whether the voltage level is equal to the preset trigger signal voltage level.

[0068] If so, store the signal as a trigger signal to be processed.

[0069] In this embodiment, when the transmission direction of the transmitted signal is determined to be input based on the transmission direction information contained in the pin configuration file, it is necessary to obtain the signal level value. This is because if it is an input signal, the BMC needs to perform corresponding processing on the signal. Then, the preset trigger signal level value contained in the pin configuration file is determined. The previously obtained pin configuration file contains the preset trigger signal level value corresponding to the pin to be used. When it is determined that the transmitted signal level value and the preset trigger signal level value are equal, it means that the signal needs to be processed. The trigger signal refers to the action that needs to be triggered. Then, the signal is stored as a pending trigger signal. At this time, the BMC stores the event of the signal being a pending trigger signal. After the developers query the event through the log file, they can find that the event is pending and then perform the corresponding processing action. For example, when a power failure event is received, the power supply can be repaired accordingly, which improves the reliability of the solution.

[0070] In a preferred embodiment, after calling the pin configuration file corresponding to the identification information of the pin to be used, the method further includes:

[0071] When the transmission direction of the transmitted signal is determined to be output based on the pin configuration file, the circuit type of the motherboard where the BMC is located, contained in the pin configuration file, is obtained.

[0072] Once the signal is determined to be the one that needs to be triggered, obtain the trigger signal script;

[0073] Retrieve the circuit type script corresponding to the circuit type;

[0074] Run the circuit type script and trigger signal script and output the signal.

[0075] In this embodiment, when the transmission direction of the transmitted signal is determined to be output according to the pin configuration file, since the signal is output from the BMC, it is necessary to obtain the circuit type of the motherboard where the BMC is located, which is contained in the pin configuration file. This circuit type can be open-drain or push-pull. Then, according to the circuit type, the corresponding script can be called to output the signal. At the same time, when it is determined that the signal is a signal that needs to be triggered, the trigger signal script is obtained. For example, when a signal is received from the CPLD, the CPLD can inform the BMC whether the signal needs to be triggered. At this time, the trigger signal script is called, and after running the circuit type script and the trigger signal script, the signal can be output. After the signal is output, the desired effect can be achieved, improving the reliability of the solution.

[0076] As a preferred embodiment, it also includes:

[0077] When a signal is determined to be a signal that does not need to be triggered, retrieve the default signal script;

[0078] Run the circuit type script and the default signal script and output the signal.

[0079] When a signal is received from other components and it is determined that the signal to be output is not a signal that needs to be triggered, the default signal script is retrieved. This retrieves the default values ​​contained in the pin configuration file. Then, the circuit type script and the default signal script are run. Similarly, when the BMC outputs a signal, the circuit type of the motherboard it is on also needs to be considered. This circuit type can be open-drain or push-pull. Then, the corresponding circuit type script is called according to the different circuit types before the signal is sent out, so that the signal has the ability to perform the corresponding function, thus improving the reliability of the solution.

[0080] As a preferred embodiment, obtaining the identification information of the pin to be used includes:

[0081] Obtain the identification information of the pins to be used in the BMC sent by the CPLD.

[0082] Since the CPLD has the ability to manage components such as the BMC of the entire motherboard, when a computer or other device is powered on, the CPLD can obtain the pins that the current BMC will use next. The CPLD knows the functions that the current computer device needs to perform with respect to the BMC, so by obtaining the pins of the current BMC through the CPLD, the pin identification information is sent to the BMC, which improves the feasibility of the solution.

[0083] As a preferred embodiment, acquiring the signal level includes:

[0084] Obtain the register offset value corresponding to the identification information of the pin to be used to transmit the signal;

[0085] Use the register offset value as the signal level value.

[0086] When actually acquiring the signal level, the signal level cannot be obtained directly. It is necessary to obtain the register offset value corresponding to the identification information of the pin to be used to transmit the signal. This is because when receiving a signal, only the register offset value below the pin is received. The current register can receive the high and low levels of the transmitted signal. Then, the register writes a register offset value. After the processor obtains the register offset value, it can use the register offset value as the signal level. The whole process is automated, which improves the reliability and automation of the solution.

[0087] As a preferred embodiment, before obtaining the pin configuration file corresponding to the identification information of the pin to be used in the CPLD and storing the pin configuration file, the method further includes:

[0088] Call the pin configuration file storage tool;

[0089] Store the pin profile, including:

[0090] Store the pin configuration file inside the pin configuration file storage tool.

[0091] In this embodiment, before obtaining the pin configuration file corresponding to the identification information of the pin to be used in the CPLD and storing the pin configuration file, it is necessary to first create a pin configuration file storage tool. This pin configuration file storage tool is used to store the pin configuration files received later. Storing the pin configuration file inside the pin configuration file storage tool, and creating a corresponding pin configuration file storage location before receiving the pin configuration file corresponding to the identification information of the pin to be used, makes the management of the whole process more reliable and improves the reliability of the solution.

[0092] Please refer to Figure 2 , Figure 2This is a schematic diagram of the structure of a configuration management system provided by the present invention.

[0093] The present invention also provides a configuration management system, comprising:

[0094] The identification information acquisition unit 10 is used to acquire the identification information of its own pins to be used when it receives a power-on command;

[0095] The pin configuration file acquisition unit 11 is used to acquire the pin configuration file corresponding to the identification information of the pin to be used in the CPLD and store the pin configuration file. The CPLD pre-stores the pin configuration files of all the pins to be used.

[0096] The pin configuration file calling unit 12 is used to call the pin configuration file corresponding to the identification information of the pin to be used so that the pin to be used can transmit signals.

[0097] The pin configuration file calling unit includes, after which:

[0098] The level value acquisition unit is used to acquire the level value of the signal when the transmission direction of the transmitted signal is determined to be input according to the pin configuration file;

[0099] A preset trigger signal level value determination unit is used to determine the preset trigger signal level value contained in the pin configuration file;

[0100] The judgment unit is used to determine whether the level value and the preset trigger signal level value are equal; if so, the judgment unit is triggered.

[0101] The determination unit is used to store the signal as a trigger signal to be processed.

[0102] The pin configuration file calling unit includes, after which:

[0103] The circuit type determination unit is used to obtain the circuit type of the motherboard where the BMC is located, which is contained in the pin configuration file, when the transmission direction of the transmitted signal is determined to be output according to the pin configuration file.

[0104] The trigger signal script acquisition unit is used to acquire the trigger signal script when it is determined that the signal is a signal that needs to be triggered;

[0105] A circuit type script acquisition unit is used to acquire a circuit type script corresponding to the circuit type.

[0106] The first processing unit is used to run the circuit type script and the trigger signal script and output the signal.

[0107] The configuration management system also includes:

[0108] The default signal script acquisition unit is used to acquire the default signal script when it is determined that the signal is a signal that does not need to be triggered.

[0109] The second processing unit is used to run the circuit type script and the default signal script and output the signal.

[0110] The identification information acquisition unit includes:

[0111] Obtain the identification information of the pin to be used of the BMC sent by the CPLD.

[0112] The level value acquisition unit includes:

[0113] The register offset value acquisition unit is used to acquire the register offset value corresponding to the identification information of the pin to be used for transmitting the signal;

[0114] A level value determination unit is used to determine the level value of the signal by taking the register offset value.

[0115] Prior to the pin configuration file acquisition unit, the following is also included:

[0116] Call the pin configuration file storage tool;

[0117] The pin configuration file acquisition unit includes:

[0118] The pin configuration file is stored inside the pin configuration file storage tool.

[0119] For a description of the test management system provided by this invention, please refer to the embodiments of the test management method described above; further details will not be repeated here.

[0120] Please refer to Figure 3 , Figure 3 This is a schematic diagram of a configuration management device provided by the present invention.

[0121] The present invention also provides a configuration management device, comprising:

[0122] Memory 1 is used to store computer programs;

[0123] Processor 2 is used to execute the computer program to implement the steps of the configuration management method described above.

[0124] For a description of the configuration management device provided by the present invention, please refer to the embodiments of the configuration management method described above, which will not be repeated here.

[0125] The present invention also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps of the configuration management method described above.

[0126] For a description of the computer-readable storage medium provided by this invention, please refer to the embodiments of the configuration management method described above; further details will not be repeated here.

[0127] It should also be noted that, in this specification, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0128] Those skilled in the art will further recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this invention.

[0129] The above description of the disclosed embodiments enables those skilled in the art to make or use this application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this application. Therefore, this application is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A configuration management method characterized by, Applied to BMC, including: Upon receiving a power-on command, it obtains the identification information of its own pins to be used; Obtain the pin configuration file corresponding to the identification information of the pin to be used in the CPLD and store the pin configuration file. The CPLD pre-stores the pin configuration files of all the pins to be used. Call the pin configuration file corresponding to the identification information of the pin to be used so that the pin to be used can transmit signals; After calling the pin configuration file corresponding to the identification information of the pin to be used, the process also includes: When the transmission direction of the transmitted signal is determined to be output according to the pin configuration file, the circuit type of the motherboard where the BMC is located, contained in the pin configuration file, is obtained. When the signal is determined to be the signal that needs to be triggered, the trigger signal script is obtained; wherein, the trigger signal script is a program script that matches the drive signal in the pin configuration file, and the drive signal is the level of the actual signal that needs to be triggered; Obtain the circuit type script corresponding to the circuit type; wherein, the circuit type script is a program script that matches the circuit type of the motherboard in the pin configuration file; the circuit type includes open-drain and push-pull types; Run the circuit type script and the trigger signal script and output the signal.

2. The configuration management method of claim 1, wherein, After calling the pin configuration file corresponding to the identification information of the pin to be used, the process also includes: When the transmission direction of the transmitted signal is determined to be input according to the pin configuration file, the level value of the signal is obtained; Determine the preset trigger signal level value contained in the pin configuration file; Determine whether the level value and the preset trigger signal level value are equal; If so, store the signal as a trigger signal to be processed.

3. The configuration management method of claim 1, wherein, Also includes: When it is determined that the signal is a signal that does not need to be triggered, obtain the default signal script; Run the circuit type script and the default signal script and output the signal.

4. The configuration management method of claim 1, wherein, Obtain the identification information of the pins to be used, including: Obtain the identification information of the pin to be used of the BMC sent by the CPLD.

5. The configuration management method of claim 2, wherein, Obtaining the level value of the signal includes: Obtain the register offset value corresponding to the identification information of the pin to be used for transmitting the signal; The register offset value is used as the signal level value.

6. The configuration management method according to any one of claims 1 to 5, wherein, Before obtaining the pin configuration file corresponding to the identification information of the pin to be used in the CPLD and storing the pin configuration file, the process further includes: Call the pin configuration file storage tool; Storing the pin configuration file includes: The pin configuration file is stored inside the pin configuration file storage tool.

7. A configuration management system, characterized by include: The identification information acquisition unit is used to acquire the identification information of its own pins to be used when it receives a power-on command; A pin configuration file acquisition unit is used to acquire the pin configuration file corresponding to the identification information of the pin to be used in the CPLD and store the pin configuration file. The CPLD pre-stores the pin configuration files of all the pins to be used. A pin configuration file calling unit is used to call the pin configuration file corresponding to the identification information of the pin to be used so that the pin to be used can transmit signals; Following the pin configuration file call unit, it also includes: The circuit type determination unit is used to obtain the circuit type of the motherboard where the BMC is located, which is contained in the pin configuration file, when the transmission direction of the transmitted signal is determined to be output according to the pin configuration file. A trigger signal script acquisition unit is used to acquire a trigger signal script when it is determined that the signal is a signal that needs to be triggered; wherein, the trigger signal script is a program script that matches the drive signal in the pin configuration file, and the drive signal is the level of the signal that actually needs to be triggered; A circuit type script acquisition unit is used to acquire a circuit type script corresponding to the circuit type; wherein, the circuit type script is a program script that matches the circuit type of the motherboard in the pin configuration file; the circuit type includes open-drain and push-pull types; The first processing unit is used to run the circuit type script and the trigger signal script and output the signal.

8. A configuration management apparatus characterized by comprising: include: Memory, used to store computer programs; A processor for executing the computer program to implement the steps of the configuration management method according to any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the steps of the configuration management method as described in any one of claims 1 to 6.