Server system configuration identification method, device, equipment and storage medium
By using variable resistors and a system configuration mapping table, the server system configuration can be identified with only a single general-purpose input/output interface, solving the problem of wasted GPIO interfaces in existing technologies and achieving the effect of saving space and cost.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- INSPUR SUZHOU INTELLIGENT TECH CO LTD
- Filing Date
- 2023-12-22
- Publication Date
- 2026-06-23
AI Technical Summary
In existing technologies, server system configuration identification requires multiple GPIO interfaces, resulting in wasted system layout space and increased design costs.
A server system configuration identification method is adopted, which uses a variable resistor and a general-purpose input/output interface to identify the target server system configuration by acquiring the target current and matching it with a system configuration mapping table.
It saves system layout space and design costs, improves the efficiency and accuracy of configuration identification, and avoids runtime errors caused by mismatch between server system configuration and files.
Smart Images

Figure CN117785595B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of server technology, and in particular to a server system configuration identification method, apparatus, device and storage medium. Background Technology
[0002] Currently, there are many different types of servers on the market, and each server has a different system configuration. If the server's system configuration does not match the system configuration file, errors will occur during server operation. Therefore, it is necessary to identify the server's system configuration and download the matching system configuration file.
[0003] In related technologies, such as Figure 1 As shown, two general-purpose input / output (GPIO) interfaces and four resistors are used for server system configuration identification. However, this solution requires multiple GPIO interfaces, resulting in excessive GPIO waste. If the number of GPIO interfaces is insufficient, an additional IO expansion chip is needed. This not only wastes system layout space but also increases design costs. Summary of the Invention
[0004] The purpose of this application is to provide a server system configuration identification method, apparatus, device, and storage medium to save system layout space and design costs.
[0005] This application provides a server system configuration identification method, applied to a baseboard controller (BMC) chip, the method comprising:
[0006] Obtain the target current entering the general-purpose input interface of the BMC chip through a variable resistor; the variable resistor is connected to the general-purpose input / output interface of the BMC chip; the general-purpose input / output interface is configured as the general-purpose input interface;
[0007] The system configuration mapping table is read, in which various server system configurations correspond one-to-one with multiple current ranges; the resistance value of the variable resistor is configured to make the corresponding target current fall into the corresponding current range.
[0008] Based on the target current and the system configuration mapping table, the target server system configuration is identified.
[0009] Optionally, obtaining the target current entering the general-purpose input interface of the BMC chip through the variable resistor includes:
[0010] The analog-to-digital converter (ADC) inside the BMC chip converts the analog current signal entering the general-purpose input interface of the BMC chip through the variable resistor into a binary digital current signal, and then obtains the binary digital current signal from the output of the ADC; the input of the ADC is connected to the general-purpose input interface of the BMC chip.
[0011] The binary digital current signal is converted from binary to decimal to obtain the target current; wherein, the binary digital current signal includes an integer current value represented by binary or a fractional current value represented by binary; the current value of the target current is the integer current value represented by binary in decimal, or the fractional current value represented by binary in decimal.
[0012] The step of identifying the target server system configuration based on the target current and the system configuration mapping table includes:
[0013] Query the target current range into which the target current falls from the system configuration mapping table;
[0014] Query the target server system configuration corresponding to the target current range from the system configuration mapping table.
[0015] Optionally, before querying the target current range into which the target current falls from the system configuration mapping table, the method further includes:
[0016] The target current is rounded to the nearest hundredth decimal place to obtain the processed target current.
[0017] The step of querying the target current range that the target current falls into from the system configuration mapping table includes:
[0018] The system configuration mapping table is used to query the target current range into which the processed target current falls.
[0019] Optionally, the method further includes:
[0020] For the target server system configuration, download the system configuration file corresponding to the server system configuration.
[0021] This application also provides a server system configuration identification device, including:
[0022] An acquisition module is used to acquire the target current entering the general-purpose input interface of the BMC chip through a variable resistor; the variable resistor is connected to a first general-purpose input / output interface of the BMC chip; the first general-purpose input / output interface is configured as the general-purpose input interface;
[0023] The reading module is used to read the system configuration mapping table, in which various server system configurations correspond one-to-one with multiple current ranges; the resistance value of the variable resistor is configured to make the corresponding target current fall into the corresponding current range.
[0024] The identification module is used to identify the target server system configuration based on the target current and the system configuration mapping table.
[0025] This application also provides a BMC chip, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the steps of the server system configuration identification method as described above.
[0026] Optionally, the system further includes an analog-to-digital converter (ADC), which is located inside the BMC chip. The input terminal of the ADC is connected to the general-purpose input interface of the BMC chip, and the output terminal of the ADC is connected to the processor.
[0027] This application also provides a server including a BMC chip as described in any of the above and a variable resistor; the variable resistor is connected to the general-purpose input interface of the BMC chip, and the resistance value of the variable resistor is configured to make the target current fall within the target current range.
[0028] Optionally, the first fixed pin of the variable resistor is connected to an external power supply, and the second fixed pin of the variable resistor is connected to the general-purpose input interface of the BMC chip and ground, respectively.
[0029] This application also provides a computer program product, including a computer program / instructions that, when executed by a processor, implement the steps of the server system configuration identification method as described above.
[0030] This application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the server system configuration identification method as described above.
[0031] The server system configuration identification method, apparatus, device, and storage medium provided in this application first obtain the target current entering the general-purpose input interface of the BMC chip through a variable resistor; the variable resistor is connected to the general-purpose input / output interface of the BMC chip; the general-purpose input / output interface is configured as a general-purpose input interface; that is, only one variable resistor and one general-purpose input / output interface are required; then, a system configuration mapping table is read, in which various server system configurations correspond one-to-one with multiple current ranges; the resistance value of the variable resistor is configured to make the corresponding target current fall into the corresponding current range, and different servers can be configured with different resistance values; finally, based on the target current and the system configuration mapping table, the target server system configuration is identified; since only one variable resistor and one general-purpose input / output interface are required, and the target server system configuration matching the corresponding current range can be found based on the target current entering the general-purpose input interface of the BMC chip through the variable resistor, system layout space and design costs can be saved. Attached Figure Description
[0032] To more clearly illustrate the technical solutions in this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0033] Figure 1 This is a schematic diagram of the server system configuration identification circuit provided by related technologies;
[0034] Figure 2 This is a flowchart illustrating the server system configuration identification method provided in an embodiment of this application;
[0035] Figure 3 This is a schematic diagram of the server system configuration identification device provided in the embodiments of this application;
[0036] Figure 4 This is one of the structural schematic diagrams of the BMC chip provided in the embodiments of this application;
[0037] Figure 5 This is the second schematic diagram of the structure of the BMC chip provided in the embodiments of this application;
[0038] Figure 6 This is one of the structural schematic diagrams of the server provided in the embodiments of this application;
[0039] Figure 7 This is the second schematic diagram of the server structure provided in the embodiments of this application. Detailed Implementation
[0040] To make the objectives, technical solutions, and advantages of this application clearer, the technical solutions of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0041] The terms "first," "second," etc., used in this application's specification are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein, and the objects distinguished by "first," "second," etc., are generally of the same class, without limiting the number of objects; for example, a first object can be one or more. Furthermore, in the specification, "and / or" indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects have an "or" relationship.
[0042] like Figure 1 As shown, two GPIO interfaces and four resistors (i.e., resistors 1-4) are used for server system configuration identification, and the GPIO interfaces are configured as general-purpose input interfaces.
[0043] For example, the server system configuration can be identified using Table 1.
[0044] Table 1
[0045] System Configuration GPIO_1 GPIO_2 NVME Sku 0 (Resistor 1 not connected, resistor 2 connected) 0 (Resistor 3 not used, resistor 4 used) SSD Sku 0 (Resistor 1 not connected, resistor 2 connected) 1 (Resistor 3 is on, resistor 4 is not on) GPU Sku 1 (Resistor 1 is on, resistor 2 is not on) 0 (Resistor 3 not used, resistor 4 used) Compute Sku 1 (Resistor 1 is on, resistor 2 is not on) 1 (Resistor 3 is on, resistor 4 is not on)
[0046] However, this solution requires multiple GPIO interfaces, which wastes too many GPIO ports. If there aren't enough GPIO ports, an additional IO expansion chip is needed. This not only wastes system layout space but also increases design costs.
[0047] Based on this, this application provides a server system configuration identification method. Since it only requires a variable resistor and a general-purpose input / output interface, the target server system configuration matching the corresponding current range can be queried based on the target current entering the general-purpose input interface of the BMC chip through the variable resistor, which can save system layout space and design cost.
[0048] The server system configuration identification method provided in this application will be described in detail below with reference to the accompanying drawings, through specific embodiments and application scenarios.
[0049] Please refer to Figure 2 , Figure 2 This is a flowchart illustrating the server system configuration identification method provided in an embodiment of this application. Figure 2 As shown, the method may include the following steps:
[0050] Step 201: Obtain the target current entering the general-purpose input interface of the BMC chip through the variable resistor; the variable resistor is connected to the general-purpose input / output interface of the BMC chip; the general-purpose input / output interface is configured as a general-purpose input interface.
[0051] Specifically, only one variable resistor and a general-purpose input / output interface of a BMC chip are used, with the variable resistor connected to the general-purpose input / output interface of the BMC chip, which is configured as a general-purpose input interface. In this way, the target current entering the general-purpose input interface of the BMC chip through the variable resistor can be obtained.
[0052] Step 202: Read the system configuration mapping table. In the system configuration mapping table, various server system configurations correspond one-to-one with multiple current ranges. The resistance value of the variable resistor is configured to make the corresponding target current fall into the corresponding current range.
[0053] For example, the system configuration mapping table is shown in Table 2:
[0054] Table 2
[0055] System Configuration GPIO_1 NVME Sku <![CDATA[1A<I current ≤2A (resistance 1K) SSD Sku <![CDATA[2A<I current ≤3A (5K resistor) GPU Sku <![CDATA[4A<I current ≤5A (10K resistor) Compute Sku <![CDATA[6A<I current (20K resistance)
[0056] As shown in Table 2, the system configuration mapping table includes four server system configurations: NVME SKU, SSDS SKU, GPU SKU, and Compute SKU. The current range corresponding to NVME SKU is 1. current ≤2, the resistance value of the variable resistor is configured to make the corresponding target current I current This current range falls within the specified range; for example, the variable resistor value can be configured to 1KΩ. The corresponding current range for the SSD SKU is 2. current ≤3, the resistance value of the variable resistor is configured to make the corresponding target current I current This current range falls within the specified range; for example, the resistance value of the variable resistor can be configured to 5KΩ. The corresponding current range for GPUSku is 4. current ≤5, the resistance value of the variable resistor is configured to make the corresponding target current I current This current range falls within the specified range; for example, the resistance value of the variable resistor can be configured to 10KΩ. The current range corresponding to the Compute SKU is 6. current The resistance value of the variable resistor is configured to make the corresponding target current I... current If the current falls within this range, for example, the resistance value of the variable resistor can be configured to 20KΩ.
[0057] Step 203: Identify the target server system configuration based on the target current and system configuration mapping table.
[0058] Specifically, the target server system configuration that matches the corresponding current range can be retrieved from the system configuration mapping table based on the target current.
[0059] Optionally, for the target server system configuration, the system configuration file corresponding to the server system configuration can be downloaded. This ensures that the system configuration file that matches the server system configuration is downloaded accurately, avoiding errors that may occur during server operation due to mismatch between the server system configuration and the system configuration file.
[0060] The server system configuration identification method provided in this application first obtains the target current entering the general-purpose input interface of the BMC chip through a variable resistor; the variable resistor is connected to the general-purpose input / output interface of the BMC chip; the general-purpose input / output interface is configured as a general-purpose input interface; that is, only one variable resistor and one general-purpose input / output interface are needed; then, the system configuration mapping table is read, in which various server system configurations correspond one-to-one with multiple current ranges; the resistance value of the variable resistor is configured to make the corresponding target current fall into the corresponding current range, and different servers can be configured with different resistance values; finally, based on the target current and the system configuration mapping table, the target server system configuration is identified; since only one variable resistor and one general-purpose input / output interface are needed, and the target server system configuration matching the corresponding current range can be found based on the target current entering the general-purpose input interface of the BMC chip through the variable resistor, system layout space and design costs can be saved.
[0061] In one embodiment, step 201 includes:
[0062] Step 2011: The analog-to-digital converter (ADC) inside the BMC chip converts the analog current signal entering the general-purpose input interface of the BMC chip through the variable resistor into a binary digital current signal, and then obtains the binary digital current signal from the output of the ADC; the input of the ADC is connected to the general-purpose input interface of the BMC chip.
[0063] Specifically, the BMC chip internally incorporates an analog-to-digital converter (ADC). The ADC's input is connected to the BMC chip's general-purpose input interface, and its output is connected to the BMC chip's processor. The ADC converts the analog current signal entering the BMC chip's general-purpose input interface through a variable resistor into a binary digital current signal. The BMC chip's processor then obtains the binary digital current signal from the ADC's output.
[0064] Step 2012: Convert the binary digital current signal from binary to decimal to obtain the target current. The binary digital current signal includes either an integer current value represented in binary or a fractional current value represented in binary; the target current is either the integer current value represented in binary as a decimal integer current value, or the fractional current value represented in binary as a decimal fractional current value.
[0065] For example, suppose the binary integer current value is represented as 11. Converting it from binary to decimal gives 3, then the target current is 3A.
[0066] Assuming the binary fractional current value is represented as 1.101 using fixed-point notation, converting it from binary to decimal gives 1.625, then the target current is 1.625A.
[0067] Step 202 includes:
[0068] Step 2021: Query the target current range that the target current falls into from the system configuration mapping table.
[0069] Step 2022: Query the target server system configuration corresponding to the target current range from the system configuration mapping table.
[0070] For example, assuming the target current is 3A, the target current range that the target current of 3A falls into, as shown in Table 2, is 2A. current ≤3A. Query the target current range (2A) from the system configuration mapping table. current The target server system configuration corresponding to ≤3A) is SSD SKU.
[0071] Assuming the target current is 1.625A, the target current range falling within the target current range of 1A is found by querying the system configuration mapping table shown in Table 2. current ≤2A. Query the target current range (1A) from the system configuration mapping table. current The target server system configuration corresponding to ≤2A) is NVME SKU.
[0072] In this embodiment, the analog-to-digital converter inside the BMC chip can acquire analog current signals and perform analog-to-digital conversion on the analog current signals. The processor inside the BMC chip can convert binary digital current signals from binary to decimal, thereby identifying the target server system configuration based on the system configuration mapping table.
[0073] In one embodiment, before step 2021, the method further includes retaining a preset number of decimal places of the target current and performing rounding to obtain the processed target current; step 2021 includes querying the target current range into which the processed target current falls from the system configuration mapping table.
[0074] For example, assuming the target current is 1.625A and the preset number of decimal places is 2, the target current of 1.625A is retained to two decimal places and rounded to obtain a processed target current of 1.63A. Looking up the system configuration mapping table shown in Table 2, the processed target current of 1.63A falls within the target current range of 1A. current ≤2A.
[0075] In this embodiment, if the target current has too many decimal places, it will affect the query efficiency. Only a preset number of decimal places of the target current are retained and rounded to obtain the processed target current. The target current range into which the processed target current falls is then queried from the system configuration mapping table, which can improve the query efficiency.
[0076] It should be noted that the server system configuration identification method provided in this application embodiment can be executed by a server system configuration identification device, or a control module within that device for executing the server system configuration identification method. This application embodiment uses the execution of the server system configuration identification method by a server system configuration identification device as an example to illustrate the server system configuration identification device provided in this application embodiment.
[0077] It should be noted that, in the embodiments of this application, the server system configuration identification methods shown in the accompanying drawings are all illustrated by way of example with reference to one of the accompanying drawings in the embodiments of this application. In specific implementation, the server system configuration identification methods shown in the accompanying drawings of the above methods can also be implemented in conjunction with any other accompanying drawings shown in the above embodiments, which will not be elaborated here.
[0078] The server system configuration identification device provided in this application is described below. The server system configuration identification method described below can be referred to in correspondence with the server system configuration identification method described above.
[0079] Please refer to Figure 3 , Figure 3 This is a schematic diagram of the server system configuration identification device provided in an embodiment of this application. Figure 3 As shown, the device may include:
[0080] The acquisition module 10 is used to acquire the target current entering the general-purpose input interface of the BMC chip through the variable resistor; the variable resistor is connected to the first general-purpose input / output interface of the BMC chip; the first general-purpose input / output interface is configured as a general-purpose input interface.
[0081] The reading module 20 is used to read the system configuration mapping table, in which various server system configurations correspond one-to-one with multiple current ranges; the resistance value of the variable resistor is configured to make the corresponding target current fall into the corresponding current range.
[0082] The identification module 30 is used to identify the target server system configuration based on the target current and system configuration mapping table.
[0083] Optionally, the acquisition module 10 includes:
[0084] The acquisition unit is used to convert the analog current signal entering the general-purpose input interface of the BMC chip through the variable resistor into a binary digital current signal, and then acquire the binary digital current signal from the output of the analog-to-digital converter. The input of the analog-to-digital converter is connected to the general-purpose input interface of the BMC chip.
[0085] The conversion unit is used to convert the binary digital current signal from binary to decimal to obtain the target current; wherein, the binary digital current signal includes an integer current value represented by binary or a fractional current value represented by binary; the current value of the target current is the integer current value represented by binary in decimal, or the fractional current value represented by binary in decimal.
[0086] The recognition module 30 includes:
[0087] The first query unit is used to query the target current range into which the target current falls from the system configuration mapping table;
[0088] The second query unit is used to query the target server system configuration corresponding to the target current range from the system configuration mapping table.
[0089] Optionally, the recognition module 30 further includes:
[0090] The processing unit is used to retain a preset number of decimal places of the target current and perform rounding before querying the target current range that the target current falls into from the system configuration mapping table, so as to obtain the processed target current.
[0091] The first query unit is specifically used to query the target current range into which the processed target current falls from the system configuration mapping table.
[0092] Optionally, the device further includes:
[0093] The download module is used to download the system configuration file corresponding to the target server system configuration.
[0094] Figure 4 This is one of the structural schematic diagrams of the BMC chip provided in the embodiments of this application, such as... Figure 4 As shown, the BMC chip may include a processor 410, a communications interface 420, a memory 430, and a communication bus 440. The processor 410, communications interface 420, and memory 430 communicate with each other via the communication bus 440. The processor 410 can call logic instructions in the memory 430 to execute a server system configuration identification method. This method includes: obtaining the target current entering the general-purpose input interface of the BMC chip through a variable resistor; connecting the variable resistor to the general-purpose input / output interface of the BMC chip; configuring the general-purpose input / output interface as a general-purpose input interface; reading a system configuration mapping table, in which various server system configurations correspond one-to-one with multiple current ranges; configuring the resistance value of the variable resistor to make the corresponding target current fall within the corresponding current range; and identifying the target server system configuration based on the target current and the system configuration mapping table.
[0095] Furthermore, the logical instructions in the aforementioned memory 430 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0096] Optionally, such as Figure 5 As shown, the BMC chip also includes an analog-to-digital converter 510, which is located inside the BMC chip. The communication interface 420 includes a general-purpose input interface for the BMC chip, and the input terminal of the analog-to-digital converter 510 is connected to the general-purpose input interface of the BMC chip. Figure 5 (Not shown in the image), the output of the analog-to-digital converter 510 is connected to the processor 410.
[0097] Figure 6 This is one of the structural diagrams of the server provided in the embodiments of this application, such as... Figure 6 As shown, the server includes a BMC chip 610 and a variable resistor 620 provided in any of the above embodiments; the variable resistor 620 is connected to the general-purpose input interface of the BMC chip 610, and the resistance value of the variable resistor 620 is configured to make the target current fall within the target current range.
[0098] Optionally, such as Figure 7 As shown, the first fixed pin J1 of the variable resistor 620 is connected to the external power supply Vcc, and the second fixed pin J2 of the variable resistor 620 will be connected to the general-purpose input interface GPI of the BMC chip 610 and ground GND respectively.
[0099] On the other hand, this application also provides a computer program product, which includes a computer program stored on a computer-readable storage medium. The computer program includes program instructions, and when the program instructions are executed by a computer, the computer can execute the server system configuration identification method provided by the above methods. The method includes: obtaining a target current entering a general-purpose input interface of a BMC chip through a variable resistor; connecting the variable resistor to a general-purpose input / output interface of the BMC chip; configuring the general-purpose input / output interface as a general-purpose input interface; reading a system configuration mapping table, in which multiple server system configurations correspond one-to-one with multiple current ranges; configuring the resistance value of the variable resistor to make the corresponding target current fall into the corresponding current range; and identifying the target server system configuration based on the target current and the system configuration mapping table.
[0100] In another aspect, this application also provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the aforementioned server system configuration identification methods. The method includes: acquiring a target current entering a general-purpose input interface of a BMC chip through a variable resistor; connecting the variable resistor to a general-purpose input / output interface of the BMC chip; configuring the general-purpose input / output interface as a general-purpose input interface; reading a system configuration mapping table, in which various server system configurations correspond one-to-one with multiple current ranges; configuring the resistance value of the variable resistor to cause the corresponding target current to fall within the corresponding current range; and identifying the target server system configuration based on the target current and the system configuration mapping table.
[0101] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.
[0102] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.
[0103] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application.
Claims
1. A server system configuration identification method, characterized in that, The method, applied to a baseboard controller (BMC) chip, includes: Obtain the target current entering the general-purpose input interface of the BMC chip through a variable resistor; the variable resistor is connected to the general-purpose input / output interface of the BMC chip; the general-purpose input / output interface is configured as the general-purpose input interface; The system configuration mapping table is read, in which various server system configurations correspond one-to-one with multiple current ranges; the resistance value of the variable resistor is configured to make the corresponding target current fall into the corresponding current range. Based on the target current and the system configuration mapping table, identify the target server system configuration; The process of obtaining the target current entering the general-purpose input interface of the BMC chip through the variable resistor includes: The analog-to-digital converter (ADC) inside the BMC chip converts the analog current signal entering the general-purpose input interface of the BMC chip through the variable resistor into a binary digital current signal, and then obtains the binary digital current signal from the output of the ADC; the input of the ADC is connected to the general-purpose input interface of the BMC chip. The binary digital current signal is converted from binary to decimal to obtain the target current; wherein, the binary digital current signal includes an integer current value represented by binary or a fractional current value represented by binary; the current value of the target current is the integer current value represented by binary in decimal, or the fractional current value represented by binary in decimal. The step of identifying the target server system configuration based on the target current and the system configuration mapping table includes: Query the target current range into which the target current falls from the system configuration mapping table; Query the target server system configuration corresponding to the target current range from the system configuration mapping table; Before querying the target current range into which the target current falls from the system configuration mapping table, the method further includes: The target current is rounded to the nearest hundredth decimal place to obtain the processed target current. The step of querying the target current range that the target current falls into from the system configuration mapping table includes: The system configuration mapping table is used to query the target current range into which the processed target current falls.
2. The server system configuration identification method according to claim 1, characterized in that, The method further includes: For the target server system configuration, download the system configuration file corresponding to the server system configuration.
3. A server system configuration identification device, characterized in that, include: The acquisition module is used to acquire the target current entering the general-purpose input interface of the BMC chip through the variable resistor; The variable resistor is connected to a first general-purpose input / output interface of the BMC chip; the first general-purpose input / output interface is configured as the general-purpose input interface. The reading module is used to read the system configuration mapping table, in which various server system configurations correspond one-to-one with multiple current ranges; the resistance value of the variable resistor is configured to make the corresponding target current fall into the corresponding current range. The identification module is used to identify the target server system configuration based on the target current and the system configuration mapping table; The process of obtaining the target current entering the general-purpose input interface of the BMC chip through the variable resistor includes: The analog-to-digital converter (ADC) inside the BMC chip converts the analog current signal entering the general-purpose input interface of the BMC chip through the variable resistor into a binary digital current signal, and then obtains the binary digital current signal from the output of the ADC; the input of the ADC is connected to the general-purpose input interface of the BMC chip. The binary digital current signal is converted from binary to decimal to obtain the target current; wherein, the binary digital current signal includes an integer current value represented by binary or a fractional current value represented by binary; the current value of the target current is the integer current value represented by binary in decimal, or the fractional current value represented by binary in decimal. The step of identifying the target server system configuration based on the target current and the system configuration mapping table includes: Query the target current range into which the target current falls from the system configuration mapping table; Query the target server system configuration corresponding to the target current range from the system configuration mapping table; The device is also used for: Before querying the target current range into which the target current falls from the system configuration mapping table, a preset number of decimal places of the target current are retained and rounded to obtain the processed target current. The step of querying the target current range that the target current falls into from the system configuration mapping table includes: The system configuration mapping table is used to query the target current range into which the processed target current falls.
4. A BMC chip, characterized in that, The system includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the steps of the server system configuration identification method as described in any one of claims 1 to 2.
5. The BMC chip according to claim 4, characterized in that, It also includes an analog-to-digital converter (ADC), which is located inside the BMC chip. The input terminal of the ADC is connected to the general-purpose input interface of the BMC chip, and the output terminal of the ADC is connected to the processor.
6. A server, characterized in that, Includes the BMC chip and variable resistor as described in claim 4 or 5; the variable resistor is connected to the general-purpose input interface of the BMC chip, and the resistance value of the variable resistor is configured to make the target current fall within the target current range.
7. The server according to claim 6, characterized in that, The first fixed pin of the variable resistor is connected to an external power supply, and the second fixed pin of the variable resistor is connected to the general-purpose input interface of the BMC chip and ground, respectively.
8. A computer-readable storage medium, characterized in that, It stores a computer program, which, when executed by a processor, implements the steps of the server system configuration identification method as described in any one of claims 1 to 2.