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

By implementing signal processing and cable design at the NCSI connector on the AI ​​server motherboard, the compatibility issue of AI servers with smart network cards from different manufacturers was resolved. This achieved compatibility of smart network cards from multiple manufacturers without changing the specifications, reducing R&D and maintenance costs and improving development and maintenance efficiency.

WO2026066495A1PCT designated stage Publication Date: 2026-04-02INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2025-07-04
Publication Date
2026-04-02

AI Technical Summary

Technical Problem

Existing AI servers have compatibility issues when they are compatible with smart network interface cards (NICs) from different manufacturers. In particular, under specifications such as MGX, each manufacturer has a variety of self-developed smart NIC models, which makes NIC replacement complex, costly, and difficult to meet specification requirements.

Method used

By performing special signal processing and cable design at the NCSI connector on the server motherboard, and utilizing the native NCSI connector signal definitions of standards such as MGX, combined with a truth table, the system can identify the type and determine the presence of various smart network cards, adapting to different configuration requirements.

Benefits of technology

It achieves easy compatibility with smart network interface cards from multiple manufacturers without changing existing specifications, reducing R&D and maintenance costs, improving development and maintenance efficiency, and expanding the configuration diversity of AI servers.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025107154_02042026_PF_FP_ABST
    Figure CN2025107154_02042026_PF_FP_ABST
Patent Text Reader

Abstract

Provided in the present application are a server control method based on a network interface card, and a server, a device, a medium and a product, which are applied to the technical field of servers. The method comprises: acquiring level signals transmitted by a plurality of signal lines of a first connector on a main board of a server, wherein one end of each of the plurality of signal lines is set to ground or left floating on the basis of the network interface card connection condition of an adapter card on the main board; on the basis of the level signals transmitted by the plurality of signal lines, determining whether the adapter card on the main board is connected to a network interface card, and the network interface card type of the network interface card connected to the adapter card; and on the basis of the network interface card type, controlling the server to execute configuration adapted to the network interface card connected to the adapter card. By means of the embodiments of the present application, the configuration adapted to the network interface card is executed in the server on the basis of the network interface card type, such that the compatibility with smart network interface cards from multiple manufacturers is realized, thereby improving the compatibility of the server.
Need to check novelty before this filing date? Find Prior Art

Description

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

[0001] Cross-reference to related applications

[0002] The present application claims priority to the Chinese patent application No. 202411336472.4, filed on September 24, 2024, and entitled "Server control method based on network card, server, device, medium and product", the content of which is incorporated herein by reference in its entirety. TECHNICAL FIELD

[0003] The present application relates to the technical field of servers, and in particular to a server control method based on a network card, a server, a device, a medium and a product. BACKGROUND

[0004] With the application of big data, artificial intelligence and other technologies, data has been growing exponentially in recent years, leading to the fact that traditional servers with CPUs (Central Processing Unit) as the core of data processing cannot meet the demand for data processing, and AI (Artificial Intelligence) servers equipped with GPUs (Graphics Processing Unit) have emerged as the times require.

[0005] For AI servers, some leading manufacturers in the AI field have developed AI server architecture specifications according to their own needs, such as the MGX (Modular GPU Acceleration Platform) specification. The specification makes detailed requirements for various physical interface specifications, signal definitions in the server, and does not allow other server manufacturers to modify them.

[0006] When designing AI servers, different customer groups have different usage needs, and different manufacturers' smart network cards need to be compatible in the server. However, currently each internet manufacturer has its own self-developed smart network card model, and each manufacturer has carried out custom design according to its own needs based on the specification, with various shapes, specifications, bus types and signal definitions. There is no complete uniformity. Moreover, specifications such as MGX are defined according to manufacturers' own smart network cards, without considering the actual situation of self-developed smart network cards of other domestic manufacturers, which makes the compatibility of smart network cards face great challenges when designing AI servers based on the MGX specification. SUMMARY

[0007] In view of the above problems, the present application provides a server control method based on a network card, a server, a device, a medium and a product to overcome the above problems or at least partially solve the above problems, which comprises:

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

[0009] obtaining a level signal transmitted by a plurality of signal lines of a first connector in a server mainboard, one end of the plurality of signal lines being set to be grounded or suspended according to a network card connection condition of an adapter card in the mainboard;

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

[0011] controlling the server to perform a configuration adapted to the network card connected by the adapter card according to the network card type.

[0012] A server, the server comprising:

[0013] a mainboard, the mainboard being provided with a plurality of signal lines of a first connector, one end of the plurality of signal lines being set to be grounded or suspended according to a network card connection condition of an adapter card in the mainboard;

[0014] a controller, the controller determining, according to a level signal transmitted by the plurality of signal lines, whether the adapter card in the mainboard is connected to a network card and a network card type of the network card connected by the adapter card, and controlling the server to perform a configuration adapted to the network card connected by the adapter card according to the network card type.

[0015] An electronic device comprising a processor, a memory, and a computer program stored on the memory and capable of running on the processor, the computer program being executed by the processor to implement the method of any one of the above.

[0016] A computer non-volatile readable storage medium, the computer non-volatile readable storage medium storing a computer program, the computer program being executed by a processor to implement the method of the above.

[0017] A computer program product comprising a computer program, the computer program being executed by a processor to implement the method of the above.

[0018] The embodiments of the present application have the following advantages:

[0019] In the embodiments of the present application, by obtaining a level signal transmitted by a plurality of signal lines of a first connector in a server mainboard, one end of the plurality of signal lines being set to be grounded or suspended according to a network card connection condition of an adapter card in the mainboard, determining, according to the level signal transmitted by the plurality of signal lines, whether the adapter card in the mainboard is connected to a network card and a network card type of the network card connected by the adapter card, and controlling the server to perform a configuration adapted to the network card connected by the adapter card according to the network card type, a configuration adapted to the network card is performed in the server according to the network card type, and then the server is compatible with intelligent network cards of multiple manufacturers, and the compatibility of the server is improved. BRIEF DESCRIPTION OF DRAWINGS

[0020] In order to more clearly illustrate the technical solutions of the present application, the drawings needed to be used in the description of the present application will be briefly introduced as follows. Obviously, the drawings in the following description are only some embodiments of the present application, and all other embodiments obtained by those skilled in the art without creative labor based on these drawings are within the protection scope of the present application.

[0021] FIG. 1 is a step flow chart of a network card-based server control method according to some embodiments of the present application;

[0022] FIG. 2 is a schematic diagram of a server architecture according to some embodiments of the present application;

[0023] FIG. 3 is a schematic diagram of a server architecture according to some embodiments of the present application;

[0024] FIG. 4 is a schematic diagram of a server architecture according to some embodiments of the present application;

[0025] FIG. 5 is a step flow chart of another network card-based server control method according to some embodiments of the present application;

[0026] FIG. 6 is a schematic diagram of a server according to some embodiments of the present application;

[0027] FIG. 7 is a structural block diagram of an electronic device according to some embodiments of the present application;

[0028] FIG. 8 is a structural block diagram of a storage medium according to some embodiments of the present application;

[0029] FIG. 9 is a structural block diagram of a program product according to some embodiments of the present application. DETAILED DESCRIPTION

[0030] In order to more clearly illustrate the technical solutions of the present application, the drawings needed to be used in the description of the present application will be briefly introduced as follows. Obviously, the drawings in the following description are only some embodiments of the present application, and all other embodiments obtained by those skilled in the art without creative labor based on these drawings are within the protection scope of the present application.

[0031] In the related art, different Riser cards (adapter cards) are developed to meet the different signal requirements of smart network cards from different manufacturers, and are used one-to-one (Riser card and smart network card). The AI server is a relatively complex system, and it is time-consuming and laborious to replace the board card. Machine reassembly may cause other problems due to improper operation, increasing machine maintenance costs. At the same time, multiple board cards need to be designed to meet the needs of different scenarios, increasing the cost of research and development, production and system maintenance. Moreover, the existing board card also does not meet the requirements of the MGX specification, and the related board card cannot be used in the server.

[0032] In the embodiments of the present application, in view of the problems of numerous smart network card models and complex, cumbersome and time-consuming board card replacement steps, through special hardware architecture design and different cables, the compatible design of smart network cards of different forms from multiple manufacturers can be easily realized on the basis of small changes without time-consuming and laborious operations, thereby avoiding the development of multiple types of Riser board cards, greatly saving the development and maintenance costs of the server, and improving the development and maintenance efficiency. Moreover, since the MGX and other architecture specifications strictly limit the connectors and signal definitions of the mainboard, some embodiments of the present application can realize this function on the existing connectors without violating the MGX and other architecture specifications.

[0033] In the embodiments of the present application, a complete solution is given through hardware architecture design, logic design and cable design, and a truth table with unique identification (as shown in Table 2) is given, which can complete the type identification and in-place judgment of multiple smart network cards. By using the original NCSI (Network Controller Sideband Interface, a network interface protocol) connector signal definition of the 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 problem of smart network cards from various manufacturers under the MGX and other architecture specifications, greatly expanding the configuration diversity of the AI server. Moreover, compared with the traditional method of manufacturing multiple Riser boards, the present application saves time and does not cause other problems due to the cumbersome operation steps such as replacing the board card, greatly improving the maintenance efficiency and reducing the research and development and production costs.

[0034] Specifically, in the hardware architecture design, special processing is required for the three signals at the NCSI connector in the MB (Main Board), and it does not violate the MGX specification definition, and the complete hardware topology architecture between the MB, SW (Switch), and FAN (Fan) boards is given. In logic, a truth table with unique identification is given, and based on this truth table, type identification and in-place judgment of multiple intelligent network cards can be completed. In cable design, based on the identified type of intelligent network card, various specific type cables are given, and the signal processing method in cable design is specified.

[0035] Further illustrated below in conjunction with the drawings:

[0036] Referring to FIG. 1, a step flowchart of a server control method based on a network card is shown, in some examples, the server can be an AI server, such as an AI server based on the MGX specification, the AI server can be equipped with a CPU and a GPU, and the network card can be an intelligent network card. Compared with a non-intelligent network card, the intelligent network card can undertake part of the data processing function, which can include the following steps:

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

[0038] In actual application, as shown in FIG. 2, FIG. 3, and FIG. 4, the server is provided with a mainboard (MB), and the network card is connected to the mainboard through a riser card. The mainboard is provided with a first connector, which is an NCSI connector, and the first connector is provided with a plurality of signal lines for transmitting different signals.

[0039] In order to be compatible with different intelligent network cards, detect whether the network card is online, and distinguish different types of network cards, the plurality of signal lines can be grounded or suspended at one end of the first connector, thereby generating different level signals, such as low level signals when grounded and high level signals when suspended. Through the arrangement and combination of the signals generated by the plurality of signal lines, the server can obtain the specific connection of the network card, such as which riser card is connected to the network card and the type of the connected network card.

[0040] In some embodiments, the type of the network card can include a single processor (Single-host) supporting intelligent network card (i.e., X16 intelligent network card, which requires only one CPU to provide PCIe X16 signal), multi-processor (Muti-host) supporting intelligent network card (i.e., X8X8 intelligent network card, which requires two CPUs in the system to provide one way PCIe X8 signal), and non-intelligent network card (i.e., ordinary network card).

[0041] In some embodiments of the application, the level signal transmitted by the plurality of signal lines of the first connector in the server motherboard is acquired, including: acquiring the first level signal transmitted by the first signal line of the first connector in the server motherboard, the first signal line being used for transmitting the level signal of whether the riser card is connected with the network card; and acquiring the second level signal transmitted by the second signal line of the first connector in the server motherboard, the second signal line being used for transmitting the level signal of the network card type of the network card connected with the riser card.

[0042] In actual application, different signal lines in the first connector can transmit different signals, mainly including two types, the first signal line being used for transmitting the level signal of whether the riser card is connected with the network card, i.e. being used for in-place judgment, such as through the PRESENCE_N, SEC_NIC_PRSNT_N signals to perform in-place judgment, and the second signal line being used for transmitting the level signal of the network card type of the network card connected with the riser card, i.e. being used for distinguishing the type of the intelligent network card, such as through the NIC_BW_ID signal to distinguish the type of the intelligent network card.

[0043] In some embodiments of the application, the motherboard is provided with one or more riser cards, and in the case that the motherboard is provided with a plurality of riser cards, the first connector transmits the level signals of whether different riser cards are connected with the network card through different first signal lines. For example, the first connector transmits PRESENCE_N, SEC_NIC_PRSNT_N through the first signal line, PRESENCE_N being used for identifying whether the first riser card is connected with the network card, and SEC_NIC_PRSNT_N being used for identifying whether the second riser card is connected with the network card.

[0044] In actual application, different signal lines can correspond to different pins of the first connector, and be used for transmitting different signals. The MGX specification makes detailed definition for the NCSI connector of the MB end, such as Table 1, including RBT, UART, PRESENCE, PKG_ID signals.

[0045] Table 1

[0046] In actual application, the PRESENCE signal is the intelligent network card in-place signal, and the signal is grounded by default at the intelligent network card end. When the NCSI cable is normally installed, the MB end can learn that there is an intelligent network card in the current system after identifying that the signal is low. This leads to a series of design problems, which limits the configuration implementation of the server, and the details are as follows:

[0047] 1. There is only one NCSI connector at the MB end of the server, but the system configuration requires to support one or two intelligent network cards.

[0048] 2. When configuring with only one smart network card (only one smart network card is inserted in Riser0), Riser1 needs to install a regular network card to maximize the utilization of system resources. However, the power supply and heat dissipation solutions of regular network cards and smart network cards are different.

[0049] 3. Smart network cards are further divided into two types: X8X8 (i.e., smart network cards that support a single processor) and X16 (i.e., smart network cards that support multiple processors), which makes it impossible for the system to accurately know the status of the card.

[0050] In some embodiments of this application, without changing the original definition of MGX and other specifications, a cable-assisted approach is used to fully utilize the PKG_ID 0 / 1 signal to achieve the system design goals.

[0051] According to relevant specifications, the PKG_ID 0 / 1 signal is output from the MB to the smart network interface card (NIC) and is used to configure the NIC's ID. It's important to note that the PKG_ID 0 / 1 signal is not a changing signal; its state is either constantly high or constantly low, and other manufacturers' smart NICs do not require this signal.

[0052] Therefore, in the cable design, the MB end of this PKG_ID 0 / 1 signal is looped back to GND (i.e., grounded) or left floating, and used 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. It is looped back to GND at the smart NIC connector, which can realize the relevant functions defined by the smart NIC, and at the same time meet the requirements of the MB end for the identification and differentiation of multiple types of smart NICs.

[0053] In other words, in the original definitions 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 terminal of this PKG_ID 0 / 1 signal to GND (i.e., 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.

[0054] With the above settings, one end of the signal line can be set to ground or floating depending on the network card connection status of the adapter card in the motherboard. This enables the determination of the presence of at least two network cards and the ability to distinguish the network card type of the present network card, thereby improving the server's compatibility with smart network cards.

[0055] Step 102, according to the level signal transmitted by the plurality of signal lines, determine whether the adapter card is connected to the network card in the mainboard and the network card type of the network card connected by the adapter card.

[0056] In some embodiments of the present application, according to the level signal transmitted by the plurality of signal lines, determine whether the adapter card is connected to the network card in the mainboard and the network card type of the network card connected by the adapter card, comprising:

[0057] According to the first level signal, determine whether the adapter card is connected to the network card in the mainboard; according to the second level signal, determine the network card type of the network card connected by the adapter card.

[0058] In some embodiments of the present application, 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.

[0059] In some embodiments of the present application, the network card type includes a smart network card supporting a single processor; in the case that the network card connected by the adapter card is a smart network card supporting a single processor, one end of the first signal line is set to ground, and the first level signal is a low level signal; in the case that the network card connected by the adapter card is a smart network card supporting a single processor, one end of the second signal line is set to ground, and the second level signal is a low level signal.

[0060] In some embodiments of the present application, the network card type includes a smart network card supporting multiple processors; in the case that the network card connected by the adapter card is a smart network card supporting multiple processors, one end of the first signal line is set to ground, and the first level signal is a low level signal; in the case that the network card connected by 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.

[0061] In some embodiments of the present application, the network card type includes a non-smart network card; in the case that the network card connected by the adapter card is a non-smart 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 by the adapter card is a non-smart network card, one end of the second signal line is set to be suspended, and the second level signal is a high level signal.

[0062] In some embodiments of the present application, when the network card connected by the adapter card is provided with a second connector, the first connector is connected with the second connector through a first cable; when the network card connected by the adapter card is not provided with a second connector, the first connector is connected with itself through a second cable. For example, when the network card is also provided with an NCSI connector, the NCSI connectors are connected through an NCSI cable, as shown in FIG. 2 and FIG. 3; when the network card is not provided with an NCSI connector, the NCSI connector of the mainboard is connected with itself through a DUMMY cable, as shown in FIG. 4. By setting different cable connections, it can further adapt to the case of having or not having a connector in different network cards, and improve compatibility.

[0063] In actual application, according to the type of network card (X8X8 smart network card, X16 smart network card, non-smart network card), the number of network cards, and whether the NCSI connector is provided, the connection of the network card is classified into 5 types, as shown in Table 2.

[0064] Table 2

[0065] Configuration 1: for 1 X16 smart network card (with 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, and the NIC_BW_ID pin is left floating as a high-level signal, and the NCSI connectors are connected through an NCSI cable.

[0066] Configuration 2 (as shown in FIG. 2): for 2 X16 smart network cards (with NCSI connector), 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, and the NIC_BW_ID pin is left floating as a high-level signal, and the NCSI connectors are connected through an NCSI cable.

[0067] Configuration 3 (as shown in FIG. 3): for 1 X8X8 smart network card (with 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, and the NIC_BW_ID pin is grounded as a low-level signal, and the NCSI connectors are connected through an NCSI cable.

[0068] Configuration 4 (as shown in FIG. 4): for 1 X16 smart network card (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, and the NIC_BW_ID pin is left floating as a high-level signal, and the NCSI connector is connected with itself through a DUMMY cable.

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

[0070] Configuration 6: non-smart NIC.

[0071] Step 103: according to the type of the network card, the server is controlled to perform a configuration suitable for the network card connected to the adapter card.

[0072] In some embodiments of the present application, the mainboard is provided with an expansion processor, such as the PCA9555 in the MB board in FIGS. 2, 3, and 4, and according to the type of the network card, the server is controlled to perform a configuration suitable for the network card connected to the adapter card, including: transmitting the type of the network card to the core processor through the expansion processor; and in response to the control of the core processor, according to the type of the network card, the server is controlled to perform a bandwidth allocation mode suitable for the network card connected to the adapter card.

[0073] In some embodiments of the present application, according to the type of the network card, the server is controlled to perform a bandwidth allocation mode suitable for the network card connected to the adapter card, including: in the case where the network card connected to the adapter card is a smart NIC supporting a single processor, the server is controlled to perform a first bandwidth allocation mode; and in the case where the network card connected to the adapter card is a smart NIC supporting multiple processors, the server is controlled to perform a second bandwidth allocation mode.

[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 examples, the bandwidth allocation mode supporting a single processor is a bandwidth allocation mode suitable for a Signle-host smart NIC X16, and the bandwidth allocation mode supporting multiple processors is a bandwidth allocation mode suitable for a Mignle-host smart NIC X8 X8.

[0076] In some embodiments of the present application, the mainboard is provided with a first logic controller, such as the CPLD (Complex Programmable Logic Device) in the MB board in FIGS. 2, 3, and 4, and according to the type of the network card, the server is controlled to perform a configuration suitable for the network card connected to the adapter card, including: through the first logic controller, according to the type of the network card, the server is controlled to perform a clock output mode suitable for the network card connected to the adapter card.

[0077] In some embodiments of the present application, the server is configured to control the server to perform a clock output mode adapted to the network card connected to the adapter card according to the type of the network card, including: in the case that the network card connected to the adapter card is a smart network card, the server is controlled to perform a first clock output mode or a second clock output mode, and in the case that the network card connected to the adapter card is a non-smart network card, the server is controlled to perform the second clock output mode.

[0078] The first clock output mode is a mode of outputting clock without pressing the power-on key, and the second clock output mode is a mode of outputting clock after pressing the power-on key.

[0079] In some embodiments, the mode of outputting clock without pressing the power-on key is outputting clock in S5, and the mode of outputting clock after pressing the power-on key is outputting clock in S0.

[0080] The S0 is starting after pressing the power-on key, and the S5 is starting without pressing the power-on key.

[0081] In some embodiments of the present application, the server is provided with a switch board connected to the mainboard, and the switch board is provided with a second logic controller, such as the CPLD in the switch board of FIGS. 2, 3 and 4. The server is controlled to perform a configuration adapted to the network card connected to the adapter card according to the type of the network card, including: through the second logic controller, the server is controlled to perform a power supply mode adapted to the network card connected to the adapter card according to the type of the network card.

[0082] In some embodiments of the present application, the server is controlled to perform a power supply mode adapted to the network card connected to the adapter card according to the type of the network card, including: in the case that the network card connected to the adapter card is a smart network card, the server is controlled to perform a first power supply mode; and in the case that the network card connected to the adapter card is a non-smart network card, the server is controlled to perform a second power supply mode.

[0083] The first power supply mode is a mode of supplying power without pressing the power-on key, and the second power supply mode is a mode of supplying power after pressing the power-on key.

[0084] In some examples, the mode of supplying power without pressing the power-on key is supplying power in S5, and the mode of supplying power after pressing the power-on key is supplying power in S0.

[0085] In some embodiments of the present application, the server is provided with a fan board connected to the mainboard, and the fan board is provided with a third logic controller, such as the CPLD in the fan board of FIGS. 2, 3 and 4. The server is controlled to perform a configuration adapted to the network card connected to the adapter card according to the type of the network card, including: through the third logic controller, the server is controlled to perform a heat dissipation mode adapted to the network card connected to the adapter card according to the type of the network card.

[0086] In some embodiments of the present application, according to the type of the network card, the control server executes a heat dissipation mode adapted to the network card connected to the adapter card, including: in the case that the network card connected to the adapter card is an intelligent network card, the control server executes a first heat dissipation mode; in the case that the network card connected to the adapter card is a non-intelligent network card, the control server executes a second heat dissipation mode.

[0087] The first heat dissipation mode is a mode of heat dissipation without pressing the power-on key, and the second heat dissipation mode is a mode of heat dissipation after pressing the power-on key.

[0088] In some embodiments, the mode of heat dissipation without pressing the power-on key is heat dissipation under S5, and the mode of heat dissipation after pressing the power-on key is heat dissipation under S0.

[0089] In the hardware adaptation of the intelligent network card, the following aspects need to be concerned:

[0090] Bit recognition: used to let the server management system know that there are several intelligent network cards currently, and then do asset management and make relevant configuration.

[0091] Power supply: different from the S0 power supply of ordinary network cards, the intelligent network card needs to complete the power supply under S5.

[0092] Clock: generally provides clock under S0. A small number of manufacturers require 100M clock under S5.

[0093] Heat dissipation: the intelligent network card has large power consumption and the S5 state is completed, so in the heat dissipation logic, the system needs to recognize the intelligent network card in place, and then start the cooling fan under S5 to provide heat dissipation.

[0094] The S0 is started after pressing the power-on key, and the S5 is started without pressing the power-on key.

[0095] For the several configurations of Table 2 above, the server adopts the adapted configurations as shown in Table 3 below:

[0096] Table 3

[0097] Configuration 1: for one X16 intelligent network card (with NCSI connector), one power supply is powered under S5, another power supply is powered under S0, and the fan is cooled under S5.

[0098] Configuration 2: for two X16 intelligent network cards (with NCSI connector), one power supply is powered under S5, another power supply is powered under S5, and the fan is cooled under S5.

[0099] Configuration 3: for one X8X8 intelligent network card (with NCSI connector), one power supply is powered under S5, another power supply is powered under S0, and the fan is cooled under S5.

[0100] Configuration 4: for 1 X16 smart NIC (without NCSI connector), one power supply is powered under S5, another power supply is powered under S0, and the fan is cooled under S5.

[0101] Configuration 5: for 1 X8X8 smart NIC (without NCSI connector), one power supply is powered under S5, another power supply is powered under S0, and the fan is cooled under S5.

[0102] Configuration 6: non-smart NIC, one power supply is powered under S0, another power supply is powered under S0, and the fan is cooled under S0.

[0103] The following is an exemplary description of the above configurations in combination with FIG. 2, FIG. 3, and FIG. 4:

[0104] For configuration 2:

[0105] As shown in FIG. 2, two X16 smart NICs (card end with NCSI connector) need to be supported in the system. The MB NCSI connector PRESENCE_N, SEC_NIC_PRSNT_N, and NIC_BW_ID signals are pulled up to P3V3_STBY (standby power supply) by default, and then connected to the MB CPLD and PCA9555.

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

[0107] After receiving the three signals, the CPU can read through I2C, and then distinguish the current smart NIC type according to the truth table shown in Table 2, and then control the bandwidth allocation to be X8X8 or X16.

[0108] At this time, the levels received by the MB CPLD and PCA9555 are: 001, representing that smart NIC 0 is in place, smart NIC 1 is in place, and the smart NIC bandwidth is X16 (i.e. single-host).

[0109] In addition, the PRESENCE_N and SEC_NIC_PRSNT_N signals are simultaneously connected to the SW board CPLD. After the SW board CPLD learns that the two in-place signals are equal to 00, it controls VR0 and VR1 to be powered on under S5. In addition, the FAN_S5_EN signal is pulled high to notify the FAN Board CPLD to control the fan to start under S5.

[0110] It must be pointed out that the PRESENCE_N, SEC_NIC_PRSNT_N signals are loopback to GND on the MB side cable, and do not need to be connected to the smart NIC end. The NIC_BW_ID signal is not used and can be left floating. The 3 signals on the NCSI cable 2 are not actually connected to the opposite end NIC.

[0111] For configuration 1:

[0112] Similarly, the support of 1 X16 smart NIC (card end with NCSI connector) in Table 2 configuration 1, the difference with configuration 2 is that the MB side does not ground the SEC_NIC_PRSNT_N signal, that is, it is left floating. At this time, the MB CPLD, PCA9555 receives the level: 011, which represents that the smart NIC 0 is in place, the 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 be powered on at S5, VR1 to be powered on at S0. In addition, the FAN_S5_EN signal is pulled high to inform the FAN Board CPLD to control the fan to start rotating at S5.

[0113] For configuration 3:

[0114] As shown in FIG. 3, 1 X8X8 smart NIC (card end with NCSI connector) is supported. On the MB side cable, PRESENCE_N, NIC_BW_ID loopback to GND, SEC_NIC_PRSNT_N signal is left floating. At this time, the MB CPLD, PCA9555 receives the level: 010, and the MB can learn that the smart NIC 0 is in place, the smart NIC 1 is not in place, and the current smart NIC bandwidth is X8X8 (i.e. muti-host). After the SW board CPLD learns that the two in-place signals are equal to 01, it controls VR0 to be powered on at S5, VR1 to be powered on at S0. In addition, the FAN_S5_EN signal is pulled high to inform the FAN Board CPLD to control the fan to start rotating at S5.

[0115] For configuration 4:

[0116] As shown in FIG. 4, one X16 smart NIC (no NCSI connector at the card end) is supported. Since there is no related connector at the smart NIC end, a Dummy cable (connected to the MB end only) is used on the MB side, and the PRESENCE_N loopback is connected to GND, and the SEC_NIC_PRSNT_N and NIC_BW_ID signals are left floating. At this time, the levels received by the MB CPLD and PCA9555 are 011, and the MB can know that the smart NIC 0 is in place, the 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, VR0 is powered on at S5, and VR1 is powered on at S0. In addition, the FAN_S5_EN signal is pulled high to notify the FAN Board CPLD to control the fan to start at S5.

[0117] For configuration 5:

[0118] One X8X8 smart NIC (no NCSI connector at the card end) is supported, and reference is made to configuration 4.

[0119] For configuration 6:

[0120] Ordinary NICs also have a difference between supporting NCSI and not supporting NCSI. However, for ordinary NICs, they are all powered by S0 in power supply and clock, and there is no bandwidth difference between X8X8 and X16, so the system does not need to know whether they are in place or not. As a standard PCIe device, the relevant information is obtained by BIOS / BMC 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 left floating, that is, when the three signals are in the default state of 111, it is considered that the ordinary NIC is hung under the current configuration, and at this time, no special treatment is required in timing. If the ordinary NIC supports NCSI, the three signals are all left floating when the NCSI cable 0 is made. If the ordinary NIC 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.

[0121] In some embodiments of the present application, by acquiring the level signals transmitted by a plurality of signal lines of a first connector in a server mainboard, one end of the plurality of signal lines is set to be grounded or floating according to the NIC connection condition of an adapter card in the mainboard, and according to the level signals transmitted by the plurality of signal lines, it is determined whether the adapter card in the mainboard is connected to a NIC and the NIC type of the adapter card connected to the NIC; according to the NIC type, the server is controlled to execute a configuration adapted to the NIC, which realizes executing a configuration adapted to the NIC in the server according to the NIC type, and further compatible with NICs of multiple manufacturers, thereby improving the compatibility of the server.

[0122] The present application is exemplarily described below in combination with Fig. 5:

[0123] 1. Constructing a hardware circuit, the main features are as follows:

[0124] a. The MB end NCSI connector PRESENCE_N, SEC_NIC_PRSNT_N, NIC_BW_ID signal is pulled up to P3V3_STBY by default, and then connected to the MB CPLD and PCA9555.

[0125] b. The PRESENCE_N and SEC_NIC_PRSNT_N signals are simultaneously connected to the SW board CPLD, and the SW CPLD outputs the FAN_S5_EN signal connected to the FAN Board CPLD.

[0126] c. The P12V / P3V3 VR in the SW board for powering the intelligent network card needs to be controlled by the SW CPLD, and has S5 power-on capability.

[0127] 2. According to the intelligent network card summarized in Table 2, different cables are configured according to different customer requirements of the intelligent network card, and corresponding NCSI cables and Dummy cables are made.

[0128] 3. The MB CPLD and SW Board CPLD are logically designed and developed according to the truth table in Table 2.

[0129] 4. After the system is correctly installed and AC powered, accurate identification and configuration of various intelligent network cards can be completed. For example, after AC power-on, enter S5 state, the MB and SW board detect the PRESENCE_N, SEC_NIC_PRSNT_N, NIC_BW_ID signal state, judge the current intelligent network card type based on the truth table shown in Table 2, and execute the corresponding bandwidth allocation, power supply, clock, and fan control logic.

[0130] It should be noted that for the method embodiments, in order to simply describe, they are all described as a series of action combinations, but those skilled in the art should know that the embodiments of the present application are not limited to the action order described, because according to the embodiments of the present application, certain steps can be performed in other order or simultaneously. Secondly, those skilled in the art should know that the embodiments described in the specification all belong to some embodiments of the present application, and the actions involved are not necessarily necessary for some embodiments of the present application.

[0131] Referring to Fig. 6, a structural schematic diagram of a server is shown, the server comprises:

[0132] The mainboard 601 is provided with a plurality of signal lines at a first connector thereof, and one end of the plurality of signal lines is set as grounded or suspended according to the network card connection of the adapter card in the mainboard;

[0133] The controller 602 determines whether the adapter card in the mainboard is connected with a network card and the network card type of the network card connected with the adapter card according to the level signal transmitted by the plurality of signal lines, and controls the server to perform the configuration adapted to the network card connected with the adapter card according to the network card type.

[0134] In some embodiments of the present application, the controller comprises an extension processor, and controlling the server to perform the configuration adapted to the network card connected with the adapter card according to the network card type comprises:

[0135] transmitting the network card type to the core processor by the extension processor;

[0136] controlling the server to perform the bandwidth allocation mode adapted to the network card connected with the adapter card according to the network card type in response to the control of the core processor.

[0137] In some embodiments of the present application, controlling the server to perform the bandwidth allocation mode adapted to the network card connected with the adapter card according to the network card type comprises:

[0138] controlling the server to perform a first bandwidth allocation mode in the case that the network card connected with the adapter card is a smart network card supporting a single processor, the first bandwidth allocation mode being a bandwidth allocation mode supporting a single processor;

[0139] controlling the server to perform a second bandwidth allocation mode in the case that the network card connected with the adapter card is a smart network card supporting a plurality of processors, the second bandwidth allocation mode being a bandwidth allocation mode supporting a plurality of processors.

[0140] In some embodiments of the present application, the controller comprises a first logical controller, and controlling the server to perform the configuration adapted to the network card connected with the adapter card according to the network card type comprises:

[0141] controlling the server to perform a clock output mode adapted to the network card connected with the adapter card according to the network card type by the first logical controller.

[0142] In some embodiments of the present application, controlling the server to perform the clock output mode adapted to the network card connected with the adapter card according to the network card type comprises:

[0143] controlling the server to perform a first clock output mode or a second clock output mode in the case that the network card connected with the adapter card is a smart network card, the first clock output mode being a mode of outputting a clock without pressing a power-on key, and the second clock output mode being a mode of outputting a clock after pressing the power-on key;

[0144] In the case that the network card connected with the adapter card is a non-smart network card, the control server executes the second clock output mode.

[0145] In some embodiments of the present application, the controller comprises a second logic controller, which is arranged on a switching board connected with the main board, and according to the type of the network card, the control server executes a configuration adapted to the network card connected with the adapter card, comprising:

[0146] According to the type of the network card, the control server executes a power supply mode adapted to the network card connected with the adapter card through the second logic controller.

[0147] According to the type of the network card, the control server executes a power supply mode adapted to the network card connected with the adapter card, comprising:

[0148] In the case that the network card connected with the adapter card is a smart network card, the control server executes a first power supply mode, which is a mode of supplying power without pressing the power-on key;

[0149] In the case that the network card connected with the adapter card is a non-smart network card, the control server executes a second power supply mode, which is a mode of supplying power after pressing the power-on key.

[0150] In some embodiments of the present application, the controller comprises a third logic controller, which is arranged on a fan board connected with the main board, and according to the type of the network card, the control server executes a configuration adapted to the network card connected with the adapter card, comprising:

[0151] According to the type of the network card, the control server executes a heat dissipation mode adapted to the network card connected with the adapter card through the third logic controller.

[0152] In some embodiments of the present application, according to the type of the network card, the control server executes a heat dissipation mode adapted to the network card connected with the adapter card, comprising:

[0153] In the case that the network card connected with the adapter card is a smart network card, the control server executes a first heat dissipation mode, which is a mode of dissipating heat without pressing the power-on key;

[0154] In the case that the network card connected with the adapter card is a non-smart network card, the control server executes a second heat dissipation mode, which is a mode of dissipating heat after pressing the power-on key.

[0155] In some embodiments of the present application, the level signals transmitted by the plurality of signal lines of the first connector in the server main board are acquired, comprising:

[0156] The first level signal transmitted by the first signal line of the first connector in the server main board is acquired, and the first signal line is used for transmitting the level signal of whether the adapter card is connected with the network card;

[0157] The second signal line of the first connector in the acquisition server mainboard is used to transmit a second level signal, and the second signal line is used to transmit a level signal of a network card type of a network card connected to the adapter card.

[0158] In some embodiments of the present application, the mainboard is provided with one or more adapter cards, and in the case where the mainboard is provided with multiple adapter cards, the first connector transmits level signals indicating whether different adapter cards are connected to network cards through different first signal lines.

[0159] In some embodiments of the present application, the determination of whether the adapter card in the mainboard is connected to a network card and the network card type of the network card connected to the adapter card according to the level signals transmitted by the multiple signal lines comprises:

[0160] According to the first level signal, a level signal indicating whether the adapter card in the mainboard is connected to a network card is determined.

[0161] According to the second level signal, the network card type of the network card connected to the adapter card is determined.

[0162] In some embodiments of the present application, the network card type includes any one of the following: a single-processor supported intelligent network card, a multi-processor supported intelligent network card, and a non-intelligent network card.

[0163] In some embodiments of the present application, the network card type includes a single-processor supported intelligent network card.

[0164] In the case where the network card connected to the adapter card is a single-processor supported intelligent network card, one end of the first signal line is set to be grounded, and the first level signal is a low level signal.

[0165] In the case where the network card connected to the adapter card is a single-processor supported intelligent network card, one end of the second signal line is set to be grounded, and the second level signal is a low level signal.

[0166] In some embodiments of the present application, the network card type includes a multi-processor supported intelligent network card.

[0167] In the case where the network card connected to the adapter card is a multi-processor supported intelligent network card, one end of the first signal line is set to be grounded, and the first level signal is a low level signal.

[0168] In the case where the network card connected to the adapter card is a multi-processor supported 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.

[0169] In some embodiments of the present application, the network card type includes a non-intelligent network card.

[0170] In the case where 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.

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

[0172] In some embodiments of the present application, in the case where the network card connected by the adapter card is provided with a second connector, the first connector is connected with the second connector through a first cable; in the case where the network card connected by the adapter card is not provided with a second connector, the first connector is connected with itself through a second cable.

[0173] Referring to FIG. 7, an electronic device according to some embodiments of the present application is shown, which includes 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 is executed by the processor to implement the method as described above.

[0174] Referring to FIG. 8, a computer non-volatile readable storage medium 800 according to some embodiments of the present application is shown, which stores a computer program, and the computer program is executed by a processor to implement the method as described above.

[0175] Referring to FIG. 9, a computer program product 900 according to some embodiments of the present application is shown, which includes a computer program, and the computer program is executed by a processor to implement the method as described above.

[0176] For the device embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts are referred to the part of the method embodiments.

[0177] It should be noted that the user information (including but not limited to user equipment information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc.) involved in the present application are all information and data authorized by the user or authorized by all parties, and the collection, use and processing of the relevant data need to comply with the relevant laws, regulations and standards of the relevant countries and regions, and provide corresponding operation portal for the user to choose authorization or refusal.

[0178] Each of the embodiments in the specification is described in a progressive manner, and each embodiment focuses on the difference from other embodiments, and the same and similar parts between the embodiments can be referred to each other.

[0179] Those skilled in the art will appreciate that embodiments of the application can be provided as methods, apparatus, or computer program products. Accordingly, embodiments of the application can be embodied in a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, embodiments of the application can be embodied in a computer program product on one or more computer readable storage media (including, but not limited to, disk memory, CD-ROMs, optical storage media, etc.) having computer usable program code embodied thereon.

[0180] Embodiments of the application are described herein with reference to flowchart illustrations and / or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processing device, or other programmable data processing terminal devices to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal devices, create means for implementing the functions specified in the flowchart illustrations and / or block diagrams block or blocks.

[0181] These computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing terminal device to function in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture including instructions means which implement the function specified in the flowchart illustrations and / or block diagrams block or blocks.

[0182] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device to cause a series of operational steps to be performed on the computer or other programmable terminal device to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal device provide steps for implementing the functions specified in the flowchart illustrations and / or block diagrams block or blocks.

[0183] While preferred embodiments of the application have been described, those skilled in the art will appreciate that additional modifications and variations to the preferred embodiments are possible in light of the above teachings. It is, therefore, intended that the appended claims be construed to cover all such modifications and variations as fall within the true spirit and scope of the application.

[0184] Finally, it is to be understood that the terms such as first and second, and the like, herein are used only to distinguish one from another entity or action, and do not necessarily require or imply any such actual relationship or order between such entities or actions. Moreover, the terms "comprises", "comprising", or any other variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but can also include other elements not expressly listed or inherent to such process, method, article, or apparatus. An element proceeded by "comprises... a" does not, without more constraints, exclude the existence of additional identical elements in the process, method, article, or apparatus that comprises the aforesaid element.

[0185] The above provides a detailed description of the provided network card-based server control method, server, device, medium and product. The principles and implementation manners of the present application are described by applying specific examples in the present article. The above example description is only used to help understand the method and core idea of the present application. Meanwhile, for those skilled in the art, according to the idea of the present application, the specific implementation manner and application range will be changed. In summary, the content of the present description should not be understood as a limitation of the present application.

Claims

1. A network card-based server control method, characterized by, The method comprises: acquiring level signals transmitted by a plurality of signal lines of a first connector in the server motherboard, one end of the plurality of signal lines being set to be grounded or suspended according to a network card connection condition of a riser in the motherboard; determining whether the riser is connected with a network card and a network card type of the network card connected with the riser according to the level signals transmitted by the plurality of signal lines; controlling the server to perform a configuration adapted to the network card connected with the riser according to the network card type.

2. The method of claim 1, wherein, The motherboard is provided with an expansion processor, and the controlling the server to perform the configuration adapted to the network card connected with the riser according to the network card type comprises: transmitting the network card type to a core processor through the expansion processor; controlling the server to perform a bandwidth allocation mode adapted to the network card connected with the riser according to the network card type in response to a control of the core processor.

3. The method of claim 2, wherein, The controlling the server to perform the bandwidth allocation mode adapted to the network card connected with the riser according to the network card type comprises: controlling the server to perform a first bandwidth allocation mode in a case that the network card connected with the riser is a single-processor-supported intelligent network card, the first bandwidth allocation mode being a single-processor-supported bandwidth allocation mode; controlling the server to perform a second bandwidth allocation mode in a case that the network card connected with the riser is a multi-processor-supported intelligent network card, the second bandwidth allocation mode being a multi-processor-supported bandwidth allocation mode.

4. The method of claim 1, wherein, The motherboard is provided with a first logic controller, and the controlling the server to perform the configuration adapted to the network card connected with the riser according to the network card type comprises: controlling the server to perform a clock output mode adapted to the network card connected with the riser according to the network card type through the first logic controller.

5. The method of claim 4, wherein, The controlling the server to perform the clock output mode adapted to the network card connected with the riser according to the network card type comprises: controlling the server to perform a first clock output mode or a second clock output mode in a case that the network card connected with the riser is an intelligent network card, the first clock output mode being a mode of outputting a clock without pressing a power-on key, and the second clock output mode being a mode of outputting a clock after pressing the power-on key; controlling the server to perform the second clock output mode in a case that the network card connected with the riser is a non-intelligent network card.

6. The method of claim 1, wherein, The server is provided with a switching board connected with the motherboard, the switching board is provided with a second logic controller, and the controlling the server to perform the configuration adapted to the network card connected with the riser according to the network card type comprises: controlling the server to perform a power supply mode adapted to the network card connected with the riser according to the network card type through the second logic controller.

7. The method of claim 6, wherein, The controlling the server to perform the power supply mode adapted to the network card connected with the riser according to the network card type comprises: controlling the server to perform a first power supply mode in a case that the network card connected with the riser is an intelligent network card, the first power supply mode being a mode of supplying power without pressing a power-on key. In the case that the network card connected with the adapter card is a non-smart network card, the server is controlled to execute a second power supply mode, which is a mode of supplying power after pressing the power-on key.

8. The method of claim 1, wherein, The server is provided with a fan board connected with the main board, and the fan board is provided with a third logic controller. According to the network card type, the server is controlled to execute a configuration adapted to the network card connected with the adapter card, which includes: According to the network card type, the server is controlled to execute a cooling mode adapted to the network card connected with the adapter card through the third logic controller.

9. The method of claim 8, wherein, According to the network card type, the server is controlled to execute a cooling mode adapted to the network card connected with the adapter card, which includes: In the case that the network card connected with the adapter card is a non-smart network card, the server is controlled to execute a second power supply mode, which is a mode of supplying power after pressing the power-on key. In the case that the network card connected with the adapter card is a non-smart network card, the server is controlled to execute a second power supply mode, which is a mode of supplying power after pressing the power-on key.

10. The method according to any one of claims 1 to 9, characterized in that, The acquisition of the level signals transmitted by the multiple signal lines of the first connector in the server main board includes: The first level signal transmitted by the first signal line of the first connector in the server main board is acquired, and the first signal line is configured to transmit the level signal of whether the adapter card is connected with a network card. The second level signal transmitted by the second signal line of the first connector in the server main board is acquired, and the second signal line is configured to transmit the level signal of the network card type of the network card connected with the adapter card.

11. The method of claim 10, wherein, In the case that the main board is provided with multiple adapter cards, the first connector transmits the level signals of whether different adapter cards are connected with network cards through different first signal lines.

12. The method of claim 10, wherein, According to the multiple level signals transmitted by the multiple signal lines, whether the adapter card in the main board is connected with a network card and the network card type of the network card connected with the adapter card are determined, which includes: According to the first level signal, the level signal of whether the adapter card in the main board is connected with a network card is determined. According to the second level signal, the network card type of the network card connected with the adapter card is determined.

13. The method of claim 10, wherein, 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.

14. The method of claim 10, wherein The network card type includes a smart network card supporting a single processor. In the case that the network card connected with 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. In the case that the network card connected with the adapter card is a smart network card supporting a single processor, one end of the second signal line is set to be grounded, and the second level signal is a low-level signal.

15. The method of claim 10, wherein The network card type includes a smart network card supporting multiple processors. In the case that the network card connected with the adapter card is an intelligent network card supporting multiple processors, one end of the first signal line is set as ground, and the first level signal is a low level signal; In the case that the network card connected with the adapter card is an intelligent network card supporting multiple processors, one end of the second signal line is set as floating, and the second level signal is a high level signal.

16. The method of claim 10, wherein, the network card type comprises a non-intelligent network card; In the case that the network card connected with the adapter card is a non-intelligent network card, one end of the first signal line is set as floating, and the first level signal is a high level signal; In the case that the network card connected with the adapter card is a non-intelligent network card, one end of the second signal line is set as floating, and the second level signal is a high level signal.

17. The method of claim 10, wherein, in the case that the network card connected with the adapter card is provided with a second connector, the first connector is connected with the second connector through a first cable; in the case that the network card connected with the adapter card is not provided with a second connector, the first connector is connected with itself through a second cable.

18. The method of claim 1, wherein, the network card is connected with the server mainboard through the adapter card, the mainboard is provided with a first connector, and the first connector is provided with multiple signal lines configured to transmit different signals.

19. A server, characterized by The server comprises: a mainboard, wherein a first connector in the mainboard is provided with multiple signal lines, and one end of the multiple signal lines is set as ground or floating according to the connection of a network card of an adapter card in the mainboard; a controller, which determines whether the adapter card is connected with a network card and the network card type of the network card connected with the adapter card according to the level signals transmitted by the multiple signal lines, and controls the server to perform a configuration adapted to the network card connected with the adapter card according to the network card type.

20. The server of claim 19, wherein, The controller comprises an extension processor, and the controlling the server to perform the configuration adapted to the network card connected with the adapter card according to the network card type comprises: transmitting the network card type to a core processor through the extension processor; controlling the server to perform a bandwidth allocation mode adapted to the network card connected with the adapter card according to the network card type in response to the control of the core processor.

21. The server of claim 19, wherein, The controller comprises a first logic controller, and the controlling the server to perform the configuration adapted to the network card connected with the adapter card according to the network card type comprises: controlling the server to perform a clock output mode adapted to the network card connected with the adapter card according to the network card type through the first logic controller.

22. The server of claim 19, wherein, The controller comprises a second logic controller, which is arranged on a switching board connected with the mainboard, and the controlling the server to perform the configuration adapted to the network card connected with the adapter card according to the network card type comprises: controlling the server to perform a power supply mode adapted to the network card connected with the adapter card according to the network card type through the second logic controller.

23. The server of claim 19, wherein, The controller comprises a third logic controller, which is arranged on a fan board connected with the main board, and the server is controlled to perform a configuration suitable for the network card connected with the adapter card according to the type of the network card, which comprises: The third logic controller is used to control the server to perform a cooling mode suitable for the network card connected with the adapter card according to the type of the network card.

24. An electronic device, comprising: A computer program product comprising a processor, a memory, and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implements the method according to any one of claims 1 to 18.

25. A computer non-volatile readable storage medium characterized in that, A computer program product comprising a processor, a memory, and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implements the method according to any one of claims 1 to 18.

26. A computer program product, characterised in that, A computer program product comprising a processor, a memory, and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implements the method according to any one of claims 1 to 18.

Citation Information

Patent Citations

  • Method, device and equipment for supporting different types of intelligent network cards and medium

    CN115237234A

  • Network card configuration method, network card and computing device

    CN116155712A

  • Network card control method and device of server, storage medium and electronic equipment

    CN117608676A

  • Computer system, bandwidth configuration method, product, server and medium

    CN118672367A

  • Network card-based server control method, server, equipment, medium and product

    CN118897816A