Server control method, server, device, medium and product based on network card

By acquiring the level signal of the signal line in the AI ​​server motherboard, identifying and adapting to the smart network card types of different manufacturers, the compatibility challenge of the AI ​​server when compatible with smart network cards from different manufacturers is solved, improving compatibility and reducing costs.

CN118897816BActive Publication Date: 2025-01-21INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202411336472.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-09-24
Publication Date
2025-01-21
Estimated Expiration
2044-09-24

AI Technical Summary

Technical Problem

When designing existing AI servers, it is difficult to compatible with smart network cards from different manufacturers, resulting in huge compatibility challenges and increasing R&D, production and maintenance costs.

Method used

By obtaining the level signals of multiple signal lines in the server motherboard, it is determined whether the adapter card is connected to the network card and the network card type, and the adapter configuration is performed according to the network card type to achieve compatibility with smart network cards from multiple manufacturers.

Benefits of technology

It improves the server's compatibility with smart network cards, reduces R&D and production costs, and simplifies the maintenance process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118897816B_ABST
    Figure CN118897816B_ABST
Patent Text Reader

Abstract

The embodiment of the present invention provides a server control method based on a network card, a server, a device, a medium and a product, which are applied to the field of server technology. The method includes: by obtaining the level signals transmitted by multiple signal lines of the first connector in the server mainboard, one end of the multiple signal lines is set to be grounded or suspended according to the network card connection status of the adapter card in the mainboard, and according to the level signals transmitted by the multiple signal lines, determining whether the adapter card in the mainboard is connected to the network card and the network card type of the network card connected to the adapter card; according to the network card type, controlling the server to execute the configuration adapted to the network card connected to the adapter card. Through the embodiment of the present invention, it is realized that the configuration adapted to the network card is executed in the server according to the network card type, and then compatible with smart network cards of multiple manufacturers, thereby improving the compatibility of the server.
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 server control method, server, equipment, medium and product based on a network card. Background Art

[0002] With the application of technologies such as big data and artificial intelligence, data has grown exponentially in recent years. As a result, traditional servers with only CPU (Central Processing Unit) as the data processing core cannot meet data processing needs. AI (Artificial Intelligence) servers equipped with GPU (Graphics Processing Unit) came into being.

[0003] For AI servers, some leading manufacturers in the AI ​​field have launched AI server architecture specifications based on their own needs, such as the MGX (Modular GPU Acceleration PlatformMGX) specification. The architecture specifications make detailed requirements for the specifications and models of various physical interfaces and signal definitions in the server, and other server manufacturers are not allowed to modify them.

[0004] When designing AI servers, in order to meet the needs of different customer groups, it is necessary to make the servers compatible with smart network cards from different manufacturers. However, each Internet manufacturer currently has its own self-developed smart network card model. Each manufacturer has developed a custom design based on the specifications according to its own needs. The form specifications, bus types, and signal definitions of each manufacturer are diverse and not completely unified. Moreover, specifications such as MGX are defined based on the manufacturer's own smart network card, without considering the actual situation of the self-developed smart network cards of other domestic manufacturers. This makes the compatibility of smart network cards face great challenges when designing AI servers based on specifications such as MGX. Summary of the invention

[0005] In view of the above problems, a server control method, server, device, medium and product based on a network card are proposed to overcome the above problems or at least partially solve the above problems, including:

[0006] A server control method based on a network card, the method comprising:

[0007] Acquire level signals transmitted by a plurality of signal lines of a first connector in the server mainboard, wherein one end of the plurality of signal lines is set to be grounded or suspended according to a network card connection condition of a riser card in the mainboard;

[0008] Determine, according to the level signals transmitted by the plurality of signal lines, whether the adapter card in the mainboard is connected to a network card and the type of the network card to which the adapter card is connected;

[0009] According to the type of the network card, the server is controlled to execute configuration of adapting the network card connected to the adapter card.

[0010] A server, comprising:

[0011] A mainboard, wherein a first connector in the mainboard is provided with a plurality of signal lines, and one end of the plurality of signal lines is set to be grounded or suspended according to the network card connection status of the adapter card in the mainboard;

[0012] A controller, wherein the controller determines whether the adapter card in the mainboard is connected to the network card and the type of the network card connected to the adapter card according to the level signals transmitted by the multiple signal lines, and controls the server to execute a configuration adapted to the network card connected to the adapter card according to the type of the network card.

[0013] An electronic device comprises a processor, a memory and a computer program stored in the memory and capable of running on the processor, wherein the computer program implements any of the above methods when executed by the processor.

[0014] A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method described above is implemented.

[0015] A computer program product comprises a computer program, wherein when the computer program is executed by a processor, the computer program implements the method as described above.

[0016] The embodiments of the present invention have the following advantages:

[0017] In an embodiment of the present invention, by acquiring level signals transmitted by multiple signal lines of the first connector in the server mainboard, one end of the multiple signal lines is set to be grounded or suspended according to the network card connection status of the adapter card in the mainboard, and according to the level signals transmitted by the multiple signal lines, it is determined whether the adapter card in the mainboard is connected to the network card and the network card type of the network card connected to the adapter card; according to the network card type, the server is controlled to execute the configuration adapted to the network card connected to the adapter card, thereby realizing the execution of the configuration adapted to the network card in the server according to the network card type, thereby being compatible with smart network cards of multiple manufacturers and improving the compatibility of the server. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] In order to more clearly illustrate the technical solution of the present invention, the accompanying drawings required for use in the description of the present invention will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative labor.

[0019] Figure 1 is a flow chart of steps of a server control method based on a network card provided by some embodiments of the present invention;

[0020] Figure 2 is a schematic diagram of a server architecture provided by some embodiments of the present invention;

[0021] Figure 3 is a schematic diagram of a server architecture provided by some embodiments of the present invention;

[0022] Figure 4 is a schematic diagram of a server architecture provided by some embodiments of the present invention;

[0023] Figure 5 is a flowchart of another server control method based on a network card provided by some embodiments of the present invention;

[0024] Figure 6 is a schematic diagram of a server provided by some embodiments of the present invention;

[0025] Figure 7 is a structural block diagram of an electronic device provided by some embodiments of the present invention;

[0026] Figure 8 is a structural block diagram of a storage medium provided by some embodiments of the present invention;

[0027] Fig. 9 It is a structural block diagram of a program product provided by some embodiments of the present invention. DETAILED DESCRIPTION

[0028] In order to make the above-mentioned purposes, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0029] In related technologies, a variety of different riser cards (adapter cards) are developed to meet the different signal requirements of smart network cards from different manufacturers, and they are used in a one-to-one combination (riser card and smart network card). However, the AI ​​server is a relatively complex system. Replacing boards is time-consuming and labor-intensive. Reassembling the machine may cause other problems caused by improper operation, which increases the maintenance cost of the machine. At the same time, R&D needs to design multiple boards to meet the needs of different scenarios, increasing R&D, production and system maintenance costs. Moreover, the existing boards do not meet the requirements of MGX and other specifications, and the relevant boards cannot be used on the server.

[0030] In the embodiments of the present invention, in view of the problem that there are many types of smart network cards and the board replacement steps are complicated, the operation is cumbersome, and time-consuming and labor-intensive, a special hardware architecture design and different cables can be used to easily achieve the compatible design of smart network cards of different forms from multiple manufacturers without time-consuming and labor-intensive operations on the basis of minor changes, thereby avoiding the separate development of multiple models of riser boards, greatly saving server development costs and maintenance costs, and improving development and maintenance efficiency. Moreover, since the MGX and other architecture specifications strictly define the connectors and signal definitions of the motherboard, the embodiments of the present invention can implement this function on the existing connectors without violating the MGX and other architecture specifications.

[0031] In the embodiment of the present invention, a complete solution is provided in the hardware architecture design, logic design, and cable design, and a truth table with identification uniqueness is provided (as shown in Table 2 below), so that the type identification and in-place judgment of multiple types of smart network cards can be completed. By utilizing the native NCSI (Network Controller Sideband Interface, a network interface protocol) connector signal definition of MGX and other specifications, different configuration requirements can be met through simple cable design and logic processing without violating the specifications, which can effectively solve the compatibility design problems of smart network cards of various manufacturers of AI servers under MGX and other architecture specifications, and greatly expand the configuration diversity of AI servers. In addition, compared with the traditional method of making multiple riser boards, it saves more time, and will not cause other problems due to tedious operation steps such as replacing boards, which greatly improves maintenance efficiency and reduces R&D and production costs.

[0032] Specifically, in terms of hardware architecture design, three signals at the NCSI connector in the MB (Main Board) need to be specially processed without violating the MGX and other specification definitions, and a complete hardware topology architecture is given between the MB, SW (Switch) board, and FAN (fan) board. Logically, a truth table with unique identification is given, based on which the type identification and in-place judgment of multiple types of smart network cards can be completed. In terms of cable design, a variety of specific types of cables are given based on the identified smart network card type, and the signal processing method in the cable design is detailed.

[0033] The following is further described with reference to the accompanying drawings:

[0034] Reference Figure 1 , shows a flow chart of the steps of a server control method based on a network card provided by some embodiments of the present invention. In some instances, the server may be an AI server, such as an AI server based on the MGX specification. The AI ​​server may be equipped with a CPU and a GPU. The network card may be an intelligent network card. Compared with a non-intelligent network card, an intelligent network card may undertake some data processing functions. Specifically, the following steps may be included:

[0035] Step 101, obtaining level signals transmitted by a plurality of signal lines of a first connector in the server mainboard, wherein one end of the plurality of signal lines is set to be grounded or suspended according to a network card connection condition of a riser card in the mainboard.

[0036] In practical applications, such as Figure 2 , Figure 3 , Figure 4 The server is provided with a mainboard (MB), the network card is connected to the mainboard through a riser card, the mainboard is provided with a first connector, the first connector is an NCSI connector, and the first connector is provided with multiple signal lines for transmitting different signals.

[0037] In order to be compatible with different smart network cards, detect whether the network card is online and distinguish different types of network cards, multiple signal lines can be grounded or suspended at one end of the first connector to generate different level signals, such as generating a low level signal when grounded and generating a high level signal when suspended. Then, through the arrangement and combination of signals generated by multiple signal lines, the server can know the specific connection status of the network card, such as which adapter card is connected to the network card and the type of the connected network card.

[0038] In some examples, the types of network cards may include smart network cards that support a single processor (Single-host) (i.e., X16 smart network cards, whose PCIe X16 signals only need to be provided by a single CPU), smart network cards that support multiple processors (Muti-host) (i.e., X8X8 smart network cards, which require two CPUs in the system to each provide a PCIe X8 signal), and non-smart network cards (i.e., ordinary network cards).

[0039] In some embodiments of the present invention, obtaining level signals transmitted by multiple signal lines of a first connector in a server mainboard includes: obtaining a first level signal transmitted by a first signal line of the first connector in the server mainboard, the first signal line being used to transmit a level signal of whether the adapter card is connected to a network card; obtaining a second level signal transmitted by a second signal line of the first connector in the server mainboard, the second signal line being used to transmit a level signal of a network card type of the network card connected to the adapter card.

[0040] In actual applications, different signal lines in the first connector can transmit different signals, which mainly include two categories. The first signal line is used to transmit a level signal of whether the adapter card is connected to the network card, that is, it is used for in-place judgment, such as through PRESENCE_N and SEC_NIC_PRSNT_N signals to perform in-place judgment. The second signal line is used to transmit a level signal of the network card type of the network card to which the adapter card is connected, that is, it is used to distinguish which type of smart network card it is, such as through the NIC_BW_ID signal to distinguish the type of smart network card.

[0041] In some embodiments of the present invention, the mainboard is provided with one or more riser cards. When the mainboard is provided with multiple riser cards, the first connector transmits level signals of whether different riser cards are connected to the network card through different first signal lines. For example, the first connector transmits PRESENCE_N and SEC_NIC_PRSNT_N through the first signal line, PRESENCE_N is used to identify whether the first riser card is connected to the network card, and SEC_NIC_PRSNT_N is used to identify whether the second riser card is connected to the network card.

[0042] In practical applications, different signal lines may correspond to different pins of the first connector for transmitting different signals. MGX and other specifications have made detailed definitions of the MB-side NCSI connector, as shown in Table 1, including signals such as RBT, UART, PRESENCE, and PKG_ID.

[0043]

[0044] Table 1

[0045] In actual applications, the PRESENCE signal is the smart NIC presence signal, which is grounded by default on the smart NIC side. When the NCSI cable is installed properly, the MB side recognizes that this signal is low and knows that there is a smart NIC in the current system. This leads to a series of design problems and limits the configuration implementation of the server, as follows:

[0046] 1. There is only one NCSI connector on the MB side of the server, but the system configuration requires support for 1 or 2 smart network cards.

[0047] 2. When one smart network card is configured (only one smart network card is inserted in Riser 0), Riser 1 needs to install a common network card to maximize the utilization of system resources. However, the power supply and heat dissipation solutions of common network cards and smart network cards are different.

[0048] 3. Smart NICs are divided into two types: X8X8 (i.e., smart NICs that support a single processor) and X16 (i.e., smart NICs that support multiple processors). The system cannot accurately know the status of the card.

[0049] In the embodiment of the present invention, without changing the original definition of the MGX specification, a cable-assisted method is adopted to fully utilize the PKG_ID 0 / 1 signal to achieve the system design goal.

[0050] In the relevant specification definition, the PKG_ID 0 / 1 signal is the signal output by the MB to the smart network card, which is used to configure the ID of the smart network card. It should be noted that the PKG_ID 0 / 1 signal is not a changing signal, its state is always high or low, and other manufacturers' smart network cards do not need this signal.

[0051] Therefore, when designing the cable, choose to loopback the MB end of the PKG_ID 0 / 1 signal to GND (grounding) or leave it floating, and use it as SEC_NIC_PRSNT_N (the second smart NIC is in place) and NIC_BW_ID (used to distinguish between X8X8 and X16 smart NICs), respectively, and loopback to GND at the smart NIC connector. This can implement the relevant functions defined for the smart NIC, while satisfying the MB end's identification and distinction of multiple types of smart NICs.

[0052] That is to say, in the original definition of MGX and other specifications, the PRESENCE signal in the NCSI connector is used to identify whether the first network card is in place. By looping back the MB end of this PKG_ID 0 / 1 signal to GND (ground) or leaving it floating, two other signals can be formed, namely SEC_NIC_PRSNT_N and NIC_BW_ID. SEC_NIC_PRSNT_N is used to identify whether the second network card is in place, and NIC_BW_ID is used to distinguish between X8X8 and X16 smart network cards.

[0053] Through the above settings, one end of the signal line can be set to ground or suspended according to the network card connection status of the adapter card in the motherboard, thereby realizing the presence judgment of at least two network cards and distinguishing the network card types of the network cards in place, thereby improving the server's compatibility with smart network cards.

[0054] Step 102: Determine, based on the level signals transmitted by the plurality of signal lines, whether the adapter card in the mainboard is connected to a network card and the type of the network card to which the adapter card is connected.

[0055] In some embodiments of the present invention, determining whether the adapter card in the mainboard is connected to a network card and the type of the network card to which the adapter card is connected according to the level signals transmitted by the multiple signal lines includes:

[0056] According to the first level signal, it is determined whether the adapter card in the mainboard is connected to the level signal of the network card; according to the second level signal, the type of the network card connected to the adapter card is determined.

[0057] In some embodiments of the present invention, the network card type includes any one of the following: a smart network card supporting a single processor, a smart network card supporting multiple processors, and a non-smart network card.

[0058] In some embodiments of the present invention, the network card type includes a smart network card that supports a single processor; when the network card connected to the adapter card is a smart network card that supports a single processor, one end of the first signal line is set to ground, and the first level signal is a low level signal; when the network card connected to the adapter card is a smart network card that supports a single processor, one end of the second signal line is set to ground, and the second level signal is a low level signal.

[0059] In some embodiments of the present invention, the network card type includes an intelligent network card that supports multiple processors; when the network card connected to the adapter card is an intelligent network card that supports multiple processors, one end of the first signal line is set to ground, and the first level signal is a low level signal; when the network card connected to the adapter card is an intelligent network card that supports multiple processors, one end of the second signal line is set to be suspended, and the second level signal is a high level signal.

[0060] In some embodiments of the present invention, the network card type includes a non-intelligent network card; when the network card connected to the adapter card is a non-intelligent network card, one end of the first signal line is set to be suspended, and the first level signal is a high level signal; when the network card connected to the adapter card is a non-intelligent network card, one end of the second signal line is set to be suspended, and the second level signal is a high level signal.

[0061] In some embodiments of the present invention, when the network card connected to the adapter card is provided with a second connector, the first connector is connected to the second connector through a first cable; when the network card connected to the adapter card is not provided with a second connector, the first connector is connected to itself through the second cable. For example, when the network card is also provided with an NCSI connector, Figure 2 , Figure 3 , the NCSI connectors are connected through NCSI cables. If the network card is not equipped with an NCSI connector, Figure 4 , the NCSI connector of the motherboard is connected to itself through the DUMMY cable. By setting different cable connections, it can adapt to the situation where there is a connector in different network cards and improve compatibility.

[0062] In actual applications, the network card connection conditions are divided into five types according to the network card type (X8X8 smart network card, X16 smart network card, non-smart network card), the number of network cards, and the presence or absence of NCSI connectors, as shown in Table 2:

[0063]

[0064] Table 2

[0065] Configuration 1: For an X16 smart NIC (with NCSI connector), the PRESENCE_N pin (signal line) is grounded as a low-level signal, the SEC_NIC_PRSNT_N pin is floating as a high-level signal, and the NIC_BW_ID pin is floating as a high-level signal, and the NCSI connectors are connected through an NCSI cable.

[0066] Configuration 2 (such as Figure 2): For two X16 smart NICs (with NCSI connectors), the PRESENCE_N pin (signal line) is grounded as a low-level signal, the SEC_NIC_PRSNT_N pin is grounded as a low-level signal, the NIC_BW_ID pin is left floating as a high-level signal, and connected between the NCSI connectors through an NCSI cable.

[0067] Configuration 3 (such as Figure 3 ): For 1 X8X8 smart network card (with NCSI connector), the pin (signal line) where PRESENCE_N is located is grounded as a low-level signal, the pin where SEC_NIC_PRSNT_N is located is suspended as a high-level signal, and the pin where NIC_BW_ID is located is grounded as a low-level signal, and connected between the NCSI connectors through the NCSI cable.

[0068] Configuration 4 (such as Figure 4 ): For one X16 smart NIC (without NCSI connector), the PRESENCE_N pin (signal line) is grounded as a low-level signal, the SEC_NIC_PRSNT_N pin is suspended as a high-level signal, and the NIC_BW_ID pin is suspended as a high-level signal, and is connected to itself at the NCSI connector through a DUMMY cable.

[0069] Configuration 5: For one X8X8 smart NIC (without NCSI connector), the PRESENCE_N pin (signal line) is grounded as a low-level signal, the SEC_NIC_PRSNT_N pin is left floating as a high-level signal, the NIC_BW_ID pin is grounded as a low-level signal, and is connected to itself at the NCSI connector through a DUMMY cable.

[0070] Configuration 6: Non-intelligent NIC.

[0071] Step 103: According to the type of the network card, control the server to execute configuration of adapting the network card connected to the adapter card.

[0072] In some embodiments of the present invention, the mainboard is provided with an expansion processor, such as Figure 2 , Figure 3 , Figure 4 PCA9555 in the MB board controls the server to execute the configuration adapted for the network card connected to the adapter card according to the network card type, including: transmitting the network card type to the core processor through the extension processor; in response to the control of the core processor, controlling the server to execute the bandwidth allocation mode adapted for the network card connected to the adapter card according to the network card type.

[0073] In some embodiments of the present invention, controlling the server to execute a bandwidth allocation mode adapted for the network card connected to the adapter card according to the network card type includes: controlling the server to execute a first bandwidth allocation mode when the network card connected to the adapter card is a smart network card that supports a single processor; and controlling the server to execute a second bandwidth allocation mode when the network card connected to the adapter card is a smart network card that supports multiple processors.

[0074] The first bandwidth allocation mode is a bandwidth allocation mode supporting a single processor; and the second bandwidth allocation mode is a bandwidth allocation mode supporting multiple processors.

[0075] In some instances, a bandwidth allocation mode for a single processor is supported, i.e., bandwidth allocation that is compatible with the smart network card X16 of the Signle-host, and a bandwidth allocation mode for multiple processors is supported, i.e., bandwidth allocation that is compatible with the smart network card X8X8 of the Mignle-host.

[0076] In some embodiments of the present invention, the mainboard is provided with a first logic controller, such as Figure 2 , Figure 3 , Figure 4 The CPLD (Complex Programmable Logic Device) in the MB board controls the server to execute the configuration adapted for the network card connected to the adapter card according to the network card type, including: controlling the server to execute the clock output mode adapted for the network card connected to the adapter card according to the network card type through the first logic controller.

[0077] In some embodiments of the present invention, the server is controlled to execute a clock output mode adapted to the network card connected to the adapter card according to the type of the network card, including: when the network card connected to the adapter card is a smart network card, the server is controlled to execute the first clock output mode or the second clock output mode; when the network card connected to the adapter card is a non-smart network card, the server is controlled to execute the second clock output mode.

[0078] The first clock output mode is a mode in which the clock is output without pressing the power button, and the second clock output mode is a mode in which the clock is output after pressing the power button.

[0079] In some examples, the mode of outputting the clock without pressing the power button is to output the clock in S5, and the mode of outputting the clock after pressing the power button is to output the clock in S0.

[0080] Among them, S0 means that the computer will start only after pressing the power button, and S5 means that the computer can start without pressing the power button.

[0081] In some embodiments of the present invention, the server is provided with a switch board (SwitchBoard) connected to the main board, and the switch board is provided with a second logic controller, such as Figure 2 , Figure 3 , Figure 4 The CPLD in the Switch board controls the server to execute the configuration adapted for the network card connected to the adapter card according to the network card type, including: through the second logic controller, controlling the server to execute the power supply mode adapted for the network card connected to the adapter card according to the network card type.

[0082] In some embodiments of the present invention, controlling the server to execute a power supply mode adapted to the network card connected to the adapter card according to the type of the network card includes: when the network card connected to the adapter card is a smart network card, controlling the server to execute a first power supply mode; when the network card connected to the adapter card is a non-smart network card, controlling the server to execute a second power supply mode.

[0083] The first power supply mode is a mode in which power is supplied without pressing a power button, and the second power supply mode is a mode in which power is supplied after pressing a power button.

[0084] In some examples, the mode in which power is supplied without pressing the power button is power supplied in S5, and the mode in which power is supplied after pressing the power button is power supplied in S0.

[0085] In some embodiments of the present invention, the server is provided with a fan board (FANBoard) connected to the mainboard, and the fan board is provided with a third logic controller, such as Figure 2 , Figure 3 , Figure 4 The CPLD in the FAN board controls the server to execute the configuration adapted for the network card connected to the adapter card according to the network card type, including: through the third logic controller, controlling the server to execute the heat dissipation mode adapted for the network card connected to the adapter card according to the network card type.

[0086] In some embodiments of the present invention, the server is controlled to execute a cooling mode adapted to the network card connected to the adapter card according to the type of the network card, including: when the network card connected to the adapter card is a smart network card, the server is controlled to execute a first cooling mode; when the network card connected to the adapter card is a non-smart network card, the server is controlled to execute a second cooling mode.

[0087] The first heat dissipation mode is a mode in which heat is dissipated without pressing a power button, and the second heat dissipation mode is a mode in which heat is dissipated only after pressing a power button.

[0088] In some examples, the mode in which heat is dissipated without pressing the power button is heat dissipated in S5, and the mode in which heat is dissipated after pressing the power button is heat dissipated in S0.

[0089] In the hardware adaptation of the smart network card, we need to pay attention to the following aspects:

[0090] In-place identification: used to let the server management system know how many smart network cards are currently available, so as to perform asset management and related configuration.

[0091] Power supply: Unlike ordinary network cards that use S0 power supply, smart network cards need to use S5 power supply.

[0092] Clock: Generally, the clock is provided by S0. A small number of manufacturers require 100M clock to be provided by S5.

[0093] Heat dissipation: The Smart NIC consumes a lot of power and the power supply is completed in the S5 state. Therefore, in terms of heat dissipation logic, the system needs to recognize that the Smart NIC is in place and start the fan in S5 to provide heat dissipation.

[0094] Among them, S0 means that the computer will start only after pressing the power button, and S5 means that the computer can start without pressing the power button.

[0095] For the configurations in Table 2 above, the server uses the adapted configurations shown in Table 3 below:

[0096]

[0097] Table 3

[0098] Configuration 1: For one X16 smart NIC (with NCSI connector), one power supply uses S5, the other power supply uses S0, and the fan uses S5 for cooling.

[0099] Configuration 2: For 2 x16 smart NICs (with NCSI connectors), one power supply uses S5 and the other power supply uses S5, and the fan uses S5 for cooling.

[0100] Configuration 3: For 1 X8X8 smart NIC (with NCSI connector), one power supply is powered by S5, the other power supply is powered by S0, and the fan uses S5 for cooling.

[0101] Configuration 4: For one X16 smart NIC (without NCSI connector), one power supply uses S5, the other power supply uses S0, and the fan uses S5 for heat dissipation.

[0102] Configuration 5: For one X8X8 smart NIC (without NCSI connector), one power supply uses S5, the other power supply uses S0, and the fan uses S5 for heat dissipation.

[0103] Configuration 6: Non-intelligent network card, one power supply uses S0 for power supply, the other power supply uses S0 for power supply, and the fan uses S0 for heat dissipation.

[0104] The following combination Figure 2 , Figure 3 , Figure 4 , the above configurations are exemplified as follows:

[0105] For configuration 2:

[0106] like Figure 2 , the system needs to support 2 X16 smart NICs (with NCSI connectors on the card end). The MB-side NCSI connector PRESENCE_N, SEC_NIC_PRSNT_N, and NIC_BW_ID signals are pulled up to P3V3_STBY (standby power) by default, and then connected to the MB CPLD and PCA9555.

[0107] After receiving these three signals, the MB CPLD can distinguish the current smart network card type according to the truth table shown in Table 2, and then control the 100M clock to output in S5 or S0.

[0108] After PCA9555 receives these three signals, the CPU can read them through I2C, and then distinguish the current smart network card type according to the truth table shown in Table 2, and then control the bandwidth allocation to X8X8 or X16.

[0109] At this time, the level received by MB CPLD and PCA9555 is: 001, which means that Smart NIC 0 is in place, Smart NIC 1 is in place, and the Smart NIC bandwidth is X16 (i.e. single-host).

[0110] In addition, the PRESENCE_N and SEC_NIC_PRSNT_N signals are simultaneously led to the SW board CPLD. After the SW board CPLD learns that the two in-position signals are equal to 00, it controls VR0 and VR1 to power on at S5. In addition, the FAN_S5_EN signal is pulled high to notify the FAN Board CPLD to control the fan to start rotating at S5.

[0111] It must be noted that the PRESENCE_N and SEC_NIC_PRSNT_N signals are looped back to GND on the MB-side cable and do not need to be connected to the Smart NIC. The NIC_BW_ID signal is not used and can be left floating. These three signals on NCSI cable 2 are not actually connected to the peer NIC.

[0112] For configuration 1:

[0113] Similarly, the difference between configuration 1 in Table 2, which supports one X16 smart NIC (with an NCSI connector on the card end), and configuration 2 is that the MB side does not ground the SEC_NIC_PRSNT_N signal, that is, it is left floating and not used. At this time, the level received by the MB CPLD and PCA9555 is: 011, which means that smart NIC 0 is in place, smart NIC 1 is not in place, and the smart NIC bandwidth is X16 (i.e. single-host). After the SW board CPLD learns that the two in-place signals are equal to 01, it controls VR0 to power on in S5 and VR1 to power on in S0. In addition, the FAN_S5_EN signal is pulled high to notify the FAN Board CPLD to control the fan to start in S5.

[0114] For configuration 3:

[0115] like Figure 3 , supports 1 X8X8 smart NIC (with NCSI connector on the card end). On the MB side cable, PRESENCE_N and NIC_BW_ID loopback to GND, and the SEC_NIC_PRSNT_N signal is left floating. At this time, the level received by the MB CPLD and PCA9555 is: 010, and the MB can know that smart NIC 0 is in place, smart NIC 1 is not in place, and the current smart NIC bandwidth is X8X8 (i.e., muti-host). After the SW board CPLD knows that the two in-place signals are equal to 01, it controls VR0 to power on in S5 and VR1 to power on in S0. In addition, the FAN_S5_EN signal is pulled high to notify the FAN Board CPLD to control the fan to start in S5.

[0116] For configuration 4:

[0117] like Figure 4 , supports 1 X16 smart NIC (no NCSI connector on the card end). Since there is no related connector on the smart NIC end, a dummy cable is required on the MB side (only connected to the MB end), with PRESENCE_N loopback to GND on the cable, and SEC_NIC_PRSNT_N and NIC_BW_ID signals left floating. At this time, the level received by the MB CPLD and PCA9555 is: 011, and the MB can know that smart NIC 0 is in place, smart NIC 1 is not in place, and the current smart NIC bandwidth is X16 (i.e. single-host). After the SW board CPLD knows that the two in-place signals are equal to 01, it controls VR0 to power on in S5 and VR1 to power on in S0. In addition, the FAN_S5_EN signal is pulled high to notify the FAN Board CPLD to control the fan to start in S5.

[0118] For configuration 5:

[0119] Supports 1 X8X8 smart network card (no NCSI connector on the card side), refer to configuration 4.

[0120] For configuration 6:

[0121] There are differences between ordinary network cards, whether they support NCSI or not. However, for ordinary network cards, they are all powered by S0 in terms of power supply and clock, and there is no difference in bandwidth between X8X8 and X16, so the system does not need to know whether it is in place or not. As a standard PCIe device, the BIOS / BMC can obtain relevant information according to the normal boot process. Therefore, the PRESENCE_N, SEC_NIC_PRSNT_N, and NIC_BW_ID signals on the MB side in configuration 6 are all suspended, that is, when these three signals are equal to the default state of 111, it is considered that the current configuration is hanging under the ordinary network card, and no special processing is required in the timing. If the ordinary network card supports NCSI, these three signals are all suspended when making NCSI cable 0. If the ordinary network card does not support NCSI, the MB side connector does not need to be connected to anything, and the Dummy cable does not need to be used.

[0122] In an embodiment of the present invention, by acquiring level signals transmitted by multiple signal lines of the first connector in the server mainboard, one end of the multiple signal lines is set to be grounded or suspended according to the network card connection status of the adapter card in the mainboard, and according to the level signals transmitted by the multiple signal lines, it is determined whether the adapter card in the mainboard is connected to the network card and the network card type of the network card connected to the adapter card; according to the network card type, the server is controlled to execute the configuration adapted to the network card connected to the adapter card, thereby realizing the execution of the configuration adapted to the network card in the server according to the network card type, thereby being compatible with smart network cards of multiple manufacturers and improving the compatibility of the server.

[0123] The following combination Figure 5 The present invention is exemplified as follows:

[0124] 1. Build the hardware circuit, the main features are as follows:

[0125] a. The NCSI connector PRESENCE_N, SEC_NIC_PRSNT_N, and NIC_BW_ID signals on the MB side are pulled up to P3V3_STBY by default, and then connected to the MB CPLD and PCA9555.

[0126] b. The PRESENCE_N and SEC_NIC_PRSNT_N signals are simultaneously led to the SW board CPLD, and the SW CPLD leads out the FAN_S5_EN signal and connects it to the FAN Board CPLD.

[0127] c. The P12V / P3V3 VR in the SW board that powers the smart network card must be controlled by the SW CPLD and have the ability to power on and off in S5.

[0128] 2. According to the smart network cards summarized in Table 2, different cables are configured for different smart network cards according to customer needs, and various types of NCSI cables and Dummy cables are manufactured accordingly.

[0129] 3. MB CPLD and SW Board CPLD refer to Table 2 truth table for logic design and development.

[0130] 4. After the system is correctly installed and the AC is powered on, accurate identification and configuration of various types of smart NICs can be completed. For example, after the AC is powered on and enters the S5 state, the MB and SW boards detect the PRESENCE_N, SEC_NIC_PRSNT_N, and NIC_BW_ID signal states, determine the current smart NIC type based on the truth table shown in Table 2, and execute the corresponding bandwidth allocation, power supply, clock, and fan control logic.

[0131] It should be noted that, for the sake of simplicity, the method embodiments are described as a series of action combinations, but those skilled in the art should be aware that the embodiments of the present invention are not limited by the order of the actions described, because according to the embodiments of the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.

[0132] Reference Figure 6 , showing a schematic diagram of the structure of a server provided in some embodiments of the present invention, the server comprising:

[0133] A mainboard 601, wherein a first connector in the mainboard is provided with a plurality of signal lines, and one end of the plurality of signal lines is set to be grounded or suspended according to the network card connection status of the adapter card in the mainboard;

[0134] A controller 602, wherein the controller determines whether the adapter card in the mainboard is connected to the network card and the type of the network card connected to the adapter card based on the level signals transmitted by the multiple signal lines, and controls the server to execute the configuration adapted to the network card connected to the adapter card based on the type of the network card.

[0135] In some embodiments of the present invention, the controller includes an extension processor, and the configuration of controlling the server to perform network card adaptation connected to the adapter card according to the network card type includes:

[0136] transmitting the network card type to the core processor via the expansion processor;

[0137] In response to the control of the core processor, the server is controlled to execute a bandwidth allocation mode adapted to the network card connected to the adapter card according to the type of the network card.

[0138] In some embodiments of the present invention, controlling the server to execute a bandwidth allocation mode adapted to the network card connected to the adapter card according to the network card type includes:

[0139] When the network card connected to the adapter card is a smart network card supporting a single processor, controlling the server to execute a first bandwidth allocation mode, where the first bandwidth allocation mode is a bandwidth allocation mode supporting a single processor;

[0140] In the case that the network card connected to the adapter card is a smart network card supporting multiple processors, the server is controlled to execute a second bandwidth allocation mode, where the second bandwidth allocation mode is a bandwidth allocation mode supporting multiple processors.

[0141] In some embodiments of the present invention, the controller includes a first logic controller, and the configuration of controlling the server to perform network card adaptation connected to the adapter card according to the network card type includes:

[0142] The first logic controller controls the server to execute a clock output mode adapted to the network card connected to the adapter card according to the type of the network card.

[0143] In some embodiments of the present invention, controlling the server to execute a clock output mode adapted to the network card connected to the adapter card according to the type of the network card includes:

[0144] In the case where the network card connected to the adapter card is a smart network card, controlling the server to execute a first clock output mode or a second clock output mode, wherein the first clock output mode is a mode in which the clock is output without pressing a power button, and the second clock output mode is a mode in which the clock is output only after pressing a power button;

[0145] When the network card connected to the adapter card is a non-intelligent network card, the server is controlled to execute a second clock output mode.

[0146] In some embodiments of the present invention, the controller includes a second logic controller, which is arranged on a switch board connected to the main board, and the configuration of controlling the server to execute the network card adaptation connected to the adapter card according to the network card type includes:

[0147] The second logic controller controls the server to execute a power supply mode adapted to the network card connected to the adapter card according to the type of the network card.

[0148] The controlling the server to execute a power supply mode adapted to the network card connected to the adapter card according to the type of the network card includes:

[0149] When the network card connected to the adapter card is a smart network card, controlling the server to execute a first power supply mode, wherein the first power supply mode is a mode in which power is supplied without pressing a power button;

[0150] In the case that the network card connected to the adapter card is a non-intelligent network card, the server is controlled to execute a second power supply mode, where the second power supply mode is a mode in which power is supplied only after a power button is pressed.

[0151] In some embodiments of the present invention, the controller includes a third logic controller, the third logic controller is arranged on a fan board connected to the mainboard, and the configuration of controlling the server to execute the network card adaptation connected to the adapter card according to the network card type includes:

[0152] The server is controlled by the third logic controller to execute a heat dissipation mode adapted to the network card connected to the adapter card according to the type of the network card.

[0153] In some embodiments of the present invention, controlling the server to execute a heat dissipation mode adapted for the network card connected to the adapter card according to the type of the network card includes:

[0154] When the network card connected to the adapter card is a smart network card, controlling the server to execute a first heat dissipation mode, wherein the first heat dissipation mode is a mode in which heat is dissipated without pressing a power button;

[0155] In the case that the network card connected to the adapter card is a non-intelligent network card, the server is controlled to execute a second heat dissipation mode, where the second heat dissipation mode is a mode in which heat is dissipated only after a power button is pressed.

[0156] In some embodiments of the present invention, the step of obtaining level signals transmitted by a plurality of signal lines of the first connector in the server mainboard includes:

[0157] Acquire a first level signal transmitted by a first signal line of a first connector in the server mainboard, where the first signal line is used to transmit a level signal indicating whether the adapter card is connected to a network card;

[0158] A second level signal transmitted by a second signal line of a first connector in the server mainboard is obtained, where the second signal line is used to transmit a level signal of a network card type of the network card connected to the adapter card.

[0159] In some embodiments of the present invention, the mainboard is provided with one or more adapter cards. When the mainboard is provided with multiple adapter cards, the first connector transmits level signals indicating whether different adapter cards are connected to the network card through different first signal lines.

[0160] In some embodiments of the present invention, determining whether the adapter card in the mainboard is connected to a network card and the type of the network card to which the adapter card is connected according to the level signals transmitted by the multiple signal lines includes:

[0161] Determine, according to the first level signal, whether the adapter card in the mainboard is connected to the level signal of the network card;

[0162] The type of the network card to which the adapter card is connected is determined according to the second level signal.

[0163] In some embodiments of the present invention, the network card type includes any one of the following: a smart network card supporting a single processor, a smart network card supporting multiple processors, and a non-smart network card.

[0164] In some embodiments of the present invention, the network card type includes a smart network card supporting a single processor;

[0165] In the case where the network card connected to the adapter card is a smart network card supporting a single processor, one end of the first signal line is set to be grounded, and the first level signal is a low level signal;

[0166] When the network card connected to the adapter card is a smart network card supporting a single processor, one end of the second signal line is grounded, and the second level signal is a low level signal.

[0167] In some embodiments of the present invention, the network card type includes a smart network card that supports multiple processors;

[0168] When the network card connected to the adapter card is a smart network card supporting multiple processors, one end of the first signal line is set to be grounded, and the first level signal is a low level signal;

[0169] When the network card connected to the adapter card is a smart network card supporting multiple processors, one end of the second signal line is set to be suspended, and the second level signal is a high level signal.

[0170] In some embodiments of the present invention, the network card type includes a non-intelligent network card;

[0171] When the network card connected to the adapter card is a non-intelligent network card, one end of the first signal line is set to be suspended, and the first level signal is a high level signal;

[0172] In the case that the network card connected to the adapter card is a non-intelligent network card, one end of the second signal line is set to be suspended, and the second level signal is a high level signal.

[0173] In some embodiments of the present invention, when the network card connected to the adapter card is provided with a second connector, the first connector is connected to the second connector through a first cable; when the network card connected to the adapter card is not provided with a second connector, the first connector is connected to itself through the second cable.

[0174] Reference Figure 7 , shows an electronic device provided by some embodiments of the present invention, including a processor 701, a memory 702, and a computer program stored in the memory 702 and capable of running on the processor 701, and the computer program implements the above method when executed by the processor.

[0175] Reference Figure 8 , shows a computer-readable storage medium 800 provided in some embodiments of the present invention, on which a computer program is stored, and the computer program implements the above method when executed by a processor.

[0176] Reference Fig. 9 , shows a computer program product 900 provided by some embodiments of the present invention, including a computer program, and the computer program implements the above method when executed by a processor.

[0177] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0178] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.

[0179] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.

[0180] Those skilled in the art will appreciate that the embodiments of the present invention may be provided as methods, devices, or computer program products. Therefore, the embodiments of the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the embodiments of the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.

[0181] The embodiments of the present invention are described with reference to the flowcharts and / or block diagrams of the methods, terminal devices (systems), and computer program products according to the embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0182] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0183] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device so that a series of operating steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable terminal device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0184] Although the preferred embodiments of the present invention have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present invention.

[0185] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal device. In the absence of further restrictions, the elements defined by the sentence "including one..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the above elements.

[0186] The above provides a detailed introduction to the provided network card-based server control method, server, device, medium and product. Specific examples are used herein to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for those skilled in the art, according to the idea of ​​the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.

Claims

1. A server control method based on a network card, characterized in that: The network card is connected to a server mainboard via an adapter card, the mainboard is provided with a first connector, the first connector is provided with a plurality of signal lines for transmitting different signals, and the method comprises: Acquire level signals transmitted by a plurality of signal lines of a first connector in the server mainboard, wherein one end of the plurality of signal lines is set to be grounded or suspended according to the network card connection status of the adapter card in the mainboard; wherein the level signal includes a first level signal transmitted by a first signal line and a second level signal transmitted by a second signal line, the first signal line is used to transmit a level signal of whether the adapter card is connected to a network card, and the second signal line is used to transmit a level signal of the network card type of the network card connected to the adapter card; Determine, according to the level signals transmitted by the plurality of signal lines, whether the adapter card in the mainboard is connected to a network card and the type of the network card to which the adapter card is connected; According to the type of the network card, controlling the server to execute configuration adapted to the network card connected to the adapter card; The mainboard is provided with an expansion processor, and the configuration of controlling the server to execute the network card adaptation connected to the adapter card according to the network card type includes: transmitting the network card type to the core processor via the expansion processor; In response to the control of the core processor, according to the type of the network card, the server is controlled to execute a bandwidth allocation mode adapted to the network card connected to the adapter card; The step of controlling the server to execute a bandwidth allocation mode adapted to the network card connected to the adapter card according to the type of the network card includes: When the network card connected to the adapter card is a smart network card supporting a single processor, controlling the server to execute a first bandwidth allocation mode, where the first bandwidth allocation mode is a bandwidth allocation mode supporting a single processor; In the case that the network card connected to the adapter card is a smart network card supporting multiple processors, the server is controlled to execute a second bandwidth allocation mode, where the second bandwidth allocation mode is a bandwidth allocation mode supporting multiple processors.

2. The method according to claim 1, characterized in that The mainboard is provided with a first logic controller, and the configuration of controlling the server to execute the network card adaptation connected to the adapter card according to the network card type includes: The first logic controller controls the server to execute a clock output mode adapted to the network card connected to the adapter card according to the type of the network card.

3. The method according to claim 2, characterized in that The step of controlling the server to execute a clock output mode adapted to the network card connected to the adapter card according to the network card type includes: In the case where the network card connected to the adapter card is a smart network card, controlling the server to execute a first clock output mode or a second clock output mode, wherein the first clock output mode is a mode in which the clock is output without pressing a power button, and the second clock output mode is a mode in which the clock is output only after pressing a power button; When the network card connected to the adapter card is a non-intelligent network card, the server is controlled to execute a second clock output mode.

4. The method according to claim 1, characterized in that The server is provided with a switching board connected to the main board, and the switching board is provided with a second logic controller, and the configuration of controlling the server to execute the network card adaptation connected to the adapter card according to the network card type includes: The second logic controller controls the server to execute a power supply mode adapted to the network card connected to the adapter card according to the type of the network card.

5. The method according to claim 4, characterized in that The controlling the server to execute a power supply mode adapted to the network card connected to the adapter card according to the type of the network card includes: When the network card connected to the adapter card is a smart network card, controlling the server to execute a first power supply mode, wherein the first power supply mode is a mode in which power is supplied without pressing a power button; In the case that the network card connected to the adapter card is a non-intelligent network card, the server is controlled to execute a second power supply mode, where the second power supply mode is a mode in which power is supplied only after a power button is pressed.

6. The method according to claim 1, characterized in that The server is provided with a fan board connected to the mainboard, and the fan board is provided with a third logic controller, and the configuration of controlling the server to execute the network card adaptation connected to the adapter card according to the network card type includes: The server is controlled by the third logic controller to execute a heat dissipation mode adapted to the network card connected to the adapter card according to the type of the network card.

7. The method according to claim 6, characterized in that The step of controlling the server to execute a heat dissipation mode adapted to the network card connected to the adapter card according to the type of the network card includes: When the network card connected to the adapter card is a smart network card, controlling the server to execute a first heat dissipation mode, wherein the first heat dissipation mode is a mode in which heat is dissipated without pressing a power button; In the case that the network card connected to the adapter card is a non-intelligent network card, the server is controlled to execute a second heat dissipation mode, where the second heat dissipation mode is a mode in which heat is dissipated only after a power button is pressed.

8. The method according to any one of claims 1 to 7, characterized in that: The step of obtaining level signals transmitted by a plurality of signal lines of the first connector in the server mainboard includes: Acquire a first level signal transmitted by a first signal line of a first connector in the server mainboard; A second level signal transmitted by a second signal line of a first connector in the server mainboard is obtained.

9. The method according to claim 8, characterized in that The mainboard is provided with one or more adapter cards. When the mainboard is provided with multiple adapter cards, the first connector transmits level signals indicating whether different adapter cards are connected to the network card through different first signal lines.

10. The method according to claim 8, characterized in that The determining, according to the level signals transmitted by the plurality of signal lines, whether the adapter card in the mainboard is connected to a network card and the type of the network card to which the adapter card is connected comprises: Determine, according to the first level signal, whether the adapter card in the mainboard is connected to the level signal of the network card; The type of the network card to which the adapter card is connected is determined according to the second level signal.

11. The method according to claim 8, characterized in that The network card type includes any of the following: a smart network card supporting a single processor, a smart network card supporting multiple processors, and a non-smart network card.

12. The method according to claim 8, characterized in that The network card type includes a smart network card supporting a single processor; In the case where the network card connected to the adapter card is a smart network card supporting a single processor, one end of the first signal line is set to be grounded, and the first level signal is a low level signal; When the network card connected to the adapter card is a smart network card supporting a single processor, one end of the second signal line is grounded, and the second level signal is a low level signal.

13. The method according to claim 8, characterized in that The network card type includes a smart network card that supports multiple processors; When the network card connected to the adapter card is a smart network card supporting multiple processors, one end of the first signal line is set to be grounded, and the first level signal is a low level signal; When the network card connected to the adapter card is a smart network card supporting multiple processors, one end of the second signal line is set to be suspended, and the second level signal is a high level signal.

14. The method according to claim 8, characterized in that The network card type includes a non-intelligent network card; When the network card connected to the adapter card is a non-intelligent network card, one end of the first signal line is set to be suspended, and the first level signal is a high level signal; In the case that the network card connected to the adapter card is a non-intelligent network card, one end of the second signal line is set to be suspended, and the second level signal is a high level signal.

15. The method according to claim 8, characterized in that When the network card connected to the adapter card is provided with a second connector, the first connector is connected to the second connector through a first cable; when the network card connected to the adapter card is not provided with a second connector, the first connector is connected to itself through the second cable.

16. A server, characterized in that: The server comprises: A mainboard, wherein a first connector in the mainboard is provided with a plurality of signal lines, and one end of the plurality of signal lines is set to be grounded or suspended according to the connection status of the network card of the adapter card in the mainboard; wherein the network card is connected to the server mainboard through the adapter card, and the mainboard is provided with a first connector, and the first connector is provided with a plurality of signal lines for transmitting different signals; A controller, wherein the controller determines whether the adapter card in the mainboard is connected to a network card and the type of the network card connected to the adapter card according to the level signals transmitted by the multiple signal lines, and controls the server to execute a configuration adapted to the network card connected to the adapter card according to the type of the network card; wherein the level signal includes a first level signal transmitted by a first signal line and a second level signal transmitted by a second signal line, the first signal line is used to transmit a level signal of whether the adapter card is connected to the network card, and the second signal line is used to transmit a level signal of the type of the network card connected to the adapter card; The controller includes an expansion processor, and the configuration of controlling the server to execute the network card adaptation connected to the adapter card according to the network card type includes: transmitting the network card type to the core processor via the expansion processor; In response to the control of the core processor, according to the type of the network card, the server is controlled to execute a bandwidth allocation mode adapted to the network card connected to the adapter card; The step of controlling the server to execute a bandwidth allocation mode adapted to the network card connected to the adapter card according to the type of the network card includes: When the network card connected to the adapter card is a smart network card supporting a single processor, controlling the server to execute a first bandwidth allocation mode, where the first bandwidth allocation mode is a bandwidth allocation mode supporting a single processor; In the case that the network card connected to the adapter card is a smart network card supporting multiple processors, the server is controlled to execute a second bandwidth allocation mode, where the second bandwidth allocation mode is a bandwidth allocation mode supporting multiple processors.

17. The server according to claim 16, characterized in that The controller includes a first logic controller, and the configuration of controlling the server to perform network card adaptation connected to the adapter card according to the network card type includes: The first logic controller controls the server to execute a clock output mode adapted to the network card connected to the adapter card according to the type of the network card.

18. The server according to claim 16, characterized in that: The controller includes a second logic controller, which is arranged on a switch board connected to the main board. The configuration of controlling the server to execute the network card adaptation connected to the adapter card according to the network card type includes: The second logic controller controls the server to execute a power supply mode adapted to the network card connected to the adapter card according to the type of the network card.

19. The server according to claim 16, characterized in that The controller includes a third logic controller, which is arranged on a fan board connected to the mainboard. The configuration of controlling the server to execute the network card adaptation connected to the adapter card according to the network card type includes: The server is controlled by the third logic controller to execute a heat dissipation mode adapted to the network card connected to the adapter card according to the type of the network card.

20. An electronic device, characterized in that: The method comprises a processor, a memory, and a computer program stored in the memory and capable of running on the processor, wherein the computer program implements the method according to any one of claims 1 to 15 when executed by the processor.

21. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 15 is implemented.

22. A computer program product, characterized in that The invention comprises a computer program which, when executed by a processor, implements the method according to any one of claims 1 to 15.

Citation Information

Patent Citations

  • Network card configuration method, network card and computing device

    CN116155712A