Machine type identification method, device and equipment of rack-mounted server, medium and circuit

By obtaining the connection information of the cooling fan, and using the logic gate circuit and model identification chip to determine the model information of the rack server, the problem of high model configuration costs is solved, the development of multiple products shared motherboards is realized, and production and operation costs are reduced.

CN120379215APending Publication Date: 2025-07-25INSPUR (SHANDONG) COMPUTER TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510570136.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-30
Publication Date
2025-07-25

Smart Images

  • Figure CN120379215A_ABST
    Figure CN120379215A_ABST
Patent Text Reader

Abstract

The invention discloses a machine type identification method and device of a rack-mounted server, equipment, a medium and a circuit, and relates to the technical field of servers, the method comprises the following steps: obtaining cooling fan connection information of the rack-mounted server; wherein the cooling fan connection information comprises a fan management board in-place condition and / or fan in-place conditions of preset fan positions, and the number of the preset fan positions is smaller than the number of all fan positions of the rack-mounted server; determining model information of the rack-mounted server according to the fan connection information; sending the model information to a baseboard management controller and / or a central processing unit of the rack-mounted server; according to the invention, the model information of the rack-mounted server can be flexibly configured based on the difference analysis of the cooling fans of different models according to the in-place condition of part of the cooling fans and / or the fan management board in the rack-mounted server, so that the production cost and the operation cost are reduced, the condition of storage dead materials is reduced, and the purposes of reducing the cost and improving the efficiency are achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of servers, and in particular to a model identification method, device, equipment, medium and circuit for a rack-mounted server. Background Art

[0002] As the Internet, communications, and power industries have different requirements for various server application scenarios, the configuration requirements for rack servers also vary greatly, which has led to the emergence of multiple models of rack servers to meet the needs of various application scenarios. For example, rack servers can include 1U (Unit, height unit), 2U and 4U models. U is the height unit of the server cabinet, which is used to specify the size of the server. The height of a U is 1.75 inches (about 44.45 mm).

[0003] At present, the concept of Board ID (i.e., model code) is used in the design of server motherboards to distinguish different product models, which is used to make logical judgments for BIOS (Basic Input Output System) or BMC (Baseboard Management Controller) to realize different functions or services. Board ID mostly uses 8-bit binary values. In related technologies, managers can only generate new Board IDs by changing the form of hardware electronic BOM (Bill of Material) so that the server's BIOS or BMC can distinguish different server models for corresponding information display and function switching. Each new electronic BOM requires additional BOM maintenance and testing manpower. At the same time, different electronic BOMs produce different motherboards, which is prone to motherboard stagnation. Therefore, how to flexibly configure the model information of rack-mounted servers so that multiple products can share a motherboard to complete product development, reduce production costs and the operating costs of board material management, and reduce the situation of warehousing stale materials is an urgent problem to be solved today. Summary of the invention

[0004] The object of the present invention is to provide a rack server model identification method, device, equipment, circuit and computer-readable storage medium to flexibly configure the model information of the rack server, reduce production costs and operating costs, and reduce the situation of storage of obsolete materials.

[0005] In order to solve the above technical problems, the present invention provides a method for identifying a model of a rack-mounted server, comprising:

[0006] Obtain the connection information of the cooling fans of the rack-mounted server; wherein, the cooling fan connection information includes the presence / absence status of the fan management board and / or the presence / absence status of the fans at preset fan positions, and the number of the preset fan positions is less than the number of all fan positions of the rack-mounted server;

[0007] Determine the model information of the rack-mounted server according to the fan connection information;

[0008] Send the model information to the baseboard management controller and / or the central processing unit of the rack-mounted server.

[0009] On the other hand, the cooling fan connection information includes the presence / absence status of the fan management board and the presence / absence status of the fans at preset fan positions.

[0010] On the other hand, the model information of the rack-mounted server is any preset model information, and the preset model information includes 1U model information, 2U model information, and 4U model information; all fan positions of the rack-mounted server include 10 fan positions corresponding to fans 0 - 9, and the preset fan positions include 4 fan positions corresponding to fans 6 - 9.

[0011] On the other hand, the model information of the rack-mounted server includes an 8-bit model code. Determining the model information of the rack-mounted server according to the fan connection information includes:

[0012] Determine the value of the 1st bit in the model code according to the presence / absence status of the fan management board; wherein, when the presence / absence status of the fan management board is at a low level (present state), the value of the 1st bit is 0; when the presence / absence status of the fan management board is at a high level (absent state), the value of the 1st bit is 1;

[0013] Determine the value of the 2nd bit in the model code according to the presence / absence status of the fans at the preset fan positions sent by the logic gate circuit; wherein, the logic gate circuit includes a first AND gate device, a second AND gate device, and a third AND gate device; the two input terminals of the first AND gate device and the two input terminals of the second AND gate device are respectively connected one-to-one to the presence / absence status input terminals of 4 of the preset fan positions, and the two input terminals of the third AND gate device are respectively connected one-to-one to the input terminals of the first AND gate device and the second AND gate device; when the presence / absence status of the fans at the preset fan positions is at a high level (all absent states), the value of the 2nd bit is 1; when the presence / absence status of the fans at the preset fan positions is at a low level (all present states), the value of the 2nd bit is 0;

[0014] Determine the values of the 3rd to 8th bits in the model code according to the level signals corresponding to the 3rd to 8th bits received respectively.

[0015] On the other hand, the model code in the 1-height unit model information is 11101101, the model code in the 2-height unit model information is 11101111, and the model code in the 4-height unit model information is 11101110.

[0016] The present invention also provides a model identification device for a rack-mounted server, including:

[0017] An acquisition module for acquiring the heat dissipation fan connection information of the rack-mounted server; wherein, the heat dissipation fan connection information includes the presence / absence status of the fan management board and / or the presence / absence status of the fans at preset fan positions, and the number of the preset fan positions is less than the number of all fan positions of the rack-mounted server;

[0018] A determination module for determining the model information of the rack-mounted server according to the fan connection information;

[0019] A sending module for sending the model information to the baseboard management controller and / or the central processing unit of the rack-mounted server.

[0020] The present invention also provides a model identification device for a rack-mounted server, characterized by including:

[0021] A memory for storing a computer program;

[0022] A processor for implementing the steps of the model identification method for the rack-mounted server as described above when executing the computer program.

[0023] The present invention also provides a computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, and the computer program implements the steps of the model identification method for the rack-mounted server as described above when executed by a processor.

[0024] In addition, the present invention also provides a model identification circuit for a rack-mounted server, including: a model identification chip and a logic gate circuit;

[0025] Among them, each input end of the logic gate circuit is respectively connected in a one-to-one manner with the presence output ends of each preset fan position of the rack-mounted server, and the output end of the logic gate circuit is connected to the first input end of the model identification chip; the logic gate circuit is used to determine and send the fan presence situation of the corresponding preset fan position to the model identification chip according to the presence situations of each of the preset fan positions input; the fan presence situation includes a preset number of level signals, and the preset number is less than the number of the preset fan positions which is less than the number of all fan positions of the rack-mounted server;

[0026] The second input end of the model identification chip is connected to the presence output end of the fan management board of the rack-mounted server, and the output end of the model identification chip is used to be connected to the baseboard management controller and / or the central processing unit of the rack-mounted server; the model identification chip is used to determine the model information of the rack-mounted server according to the input fan presence situation and the presence situation of the fan management board, and send the model information to the baseboard management controller and / or the central processing unit.

[0027] On the other hand, all the fan positions of the rack-mounted server include 10 fan positions corresponding to fans 0 - 9, and the preset fan positions include 4 fan positions corresponding to fans 6 - 9; the logic gate circuit includes a first AND gate device, a second AND gate device, and a third AND gate device;

[0028] Among them, the two input ends of the first AND gate device and the two input ends of the second AND gate device are respectively connected in a one-to-one manner with the presence input ends of the 4 preset fan positions, the two input ends of the third AND gate device are respectively connected in a one-to-one manner with the input ends of the first AND gate device and the second AND gate device, and the output end of the third AND gate device is connected to the first input end of the model identification chip.

[0029] A method for identifying the model of a rack-mounted server provided by the present invention includes: obtaining the heat dissipation fan connection information of the rack-mounted server; among them, the heat dissipation fan connection information includes the presence situation of the fan management board and / or the fan presence situation of the preset fan position, and the number of the preset fan positions is less than the number of all fan positions of the rack-mounted server; determining the model information of the rack-mounted server according to the fan connection information; sending the model information to the baseboard management controller and / or the central processing unit of the rack-mounted server;

[0030] It can be seen that, by determining the model information of the rack-mounted server according to the fan connection information, the present invention can, based on the difference analysis of the cooling fans of different models, flexibly configure the model information of the rack-mounted server according to the presence or absence of some cooling fans and / or fan management boards in the rack-mounted server, enabling multiple products to share one main board for product development, reducing the production cost and the operating cost of board material control, reducing the situation of warehousing dead stock, and being able to release the invested human resources and time in research and development, achieving the purpose of cost reduction and efficiency improvement. In addition, the present invention also provides a model identification device, equipment, circuit and computer-readable storage medium for a rack-mounted server, which also has the above beneficial effects. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only the embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained according to the provided drawings without creative efforts.

[0032] Figure 1 It is a flowchart of a method for identifying the model of a rack-mounted server provided by an embodiment of the present invention;

[0033] Figure 2 It is a schematic circuit structure diagram of a circuit for identifying the model of a rack-mounted server provided by an embodiment of the present invention;

[0034] Figure 3 It is a block diagram of a device for identifying the model of a rack-mounted server provided by an embodiment of the present invention;

[0035] Figure 4 It is a schematic structural diagram of a device for identifying the model of a rack-mounted server provided by an embodiment of the present invention;

[0036] Figure 5 It is a schematic structural diagram of a circuit for identifying the model of a rack-mounted server provided by an embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0037] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the drawings in the embodiments of the present invention. Obviously, the described embodiments are some, but not all, of the embodiments of the present invention. All other embodiments obtained by those of ordinary skill in the art without creative efforts based on the embodiments of the present invention belong to the scope of protection of the present invention.

[0038] Please refer to Figure 1 ,Figure 1 The flowchart of a method for identifying the model of a rack-mounted server provided by an embodiment of the present invention. The method may include:

[0039] Step 101: Obtain the connection information of the cooling fans of the rack-mounted server; wherein, the connection information of the cooling fans includes the presence or absence of the fan management board and / or the presence or absence of the fans at preset fan positions, and the number of preset fan positions is less than the number of all fan positions of the rack-mounted server.

[0040] Among them, the connection information of the cooling fans in this embodiment may be the information of the cooling fans set in the rack-mounted server, such as the information of the cooling fans connected to the main board in the rack-mounted server. For the specific content of the connection information of the cooling fans in this embodiment, the designer can set it according to the practical scenario and user requirements. For example, the connection information of the cooling fans may include the presence or absence of the fan management board (i.e., the presence or absence of the fan management board), so as to distinguish different models by whether there is a fan management board in the rack-mounted server; the connection information of the cooling fans may also include the presence or absence of the cooling fans at some of the fan positions (i.e., preset fan positions) among all the fan positions of the rack-mounted server (i.e., the presence or absence of the fans), so as to distinguish different models by the differences in the settings (such as the number or position) of the cooling fans in the rack-mounted server, that is, the presence or absence of the fans at the preset fan positions. This embodiment does not make any restrictions on this.

[0041] Correspondingly, the presence or absence of the fans at the above-mentioned preset fan positions may be the presence or absence of the cooling fans at each preset fan position respectively, that is, the model identification device can directly receive the presence or absence of the cooling fans at each preset fan position (such as a level signal). The presence or absence of the fans at the preset fan positions may also be a preset number of signals (such as level signals) corresponding to the presence or absence of the cooling fans at all the preset fan positions, and the preset number may be less than the number of preset fan positions, so as to distinguish the presence or absence of the cooling fans at all the preset fan positions in different models through the preset number of signals, and reduce the number of ports required by the model identification device.

[0042] It should be noted that for the specific method of obtaining the connection information of the cooling fans of the rack-mounted server in this step, the designer can set it according to the usage scenario and user requirements. For example, the model identification device can receive the presence status of the cooling fans at each preset fan position. For example, the model identification device can use ports with the number of preset fan positions to connect to the presence status input terminals of the cooling fans at each preset fan position respectively. When the presence status input terminal of the cooling fan at a certain preset fan position outputs a high level (such as 3.3V), it is determined that the cooling fan at this preset fan position is in the present state. When the presence status input terminal of the cooling fan at this preset fan position outputs a low level (such as 0V), it is determined that the cooling fan at this preset fan position is not in the present state. The model identification device can also receive the presence status of the fans at the preset fan positions sent by the logic gate circuit, that is, the model identification device can use a preset number of ports to connect to the corresponding output terminals of the logic gate circuit to receive a preset number of signals corresponding to the presence status of the cooling fans at all preset fan positions. For example, when the preset number is 1, the model identification device can determine the presence status of the cooling fans at all preset fan positions according to the 1-channel level signal output by the logic gate circuit. For example, when the logic gate circuit outputs a high level, it can indicate that the cooling fans at all preset fan positions are in the present state. When the logic gate circuit outputs a low level, it can indicate that the cooling fans at all preset fan positions are not all in the present state.

[0043] For example, the requirements for the number of externally plugged cooling fans and whether to use a fan board are the same for air-cooled and liquid-cooled rack-mounted servers. Due to the differences in the chassis structures of 1U, 2U, and 4U models, the specifications for placing the cooling fans and the requirements for whether to use a fan management board are also different, which can avoid misplugging and misjudgment to a certain extent. As shown in Table 1 below, the 1U model rack-mounted server needs to be equipped with 8 cooling fans (FAN) of the 4056 specification to meet the cooling requirements. The 2U model rack-mounted server is equipped with 6 cooling fans of the 6056 specification to meet the cooling requirements. For the 4U model rack-mounted server, due to the large structural differences, a fan management board (FAN Board) is needed to support the management of the fans. That is to say, there are differences in the use (such as the number) of cooling fans among 1U, 2U, and 4U models.

[0044] Table 1 Display table of the cooling fan configurations of the rack-mounted servers of each model

[0045]

[0046] Correspondingly, FAN6, FAN7, FAN8, and FAN9 can be fan interfaces specifically used for 1U models. The 2U model does not use these four fan interfaces FAN6 to FAN9. The 4U model uses a fan management board and is only connected to the main control of the motherboard through one interface for logic, and will not be mixed and inserted with 1U and 2U models. In some embodiments, the heat dissipation fan connection information may include the presence status of the fan management board and the presence status of the fans at the preset fan positions. All the fan positions of the rack-mounted server may include 10 fan positions corresponding to Fan 0 (FAN0) - Fan 9 (FAN9), and the preset fan positions may include 4 fan positions corresponding to Fan 6 (FAN6) - Fan 9, so as to distinguish the 4U model from other models (i.e., 1U model and 2U model) through the presence status of the fan management board, and distinguish the 1U model from the 2U model through the presence status of the fans at these four preset fan positions (i.e., fan interfaces) FAN6 to FAN9.

[0047] As Figure 2 shown, the logic gate circuit may include a first AND gate device (Q1), a second AND gate device (Q2), and a third AND gate device (Q3); the two input terminals of the first AND gate device and the two input terminals of the second AND gate device are respectively connected one-to-one to the presence status input terminals (FAN6_PRSNT_N - FAN9_PRSNT_N) of the 4 preset fan positions, and the two input terminals of the third AND gate device are respectively connected one-to-one to the input terminals of the first AND gate device and the second AND gate device; the output terminal of the third AND gate device may be connected to one input terminal (IO_1_1) of the model identification device (U64). When high levels (i.e., presence status) are input to all the presence status input terminals of the 4 preset fan positions, the third AND gate device may output a high level to the model identification device, indicating that the presence status of the fans at the preset fan positions is all in the presence state.

[0048] Step 102: Determine the model information of the rack-mounted server according to the fan connection information.

[0049] Among them, the model information of the rack-mounted server in this embodiment can be information for expressing the model of the rack-mounted server (such as models of 1U, 2U, or 4U, etc.). The specific content of the model information can be set by the designer according to the usage scenario and user requirements. For example, the model information can include the Board ID (model code) of the server motherboard, such as the 8-bit model code conventionally set in the related art. For example, the BMC or CPU (firmware code control) of the server can respectively read the high and low levels of the GPIO (General-purpose input / output) of the PCA9555 (a kind of gate circuit device, that is, the model identification device) through the I2C (Inter-Integrated Circuit, integrated circuit bus) bus to identify the 8-bit binary Board ID.

[0050] Correspondingly, the determined model information of the rack-mounted server in this embodiment is any preset model information. For example, all the fan positions of the rack-mounted server include 10 fan positions corresponding to fans 0 - fan 9 (such as FAN0 - FAN9 in Figure 1 ), and when the preset fan positions include 4 fan positions corresponding to fans 6 - fan 9, the preset model information can include 1U (height unit) model information, 2U model information, and 4U model information to achieve the identification and differentiation of 1U, 2U, and 4U models.

[0051] For the specific method of determining the model information of the rack-mounted server by the model identification device according to the fan connection information in this step, it can be set by the designer according to the practical scenario and user requirements. For example, when the heat dissipation fan connection information includes the presence / absence status of the fan management board, the model identification device can, based on the presence / absence status of the fan management board, achieve the identification of 1U and 4U models or 2U and 4U models and determine the corresponding model information. When the heat dissipation fan connection information includes the presence / absence status of the fan management board and the presence / absence status of the fans at the preset fan positions, if the model information includes an 8-bit model code (Board ID), then the model identification device (such as the PCA9555 chip) can, based on the presence / absence status of the fan management board, determine the value of the first bit in the model code; based on the presence / absence status of the fans at the preset fan positions sent by the logic gate circuit, determine the value of the second bit in the model code; based on the received level signals corresponding to the third bit to the eighth bit respectively, determine the values of the third bit to the eighth bit in the model code. Among them, the logic gate circuit includes a first AND gate device, a second AND gate device, and a third AND gate device; the two input terminals of the first AND gate device and the two input terminals of the second AND gate device are respectively connected one-to-one to the presence / absence status input terminals of 4 preset fan positions, and the two input terminals of the third AND gate device are respectively connected one-to-one to the input terminals of the first AND gate device and the second AND gate device.

[0052] For example, if Figure 2 As shown in the figure, IO_1_[7:0] of the PCA9555 chip represents the 8-bit Board ID, and IO_1_0 (i.e. the first bit, bit0) is the in-position PIN (pin) of the external fan management board (FAN Board), i.e. the output terminal of the fan management board in-position status. The PIN can be high level by default, and the logic level is 1, indicating that the FAN Borad is not in position; when the FANBoard is in position, the PIN state is low level, and the logic level is 0; that is to say, when the fan management board in-position status is low level in-position status, the value of the first bit is 0; when the fan management board in-position status is high level in-position status, the value of the first bit is 1.

[0053] IO_1_1 (i.e., the second bit, bit1) is connected to an external logic gate circuit. The logic gate circuit outputs a high level to represent a 2U model; the output low level represents a 1U model. In other words, the three AND gate devices (i.e., the first AND gate device to the third AND gate device) in the logic gate circuit can logically AND the presence of the four cooling fans FAN6-9 to produce a total logic level; the presence of the four cooling fans FAN6-9 is high by default, and the logic level is 1, indicating that FAN is not in place; when FAN is in place, the PIN state of the corresponding output end is low, and the logic level is 0; when the total logic level is high, it can indicate that FAN6-9 are not in place (i.e., 2U model), and when the total logic level is low, it can be defaulted to indicate that FAN6-9 are not in place (i.e., 1U model).

[0054] IO_1_[7:0]'s 5bit[7:2] (i.e., bit 3 to bit 8, bit 2-7) can be the default logic level and can be set by the designer, such as Figure 2 As shown, the logic level can be set to 111011, that is, the input terminals corresponding to the 3rd bit, the 4th bit, and the 6th bit to the 8th bit can be connected to the preset high level output terminal through a resistor (such as Figure 2 In P3V3_STBY in the figure, the input terminal corresponding to the 5th bit can be grounded through a resistor; that is, the model code in the 1U model information can be 11101101, the model code in the 2U model information can be 11101111, and the model code in the 4U model information can be 11101110.

[0055] Correspondingly, in other embodiments, the fan management board presence status output terminal can be configured to output a low-level not-in-place state by default, that is, when the fan management board presence status is a high-level in-place state, the value of the first bit is 1; when the fan management board presence status is a low-level not-in-place state, the value of the first bit is 0.

[0056] Step 103: Send the model information to the baseboard management controller and / or the central processing unit of the rack-mounted server.

[0057] It can be understood that in this embodiment, the model identification device of the rack-mounted server can send the model information of the rack-mounted server (such as Board ID) to the BMC or CPU of the rack-mounted server, so that the BMC or CPU can flexibly identify the model and correspondingly implement different functions and services. For example, the model identification device can send the Board ID to the BMC and / or CPU of the rack-mounted server through the I2C bus.

[0058] Furthermore, in this embodiment, the model identification device of the rack-mounted server can also detect whether the determined model information of the rack-mounted server is a certain preset model information. When the model information is the preset model information, the model information is sent to the BMC and / or CPU through Step 103; when the model information is not the preset model information, it is determined that the model information is incorrect and an error can be reported to ensure the safety of subsequent server use. For example, when the preset model information includes the above Board IDs of 11101101 for the 1U model, 11101111 for the 2U model, and 11101110 for the 4U model, if the determined Board ID is other values outside the above three Board IDs, such as 11101100, it can be considered that the determined Board ID is incorrect and an error warning can be sent to the BMC and / or CPU.

[0059] Correspondingly, in some other embodiments, the BMC or CPU that receives the model information can detect whether the received model information of the rack-mounted server is a certain preset model information, and when the model information is not the preset model information, an alarm is sent to the management personnel to remind the management personnel that there is an error in the configuration of the server's cooling fan or the model identification is incorrect.

[0060] In this embodiment, the embodiment of the present invention determines the model information of the rack-mounted server according to the fan connection information, and can flexibly configure the model information of the rack-mounted server based on the difference analysis of the cooling fans of different models, according to the presence or absence of some cooling fans and / or fan management boards in the rack-mounted server, enabling multiple products to share one motherboard to complete product development, reducing the production cost and the operating cost of board material control, reducing the situation of warehouse dead stock, and being able to release the input manpower and time of research and development, achieving the purpose of cost reduction and efficiency improvement.

[0061] Corresponding to the above method embodiment, the embodiment of the present invention also provides a model identification device for a rack-mounted server. A model identification device for a rack-mounted server described below can be mutually referred to with a model identification method for a rack-mounted server described above.

[0062] Please refer to Figure 3 , Figure 3 which is a structural block diagram of a model identification device for a rack-mounted server provided by an embodiment of the present invention. The device may include:

[0063] An acquisition module 10, configured to acquire heat dissipation fan connection information of the rack-mounted server; wherein, the heat dissipation fan connection information includes the presence / absence status of the fan management board and / or the presence / absence status of the fans at preset fan positions, and the number of preset fan positions is less than the number of all fan positions of the rack-mounted server;

[0064] A determination module 20, configured to determine the model information of the rack-mounted server according to the fan connection information;

[0065] A sending module 30, configured to send the model information to the baseboard management controller and / or the central processing unit of the rack-mounted server.

[0066] In some embodiments, the heat dissipation fan connection information includes the presence / absence status of the fan management board and the presence / absence status of the fans at preset fan positions.

[0067] In some embodiments, the model information of the rack-mounted server is any preset model information, and the preset model information includes 1U model information, 2U model information, and 4U model information; all fan positions of the rack-mounted server include 10 fan positions corresponding to fans 0 - 9, and the preset fan positions include 4 fan positions corresponding to fans 6 - 9.

[0068] In some embodiments, the model information of the rack-mounted server includes an 8-bit model code, and the determination module 20 may include:

[0069] A first determination sub-module, configured to determine the value of the 1st bit in the model code according to the presence / absence status of the fan management board; wherein, when the presence / absence status of the fan management board is a low-level presence status, the value of the 1st bit is 0; when the presence / absence status of the fan management board is a high-level absence status, the value of the 1st bit is 1;

[0070] A second determination sub-module, configured to determine the value of the second bit in the model code according to the presence / absence status of the fans at the preset fan positions sent by the logic gate circuit; wherein, the logic gate circuit includes a first AND gate device, a second AND gate device, and a third AND gate device; two input terminals of the first AND gate device and two input terminals of the second AND gate device are respectively connected one-to-one to the presence / absence status input terminals of 4 preset fan positions, and two input terminals of the third AND gate device are respectively connected one-to-one to the input terminals of the first AND gate device and the second AND gate device; when the presence / absence status of the fans at the preset fan positions that are at high level are all in the absent state, the value of the second bit is 1; when the presence / absence status of the fans at the preset fan positions that are at low level are all in the present state, the value of the second bit is 0;

[0071] A third determination sub-module, configured to determine the values of the third bit to the eighth bit in the model code according to the respective level signals corresponding to the third bit to the eighth bit received.

[0072] In some embodiments, the model code in the 1-height unit model information is 11101101, the model code in the 2-height unit model information is 11101111, and the model code in the 4-height unit model information is 11101110.

[0073] In this embodiment, in the embodiment of the present invention, the determination module 20 determines the model information of the rack-mounted server according to the fan connection information, and can, based on the difference analysis of the cooling fans of different models, flexibly configure the model information of the rack-mounted server according to the presence / absence status of some of the cooling fans and / or the fan management board in the rack-mounted server, enabling multiple products to share one main board to complete product development, reducing the production cost and the operating cost of board material control, reducing the situation of warehouse dead stock, and being able to release the invested manpower and time in research and development, achieving the purpose of cost reduction and efficiency improvement.

[0074] Corresponding to the above method embodiment, the embodiment of the present invention further provides a model identification device for a rack-mounted server. A model identification device for a rack-mounted server described below can be mutually referred to with a model identification method for a rack-mounted server described above.

[0075] Please refer to Figure 4 , Figure 4 which is a schematic structural diagram of a model identification device for a rack-mounted server provided by the embodiment of the present invention. The device may include:

[0076] A memory D1, configured to store a computer program;

[0077] A processor D2, configured to implement the steps of the model identification method for a rack-mounted server provided by the above method embodiment when executing the computer program.

[0078] Among them, the model identification device of the rack-mounted server provided in this embodiment can be a device capable of expanding GPIO, such as the above-mentioned PCA9555 chip or other chips.

[0079] Corresponding to the above method embodiment, the embodiment of the present invention also provides a computer program product. A computer program product described below can be correspondingly referred to with a rack-mounted server model identification method described above.

[0080] A computer program product includes computer programs / instructions. When the computer programs / instructions are executed by a processor, the steps of the rack-mounted server model identification method provided in the above method embodiment are implemented.

[0081] Corresponding to the above method embodiment, the embodiment of the present invention also provides a computer-readable storage medium. A computer-readable storage medium described below can be correspondingly referred to with a rack-mounted server model identification method described above.

[0082] A computer-readable storage medium stores a computer program. When the computer program is executed by a processor, the steps of the rack-mounted server model identification method in the above method embodiment are implemented.

[0083] The computer-readable storage medium can specifically be various readable storage media such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disc that can store program codes.

[0084] Corresponding to the above method embodiment, the embodiment of the present invention also provides a rack-mounted server model identification circuit. A rack-mounted server model identification circuit described below can be correspondingly referred to with a rack-mounted server model identification method described above.

[0085] Please refer to Figure 5 , Figure 5 which is a schematic structural diagram of a rack-mounted server model identification circuit provided by the embodiment of the present invention. The circuit can include: a model identification chip 100 and a logic gate circuit 200;

[0086] Among them, each input terminal of the logic gate circuit 200 is respectively connected in a one-to-one manner to the presence output terminals of each preset fan position of the rack-mounted server, and the output terminal of the logic gate circuit 200 is connected to the first input terminal of the model identification chip; the logic gate circuit 200 is configured to determine and send the fan presence status of the corresponding preset fan position to the model identification chip 100 according to the presence status of each preset fan position input; the fan presence status includes a preset number of level signals, and the preset number is less than the number of preset fan positions and less than the number of all fan positions of the rack-mounted server;

[0087] The second input terminal of the model identification chip 100 is connected to the presence output terminal of the fan management board of the rack-mounted server, and the output terminal of the model identification chip 100 is used to be connected to the baseboard management controller and / or the central processing unit of the rack-mounted server; the model identification chip 100 is configured to determine the model information of the rack-mounted server according to the input fan presence status and the fan management board presence status, and send the model information to the baseboard management controller and / or the central processing unit.

[0088] It can be understood that in this embodiment, the model identification chip 100 (such as the above-mentioned model identification device) can determine and send the model information of the rack-mounted server to the BMC and / or the CPU according to the fan management board presence status input at the second input terminal and the fan presence status of the preset fan positions input at the first input terminal. It can flexibly configure the model information of the rack-mounted server based on the analysis of the differences in the cooling fans of different models, according to the presence status of some cooling fans and the fan management board in the rack-mounted server, enabling multiple products to share one main board to complete product development, reducing the production cost and the operating cost of board material control, reducing the situation of warehouse dead stock, and being able to release the invested manpower and time in research and development, achieving the purpose of cost reduction and efficiency improvement.

[0089] In some embodiments, when the number of the first input terminals (i.e., the preset number) is 1, that is, when the fan presence status of the preset fan positions is 1 path of level signals representing two different states of all the preset fan positions, all the fan positions of the rack-mounted server include 10 fan positions corresponding to fans 0 - 9 (such as Figure 2 FAN0 - FAN9 in

[0090] ), the preset fan positions include 4 fan positions corresponding to fans 6 - 9; the logic gate circuit includes a first AND gate device, a second AND gate device, and a third AND gate device;

[0091] The various embodiments in the specification are described in a progressive manner. Each embodiment focuses on the differences from other embodiments. For the same or similar parts among the embodiments, reference can be made to each other. For the apparatuses, devices, circuits, computer program products, and computer-readable storage media disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the description is relatively simple. For the relevant parts, reference can be made to the description in the method section.

[0092] The above has introduced in detail a method, apparatus, device, medium, and circuit for model identification of a rack-mounted server provided by the present invention. Specific examples are used herein to elaborate on the principles and implementation manners of the present invention. The description of the above embodiments is only used to help understand the method and its core idea of the present invention. It should be noted that for those of ordinary skill in the art in this technical field, without departing from the principle of the present invention, several improvements and modifications can be made to the present invention, and these improvements and modifications also fall within the protection scope of the present invention.

Claims

1. A method for identifying the model of a rack-mounted server, characterized in that, Including: Obtain the heat dissipation fan connection information of a rack-mounted server; wherein, the heat dissipation fan connection information includes the presence / absence status of the fan management board and / or the presence / absence status of the fans at preset fan positions, and the number of the preset fan positions is less than the number of all fan positions of the rack-mounted server; Determine the model information of the rack-mounted server according to the fan connection information; Send the model information to the baseboard management controller and / or the central processing unit of the rack-mounted server.

2. The model identification method of the rack-mounted server according to claim 1, characterized in that, The heat dissipation fan connection information includes the presence / absence status of the fan management board and the presence / absence status of the fans at preset fan positions.

3. The model identification method for the rack-mounted server according to claim 2, wherein, The model information of the rack-mounted server is any preset model information, and the preset model information includes 1U model information, 2U model information, and 4U model information; All fan positions of the rack-mounted server include 10 fan positions corresponding to fans 0 - 9, and the preset fan positions include 4 fan positions corresponding to fans 6 - 9.

4. The method for identifying the model of a rack-mounted server according to claim 2, wherein The model information of the rack-mounted server includes an 8-bit model code. Determining the model information of the rack-mounted server according to the fan connection information includes: Determine the value of the 1st bit in the model code according to the presence / absence status of the fan management board; wherein, when the presence / absence status of the fan management board is a low-level presence status, the value of the 1st bit is 0; when the presence / absence status of the fan management board is a high-level absence status, the value of the 1st bit is 1; Determine the value of the 2nd bit in the model code according to the presence / absence status of the fans at the preset fan positions sent by the logic gate circuit; wherein, the logic gate circuit includes a first AND gate device, a second AND gate device, and a third AND gate device; two input terminals of the first AND gate device and two input terminals of the second AND gate device are respectively connected to the presence / absence status input terminals of 4 of the preset fan positions in a one-to-one manner, and two input terminals of the third AND gate device are respectively connected to the input terminals of the first AND gate device and the second AND gate device in a one-to-one manner; when the presence / absence status of the fans at the preset fan positions is all in a high-level absence state, the value of the 2nd bit is 1; when the presence / absence status of the fans at the preset fan positions is all in a low-level presence state, the value of the 2nd bit is 0; Determine the values of the 3rd bit to the 8th bit in the model code according to the respective received level signals corresponding to the 3rd bit to the 8th bit.

5. The model identification method of the rack-mounted server according to claim 4, characterized in that The model code in the 1U model information is 11101101, the model code in the 2U model information is 11101111, and the model code in the 4U model information is 11101110.

6. An identification device for the model of a rack-mounted server, characterized in that, Including: An obtaining module, configured to obtain the heat dissipation fan connection information of a rack-mounted server; wherein, the heat dissipation fan connection information includes the presence / absence status of the fan management board and / or the presence / absence status of the fans at preset fan positions, and the number of the preset fan positions is less than the number of all fan positions of the rack-mounted server; A determination module, configured to determine the model information of the rack-mounted server according to the fan connection information; A sending module, configured to send the model information to the baseboard management controller and / or the central processing unit of the rack-mounted server.

7. An identification device for the model of a rack-mounted server, characterized in that, Comprising: A memory, configured to store a computer program; A processor, configured to implement the steps of the model identification method of the rack-mounted server according to any one of claims 1 to 5 when executing the computer program.

8. A computer-readable storage medium, characterized in that, A computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the model identification method of the rack-mounted server according to any one of claims 1 to 5 are implemented.

9. A model identification circuit for a rack-mounted server, characterized in that, Comprising: A model identification chip and a logic gate circuit; Wherein, each input end of the logic gate circuit is respectively connected in one-to-one correspondence with the presence output ends of each preset fan position of the rack-mounted server, and the output end of the logic gate circuit is connected to the first input end of the model identification chip; the logic gate circuit is configured to determine and send the fan presence situation of the corresponding preset fan position to the model identification chip according to the presence situations of each of the preset fan positions input; the fan presence situation includes a preset number of level signals, and the preset number is less than the number of the preset fan positions which is less than the number of all fan positions of the rack-mounted server; The second input end of the model identification chip is connected to the presence output end of the fan management board of the rack-mounted server, and the output end of the model identification chip is used to be connected to the baseboard management controller and / or the central processing unit of the rack-mounted server; the model identification chip is configured to determine the model information of the rack-mounted server according to the input fan presence situation and the presence situation of the fan management board, and send the model information to the baseboard management controller and / or the central processing unit.

10. The model identification circuit of the rack-mounted server according to claim 9, characterized in that, All fan positions of the rack-mounted server include 10 fan positions corresponding to fans 0 - 9, and the preset fan positions include 4 fan positions corresponding to fans 6 - 9; the logic gate circuit includes a first AND gate device, a second AND gate device, and a third AND gate device; Wherein, two input ends of the first AND gate device and two input ends of the second AND gate device are respectively connected in one-to-one correspondence with the presence input ends of the 4 preset fan positions, two input ends of the third AND gate device are respectively connected in one-to-one correspondence with the input ends of the first AND gate device and the second AND gate device, and the output end of the third AND gate device is connected to the first input end of the model identification chip.