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

By designing a system that flexibly configures network card bandwidth, the problem of difficulty in compatible network cards with different bandwidths in the prior art is solved, and the network card bandwidth is flexibly adjusted without replacing the motherboard, reducing the transformation cost, and supporting hot plugging and status indication of network cards.

CN119109792BActive Publication Date: 2025-03-28INSPUR SUZHOU INTELLIGENT TECH CO LTD

Patent Information

Application Number
CN202411534657.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-10-31
Publication Date
2025-03-28
Estimated Expiration
2044-10-31

AI Technical Summary

Technical Problem

The existing technology is difficult to compatible with and adapt to open computing project network cards with different bandwidths on the same motherboard, resulting in the need to replace the motherboard or perform complex hardware transformation when replacing the bandwidth configuration, which increases the transformation cost.

Method used

A network card bandwidth configuration system is designed to flexibly configure the bandwidth of the network card by adjusting the connection between the first connector and the second connector or the third connector. The system includes components such as input and output extenders, controllers, electronic fuses and indicators. By detecting connection status and hot-swap signals, the adaptive bandwidth is automatically configured.

Benefits of technology

It realizes flexible adjustment of network card bandwidth without replacing the motherboard, reduces the transformation cost, and supports hot plugging and status indication of network card.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119109792B_ABST
    Figure CN119109792B_ABST
Patent Text Reader

Abstract

The present application discloses a network card bandwidth configuration system, method, device, storage medium and program product, and relates to the field of server technology. The network card bandwidth configuration system is configured as follows: in response to the first connector being disconnected from the second connector and disconnected from the third connector, the network card bandwidth configuration system adapts the first bandwidth; in response to the first connector being connected to the second connector and disconnected from the third connector, the network card bandwidth configuration system adapts the second bandwidth; in response to the first connector being disconnected from the second connector and connected to the third connector, the network card bandwidth configuration system adapts the two first bandwidths. By implementing the network card bandwidth configuration system described in the embodiment of the present application, it is possible to flexibly adjust the connection between the first connector and the second connector or the third connector, and perform bandwidth configuration for the corresponding network card.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of server technology, and in particular to a network card bandwidth configuration system, method, device, storage medium and program product. Background Art

[0002] The Open Compute Project (OCP) network card is a high-performance network interface device that is widely used in data centers with high network performance requirements. The OCP network card supports a single first bandwidth or two first bandwidths or second bandwidths, but the hardware environment configured for the corresponding bandwidth is different. Usually, when designing a motherboard, the hardware environment is only designed for the OCP network card with a single bandwidth configuration. The fixed hardware design cannot flexibly adapt to the OCP network cards with different bandwidth requirements; and the OCP network cards with different bandwidths also have differences in the required number of PCIe signals, interface pin definitions, etc. Therefore, it is difficult to achieve compatibility and adaptation of OCP network cards with multiple different bandwidths on the same motherboard. This leads to the fact that in actual applications, if the bandwidth configuration of the OCP network card needs to be changed, the motherboard must be replaced or complex hardware modifications must be performed, which will further increase the modification cost. Summary of the invention

[0003] In order to solve the problem of inflexible bandwidth configuration of the open computing project network card, this application provides the following technical solutions:

[0004] In a first aspect, a network card bandwidth configuration system is provided, comprising:

[0005] A first processor, a second processor, a network card connector, a first connector, a second connector, a third connector, and an input-output expander;

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

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

[0008] 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;

[0009] The network card bandwidth configuration system is configured to: in response to the first connector being disconnected from the second connector and disconnected from the third connector, the network card bandwidth configuration system adapts the first bandwidth;

[0010] In response to the first connector being connected to the second connector and disconnected from the third connector, the network card bandwidth configuration system adapts the second bandwidth;

[0011] In response to the first connector being disconnected from the second connector and connected to the third connector, the network card bandwidth configuration system adapts the two first bandwidths.

[0012] Further, the first connector has a first address port and a first presence port, the second connector has a second address port and a second presence port, and the third connector has a third presence port;

[0013] The first address port is connected to the input-output expander, and the first in-position port is connected to the input-output expander.

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

[0015] 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;

[0016] One end of the second resistor is electrically connected to the first in-position port, and the other end of the second resistor is connected to the first power supply;

[0017] The second address port and the second presence port are grounded;

[0018] The third in-position port is grounded.

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

[0020] The controller has: a first power supply port, a second power supply port and a power supply indication port;

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

[0022] Further, the network card bandwidth configuration system also includes a first electronic fuse and a second electronic fuse;

[0023] The network card connector also has: a first power port and a second power port;

[0024] 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 supply;

[0025] 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 supply.

[0026] Further, the controller also has a first electronic fuse enabling port and a second electronic fuse enabling port;

[0027] The first electronic fuse enabling port is connected to the first electronic fuse and is used to control the first electronic fuse to be turned on or off;

[0028] The second electronic fuse enabling port is connected to the second electronic fuse and is used to control the conduction or disconnection of the second electronic fuse.

[0029] Furthermore, the system also includes: a first buffer, a second buffer and an AND gate;

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

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

[0032] Further, the controller also has a first virtual address port and a second virtual address port;

[0033] A first virtual address port is connected to the first processor;

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

[0035] Furthermore, the controller also has a hot-swap signal port, a first indication port and a second indication port;

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

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

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

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

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

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

[0042] Further, the network card bandwidth configuration system also includes a fourth connector;

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

[0044] At least one second high position port is connected to the fourth connector.

[0045] In a second aspect, a network card bandwidth configuration method is provided, the method is applied to the network card bandwidth configuration system recorded in the first aspect, and the method includes:

[0046] In response to the first connector completing the connection setting, acquiring a first signal and a second signal, wherein the first signal and the second signal are used to indicate the connection state of the first connector;

[0047] Determine a connection state of the first connector according to the first signal and the second signal;

[0048] According to the connection state of the first connector, the adaptation bandwidth of the network card bandwidth configuration system is configured.

[0049] Further, the connection state includes: 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;

[0050] Configuring the adaptation bandwidth of the network card bandwidth configuration system according to the connection state of the first connector includes:

[0051] In response to the first connector being disconnected from the second connector and disconnected from the third connector, configuring the network card bandwidth configuration system to adapt the first bandwidth;

[0052] In response to the first connector being connected to the second connector and disconnected from the third connector, configuring the network card bandwidth configuration system to adapt the second bandwidth;

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

[0054] Furthermore, the network card bandwidth configuration system further includes a hot plug trigger, which triggers the hot plug trigger to generate a hot plug signal, and the method further includes:

[0055] In response to detecting that the network card is in place, controlling the first power supply and the second power supply to power on;

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

[0057] Further, after configuring the bandwidth corresponding to the network card according to the first signal and the second signal, the method further includes:

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

[0059] Control the second indicator light to be always on to indicate that the network card is functioning normally.

[0060] Furthermore, the method further comprises:

[0061] In response to the network card bandwidth configuration system connecting to the network card and obtaining a hot plug signal, the network card is controlled to be powered off;

[0062] In response to the network card being powered off, the network card is removed, and the first power supply and the second power supply are controlled to be powered off.

[0063] Furthermore, controlling the power-off of the network card includes:

[0064] Controlling the first power supply port and the second power supply port to power off;

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

[0066] In response to the first power supply port and the second power supply port being powered off, the second indicator light is turned off to indicate that the network card is removed.

[0067] In a third aspect, a network card bandwidth configuration device is provided, comprising:

[0068] A signal acquisition module, configured to acquire a first signal and a second signal in response to the first connector completing the connection setting, wherein the first signal and the second signal are used to indicate the connection state of the first connector;

[0069] A state acquisition module, used to determine a connection state of the first connector according to the first signal and the second signal;

[0070] The bandwidth configuration module is used to configure the adaptation bandwidth of the network card bandwidth configuration system according to the connection state of the first connector.

[0071] In a fourth aspect, a computer device is provided, comprising a memory, a processor, and a network card bandwidth configuration program stored in the memory and executable on the processor. When the processor executes the network card bandwidth configuration program, the network card bandwidth configuration method described in the second aspect is implemented.

[0072] In a fifth aspect, a computer-readable storage medium is provided, on which a network card bandwidth configuration program is stored. When the network card bandwidth configuration program is executed by a processor, the network card bandwidth configuration method recorded in the second aspect is implemented.

[0073] In a sixth aspect, a computer program product is provided, including a computer program, which, when executed by a processor, implements the network card bandwidth configuration method recorded in the second aspect.

[0074] The beneficial effect of the technical solution provided by the embodiment of the present application is: by implementing the network card bandwidth configuration system recorded in the embodiment of the present application, the connection between the first connector and the second connector or the third connector can be flexibly adjusted to configure the bandwidth for the corresponding network card. BRIEF DESCRIPTION OF THE DRAWINGS

[0075] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0076] Figure 1 is a schematic diagram of a network card bandwidth configuration system provided in an embodiment of the present application;

[0077] Figure 2 It is a schematic diagram of a network card bandwidth configuration method provided in an embodiment of the present application;

[0078] Figure 3 It is a schematic diagram of a network card bandwidth configuration device provided in an embodiment of the present application;

[0079] Figure 4 It is a schematic diagram of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0080] In order to make the purpose, technical solutions and advantages of this application clearer, the technical solutions in the implementation mode of this application will be clearly and completely described below in conjunction with the drawings in the implementation mode of this application. Obviously, the described implementation mode is only a part of the embodiments of this application, not all embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0081] Unless otherwise defined, the technical terms or scientific terms used in the present disclosure shall have the usual meanings understood by persons with ordinary skills in the field to which the present disclosure belongs. The words "first", "second" and similar words used in the present disclosure do not indicate any order, quantity or importance, but are only used to distinguish different components. Similarly, words such as "one", "one" or "the" do not indicate a quantity limitation, but indicate that there is at least one. The numbers in the drawings of the specification only indicate the distinction between various functional components or modules, and do not indicate the logical relationship between components or modules. Words such as "include" or "comprise" and similar words mean that the elements or objects appearing before the word include the elements or objects listed after the word and their equivalents, without excluding other elements or objects. Words such as "connect" or "connected" and similar words are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly.

[0082] Hereinafter, various embodiments according to the present disclosure will be described in detail with reference to the accompanying drawings. It should be noted that in the accompanying drawings, the same reference numerals are given to components having substantially the same or similar structures and functions, and repeated descriptions thereof will be omitted.

[0083] To address the problem of inflexible bandwidth configuration of the Open Compute Project network card, the present application provides the following embodiments.

[0084] In some embodiments, Figure 1 As shown, a network card bandwidth configuration system includes:

[0085] 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;

[0086] 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 ;

[0087] 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;

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

[0089] The network card bandwidth configuration system is configured to: in response to the first connector 400 being disconnected from the second connector 500 and disconnected from the third connector 600, the network card bandwidth configuration system adapts the first bandwidth;

[0090] In response to the first connector 400 being connected to the second connector 500 and being disconnected from the third connector 600, the network card bandwidth configuration system adapts the second bandwidth;

[0091] In response to the first connector 400 being disconnected from the second connector 500 and connected to the third connector 600 , the network card bandwidth configuration system adapts the two first bandwidths.

[0092] Preferably, the first bandwidth is x8 bandwidth, the second bandwidth is x16 bandwidth, and the two first bandwidths are double x8 bandwidth.

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

[0094] Preferably, the bus port is a PCIe (Peripheral Component Interconnect express, a high-speed serial computer bus) bus port. The low-order port is a port with a PCIe port number of [0:7], and the high-order port is a port with a PCIe port number of [8:15].

[0095] Typically, the first connector and the second connector or the third connector are interconnected via a high-speed cable.

[0096] Further, the first connector 400 has a first address port 401 and a first presence port 402, the second connector 500 has a second address port 501 and a second presence port 502, and the third connector 600 has a third presence port 602;

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

[0098] The levels of the first address port and the first presence port are used to indicate a connection state between the first connector and the second connector or the third connector.

[0099] Furthermore, the network card bandwidth configuration system further includes a first resistor R1 and a second resistor R2;

[0100] 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 source P1 ;

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

[0102] The second address port 501 and the second presence port 502 are grounded;

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

[0104] After the first connector and the second connector are connected through a cable, the first address port and the second address port are connected correspondingly, and the first in-position port and the second in-position port are connected correspondingly. After the first connector and the third connector are connected through a cable, the first address port and the third address port are connected correspondingly, and the first in-position port and the third in-position port are connected correspondingly.

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

[0106] After the first address port is connected to the second or third address port through a cable, the comment state of the first address port will be determined. After the first in-position port is connected to the second or third in-position port through a cable, the first in-position port will be determined to be high level; when the first address port is not connected to the second address port, the first address port is high level.

[0107] Correspondingly, after the first in-position port is connected to the third in-position port through the cable, it is determined that the first in-position port presents a low level; when the first address port is not connected to the second address port, the first address port presents a high level.

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

[0109] Furthermore, the network card bandwidth configuration system further includes: a controller 800;

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

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

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

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

[0114] 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 source P1 ;

[0115] 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 source P2 .

[0116] 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 in-place status, and hot-swapping the network card.

[0117] Optionally, the controller is a microcontroller unit (MCU).

[0118] Preferably, the controller is a complex programmable logic device (CPLD).

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

[0120] The first electronic fuse enabling 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;

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

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

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

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

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

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

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

[0128] Furthermore, the controller 800 also has a hot-swap signal port 806, a first indication port 807, and a second indication port 808;

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

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

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

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

[0133] The hot-swap trigger is used to generate a signal for preparing to hot-plug or hot-remove the network card. Optionally, the hot-swap trigger can be a key or a touch key.

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

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

[0136] Furthermore, the network card bandwidth configuration system further includes a fourth connector 1300;

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

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

[0139] Controller and network card connector circuit part: The controller controls the opening and closing of the second fuse and the first fuse through the FM_P12V_OCP_EN and FM_P3V3_OCP_EN signals, and then controls the power-on status of the connector P12V_OCP_STBY and P3V3_OCP_STBY; the controller is connected to the network card connector through the MAIN_PWR_EN and AUX_PWR_EN signals to control the power-on of the relevant power supply inside the network card, and is connected to the network card connector through the NIC_PWR_GOOD signal to monitor the power-on of the network card. The controller is connected to the buffer through the FM_OCP_PERST_N signal, and outputs the FM_PERST0 / 1 / 2 / 3_N signal to the network card connector to control the reset of the network card PCIe; the four in-place signals FM_PRSNTB0 / 1 / 2 / 3_N of the network card connector are isolated by the buffer and connected to the controller through the FM_OCP_PRSNT_N signal through the AND gate to monitor whether the network card is in place; the three bandwidth allocation pins FM_BIF0 / 1 / 2 of the network connector are directly grounded, so that the network card is in the default bandwidth allocation configuration.

[0140] Network card hot-swap circuit: The first processor and the second processor are connected to the controller through the VPP bus respectively to exchange relevant hot-swap information; the controller is connected to the physical hot-swap trigger through the FM_OCP_ATTEN_HP_BTN_N signal to monitor whether the user needs to perform notification hot-swap on the network card, and the controller controls the second indicator light state through the FM_OCP_PWR_LED_N signal to inform the user of the current power-on state of the network card. The controller controls the first indicator light state through the FM_OCP_ATTEN_LED_N signal to inform the user whether the current network card state is abnormal. The CPU expands the general input and output through the input and output expander, and monitors the high and low level states of FM_OCP_CABLE_PRSNT_N and FM_OCP_CPU_ADDRESS_N through GPIO to realize bandwidth allocation. The BIOS will read the level information of the input and output expander through the HOST_SMBUS bus in the POST stage, and complete the bandwidth allocation based on the level state. The bandwidth configuration method is given in Table 1. Expand GPIO through input and output expander, and monitor the high and low level status of FM_OCP_CABLE_PRSNT_N and FM_OCP_CPU_ADDRESS_N signals through GPIO to achieve bandwidth allocation. BIOS will read the level information of the input and output expander through the HOST_SMBUS bus during the POST stage, and complete bandwidth allocation based on the level status. The bandwidth allocation status reference table.

[0141] Table 1 The level status of the first address port and the first in-position port indicates the distribution of bandwidth

[0142]

[0143] The first processor's first x8[0:7] of the PCIe port is connected to the first x8 of the NIC connector. The first connector does not need to be connected to a cable. FM_OCP_CABLE_PRSNT_N and FM_OCP_CPU_ADDRESS_N remain high. BIOS In the POST stage, the first processor PCIe[0:7] will be configured as x8 with reference to Table 1. After the controller detects the presence of the network card through the FM_OCP_PRSNT_N signal, it enables the FM_P12V_OCP_EN and FM_P3V3_OCP_EN signals, controls P12V_OCP_STBY and P3V3_OCP_STBY to power on, and pushes 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 adapt to the x8 bandwidth network card. The second connector, the third connector, and the fourth connector can be led out through cables to support other PCIe devices.

[0144] Connect the first connector to the second connector through 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 through the MCIO connector and the cable. The second address port and the second in-position port of the second connector are respectively connected to the first address port and the first in-position port of the first connector, and FM_OCP_CABLE_PRSNT_N and FM_OCP_CPU_ADDRESS_N are pulled low; the BIOS will refer to Table 1 to configure PCIe[0:15] to x16 in the POST stage. After detecting that the network card is in place, the controller will enable the network card by pushing the relevant timing signals. The motherboard design can adapt to the x16 bandwidth network card. The third connector and the fourth connector can be led out through cables to support other PCIe devices.

[0145] The first connector is connected to the third connector through 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 the cable. The third address port and the third in-position port of the third connector are respectively connected to the first address port and the first in-position port of the first connector, and FM_OCP_CABLE_PRSNT_N is pulled low while FM_OCP_CPU_ADDRESS_N is kept high; 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 in the POST stage. After detecting that the network card is in place, the controller will enable the network card by pushing the relevant timing signals, and the motherboard design can adapt to dual x8 bandwidth network cards. The second connector and the third connector can be led out through cables to support other PCIe devices.

[0146] In other embodiments, a method for configuring network card bandwidth is provided, such as Figure 2 As shown, the method is applied to the network card bandwidth configuration system recorded in the first aspect, and the method includes:

[0147] S100: in response to the first connector completing the connection setting, obtaining a first signal and a second signal, wherein the first signal and the second signal are used to indicate the connection state of the first connector;

[0148] S200: Determine a connection state of the first connector according to the first signal and the second signal;

[0149] S300: configuring the adaptation bandwidth of the network card bandwidth configuration system according to the connection state of the first connector.

[0150] The first signal is an address signal, and the second signal is a presence signal.

[0151] Further, the connection state includes: 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;

[0152] S300: Configuring the adaptation bandwidth of the network card bandwidth configuration system according to the connection state of the first connector, including:

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

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

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

[0156] Furthermore, the network card bandwidth configuration system further includes a hot plug trigger, which triggers the hot plug trigger to generate a hot plug signal, and the method further includes:

[0157] In response to detecting that the network card is in place, controlling the first power supply and the second power supply to power on;

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

[0159] Further, after configuring the bandwidth corresponding to the network card according to the first signal and the second signal, the method further includes:

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

[0161] Control the second indicator light to be always on to indicate that the network card is functioning normally.

[0162] Furthermore, the method further comprises:

[0163] In response to the network card bandwidth configuration system connecting to the network card and obtaining a hot plug signal, the network card is controlled to be powered off;

[0164] In response to the network card being powered off, the network card is removed, and the first power supply and the second power supply are controlled to be powered off.

[0165] Furthermore, controlling the power-off of the network card includes:

[0166] Controlling the first power supply port and the second power supply port to power off;

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

[0168] In response to the first power supply port and the second power supply port being powered off, the second indicator light is turned off to indicate that the network card is removed.

[0169] Notification hot-plugging is supported in single x8, dual x8 and x16 bandwidth states. The first processor and the controller transmit hot-plugging information through the VPP bus, and the second processor and the controller transmit hot-plugging information through the VPP bus. Since the VPP bus contains hot-plugging related information of all PCIe devices of the CPU, it is necessary to set the VPP address under different bandwidth states to ensure the correct transmission of hot-plugging information under normal bandwidth state; the CPU and the controller can identify the currently supported network card bandwidth state through the FM_OCP_CABLE_PRSNT_N and FM_OCP_CPU_ADDRESS_N level states, and the two parties set the VPP address for transmitting hot-plugging information through Table 2.

[0170] Table 2 VPP address allocation table for different bandwidths

[0171]

[0172] If the user wants to perform a notification-based hot-plug of the network card device, the user needs to press the hot-plug trigger. After the controller detects that the hot-plug trigger is pressed through the FM_OCP_ATTEN_HP_BTN_N signal, it transmits the hot-plug request of the corresponding VPP address to the CPU through the VPP bus according to the currently supported bandwidth status. After the CPU receives the hot-plug information of the corresponding address, it knows that the corresponding network card device has applied for a hot-plug operation, and will perform relevant unloading and shutdown actions for the device. After the unloading is completed, the controller is notified through the VPP bus to power off the network card. Under the dual X8 bandwidth configuration, the controller will monitor the power-off notifications of the first processor and the second processor respectively. Only after the controller receives the power-off notifications of the two CPUs will it perform subsequent power-off operations. The controller will control the FM_OCP_PERST_N\MAIN_PWR_EN\AUX_PWR_EN signals in sequence to control the internal power-off of the network card. During the power-off period, the CPU will notify the controller through the VPP bus to continuously pull up and down the FM_OCP_PWR_LED_N signal to make the second indicator light flash until the power-off operation is completed and the second indicator light is always off. At this time, the user can unplug the network card. The controller will pull down the FM_P12V_OCP_EN\FM_P3V3_OCP_EN signals to control the power-off of P12V_OCP_STBY and P3V3_OCP_STBY when it detects the unplugging through the FM_OCP_PRSNT_N signal. If any failure occurs in the hot-swap, such as the failure or timeout of the network card uninstallation, the CPU will notify the controller through the VPP bus to pull down the FM_OCP_ATTEN_LED_N signal to light up the first indicator light to inform the user that the hot-swap process is abnormal.

[0173] If the user wants to perform a notification hot-plug of the network card device, the user needs to insert the network card into the network card connector first. At this time, the controller detects that the network card is in place through the FM_OCP_PRSNT_N signal, and will pull up the FM_P12V_OCP_EN\FM_P3V3_OCP_EN signal to control P12V_OCP_STBY and P3V3_OCP_STBY to power on. Then, the user presses the hot-plug trigger to inform the controller to hot-plug the network card device. The controller will set the corresponding VPP address according to the currently supported bandwidth status, and pass the hot-plug request to the CPU through the VPP bus through the corresponding VPP address. The CPU will perform the corresponding hot-plug preparation. After the preparation is completed, it will notify the controller to power on the network card through the VPP bus. Under the dual X8 bandwidth configuration, the controller will monitor the power-on notifications of the first processor and the second processor respectively. Only after the controller receives the power-on notifications of the two CPUs will it perform subsequent power-on operations. The controller will control F according to the timing requirements. M_OCP_PERST_N\MAIN_PWR_EN\AUX_PWR_EN signals are used to enable the network card device. During this period, the CPU will notify the controller through the VPP bus to continuously pull up and down the FM_OCP_PWR_LED_N signal to make the second indicator light flash until the network card is enabled and the second indicator light is always on; if any failure occurs in the hot insertion, such as network card uninstallation failure or timeout, the CPU will notify the controller through the VPP bus to pull down the FM_OCP_ATTEN_LED_N signal to light up the first indicator light to inform the user that the hot insertion process is abnormal.

[0174] It should be understood that although Figure 1 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 1 At least part of the steps may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed 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 executed in turn or alternately with other steps or at least part of the sub-steps or stages of other steps.

[0175] In other embodiments, Figure 3 As shown, the network card bandwidth configuration device includes:

[0176] A signal acquisition module, configured to acquire a first signal and a second signal in response to the first connector completing the connection setting, wherein the first signal and the second signal are used to indicate the connection state of the first connector;

[0177] A state acquisition module, used to determine a connection state of the first connector according to the first signal and the second signal;

[0178] The bandwidth configuration module is used to configure the adaptation bandwidth of the network card bandwidth configuration system according to the connection state of the first connector.

[0179] For the specific limitations of the network card bandwidth configuration device described above, please refer to the limitations of the network card bandwidth configuration method described above, which will not be repeated here. Each module in the above network card bandwidth configuration device can be implemented in whole or in part by software, hardware, and a combination thereof. Each of the above modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.

[0180] In other embodiments, Figure 4 As shown, a computer device includes a memory, a processor, and a network card bandwidth configuration program stored in the memory and executable on the processor. When the processor executes the network card bandwidth configuration program, the network card bandwidth configuration method described in the second aspect is implemented.

[0181] Specifically, S100: in response to the first connector completing the connection setting, obtaining a first signal and a second signal, wherein the first signal and the second signal are used to indicate the connection state of the first connector;

[0182] S200: Determine a connection state of the first connector according to the first signal and the second signal;

[0183] S300: configuring the adaptation bandwidth of the network card bandwidth configuration system according to the connection state of the first connector.

[0184] The first signal is an address signal, and the second signal is a presence signal.

[0185] Further, the connection state includes: 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;

[0186] S300: Configuring the adaptation bandwidth of the network card bandwidth configuration system according to the connection state of the first connector, including:

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

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

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

[0190] Furthermore, the network card bandwidth configuration system further includes a hot plug trigger, which triggers the hot plug trigger to generate a hot plug signal, and the method further includes:

[0191] In response to detecting that the network card is in place, controlling the first power supply and the second power supply to power on;

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

[0193] Further, after configuring the bandwidth corresponding to the network card according to the first signal and the second signal, the method further includes:

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

[0195] Control the second indicator light to be always on to indicate that the network card is functioning normally.

[0196] Furthermore, the method further comprises:

[0197] In response to the network card bandwidth configuration system connecting to the network card and obtaining a hot plug signal, the network card is controlled to be powered off;

[0198] In response to the network card being powered off, the network card is removed, and the first power supply and the second power supply are controlled to be powered off.

[0199] Furthermore, controlling the power-off of the network card includes:

[0200] Controlling the first power supply port and the second power supply port to power off;

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

[0202] In response to the first power supply port and the second power supply port being powered off, the second indicator light is turned off to indicate that the network card is removed.

[0203] In some other embodiments, a computer-readable storage medium stores a network card bandwidth configuration program, and when the network card bandwidth configuration program is executed by a processor, the network card bandwidth configuration method described above is implemented.

[0204] S100: in response to the first connector completing the connection setting, obtaining a first signal and a second signal, wherein the first signal and the second signal are used to indicate the connection state of the first connector;

[0205] S200: Determine a connection state of the first connector according to the first signal and the second signal;

[0206] S300: configuring the adaptation bandwidth of the network card bandwidth configuration system according to the connection state of the first connector.

[0207] The first signal is an address signal, and the second signal is a presence signal.

[0208] Further, the connection state includes: 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;

[0209] S300: Configuring the adaptation bandwidth of the network card bandwidth configuration system according to the connection state of the first connector, including:

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

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

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

[0213] Furthermore, the network card bandwidth configuration system further includes a hot plug trigger, which triggers the hot plug trigger to generate a hot plug signal, and the method further includes:

[0214] In response to detecting that the network card is in place, controlling the first power supply and the second power supply to power on;

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

[0216] Further, after configuring the bandwidth corresponding to the network card according to the first signal and the second signal, the method further includes:

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

[0218] Control the second indicator light to be always on to indicate that the network card functions normally.

[0219] Furthermore, the method further comprises:

[0220] In response to the network card bandwidth configuration system connecting to the network card and obtaining a hot plug signal, the network card is controlled to be powered off;

[0221] In response to the network card being powered off, the network card is removed, and the first power supply and the second power supply are controlled to be powered off.

[0222] Furthermore, controlling the power-off of the network card includes:

[0223] Controlling the first power supply port and the second power supply port to power off;

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

[0225] In response to the first power supply port and the second power supply port being powered off, the second indicator light is turned off to indicate that the network card is removed.

[0226] In other embodiments, a computer-readable storage medium stores a network card bandwidth configuration program, and when the network card bandwidth configuration program is executed by a processor, the network card bandwidth configuration method described above is implemented.

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

[0228] Furthermore, the network card bandwidth configuration system further includes a hot plug trigger, which triggers the hot plug trigger to generate a hot plug signal, and the method further includes:

[0229] In response to detecting that the network card is in place, controlling the first power supply and the second power supply to power on;

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

[0231] Further, after configuring the bandwidth corresponding to the network card according to the first signal and the second signal, the method further includes:

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

[0233] Control the second indicator light to be always on to indicate that the network card functions normally.

[0234] Furthermore, the method further comprises:

[0235] In response to the network card bandwidth configuration system connecting to the network card and obtaining a hot plug signal, the network card is controlled to be powered off;

[0236] In response to the network card being powered off, the network card is removed, and the first power supply and the second power supply are controlled to be powered off.

[0237] Furthermore, controlling the power-off of the network card includes:

[0238] Controlling the first power supply port and the second power supply port to power off;

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

[0240] In response to the first power supply port and the second power supply port being powered off, the second indicator light is turned off to indicate that the network card is removed.

[0241] In some other embodiments, a computer program product includes a computer program, which, when executed by a processor, implements the network card bandwidth configuration method described in the second aspect, specifically including: when 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 two first bandwidths.

[0242] Furthermore, the network card bandwidth configuration system further includes a hot plug trigger, which triggers the hot plug trigger to generate a hot plug signal, and the method further includes:

[0243] In response to detecting that the network card is in place, controlling the first power supply and the second power supply to power on;

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

[0245] Further, after configuring the bandwidth corresponding to the network card according to the first signal and the second signal, the method further includes:

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

[0247] Control the second indicator light to be always on to indicate that the network card is functioning normally.

[0248] Furthermore, the method further comprises:

[0249] In response to the network card bandwidth configuration system connecting to the network card and obtaining a hot plug signal, the network card is controlled to be powered off;

[0250] In response to the network card being powered off, the network card is removed, and the first power supply and the second power supply are controlled to be powered off.

[0251] Furthermore, controlling the power-off of the network card includes:

[0252] Controlling the first power supply port and the second power supply port to power off;

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

[0254] In response to the first power supply port and the second power supply port being powered off, the second indicator light is turned off to indicate that the network card is removed.

[0255] In some other embodiments, a computer program product is provided, including a computer program, which, when executed by a processor, implements the network card bandwidth configuration method described in the second aspect. Specifically, it includes:

[0256] S100: in response to the first connector completing the connection setting, obtaining a first signal and a second signal, wherein the first signal and the second signal are used to indicate the connection state of the first connector;

[0257] S200: Determine a connection state of the first connector according to the first signal and the second signal;

[0258] S300: configuring the adaptation bandwidth of the network card bandwidth configuration system according to the connection state of the first connector.

[0259] The first signal is an address signal, and the second signal is a presence signal.

[0260] Further, the connection state includes: 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;

[0261] S300: Configuring the adaptation bandwidth of the network card bandwidth configuration system according to the connection state of the first connector, including:

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

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

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

[0265] Furthermore, the network card bandwidth configuration system further includes a hot plug trigger, which triggers the hot plug trigger to generate a hot plug signal, and the method further includes:

[0266] In response to detecting that the network card is in place, controlling the first power supply and the second power supply to power on;

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

[0268] Further, after configuring the bandwidth corresponding to the network card according to the first signal and the second signal, the method further includes:

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

[0270] Control the second indicator light to be always on to indicate that the network card functions normally.

[0271] Furthermore, the method further comprises:

[0272] In response to the network card bandwidth configuration system connecting to the network card and obtaining a hot plug signal, the network card is controlled to be powered off;

[0273] In response to the network card being powered off, the network card is removed, and the first power supply and the second power supply are controlled to be powered off.

[0274] Furthermore, controlling the power-off of the network card includes:

[0275] Controlling the first power supply port and the second power supply port to power off;

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

[0277] In response to the first power supply port and the second power supply port being powered off, the second indicator light is turned off to indicate that the network card is removed.

[0278] In other embodiments, a computer-readable storage medium stores a network card bandwidth configuration program, and when the network card bandwidth configuration program is executed by a processor, the network card bandwidth configuration method described above is implemented.

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

[0280] Furthermore, the network card bandwidth configuration system further includes a hot plug trigger, which triggers the hot plug trigger to generate a hot plug signal, and the method further includes:

[0281] In response to detecting that the network card is in place, controlling the first power supply and the second power supply to power on;

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

[0283] Further, after configuring the bandwidth corresponding to the network card according to the first signal and the second signal, the method further includes:

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

[0285] Control the second indicator light to be always on to indicate that the network card functions normally.

[0286] Furthermore, the method further comprises:

[0287] In response to the network card bandwidth configuration system connecting to the network card and obtaining a hot plug signal, the network card is controlled to be powered off;

[0288] In response to the network card being powered off, the network card is removed, and the first power supply and the second power supply are controlled to be powered off.

[0289] Furthermore, controlling the power-off of the network card includes:

[0290] Controlling the first power supply port and the second power supply port to power off;

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

[0292] In response to the first power supply port and the second power supply port being powered off, the second indicator light is turned off to indicate that the network card is removed.

[0293] In some other embodiments, a computer program product includes a computer program, which, when executed by a processor, implements the network card bandwidth configuration method described in the second aspect, specifically including: when 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 two first bandwidths.

[0294] Furthermore, the network card bandwidth configuration system further includes a hot plug trigger, which triggers the hot plug trigger to generate a hot plug signal, and the method further includes:

[0295] In response to detecting that the network card is in place, controlling the first power supply and the second power supply to power on;

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

[0297] Further, after configuring the bandwidth corresponding to the network card according to the first signal and the second signal, the method further includes:

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

[0299] Control the second indicator light to be always on to indicate that the network card is functioning normally.

[0300] Furthermore, the method further comprises:

[0301] In response to the network card bandwidth configuration system connecting to the network card and obtaining a hot plug signal, the network card is controlled to be powered off;

[0302] In response to the network card being powered off, the network card is removed, and the first power supply and the second power supply are controlled to be powered off.

[0303] Furthermore, controlling the power-off of the network card includes:

[0304] Controlling the first power supply port and the second power supply port to power off;

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

[0306] In response to the first power supply port and the second power supply port being powered off, the second indicator light is turned off to indicate that the network card is removed.

[0307] The technical solution provided by the embodiment of the present application has the following beneficial effects: by implementing the network card bandwidth configuration system recorded in the embodiment of the present application, the connection between the first connector and the second connector or the 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 network card hot-swap and indicate the connection status of the network card.

[0308] All the above optional technical solutions can be arbitrarily combined to form optional embodiments of the present application, which will not be described one by one here.

[0309] In particular, according to an embodiment of the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program loaded on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network via a communication device, or installed from a memory, or installed from a ROM. When the computer program is executed by an external processor, the above-mentioned functions defined in the method of the embodiment of the present application are executed.

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

[0311] The computer-readable medium may be included in the server; or it may exist independently without being installed in the server. The computer-readable medium carries one or more programs. When the one or more programs are executed by the server, the server: in response to detecting that the peripheral mode of the terminal is not activated, obtains the frame rate of the application on the terminal; when the frame rate meets the screen-off condition, determines whether the user is obtaining the screen information of the terminal; in response to the judgment result that the user is not obtaining the screen information of the terminal, controls the screen to enter the immediate dimming mode.

[0312] Computer program code for performing the operation of the embodiments of the present application can be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "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 an independent software package, partially on the user's computer, partially on the remote computer, or completely on the remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through 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., using an Internet service provider to connect through the Internet).

[0313] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can refer to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system or system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can refer to the partial description of the method embodiment. The system and system embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0314] The technical solution provided by the present application is described in detail above. The principle and implementation method of the present application are described in detail using specific examples. The description of the above embodiments is only used to help understand the method and core idea of ​​the present application. At the same time, for those skilled in the art, according to the idea of ​​the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as limiting the present application.

[0315] The above description is only a preferred embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application should be included in the protection scope of the present application.

Claims

1. A network card bandwidth configuration system, characterized in that: include: 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, 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-level port is connected to the network card connector, the at least one first high-level 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-level port is connected to the third connector; The network card bandwidth configuration system is configured to: in response to the first connector being disconnected from the second connector and disconnected from the third connector, the network card bandwidth configuration system adapts the first bandwidth; In response to the first connector being connected to the second connector and disconnected from the third connector, the network card bandwidth configuration system adapting a second bandwidth; In response to the first connector being disconnected from the second connector and connected to the third connector, the network card bandwidth configuration system adapting two first bandwidths; The first connector has a first address port and a first presence port, the first address port is connected to the input-output expander, and the first presence port is connected to the input-output expander.

2. The network card bandwidth configuration system according to claim 1, characterized in that: The second connector has a second address port and a second presence port, and the third connector has a third presence port.

3. The network card bandwidth configuration system according to claim 2, characterized in that: The network 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 a first power supply; One end of the second resistor is electrically connected to the first in-position port, and the other end of the second resistor is connected to the first power supply; The second address port and the second presence port are grounded; The third presence port is grounded.

4. The network card bandwidth configuration system according to claim 1, characterized in that: The network 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; The first power supply port, the second power supply port, and the power supply indication port are all connected to the network card connector.

5. The network 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; 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 supply.

6. The network card bandwidth configuration system according to claim 5, characterized in that: The controller also has a first electronic fuse enabling port and a second electronic fuse enabling port; The first electronic fuse enabling port is connected to the first electronic fuse and is used to control the first electronic fuse to be turned on or off; The second electronic fuse enabling port is connected to the second electronic fuse and is used to control the on or off state of the second electronic fuse.

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

8. The network 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; The second virtual address port is connected to the second processor.

9. The network card bandwidth configuration system according to claim 4, characterized in that: The controller also has a hot-swap signal port, a first indication port and a second indication port; The network 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 indication port; The second indicator light is electrically connected to the second indication port.

10. The network 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 card bandwidth configuration system according to any one of claims 1 to 10, characterized in that: The network card bandwidth configuration system also includes a fourth connector; The second processor also has at least one second high-order port; The at least one second high position port is connected to the fourth connector.

12. A network card bandwidth configuration method, characterized in that: The method is applied to the network card bandwidth configuration system according to any one of claims 1 to 11, and the method comprises: In response to the first connector completing the connection setting, acquiring a first signal and a second signal, wherein the first signal and the second signal are used to indicate the connection state of the first connector; determining a connection state of the first connector according to the first signal and the second signal; The adaptation bandwidth of the network card bandwidth configuration system is configured according to the connection status of the first connector.

13. The network card bandwidth configuration method according to claim 12, characterized in that: The connection state includes: 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 configuring the adaptation bandwidth of the network card bandwidth configuration system according to the connection state of the first connector includes: In response to the first connector being disconnected from the second connector and disconnected from the third connector, configuring the network card bandwidth configuration system to adapt the first bandwidth; In response to the first connector being connected to the second connector and disconnected from the third connector, configuring the network card bandwidth configuration system to adapt to a second bandwidth; In response to the first connector being disconnected from the second connector and connected to the third connector, the network card configuration system is configured to adapt two first bandwidths.

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

15. The network 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 enabled; The second indicator light is controlled to be always on to indicate that the network card functions normally.

16. The network card bandwidth configuration method according to claim 12, characterized in that: The method further comprises: In response to the network card bandwidth configuration system connecting to the network card and obtaining a hot plug signal, controlling the network card to power off; In response to the network card being powered off, the network card is removed, and the first power supply and the second power supply are controlled to be powered off.

17. The network card bandwidth configuration method according to claim 16, characterized in that: The controlling the network card to power off includes: Controlling the first power supply port and the second power supply port to power off; Controlling the second indicator light to flash until the first power supply port and the second power supply port are powered off; In response to the first power supply port and the second power supply port being powered off, the second indicator light is turned off to indicate that the network card is removed.

18. A computer device, characterized in that: The invention comprises a memory, a processor and a network card bandwidth configuration program stored in the memory and executable on the processor. When the processor executes the network card bandwidth configuration program, the network card bandwidth configuration method according to any one of claims 12 to 17 is implemented.

19. A computer-readable storage medium, characterized in that: A network card bandwidth configuration program is stored thereon, and when the network card bandwidth configuration program is executed by a processor, the network card bandwidth configuration method according to any one of claims 12 to 17 is implemented.

20. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the network card bandwidth configuration method according to any one of claims 12 to 17 is implemented.

Citation Information

Patent Citations

  • Data processor, method, chip and electronic equipment

    CN110413254A

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

    CN118672367A

Cited By

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

    EP4808066A1

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

    WO2026091406A1