Network interface card bandwidth configuration system and method, device, storage medium, and program product

By dynamically adjusting the connector status in the network card bandwidth configuration system, the problem of inflexible hardware design for network card bandwidth configuration in open computing projects is solved. This enables flexible adaptation to different bandwidths without replacing the motherboard, reducing hardware modification costs.

WO2026091406A1PCT designated stage Publication Date: 2026-05-07INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
INSPUR SUZHOU INTELLIGENT TECH CO LTD
Filing Date
2025-04-03
Publication Date
2026-05-07

AI Technical Summary

Technical Problem

In existing technologies, the hardware design of network interface cards (NICs) for open computing projects cannot flexibly adapt to different bandwidth requirements, which means that when changing the NIC bandwidth configuration, the motherboard must be replaced or complex hardware modifications must be made, increasing costs.

Method used

A network interface card (NIC) bandwidth configuration system is provided, which dynamically adjusts the NIC bandwidth configuration by different connection states of the first connector and the second and third connectors. The system includes components such as processor, connectors, resistors, electronic fuses, buffers and controllers to achieve flexible adaptation to different bandwidths.

Benefits of technology

It enables flexible adjustment of network card bandwidth configuration without replacing the motherboard, supporting single x8 bandwidth, x16 bandwidth and dual x8 bandwidth, reducing hardware modification costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025087072_07052026_PF_FP_ABST
    Figure CN2025087072_07052026_PF_FP_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of servers, and discloses a network interface card bandwidth configuration system and method, a device, a storage medium, and a program product. The network interface card bandwidth configuration system is configured to: adapt to a first bandwidth in response to a first connector being disconnected from a second connector and disconnected from a third connector; adapt to a second bandwidth in response to the first connector being connected to the second connector and disconnected from the third connector; and adapt to a dual-first-bandwidth mode in response to the first connector being disconnected from the second connector and connected to the third connector. By implementing the network interface card bandwidth configuration system described in embodiments of the present application, the connection between the first connector and the second connector or the third connector can be flexibly adjusted, and bandwidth configuration can be performed for a corresponding network interface card.
Need to check novelty before this filing date? Find Prior Art

Description

Network interface card (NIC) bandwidth configuration systems, methods, devices, storage media, and program products.

[0001] Cross-reference to related applications

[0002] This application claims priority to Chinese Patent Application No. 202411534657.6, filed on October 31, 2024, entitled "Network Card Bandwidth Configuration System, Method, Device, Storage Medium and Program Product", the entire contents of which are incorporated herein by reference. Technical Field

[0003] This application relates to the field of server technology, and in particular to network interface card (NIC) bandwidth configuration systems, methods, devices, storage media, and program products. Background Technology

[0004] Open Compute Project (OCP) network interface cards (NICs) are high-performance network interface devices widely used in data centers with high network performance requirements. OCP NICs support a single primary bandwidth, two primary bandwidths, or a secondary bandwidth, but the hardware environment configured for each bandwidth differs. The inventors recognized that motherboards are typically designed with hardware environments tailored to OCP NICs with a single bandwidth configuration. This fixed hardware design cannot flexibly adapt to OCP NICs with different bandwidth requirements. Furthermore, OCP NICs with different bandwidths differ in the number of PCIe signals required and the interface pin definitions. Therefore, it is difficult to achieve compatibility and adaptation for multiple OCP NICs with different bandwidths on the same motherboard. This means that in practical applications, changing the bandwidth configuration of an OCP NIC requires replacing the motherboard or performing complex hardware modifications, further increasing the cost. Summary of the Invention

[0005] This application provides the following technical solution:

[0006] Firstly, a network interface card (NIC) bandwidth configuration system is provided, including:

[0007] The system comprises a first processor, a second processor, a network card connector, a first connector, a second connector, a third connector, and an input / output expander.

[0008] The first processor has a first bus port, and the first bus port has at least one first low-order port and at least one first high-order port;

[0009] The second processor has a second bus port, and the second bus port has at least one second low-order port.

[0010] At least one first low-order port is connected to the network card connector, at least one first high-order port is connected to the second connector, the first connector is connected to the network card connector and the input / output expander, the input / output expander is connected to the first processor, and at least one second low-order port is connected to the third connector.

[0011] The network interface card (NIC) bandwidth configuration system is configured to adapt to the first bandwidth in response to the first connector disconnecting from the second connector and the third connector.

[0012] In response to the first connector connecting to the second connector and disconnecting from the third connector, the network card bandwidth configuration system adapts to the second bandwidth;

[0013] In response to the first connector disconnecting from the second connector and connecting to the third connector, the network card bandwidth configuration system adapts to the two first bandwidths.

[0014] Furthermore, the first connector has a first address port and a first in-situ port, the second connector has a second address port and a second in-situ port, and the third connector has a third in-situ port;

[0015] The first address port is connected to the input / output expander, and the first in-place port is connected to the input / output expander.

[0016] Furthermore, the network interface card bandwidth configuration system also includes a first resistor and a second resistor;

[0017] One end of the first resistor is electrically connected to the first address port, and the other end of the first resistor is connected to the first power supply.

[0018] One end of the second resistor is electrically connected to the first in-situ port, and the other end of the second resistor is connected to the first power supply.

[0019] The second address port and the second in-place port are grounded;

[0020] The third in-situ port is grounded.

[0021] Furthermore, the network interface card bandwidth configuration system also includes: a controller;

[0022] The controller has: a first power supply port, a second power supply port, and a power supply indicator port;

[0023] The first power supply port, the second power supply port, and the power supply indicator port are all connected to the network card connector.

[0024] Furthermore, the network interface card bandwidth configuration system also includes a first electronic fuse and a second electronic fuse;

[0025] The network card connector also features: a first power port and a second power port;

[0026] One end of the first electronic fuse is electrically connected to the first power port, and the other end of the first electronic fuse is connected to the first power source;

[0027] One end of the second electronic fuse is electrically connected to the second power supply port, and the other end of the second electronic fuse is connected to the second power supply.

[0028] Furthermore, the controller also has a first electronic fuse enable port and a second electronic fuse enable port;

[0029] The first electronic fuse enable port is connected to the first electronic fuse and is used to control the first electronic fuse to turn on or off.

[0030] The second electronic fuse enable port is connected to the second electronic fuse and is used to control the on or off state of the associated second electronic fuse.

[0031] Furthermore, the network interface card bandwidth configuration system also includes: a first buffer, a second buffer, and an AND gate;

[0032] The first buffer is connected to the controller and the network card connector;

[0033] The second buffer is connected to the network card connector and the input of the AND gate, and the output of the AND gate is electrically connected to the controller.

[0034] Furthermore, the controller also has a first virtual address port and a second virtual address port;

[0035] The first virtual address port is connected to the first processor;

[0036] The second virtual address port is connected to the second processor.

[0037] Furthermore, the controller also has a hot-swappable signal port, a first indicator port, and a second indicator port;

[0038] The network card bandwidth configuration system also includes: a hot-swap trigger, a first indicator light, and a second indicator light;

[0039] The hot-swap trigger is electrically connected to the hot-swap signal port;

[0040] The first indicator light is electrically connected to the first indicator port;

[0041] The second indicator light is electrically connected to the second indicator port.

[0042] Furthermore, the network card connector also has at least one bandwidth allocation port;

[0043] At least one bandwidth allocation port is grounded.

[0044] Furthermore, the network interface card bandwidth configuration system also includes a fourth connector;

[0045] The second processor also has at least one second high-order port;

[0046] At least one second high-bit port is connected to the fourth connector.

[0047] Secondly, a network interface card (NIC) bandwidth configuration method is provided, which is applied to the NIC bandwidth configuration system described in the first aspect. The NIC bandwidth configuration method includes:

[0048] In response to the first connector completing the connection setup, a first signal and a second signal are acquired, wherein the first signal and the second signal are used to indicate the connection status of the first connector;

[0049] The connection status of the first connector is determined based on the first signal and the second signal;

[0050] Based on the connection status of the first connector, configure the network card bandwidth to match the system's bandwidth.

[0051] Furthermore, the connection states include: the first connector is disconnected from the second connector and disconnected from the third connector, or the first connector is connected to the second connector and disconnected from the third connector, or the first connector is disconnected from the second connector and connected to the third connector;

[0052] Based on the connection status of the first connector, configure the network card bandwidth and the system's adapted bandwidth, including:

[0053] In response to the first connector being disconnected from the second connector and also disconnected from the third connector, the network interface card bandwidth configuration system is configured to adapt to the first bandwidth.

[0054] In response to the first connector connecting to the second connector and disconnecting from the third connector, the network interface card bandwidth configuration system is configured to adapt to the second bandwidth;

[0055] In response to the first connector disconnecting from the second connector and connecting to the third connector, the network interface card configuration system is configured to adapt to both first bandwidths.

[0056] Furthermore, the network interface card (NIC) bandwidth configuration system also includes a hot-swap trigger, which generates a hot-swap signal. The NIC bandwidth configuration method also includes:

[0057] In response to the detection that the network card is in place, the first power supply and the second power supply are powered on.

[0058] In response to receiving a hot-plug signal, the bandwidth corresponding to the network card is configured according to the first signal and the second signal.

[0059] Furthermore, after configuring the bandwidth corresponding to the network card based on the first signal and the second signal, it also includes:

[0060] Enable the network card and control the second indicator light to flash until the network card is fully enabled;

[0061] The second indicator light is kept constantly lit to indicate that the network card is functioning normally.

[0062] Furthermore, network interface card (NIC) bandwidth configuration methods also include:

[0063] In response to the network card bandwidth configuration system connecting to the network card and receiving a hot-plug signal, the system controls the network card to power down.

[0064] In response to the network card completing its power-down, the network card is removed, and the first and second power supplies are powered down.

[0065] Furthermore, controlling the power-down of the network card includes:

[0066] Power off the first and second power supply ports;

[0067] Control the second indicator light to flash until the first power supply port and the second power supply port are powered off;

[0068] In response to the completion of power-off at both the first and second power ports, the second indicator light is turned off to indicate the removal of the network card.

[0069] Thirdly, a network interface card (NIC) bandwidth configuration device is provided, comprising:

[0070] The signal acquisition module is used to acquire a first signal and a second signal in response to the first connector completing the connection setup, wherein the first signal and the second signal are used to indicate the connection status of the first connector;

[0071] The status acquisition module is used to determine the connection status of the first connector based on the first signal and the second signal;

[0072] The bandwidth configuration module is used to configure the network card bandwidth configuration system's adaptive bandwidth according to the connection status of the first connector.

[0073] Fourthly, a computer device is provided, including a memory, a processor, and a network interface card (NIC) bandwidth configuration program stored in the memory and executable on the processor. When the processor executes the NIC bandwidth configuration program, it implements the NIC bandwidth configuration method described in the second aspect.

[0074] Fifthly, a computer-readable storage medium is provided, on which a network interface card (NIC) bandwidth configuration program is stored, wherein when the NIC bandwidth configuration program is executed by a processor, the NIC bandwidth configuration method described in the second aspect is implemented.

[0075] In a sixth aspect, a computer-readable instruction product is provided, comprising computer-readable instructions that, when executed by a processor, implement the network interface card bandwidth configuration method described in the second aspect. Attached Figure Description

[0076] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0077] Figure 1 is a schematic diagram of a network card bandwidth configuration system provided in one or more embodiments of this application;

[0078] Figure 2 is a schematic diagram of a network card bandwidth configuration method provided in one or more embodiments of this application;

[0079] Figure 3 is a schematic diagram of a network card bandwidth configuration device provided in one or more embodiments of this application;

[0080] Figure 4 is a schematic diagram of a computer device provided in one or more embodiments of this application. Detailed Implementation

[0081] To make the objectives, technical solutions, and advantages of this application clearer, the technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.

[0082] Unless otherwise defined, the technical or scientific terms used in this disclosure shall have the ordinary meaning understood by one of ordinary skill in the art to which this disclosure pertains. The terms “first,” “second,” and similar terms used in this disclosure do not indicate any order, quantity, or importance, but are merely used to distinguish different components. Similarly, the terms “an,” “a,” or “the,” and similar terms do not indicate a quantity limitation, but rather indicate the presence of at least one. The numbers in the accompanying drawings are only used to distinguish individual functional parts or modules and do not indicate logical relationships between parts or modules. The terms “comprising,” “including,” or “including,” and similar terms mean that the element or object preceding the term encompasses the element or object listed following the term and its equivalents, without excluding other elements or objects. The terms “connected,” “linked,” and similar terms are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. “Above,” “below,” “left,” “right,” etc., are used only to indicate relative positional relationships; when the absolute position of the described object changes, the relative positional relationship may also change accordingly.

[0083] The various embodiments according to this disclosure will now be described in detail with reference to the accompanying drawings. It should be noted that in the drawings, the same reference numerals are assigned to components having substantially the same or similar structure and function, and repeated descriptions of them will be omitted.

[0084] To address the issue of inflexible network interface card bandwidth configuration in open computing projects, this application provides the following embodiments.

[0085] In some embodiments, as shown in FIG1, the system includes: Firstly, a network interface card (NIC) bandwidth configuration system is provided, comprising:

[0086] The system comprises a first processor 100, a second processor 200, a network card connector 300, a first connector 400, a second connector 500, a third connector 600, and an input / output expander 700.

[0087] The first processor 100 has a first bus port 110, and the first bus port 110 has at least one first low-order port 111 and at least one first high-order port 112;

[0088] The second processor 200 has a second bus port 210, and the second bus port 210 has at least one second low-order port 211.

[0089] At least one first low-order port 111 is connected to network card connector 300, at least one first high-order port 112 is connected to second connector 500, first connector 400 is connected to network card connector 300 and input / output expander 700, input / output expander is connected to first processor 100, and at least one second low-order port 211 is connected to third connector 600.

[0090] The network interface card (NIC) bandwidth configuration system is configured to adapt to the first bandwidth in response to the first connector 400 disconnecting from the second connector 500 and the third connector 600.

[0091] In response to the first connector 400 connecting to the second connector 500 and disconnecting from the third connector 600, the network interface card bandwidth configuration system adapts to the second bandwidth;

[0092] In response to the disconnection of the first connector 400 from the second connector 500 and the connection to the third connector 600, the network interface card bandwidth configuration system adapts to the two first bandwidths.

[0093] The beneficial effects of the technical solution provided in this application embodiment are: by implementing the network card bandwidth configuration system described in this application embodiment, the connection between the first connector and the second or third connector can be flexibly adjusted to configure the bandwidth for the corresponding network card.

[0094] In some embodiments, the first bandwidth is x8 bandwidth, the second bandwidth is x16 bandwidth, and the two first bandwidths are dual x8 bandwidth.

[0095] The first and second processors are central processing units; the network card connector is an OCP network card connector, and the first, second, third, and fourth connectors are MCIO (Mini Cool Edge IO, multi-channel input / output) connectors.

[0096] In some embodiments, the bus ports described above are PCIe (Peripheral Component Interconnect express, high-speed serial computer bus) bus ports. The low-order ports are PCIe port numbers [0:7], and the high-order ports are PCIe port numbers [8:15].

[0097] Typically, the first connector is interconnected with the second or third connector via a high-speed cable.

[0098] Furthermore, the first connector 400 has a first address port 401 and a first in-situ port 402, the second connector 500 has a second address port 501 and a second in-situ port 502, and the third connector 600 has a third in-situ port 602.

[0099] The first address port 401 is connected to the input / output expander 700, and the first in-place port 402 is connected to the input / output expander 700.

[0100] The voltage levels of the first address port and the first in-place port are used to indicate the connection status of the first connector with the second connector or the third connector.

[0101] Furthermore, the network interface card bandwidth configuration system also includes a first resistor R1 and a second resistor R2;

[0102] One end of the first resistor R1 is electrically connected to the first address port 401, and the other end of the first resistor R1 is connected to the first power supply P1.

[0103] One end of the second resistor R2 is electrically connected to the first in-situ port 402, and the other end of the second resistor R2 is connected to the first power supply P1;

[0104] The second address port 501 and the second in-place port 502 are grounded;

[0105] The third in-place port 602 is grounded, and the third address port 601 is floating.

[0106] After connecting the first connector and the second connector with a cable, the first address port is connected to the second address port, and the first presence port is connected to the second presence port. After connecting the first connector and the third connector with a cable, the first address port is connected to the third address port, and the first presence port is connected to the third presence port.

[0107] The first address port is pulled up through the first resistor and connected to the first power supply; the first in-place port is pulled up through the second resistor and connected to the first power supply.

[0108] After connecting the first address port to the second or third address port via a cable, the status of the first address port will be determined. Connecting the first address port to the second or third address port via a cable will cause the first address port to be in position and display a high level; when the first address port is not connected to the second address port, the first address port will be at a high level.

[0109] Accordingly, after connecting the first in-place port to the third in-place port via a cable, the first in-place port will be determined to be at a low level; when the first address port is not connected to the second address port, the first address port will be at a high level.

[0110] The connection status of the first, second, and third connectors can be determined by the level status of the first address port.

[0111] Furthermore, the network interface card bandwidth configuration system also includes: controller 800;

[0112] The controller 800 has: a first power supply port 801, a second power supply port 802, and a power supply indication port 803;

[0113] The first power supply port 801, the second power supply port 802, and the power supply indicator port 803 are all connected to the network card connector 300.

[0114] Furthermore, the network card bandwidth configuration system also includes a first electronic fuse E1 and a second electronic fuse E2;

[0115] The network card connector 300 also has: a first power port 301 and a second power port 302;

[0116] One end of the first electronic fuse E1 is electrically connected to the first power port 301, and the other end of the first electronic fuse E1 is connected to the first power supply P1;

[0117] One end of the second electronic fuse E2 is electrically connected to the second power port 302, and the other end of the second electronic fuse E2 is connected to the second power supply P2.

[0118] The controller has at least one of the following functions: controlling the power-on status of the network card connector, resetting the network card PCIe, monitoring the network card's in-place status, and performing hot-swapping of the network card.

[0119] In some embodiments, the controller is a microcontroller unit (MCU).

[0120] In some embodiments, the controller is a complex programmable logic device (CPLD).

[0121] Furthermore, the controller 800 also has a first electronic fuse enable port 804 and a second electronic fuse enable port 805;

[0122] The first electronic fuse enable port 804 is connected to the first electronic fuse E1 and is used to control the first electronic fuse E1 to be turned on or off.

[0123] The second electronic fuse enable port 805 is connected to the second electronic fuse E2 and is used to control the on or off state of the second electronic fuse E2.

[0124] Furthermore, the system also includes: a first buffer 900, a second buffer 1000, and an AND gate 1100;

[0125] The first buffer 900 is connected to the controller 800 and the network card connector 300;

[0126] The second buffer 1000 is connected to the network card connector 300 and the input of AND gate 1100, and the output of AND gate 1100 is electrically connected to the controller 800.

[0127] Furthermore, the controller 800 also has a first virtual address port VPP1 and a second virtual address port VPP2;

[0128] The first virtual address port VPP1 is connected to the first processor 100;

[0129] The second virtual address port VPP2 is connected to the second processor 200.

[0130] Furthermore, the controller 800 also has a hot-swappable signal port 806, a first indicator port 807, and a second indicator port 808;

[0131] The network card bandwidth configuration system also includes: a hot-swap trigger 1200, a first indicator light L1, and a second indicator light L2;

[0132] The hot-swap trigger 1200 is electrically connected to the hot-swap signal port 806;

[0133] The first indicator light L1 is electrically connected to the first indicator port 807;

[0134] The second indicator light L2 is electrically connected to the second indicator port 808.

[0135] A hot-plug trigger is used to generate a preparation signal for hot-plugging or hot-plugging the network interface card (NIC). In some embodiments, the hot-plug trigger can be a button or a touch key.

[0136] Furthermore, the network card connector 300 also has at least one bandwidth allocation port 303;

[0137] At least one bandwidth allocation port 303 is grounded.

[0138] Furthermore, the network interface card bandwidth configuration system also includes a fourth connector 1300;

[0139] The second processor 200 also has at least one second high-order port 212;

[0140] At least one second high-level port 212 is connected to the fourth connector 1300.

[0141] Controller and NIC connector wiring: The controller controls the opening and closing of the second and first fuses via the FM_P12V_OCP_EN and FM_P3V3_OCP_EN signals, thereby controlling the power-on status of the connector's P12V_OCP_STBY and P3V3_OCP_STBY signals. The controller connects to the NIC connector via the MAIN_PWR_EN and AUX_PWR_EN signals to control the power-on of the NIC's internal power supply, and connects to the NIC connector via the NIC_PWR_GOOD signal to monitor the NIC's power-on. The controller is connected to the buffer via the FM_OCP_PERST_N signal, and outputs the FM_PERST0 / 1 / 2 / 3_N signal to the network card connector to control the network card PCIe reset; the four presence signals FM_PRSNTB0 / 1 / 2 / 3_N of the network card connector are isolated by the buffer and then connected to the controller via an AND gate through the FM_OCP_PRSNT_N signal to monitor whether the network card is present; the three bandwidth allocation pins FM_BIF0 / 1 / 2 of the network card connector are directly grounded, so that the network card is in the default bandwidth allocation configuration.

[0142] The network card hot-swap circuitry is as follows: The first and second processors are connected to the controller via the VPP bus to exchange relevant hot-swap information. The controller connects to the physical hot-swap trigger via the FM_OCP_ATTEN_HP_BTN_N signal to monitor whether the user needs to perform a notification-based hot-swap of the network card. The controller controls the state of the second indicator light via the FM_OCP_PWR_LED_N signal to inform the user of the current power-on status of the network card. The controller also controls the state of the first indicator light via the FM_OCP_ATTEN_LED_N signal to inform the user whether the current network card status is abnormal. The CPU expands general-purpose input / output (PIO) through I / O expanders and monitors the high and low levels of FM_OCP_CABLE_PRSNT_N and FM_OCP_CPU_ADDRESS_N via GPIO to achieve bandwidth allocation. During the POST phase, the BIOS reads the level information of the PIO expanders via the HOST_SMBUS bus and completes bandwidth allocation based on the level status. The bandwidth configuration method is given in Table 1. GPIO is expanded using input / output expanders. Bandwidth allocation is achieved by monitoring the high and low levels of the FM_OCP_CABLE_PRSNT_N and FM_OCP_CPU_ADDRESS_N signals via GPIO. During the POST phase, the BIOS reads the level information of the input / output expanders through the HOST_SMBUS bus and completes bandwidth allocation based on the level status. The bandwidth allocation status reference table is provided.

[0143] Table 1 shows the bandwidth distribution based on the voltage levels of the first address port and the first in-situ port.

[0144] The first x8 [0:7] of the first set of PCIe ports of the processor is connected to the first x8 of the network card connector. The first connector does not require cable connection. FM_OCP_CABLE_PRSNT_N and FM_OCP_CPU_ADDRESS_N are kept high. During the BIOS POST phase, the first processor PCIe [0:7] will be configured as x8 according to Table 1. After the controller detects that the network card is in place through the FM_OCP_PRSNT_N signal, it enables the FM_P12V_OCP_EN and FM_P3V3_OCP_EN signals, controls the P12V_OCP_STBY and P3V3_OCP_STBY to power on, and drives the AUX_PWR_EN and MAIN_PWR_EN signals to control the internal power state of the network card to enable according to the timing requirements. After the network card is enabled, it will notify the controller through the NIC_PWR_GOOD signal. The controller will release the FM_OCP_PERST_N signal according to the server timing requirements, and control the OCP network card to enter the normal working state. The motherboard design can be adapted to the x8 bandwidth network card. The second, third, and fourth connectors can be brought out via cables to support other PCIe devices.

[0145] The first connector is connected to the second connector via a cable. At this time, the front x8 [0:7] of the first processor is connected to the front x8 of the network card connector, and the rear x8 [8:15] is connected to the rear x8 of the network card connector via the MCIO connector and cable. The second address port and the second presence port of the second connector are connected to the first address port and the first presence port of the first connector, respectively. FM_OCP_CABLE_PRSNT_N and FM_OCP_CPU_ADDRESS_N are pulled low. During the POST phase, the BIOS will refer to Table 1 to configure PCIe [0:15] as x16. After the controller detects that the network card is in place, it will enable the network card by pushing relevant timing signals. The motherboard design can then be adapted to the x16 bandwidth network card. The third and fourth connectors can be led out via cables to support other PCIe devices.

[0146] The first connector and the third connector are connected by a cable. At this time, the front x8[0:7] of the first processor is connected to the front x8 of the network card connector, and the front x8[0:7] of the second processor is connected to the rear x8 of the network card connector through the MCIO connector and cable. The third address port and the third presence port of the third connector are connected to the first address port and the first presence port of the first connector, respectively. FM_OCP_CABLE_PRSNT_N is pulled low while FM_OCP_CPU_ADDRESS_N is kept high. During the POST phase, the BIOS will refer to Table 1 to configure the first processor PCIe[0:7] and the second processor PCIe[0:7] as x8 respectively. After the controller detects that the network card is in place, it will enable the network card by pushing relevant timing signals. The motherboard design can then be adapted to dual x8 bandwidth network cards. The second connector and the third connector can be led out by cables to support other PCIe devices.

[0147] In some embodiments, a network interface card (NIC) bandwidth configuration method is provided, as shown in FIG2, applied to the NIC bandwidth configuration system described in the first aspect. The NIC bandwidth configuration method includes:

[0148] S100: In response to the first connector completing the connection setup, a first signal and a second signal are acquired, wherein the first signal and the second signal are used to indicate the connection status of the first connector;

[0149] S200: Determine the connection status of the first connector based on the first signal and the second signal;

[0150] S300: Configure the network card bandwidth according to the connection status of the first connector and the system's adaptive bandwidth.

[0151] The first signal is the address signal, and the second signal is the presence signal.

[0152] Furthermore, the connection states include: the first connector 400 is disconnected from the second connector 500 and disconnected from the third connector 600, or the first connector 400 is connected to the second connector 500 and disconnected from the third connector 600, or the first connector 400 is disconnected from the second connector 500 and connected to the third connector 600.

[0153] S300: Based on the connection status of the first connector, configure the network card bandwidth and the system's adapted bandwidth, including:

[0154] In response to the first connector 400 being disconnected from the second connector 500 and the third connector 600, the network interface card bandwidth configuration system is configured to adapt to the first bandwidth.

[0155] In response to the first connector 400 being connected to the second connector 500 and disconnected from the third connector 600, the network interface card bandwidth configuration system is configured to adapt to the second bandwidth.

[0156] In response to the first connector 400 disconnecting from the second connector 500 and connecting to the third connector 600, the network interface card configuration system is configured to adapt to the two first bandwidths.

[0157] Furthermore, the network interface card (NIC) bandwidth configuration system also includes a hot-swap trigger, which generates a hot-swap signal. The NIC bandwidth configuration method also includes:

[0158] In response to the detection that the network card is in place, the first power supply and the second power supply are powered on.

[0159] In response to receiving a hot-plug signal, the bandwidth corresponding to the network card is configured according to the first signal and the second signal.

[0160] Furthermore, after configuring the bandwidth corresponding to the network card based on the first signal and the second signal, it also includes:

[0161] Enable the network card and control the second indicator light to flash until the network card is fully enabled;

[0162] The second indicator light is kept constantly lit to indicate that the network card is functioning normally.

[0163] Furthermore, network interface card (NIC) bandwidth configuration methods also include:

[0164] In response to the network card bandwidth configuration system connecting to the network card and receiving a hot-plug signal, the system controls the network card to power down.

[0165] In response to the network card completing its power-down, the network card is removed, and the first and second power supplies are powered down.

[0166] Furthermore, controlling the power-down of the network card includes:

[0167] Power off the first and second power supply ports;

[0168] Control the second indicator light to flash until the first power supply port and the second power supply port are powered off;

[0169] Upon power-down of both the first and second power supply ports, the second indicator light is turned off to indicate network card removal. Notification-based hot-plugging is supported in single x8, dual x8, and x16 bandwidth modes. The first processor and controller transmit hot-plug information via the VPP bus, as do the second processor and controller. Since the VPP bus contains hot-plug information for all PCIe devices of the CPU, it is necessary to set the VPP address for different bandwidth modes to ensure correct transmission of hot-plug information under normal bandwidth conditions. The CPU and controller can identify the currently supported network card bandwidth status through the FM_OCP_CABLE_PRSNT_N and FM_OCP_CPU_ADDRESS_N level states. Both parties set the VPP address for transmitting hot-plug information according to Table 2.

[0170] Table 2 VPP Address Allocation Table for Different Bandwidths

[0171] To perform a hot-plug notification for a network interface card (NIC), the user needs to press the hot-plug trigger. The controller detects this by sending the FM_OCP_ATTEN_HP_BTN_N signal. Based on the currently supported bandwidth, the controller then transmits the hot-plug request for the corresponding VPP address to the CPU via the VPP bus. Upon receiving this information, the CPU recognizes the NIC requesting a hot-plug operation and performs the necessary unloading and shutdown actions. After unloading, the CPU notifies the controller to power down the NIC via the VPP bus. In a dual-x8 bandwidth configuration, the controller monitors the power-down notifications from both the first and second processors. Only after receiving power-down notifications from both CPUs will the controller perform the subsequent power-down operation. The controller will control the FM_OCP_PERST_N, MAIN_PWR_EN, and AUX_PWR_EN signals according to a timing sequence to power down the network card. During power-down, the CPU will notify the controller via the VPP bus to continuously pull the FM_OCP_PWR_LED_N signal high and low, causing the second indicator light to flash until the power-down operation is complete, at which point the second indicator light will be off. At this time, the user can remove the network card. The controller will detect the removal via the FM_OCP_PRST_N signal and will pull the FM_P12V_OCP_EN and FM_P3V3_OCP_EN signals low to power down P12V_OCP_STBY and P3V3_OCP_STBY. If any fault occurs during hot-plugging, such as network card unloading failure or timeout, the CPU will notify the controller via the VPP bus to pull the FM_OCP_ATTEN_LED_N signal low to illuminate the first indicator light, informing the user that an abnormality has occurred during the hot-plugging process.

[0172] To perform a hot-plug notification for a network interface card (NIC), the user must first insert the NIC into the NIC connector. The controller detects the NIC's presence via the FM_OCP_PRSNT_N signal and raises the FM_P12V_OCP_EN and FM_P3V3_OCP_EN signals to power on P12V_OCP_STBY and P3V3_OCP_STBY. The user then presses the hot-plug trigger to notify the controller of the NIC hot-plug request. The controller sets the corresponding VPP address based on the currently supported bandwidth and transmits the hot-plug request to the CPU via the VPP bus. The CPU performs the necessary hot-plug preparations and then notifies the controller to power on the NIC via the VPP bus. In a dual x8 bandwidth configuration, the controller monitors the power-on notifications from both the first and second processors. Only after receiving power-on notifications from both CPUs will the controller perform the subsequent power-on operation. The controller will control the NIC according to the timing requirements. The M_OCP_PERST_N, MAIN_PWR_EN, and AUX_PWR_EN signals enable the network card device. During this period, the CPU will continuously pull the FM_OCP_PWR_LED_N signal high and low through the VPP bus to make the second indicator light flash until the network card is enabled, at which point the second indicator light will remain on. If any fault occurs during hot-plugging, such as network card unplugging failure or timeout, the CPU will notify the controller through the VPP bus to pull the FM_OCP_ATTEN_LED_N signal low to light up the first indicator light, informing the user that an abnormality has occurred during the hot-plugging process.

[0173] It should be understood that although the steps in the flowchart of Figure 1 are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some of the steps in Figure 1 may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the sub-steps or stages of other steps.

[0174] In some embodiments, as shown in FIG3, the network interface card bandwidth configuration device includes:

[0175] The signal acquisition module is used to acquire a first signal and a second signal in response to the first connector completing the connection setup, wherein the first signal and the second signal are used to indicate the connection status of the first connector;

[0176] The status acquisition module is used to determine the connection status of the first connector based on the first signal and the second signal;

[0177] The bandwidth configuration module is used to configure the network card bandwidth configuration system's adaptive bandwidth according to the connection status of the first connector.

[0178] For specific limitations regarding the network interface card (NIC) bandwidth configuration device described above, please refer to the limitations regarding the NIC bandwidth configuration method above; they will not be repeated here. Each module in the aforementioned NIC bandwidth configuration device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in hardware or independently of the processor in the computer device, or stored in software in the memory of the computer device, so that the processor can call and execute the operations corresponding to each module.

[0179] In some embodiments, as shown in FIG4, a computer device includes a memory, a processor, and a network interface card (NIC) bandwidth configuration program stored in the memory and executable on the processor. When the processor executes the NIC bandwidth configuration program, it implements the NIC bandwidth configuration method described in the second aspect.

[0180] Specifically, S100: In response to the first connector completing the connection setup, a first signal and a second signal are acquired, wherein the first signal and the second signal are used to indicate the connection status of the first connector;

[0181] S200: Determine the connection status of the first connector based on the first signal and the second signal;

[0182] S300: Configure the network card bandwidth according to the connection status of the first connector and the system's adaptive bandwidth.

[0183] The first signal is the address signal, and the second signal is the presence signal.

[0184] Furthermore, the connection states include: the first connector 400 is disconnected from the second connector 500 and disconnected from the third connector 600, or the first connector 400 is connected to the second connector 500 and disconnected from the third connector 600, or the first connector 400 is disconnected from the second connector 500 and connected to the third connector 600.

[0185] S300: Based on the connection status of the first connector, configure the network card bandwidth and the system's adapted bandwidth, including:

[0186] In response to the first connector 400 being disconnected from the second connector 500 and the third connector 600, the network interface card bandwidth configuration system is configured to adapt to the first bandwidth.

[0187] In response to the first connector 400 being connected to the second connector 500 and disconnected from the third connector 600, the network interface card bandwidth configuration system is configured to adapt to the second bandwidth.

[0188] In response to the first connector 400 disconnecting from the second connector 500 and connecting to the third connector 600, the network interface card configuration system is configured to adapt to the two first bandwidths.

[0189] Furthermore, the network interface card (NIC) bandwidth configuration system also includes a hot-swap trigger, which generates a hot-swap signal. The NIC bandwidth configuration method also includes:

[0190] In response to the detection that the network card is in place, the first power supply and the second power supply are powered on.

[0191] In response to receiving a hot-plug signal, the bandwidth corresponding to the network card is configured according to the first signal and the second signal.

[0192] Furthermore, after configuring the bandwidth corresponding to the network card based on the first signal and the second signal, it also includes:

[0193] Enable the network card and control the second indicator light to flash until the network card is fully enabled;

[0194] The second indicator light is kept constantly lit to indicate that the network card is functioning normally.

[0195] Furthermore, network interface card (NIC) bandwidth configuration methods also include:

[0196] In response to the network card bandwidth configuration system connecting to the network card and receiving a hot-plug signal, the system controls the network card to power down.

[0197] In response to the network card completing its power-down, the network card is removed, and the first and second power supplies are powered down.

[0198] Furthermore, controlling the power-down of the network card includes:

[0199] Power off the first and second power supply ports;

[0200] Control the second indicator light to flash until the first power supply port and the second power supply port are powered off;

[0201] In response to the completion of power-off at both the first and second power ports, the second indicator light is turned off to indicate the removal of the network card.

[0202] In some embodiments, a non-volatile computer-readable storage medium stores a network interface card (NIC) bandwidth configuration program thereon. When the NIC bandwidth configuration program is executed by a processor, it implements the NIC bandwidth configuration method described above. Specifically,

[0203] S100: In response to the first connector completing the connection setup, a first signal and a second signal are acquired, wherein the first signal and the second signal are used to indicate the connection status of the first connector;

[0204] S200: Determine the connection status of the first connector based on the first signal and the second signal;

[0205] S300: Configure the network card bandwidth according to the connection status of the first connector and the system's adaptive bandwidth.

[0206] The first signal is the address signal, and the second signal is the presence signal.

[0207] Furthermore, the connection states include: the first connector 400 is disconnected from the second connector 500 and disconnected from the third connector 600, or the first connector 400 is connected to the second connector 500 and disconnected from the third connector 600, or the first connector 400 is disconnected from the second connector 500 and connected to the third connector 600.

[0208] S300: Based on the connection status of the first connector, configure the network card bandwidth and the system's adapted bandwidth, including:

[0209] In response to the first connector 400 being disconnected from the second connector 500 and the third connector 600, the network interface card bandwidth configuration system is configured to adapt to the first bandwidth.

[0210] In response to the first connector 400 being connected to the second connector 500 and disconnected from the third connector 600, the network interface card bandwidth configuration system is configured to adapt to the second bandwidth.

[0211] In response to the first connector 400 disconnecting from the second connector 500 and connecting to the third connector 600, the network interface card configuration system is configured to adapt to the two first bandwidths.

[0212] Furthermore, the network interface card (NIC) bandwidth configuration system also includes a hot-swap trigger, which generates a hot-swap signal. The NIC bandwidth configuration method also includes:

[0213] In response to the detection that the network card is in place, the first power supply and the second power supply are powered on.

[0214] In response to receiving a hot-plug signal, the bandwidth corresponding to the network card is configured according to the first signal and the second signal.

[0215] Furthermore, after configuring the bandwidth corresponding to the network card based on the first signal and the second signal, it also includes:

[0216] Enable the network card and control the second indicator light to flash until the network card is fully enabled;

[0217] The second indicator light is kept constantly lit to indicate that the network card is functioning normally.

[0218] Furthermore, network interface card (NIC) bandwidth configuration methods also include:

[0219] In response to the network card bandwidth configuration system connecting to the network card and receiving a hot-plug signal, the system controls the network card to power down.

[0220] In response to the network card completing its power-down, the network card is removed, and the first and second power supplies are powered down.

[0221] Furthermore, controlling the power-down of the network card includes:

[0222] Power off the first and second power supply ports;

[0223] Control the second indicator light to flash until the first power supply port and the second power supply port are powered off;

[0224] In response to the completion of power-off at both the first and second power ports, the second indicator light is turned off to indicate the removal of the network card.

[0225] In some embodiments, a non-volatile computer-readable storage medium stores a network interface card (NIC) bandwidth configuration program thereon. When the NIC bandwidth configuration program is executed by a processor, it implements the NIC bandwidth configuration method described above.

[0226] Specifically, if the first connector 400 is disconnected from the second connector 500 and connected to the third connector 600, the network card configuration system is configured to adapt to the two first bandwidths.

[0227] Furthermore, the network interface card (NIC) bandwidth configuration system also includes a hot-swap trigger, which generates a hot-swap signal. The NIC bandwidth configuration method also includes:

[0228] In response to the detection that the network card is in place, the first power supply and the second power supply are powered on.

[0229] In response to receiving a hot-plug signal, the bandwidth corresponding to the network card is configured according to the first signal and the second signal.

[0230] Furthermore, after configuring the bandwidth corresponding to the network card based on the first signal and the second signal, it also includes:

[0231] Enable the network card and control the second indicator light to flash until the network card is fully enabled;

[0232] The second indicator light is kept constantly lit to indicate that the network card is functioning normally.

[0233] Furthermore, network interface card (NIC) bandwidth configuration methods also include:

[0234] In response to the network card bandwidth configuration system connecting to the network card and receiving a hot-plug signal, the system controls the network card to power down.

[0235] In response to the network card completing its power-down, the network card is removed, and the first and second power supplies are powered down.

[0236] Furthermore, controlling the power-down of the network card includes:

[0237] Power off the first and second power supply ports;

[0238] Control the second indicator light to flash until the first power supply port and the second power supply port are powered off;

[0239] In response to the completion of power-off at both the first and second power ports, the second indicator light is turned off to indicate the removal of the network card.

[0240] In some embodiments, a computer-readable instruction product includes computer-readable instructions that, when executed by a processor, implement the network interface card (NIC) bandwidth configuration method described in the second aspect. Specifically, this includes: disconnecting the first connector 400 from the second connector 500 and connecting it to the third connector 600, thereby configuring the NIC configuration system to adapt to both first bandwidths.

[0241] Furthermore, the network interface card (NIC) bandwidth configuration system also includes a hot-swap trigger, which generates a hot-swap signal. The method further includes:

[0242] In response to the detection that the network card is in place, the first power supply and the second power supply are powered on.

[0243] In response to receiving a hot-plug signal, the bandwidth corresponding to the network card is configured according to the first signal and the second signal.

[0244] Furthermore, after configuring the bandwidth corresponding to the network card based on the first signal and the second signal, it also includes:

[0245] Enable the network card and control the second indicator light to flash until the network card is fully enabled;

[0246] The second indicator light is kept constantly lit to indicate that the network card is functioning normally.

[0247] Furthermore, network interface card (NIC) bandwidth configuration methods also include:

[0248] In response to the network card bandwidth configuration system connecting to the network card and receiving a hot-plug signal, the system controls the network card to power down.

[0249] In response to the network card completing its power-down, the network card is removed, and the first and second power supplies are powered down.

[0250] Furthermore, controlling the power-down of the network card includes:

[0251] Power off the first and second power supply ports;

[0252] Control the second indicator light to flash until the first power supply port and the second power supply port are powered off;

[0253] In response to the completion of power-off at both the first and second power ports, the second indicator light is turned off to indicate the removal of the network card.

[0254] In some embodiments, a computer-readable instruction product is provided, including computer-readable instructions that, when executed by a processor, implement the network interface card bandwidth configuration method described in the second aspect. Specifically, it includes:

[0255] S100: In response to the first connector completing the connection setup, a first signal and a second signal are acquired, wherein the first signal and the second signal are used to indicate the connection status of the first connector;

[0256] S200: Determine the connection status of the first connector based on the first signal and the second signal;

[0257] S300: Configure the network card bandwidth according to the connection status of the first connector and the system's adaptive bandwidth.

[0258] The first signal is the address signal, and the second signal is the presence signal.

[0259] Furthermore, the connection states include: the first connector 400 is disconnected from the second connector 500 and disconnected from the third connector 600, or the first connector 400 is connected to the second connector 500 and disconnected from the third connector 600, or the first connector 400 is disconnected from the second connector 500 and connected to the third connector 600.

[0260] S300: Based on the connection status of the first connector, configure the network card bandwidth and the system's adapted bandwidth, including:

[0261] In response to the first connector 400 being disconnected from the second connector 500 and the third connector 600, the network interface card bandwidth configuration system is configured to adapt to the first bandwidth.

[0262] In response to the first connector 400 being connected to the second connector 500 and disconnected from the third connector 600, the network interface card bandwidth configuration system is configured to adapt to the second bandwidth.

[0263] In response to the first connector 400 disconnecting from the second connector 500 and connecting to the third connector 600, the network interface card configuration system is configured to adapt to the two first bandwidths.

[0264] Furthermore, the network interface card (NIC) bandwidth configuration system also includes a hot-swap trigger, which generates a hot-swap signal. The NIC bandwidth configuration method also includes:

[0265] In response to the detection that the network card is in place, the first power supply and the second power supply are powered on.

[0266] In response to receiving a hot-plug signal, the bandwidth corresponding to the network card is configured according to the first signal and the second signal.

[0267] Furthermore, after configuring the bandwidth corresponding to the network card based on the first signal and the second signal, it also includes:

[0268] Enable the network card and control the second indicator light to flash until the network card is fully enabled;

[0269] The second indicator light is kept constantly lit to indicate that the network card is functioning normally.

[0270] Furthermore, network interface card (NIC) bandwidth configuration methods also include:

[0271] In response to the network card bandwidth configuration system connecting to the network card and receiving a hot-plug signal, the system controls the network card to power down.

[0272] In response to the network card completing its power-down, the network card is removed, and the first and second power supplies are powered down.

[0273] Furthermore, controlling the power-down of the network card includes:

[0274] Power off the first and second power supply ports;

[0275] Control the second indicator light to flash until the first power supply port and the second power supply port are powered off;

[0276] In response to the completion of power-off at both the first and second power ports, the second indicator light is turned off to indicate the removal of the network card.

[0277] In some embodiments, a computer-readable storage medium stores a network interface card (NIC) bandwidth configuration program thereon, which, when executed by a processor, implements the NIC bandwidth configuration method described above.

[0278] Specifically, if the first connector 400 is disconnected from the second connector 500 and connected to the third connector 600, the network card configuration system is configured to adapt to the two first bandwidths.

[0279] Furthermore, the network interface card (NIC) bandwidth configuration system also includes a hot-swap trigger, which generates a hot-swap signal. The NIC bandwidth configuration method also includes:

[0280] In response to the detection that the network card is in place, the first power supply and the second power supply are powered on.

[0281] In response to receiving a hot-plug signal, the bandwidth corresponding to the network card is configured according to the first signal and the second signal.

[0282] Furthermore, after configuring the bandwidth corresponding to the network card based on the first signal and the second signal, it also includes:

[0283] Enable the network card and control the second indicator light to flash until the network card is fully enabled;

[0284] The second indicator light is kept constantly lit to indicate that the network card is functioning normally.

[0285] Furthermore, network interface card (NIC) bandwidth configuration methods also include:

[0286] In response to the network card bandwidth configuration system connecting to the network card and receiving a hot-plug signal, the system controls the network card to power down.

[0287] In response to the network card completing its power-down, the network card is removed, and the first and second power supplies are powered down.

[0288] Furthermore, controlling the power-down of the network card includes:

[0289] Power off the first and second power supply ports;

[0290] Control the second indicator light to flash until the first power supply port and the second power supply port are powered off;

[0291] In response to the completion of power-off at both the first and second power ports, the second indicator light is turned off to indicate the removal of the network card.

[0292] In some embodiments, a computer-readable instruction product includes computer-readable instructions that, when executed by a processor, implement the network interface card (NIC) bandwidth configuration method described in the second aspect. Specifically, this includes: disconnecting the first connector 400 from the second connector 500 and connecting it to the third connector 600, thereby configuring the NIC configuration system to adapt to both first bandwidths.

[0293] Furthermore, the network interface card (NIC) bandwidth configuration system also includes a hot-swap trigger, which generates a hot-swap signal. The NIC bandwidth configuration method also includes:

[0294] In response to the detection that the network card is in place, the first power supply and the second power supply are powered on.

[0295] In response to receiving a hot-plug signal, the bandwidth corresponding to the network card is configured according to the first signal and the second signal.

[0296] Furthermore, after configuring the bandwidth corresponding to the network card based on the first signal and the second signal, it also includes:

[0297] Enable the network card and control the second indicator light to flash until the network card is fully enabled;

[0298] The second indicator light is kept constantly lit to indicate that the network card is functioning normally.

[0299] Furthermore, network interface card (NIC) bandwidth configuration methods also include:

[0300] In response to the network card bandwidth configuration system connecting to the network card and receiving a hot-plug signal, the system controls the network card to power down.

[0301] In response to the network card completing its power-down, the network card is removed, and the first and second power supplies are powered down.

[0302] Furthermore, controlling the power-down of the network card includes:

[0303] Power off the first and second power supply ports;

[0304] Control the second indicator light to flash until the first power supply port and the second power supply port are powered off;

[0305] In response to the completion of power-off at both the first and second power ports, the second indicator light is turned off to indicate the removal of the network card.

[0306] The beneficial effects of the technical solution provided in this application are as follows: by implementing the network card bandwidth configuration system described in this application, the connection between the first connector and the second or third connector can be flexibly adjusted to configure the bandwidth for the corresponding network card; by implementing the network card bandwidth configuration method based on the network card bandwidth configuration system, the bandwidth adapted to the network card can be configured; a network card hot-swap mechanism is provided to realize the hot-swap of the network card and to indicate the connection status of the network card.

[0307] All of the above-mentioned optional technical solutions can be combined in any way to form the optional embodiments of this application, and will not be described in detail here.

[0308] Specifically, according to embodiments of this application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this application include a computer-readable instruction product comprising computer-readable instructions loaded on a computer-readable medium, the computer-readable instructions containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer-readable instructions can be downloaded and installed from a network via a communication device, or installed from memory, or installed from ROM. When the computer-readable instructions are executed by an external processor, the functions defined in the methods of embodiments of this application are performed.

[0309] It should be noted that the computer-readable medium in the embodiments of this application can be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two. A computer-readable storage medium can be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In the embodiments of this application, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In the embodiments of this application, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium can be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to: wires, optical fibers, RF (Radio Frequency), etc., or any suitable combination thereof.

[0310] The aforementioned computer-readable medium may be included in the aforementioned server; or it may exist independently and not assembled into the server. The aforementioned computer-readable medium carries one or more programs that, when executed by the server, cause the server to: in response to detecting that the peripheral mode of the terminal is not activated, acquire the frame rate of the application on the terminal; when the frame rate meets the screen-off condition, determine whether the user is acquiring the terminal's screen information; and in response to the determination that the user is not acquiring the terminal's screen information, control the screen to enter an immediate dimming mode.

[0311] Computer-readable instruction code for performing the operations of embodiments of this application can be written in one or more programming languages ​​or a combination thereof. Programming languages ​​include object-oriented programming languages—such as Java, Smalltalk, and C++—and conventional procedural programming languages—such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0312] The various embodiments in this specification are described in a progressive manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, for system or system embodiments, since they are basically similar to method embodiments, the description is relatively simple, and relevant parts can be referred to the descriptions in the method embodiments. The systems and system embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without creative effort.

[0313] The technical solutions provided in this application have been described in detail above. Specific examples have been used to illustrate the principles and implementation methods of this application. The descriptions of the above embodiments are only for the purpose of helping to understand the methods and core ideas of this application. Furthermore, those skilled in the art will recognize that, based on the ideas of this application, there will be changes in the specific implementation methods and application scope. Therefore, the content of this specification should not be construed as a limitation of this application.

[0314] The above are merely preferred embodiments of this application and are not intended to limit this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.

Claims

1. A network interface card (NIC) bandwidth configuration system, characterized in that, include: The system comprises a first processor, a second processor, a network card connector, a first connector, a second connector, a third connector, and an input / output expander. The first processor has a first bus port, and the first bus port has at least one first low-order port and at least one first high-order port; The second processor has a second bus port, and the second bus port has at least one second low-order port; The at least one first low-order port is connected to the network card connector, the at least one first high-order port is connected to the second connector, the first connector is connected to the network card connector and the input / output expander, the input / output expander is connected to the first processor, and the at least one second low-order port is connected to the third connector. The network interface card (NIC) bandwidth configuration system is configured to adapt to a first bandwidth in response to the first connector disconnecting from the second connector and the third connector. In response to the first connector connecting to the second connector and disconnecting from the third connector, the network interface card bandwidth configuration system adapts to the second bandwidth; and In response to the first connector disconnecting from the second connector and connecting to the third connector, the network interface card bandwidth configuration system adapts to two first bandwidths.

2. The network interface card bandwidth configuration system according to claim 1, characterized in that, The first connector has a first address port and a first in-situ port, the second connector has a second address port and a second in-situ port, and the third connector has a third in-situ port; The first address port is connected to the input / output expander, and the first in-place port is connected to the input / output expander.

3. The network interface card bandwidth configuration system according to claim 2, characterized in that, The network interface card bandwidth configuration system also includes a first resistor and a second resistor; One end of the first resistor is electrically connected to the first address port, and the other end of the first resistor is connected to the first power supply. One end of the second resistor is electrically connected to the first in-situ port, and the other end of the second resistor is connected to the first power supply. The second address port and the second in-place port are grounded; and The third in-situ port is grounded.

4. The network interface card bandwidth configuration system according to claim 1, characterized in that, The network interface card bandwidth configuration system also includes: a controller; The controller has: a first power supply port, a second power supply port, and a power supply indication port; and The first power supply port, the second power supply port, and the power supply indicator port are all connected to the network card connector.

5. The network interface card bandwidth configuration system according to claim 4, characterized in that, The network card bandwidth configuration system also includes a first electronic fuse and a second electronic fuse; The network card connector also has: a first power port and a second power port; One end of the first electronic fuse is electrically connected to the first power port, and the other end of the first electronic fuse is connected to the first power source. and One end of the second electronic fuse is electrically connected to the second power port, and the other end of the second electronic fuse is connected to the second power source.

6. The network interface card bandwidth configuration system according to claim 5, characterized in that, The controller also has a first electronic fuse enable port and a second electronic fuse enable port; The first electronic fuse enable port is connected to the first electronic fuse and is used to control the first electronic fuse to turn on or off. and The enable port of the second electronic fuse is connected to the second electronic fuse and is used to control the conduction or deactivation of the associated second electronic fuse.

7. The network interface card bandwidth configuration system according to claim 4, characterized in that, The system also includes: a first buffer, a second buffer, and an AND gate; The first buffer is connected to the controller and the network card connector; and The second buffer is connected to the network card connector and the input of the AND gate, and the output of the AND gate is electrically connected to the controller.

8. The network interface card bandwidth configuration system according to claim 4, characterized in that, The controller also has a first virtual address port and a second virtual address port; The first virtual address port is connected to the first processor; and The second virtual address port is connected to the second processor.

9. The network interface card bandwidth configuration system according to claim 4, characterized in that, The controller also has a hot-swappable signal port, a first indicator port, and a second indicator port; The network interface card bandwidth configuration system also includes: a hot-swap trigger, a first indicator light, and a second indicator light; The hot-swap trigger is electrically connected to the hot-swap signal port; The first indicator light is electrically connected to the first indicator port; and The second indicator light is electrically connected to the second indicator port.

10. The network interface card bandwidth configuration system according to claim 4, characterized in that, The network card connector also has at least one bandwidth allocation port; The at least one bandwidth allocation port is grounded.

11. The network interface card bandwidth configuration system according to claims 1-10, characterized in that, The network interface card bandwidth configuration system also includes a fourth connector; The second processor also has at least one second high-order port; and The at least one second high-bit port is connected to the fourth connector.

12. A method for configuring network interface card (NIC) bandwidth, characterized in that, The method is applied to the network interface card bandwidth configuration system according to any one of claims 1-11, and the method includes: In response to the first connector completing the connection setup, a first signal and a second signal are acquired, wherein the first signal and the second signal are used to indicate the connection status of the first connector; Based on the first signal and the second signal, the connection status of the first connector is determined; and Configure the network card bandwidth configuration system to adapt to the connection status of the first connector.

13. The network interface card bandwidth configuration method according to claim 12, characterized in that, The connection states include: the first connector is disconnected from the second connector and disconnected from the third connector, or the first connector is connected to the second connector and disconnected from the third connector, or the first connector is disconnected from the second connector and connected to the third connector; The step of configuring the network card bandwidth configuration system's adaptation bandwidth according to the connection status of the first connector includes: In response to the first connector being disconnected from the second connector and the third connector, the network interface card bandwidth configuration system is configured to adapt to the first bandwidth. In response to the first connector connecting to the second connector and disconnecting from the third connector, the network interface card bandwidth configuration system is configured to adapt to the second bandwidth; and In response to the first connector disconnecting from the second connector and connecting to the third connector, the network interface card configuration system is configured to adapt to two first bandwidths.

14. The network interface card bandwidth configuration method according to claim 12, characterized in that, The network interface card bandwidth configuration system further includes a hot-swap trigger, which triggers the hot-swap trigger to generate a hot-swap signal. The method further includes: In response to the detection that the network card is in place, the first power supply and the second power supply are powered on; and In response to receiving a hot-plug signal, the bandwidth corresponding to the network card is configured according to the first signal and the second signal.

15. The network interface card bandwidth configuration method according to claim 14, characterized in that, After configuring the bandwidth corresponding to the network card according to the first signal and the second signal, the method further includes: Enable the network card and control the second indicator light to flash until the network card is fully enabled; and The second indicator light is kept constantly lit to indicate that the network card is functioning normally.

16. The network interface card bandwidth configuration method according to claim 12, characterized in that, The method further includes: In response to the network card bandwidth configuration system connecting to the network card and receiving a hot-plug signal, the system controls the network card to power down; and In response to the network card completing its power-down, the network card is removed, and the first power supply and the second power supply are powered down.

17. The network interface card bandwidth configuration method according to claim 16, characterized in that, The control of powering down the network card includes: Power off the first and second power supply ports; Control the second indicator light to flash until both the first and second power supply ports are powered off; and In response to the completion of power-down of the first power supply port and the second power supply port, the second indicator light is turned off to indicate the removal of the network card.

18. A computer device, characterized in that, The device includes a memory, a processor, and a network interface card (NIC) bandwidth configuration program stored in the memory and executable on the processor. When the processor executes the NIC bandwidth configuration program, it implements the NIC bandwidth configuration method according to any one of claims 12 to 17.

19. A non-volatile computer-readable storage medium, characterized in that, It stores a network card bandwidth configuration program, which, when executed by the processor, implements the network card bandwidth configuration method according to any one of claims 12 to 17.

20. A computationally readable instruction product, comprising computationally readable instructions, characterized in that, When the computer-readable instructions are executed by a processor, the network interface card bandwidth configuration method according to any one of claims 12 to 17.

Citation Information

Patent Citations

  • A network card bandwidth configuration system, method, device, storage medium and program product

    CN119109792B