Network interface card control method and apparatus for server, storage medium and electronic device
By identifying the network card type and selecting a matching power supply mode when the target logical device of the server is powered on and starting, the recognition abnormality caused by the inability to determine the type of the intelligent network card in traditional servers is solved, and the network card recognition efficiency is improved and the integrity and security of system startup are achieved.
Patent Information
- Application Number
- PCT/CN2024/122116
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-01-24
- Filing Date
- 2024-09-29
- Publication Date
- 2025-07-31
AI Technical Summary
In traditional server design, due to the large number of functions and long firmware startup time of smart network cards, the network card type cannot be determined, resulting in the problem of abnormal network card identification.
By identifying the network card type when the target logic device of the server is powered on and selecting a matching power supply mode according to the network card type for power supply, ensuring that the network card initialization is completed and then powering the central processor is supplied, reducing the number of power supply controllers, and optimizing the power supply structure.
It improves the network card identification efficiency, ensures the integrity and security of server system startup, and avoids the identification abnormality caused by incomplete network card initialization.
Smart Images

Figure CN2024122116_31072025_PF_FP_ABST
Abstract
Description
Server network card control method and device, storage medium and electronic equipment
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application claims priority to a Chinese patent application filed with the Patent Office of China on January 24, 2024, with application number 2024100990344 and application name “Network card control method and device, storage medium and electronic device for server”, all contents of which are incorporated by reference into this application. Technical Field
[0003] The embodiments of the present application relate to the technical field of server hardware devices, and specifically, to a network card control method and device for a server, a non-volatile readable storage medium, and an electronic device. Background Art
[0004] In traditional server design, when using an ordinary network card, the ordinary network card is treated as a device in the system, starts to power on when the computer is turned on, and is used as a slave device of the server processor. Since the ordinary network card has a single function, the initialization time of the ordinary network card itself is short, and the initialization is completed when the server processor scans the network card.
[0005] However, for smart network cards, since they serve as the control center of the server, they generally need to be powered on before starting up. In addition, since smart network cards have many functions, the firmware startup time is long. There are problems such as the smart network card being unable to be recognized due to incomplete initialization.
[0006] Therefore, it can be seen that the network card control method of the server in the related art has a technical problem of abnormal network card identification due to the inability to determine the network card type.
[0007] Summary of the Invention
[0008] The embodiments of the present application provide a server network card control method and device, a non-volatile readable storage medium, and an electronic device to at least solve the technical problem of abnormal network card identification caused by the inability to determine the network card type in the server network card control method in the related art.
[0009] According to one embodiment of the present application, a network card control method for a server is provided, comprising: when a target logic device on the server is powered on and started, identifying the network card type of a target network card on the server through the target logic device; according to the network card type of the target network card, controlling a first power supply controller on the server to power the target network card in a power supply mode that matches the network card type of the target network card; and when detecting that the startup of the target network card is complete, controlling a second power supply controller on the server through the target logic device to power a central processing unit of the server.
[0010] According to another embodiment of the present application, a server is provided, including a target logic device, a target network card, a first power supply controller, a second power supply controller and a central processing unit, wherein the target logic device is configured to identify the network card type of the target network card when the target logic device is powered on and started; according to the network card type of the target network card, the first power supply controller is controlled to power the target network card in a power supply mode matching the network card type of the target network card; and when it is detected that the startup of the target network card is completed, the second power supply controller is controlled to power the central processing unit.
[0011] In an exemplary embodiment, a target network card includes a target storage controller, wherein the target storage controller stores target network card information, and the target network card information is used to indicate the network card type of the target network card; the target logic device is further configured to read the target network card information stored in the target storage controller when the target logic device is powered on and started; and the read target network card information is parsed to obtain the network card type of the target network card.
[0012] In an exemplary embodiment, the server also includes a third power supply controller and a baseboard management controller, wherein the third power supply controller is configured to provide power to the target logic device, the target storage controller and the baseboard management controller when the server is powered on before the target logic device identifies the network card type of the target network card.
[0013] In an exemplary embodiment, the third power supply controller is further configured to supply power to the target logic device, the target storage controller, and the baseboard management controller in a soft shutdown mode when the server is powered on.
[0014] In an exemplary embodiment, the target logic device is further configured to read the target network card information stored in the target storage controller via the integrated circuit bus between the target logic device and the target storage controller when the target logic device is powered on.
[0015] In an exemplary embodiment, the target logic device is further configured to control the first power supply controller to power the target network card in a full power mode matching the first network card type when the network card type of the target network card is a first network card type, wherein the first network card type is the network card type used by the corresponding network card as a slave device of the central processing unit.
[0016] In an exemplary embodiment, the target logic device is also configured to control the first power supply controller to power the target network card in a soft shutdown mode matching the second network card type when the network card type of the target network card is a second network card type, wherein the second network card type is a network card type used by the corresponding network card to control the server.
[0017] In an exemplary embodiment, the target logic device is further configured to control an enable signal of the first power supply controller so that the first power supply controller supplies power to the target network card in a power supply mode matching the network card type of the target network card.
[0018] In an exemplary embodiment, the target logic device is further configured to detect the power supply status of the target network card when the target logic device receives a power-on signal to determine whether the power supply of the target network card has been turned on; and when the power supply of the target network card has been turned on, detect the network card startup status of the target network card to determine whether the target network card has been started.
[0019] In an exemplary embodiment, a target network card includes a target storage controller, wherein the target storage controller stores network card startup status information, wherein the network card startup status information is used to indicate whether the target network card has been successfully started; the target logic device is further configured to read the network card startup status information stored in the target storage controller and parse the network card startup status information to determine whether the target network card has been successfully started.
[0020] In an exemplary embodiment, the target logic device is further configured to control an enable signal of the second power supply controller, so that the second power supply controller supplies power to the central processing unit.
[0021] In an exemplary embodiment, the server also includes a baseboard management controller; the target logic device is further configured to transfer control of the integrated circuit bus to the baseboard management controller when it detects that the target network card has completed power-on startup, so that the baseboard management controller can monitor the target network card.
[0022] In an exemplary embodiment, the baseboard management controller is configured to monitor the temperature of a target network card via an integrated circuit bus, and to perform log recording and heat dissipation control on the target network card based on the monitored network card temperature.
[0023] In an exemplary embodiment, the target logic device is a complex programmable logic device, and the first power supply controller is a 12V power supply controller.
[0024] According to an embodiment of the present application, a computer-readable non-volatile storage medium is provided. The computer-readable non-volatile storage medium includes a stored program, wherein the steps of any of the above method embodiments are executed when the program is run.
[0025] According to an embodiment of the present application, an electronic device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to execute the steps of any of the above method embodiments through the computer program.
[0026] Through the embodiments of the present application, when the target logic device on the server is powered on and started, the network card type of the target network card on the server is identified by the target logic device. Therefore, after determining the network card type of the target network card, the first power supply controller on the server is controlled to power the target network card in a power supply mode that matches the network card type of the target network card according to the network card type of the target network card. Therefore, the two groups of independent power supply controllers in the existing server can be reduced to one group of power supply controllers, thereby optimizing the power supply structure of the server network card; when it is detected that the startup of the target network card is completed, the second power supply controller on the server is controlled by the target logic device to power the central processing unit of the server. Therefore, it can be ensured that the network card has been initialized when the central processing unit is powered on, thereby improving the network card identification efficiency and realizing the integrity of the server system startup, thereby solving the technical problem of abnormal network card identification caused by the inability to determine the network card type in the network card control method of the server in the related art. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] FIG1 is a hardware structure block diagram of a computer terminal of a server network card control method according to an embodiment of the present application;
[0028] FIG2 is a flow chart of a method for controlling a network card of a server according to an embodiment of the present application;
[0029] FIG3 is a structural diagram of a network card control method of a server according to an embodiment of the present application;
[0030] FIG4 is a structural diagram of another method for controlling a network card of a server according to an embodiment of the present application;
[0031] 5 is a control logic timing diagram of network card power-on, network card startup, and CPU power-on according to an embodiment of the present application;
[0032] FIG6 is a schematic diagram of a network card power-on and boot-up logic according to an embodiment of the present application;
[0033] FIG7 is a structural block diagram of a server according to an embodiment of the present application;
[0034] FIG8 is a structural block diagram of a computer system of an optional electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0035] The embodiments of the present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0036] It should be noted that the terms "first", "second", etc. in the description and claims of the embodiments of this application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.
[0037] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the art to which this application pertains. The terms used herein are for the purpose of describing the embodiments of this application only and are not intended to limit this application.
[0038] Before describing the embodiments of the present application in detail, the nouns and terms involved in the embodiments of the present application are explained. The nouns and terms involved in the embodiments of the present application are subject to the following interpretations.
[0039] 1. Baseboard Management Controller (BMC): A module that manages servers. It is mainly configured to monitor and manage the server's operating status, including power consumption, temperature, faults, and heat dissipation.
[0040] 2. Complex Programmable Logic Device (CPLD) is a programmable logic device that can implement certain logic functions through programming.
[0041] 3. Peripheral Component Interconnect Express (PCIE) is a high-speed serial point-to-point dual-channel high-bandwidth transmission standard. The connected devices are allocated exclusive channel bandwidth and do not share bus bandwidth. It mainly supports active power management, error reporting, end-to-end reliable transmission, hot plugging, and quality of service functions.
[0042] 4. S5 state, the server is shut down. At this time, the CPU (Central Processing Unit), memory, hard disk, PCIE card and other devices are powered off. Only basic server management modules such as BMC and CPLD have power and are operating normally.
[0043] 5. S0 state: the server is powered on and running normally. At this time, the CPU, memory, hard disk, PCIE card and other devices are powered on and working normally.
[0044] 6. PCIE Slot: Standard PCIE devices (network cards, GPU cards, storage cards, etc.) are inserted into PCIE slots for use. The power supply in S5 state is represented by voltage plus STBY (Standby), while the power supply in S0 state is represented by voltage directly.
[0045] 7. I2C, Inter-Integrated Circuit bus, is a bus protocol used for communication between devices.
[0046] The method embodiments provided in the embodiments of the present application can be executed in a mobile terminal, a computer terminal or a similar computing device. Taking operation on a computer terminal as an example, FIG1 is a hardware structure block diagram of a computer terminal of a network card control method of a server in an embodiment of the present application. As shown in FIG1 , the computer terminal may include one or more (only one is shown in FIG1 ) processors 102 (the processor 102 may include but is not limited to a processing device such as a microprocessor or a programmable logic device) and a memory 104 configured to store data, wherein the above-mentioned computer terminal may also include a transmission device 106 and an input and output device 108 configured to have a communication function. It will be understood by those skilled in the art that the structure shown in FIG1 is only for illustration and does not limit the structure of the above-mentioned computer terminal. For example, the computer terminal may also include more or fewer components than those shown in FIG1 , or have a configuration different from that shown in FIG1 .
[0047] The memory 104 can be configured to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the message transmission method in the embodiment of the present application. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, implementing the above-mentioned method. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may include a memory remotely located relative to the processor 102, and these remote memories may be connected to the mobile terminal via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0048] The transmission device 106 is configured to receive or transmit data via a network. Examples of such networks may include wireless networks provided by a computer terminal's communications provider. In one embodiment, the transmission device 106 includes a network interface controller (NIC), which can be connected to other network devices via a base station to enable communication with the Internet. In another embodiment, the transmission device 106 may be a radio frequency (RF) module configured to communicate with the Internet wirelessly.
[0049] The development of technologies such as cloud computing, big data, and artificial intelligence has brought about a large amount of data and driven a rapid increase in network bandwidth. The requirements for the processing speed and efficiency of network data and functions such as network virtualization are also becoming increasingly higher. The advantages of smart network cards in network data offloading and network virtualization have prompted data centers to gradually switch from ordinary network cards to emerging smart network cards. The use of smart network cards can improve the processing speed and overall resource utilization of servers, but the application of smart network cards also brings challenges to server system design.
[0050] Unlike regular network cards (NICs), servers using smart NICs typically use them as the control center for the entire server. In traditional server designs, regular NICs are considered a separate device in the system, powered on at startup and operating as a slave to the server's central processing unit (CPU). Because regular NICs have a limited functionality, their initialization time is short, and initialization is complete by the time the server's CPU scans the NIC. However, with smart NICs, as the server's control center, they typically need to be powered on before startup. Furthermore, due to their multiple functions, the firmware startup time is longer, so initialization must be complete before the server's CPU establishes a connection with the smart NIC. Furthermore, data centers often switch between smart NICs and regular NICs due to business changes, further increasing the complexity of server system design and server management.
[0051] The embodiment of the present application proposes a server network card control method, which can detect the network card type through the server and automatically switch its power-on type according to the network card type; and adds a detection mechanism for the network card operation status and links it with the boot process, realizing seamless compatibility between the smart network card and the ordinary network card, and ensuring the security of system startup.
[0052] According to an embodiment of the present application, a method for controlling a network card of a server is provided, which improves the efficiency of network card identification and the integrity of server system startup. Taking the server executing the network card control method of the server in this embodiment as an example, FIG2 is a flow chart of a method for controlling a network card of a server according to an embodiment of the present application. As shown in FIG2, the flow includes the following steps:
[0053] In step S202 , when the target logic device on the server is powered on and started, the network card type of the target network card on the server is identified through the target logic device.
[0054] Here, the target logic device may be a designated complex programmable logic device, and the target network card of the server may be a common network card (Network Interface Card, NIC for short) or a smart network card (Smart NIC).
[0055] A standard network interface card (NIC), also known as a network adapter, communications adapter, or network interface card, is a hardware device that connects a computer to the network and is one of the most fundamental components of a local area network (LAN). As a bridge for communication between computers, a NIC has two main functions: one is to read data packets transmitted by network devices, unpack them, convert them into computer-readable data, and transmit the data to the required device; the other is to package data sent by the computer and transmit it to other network devices. The core of the Smart NIC is to use a Field Programmable Gate Array (FPGA) to assist the server's central processing unit (CPU) in handling network loads and programming network interface functions.
[0056] In the related art, referring to FIG3 , in the current server design, the server system uses two independent power supply controllers, wherein one set of power supply controllers is configured to supply power to ordinary network cards, and the other set of power supply controllers is configured to supply power to smart network cards.
[0057] For example, a 12V power supply controller 1 is in S5 power supply (the server is in shutdown state. At this time, the CPU, memory, hard disk, PCIE card and other devices are powered off. Only basic server management modules such as BMC and CPLD are powered and operate normally). When the server is shut down, it generates P12V_STBY (a voltage in the S5 power supply state) when it is powered on, and supplies power to the PCIE slot or smart network card through power line 1.
[0058] Another set of power supply controllers, 12V power supply controller 2, is S0 power supply (the server is in normal operation state after startup, at which time the CPU, memory, hard disk, PCIE card and other devices are powered on and working normally). When the server is powered on, it generates P12V and powers the PCIE slot or ordinary network card through power supply line 2. Here, when the server is powered on, the BMC identifies the smart network card through I2C. When the smart network card is detected, it extends the fixed time after power-on to wait for the smart network card initialization to complete, so as to ensure that the server processor can normally identify the smart network card.
[0059] In the above-mentioned related technologies, two independent power supply systems need to be designed, which increases the cost of the server system. At the same time, the power supply unit needs to be connected to two different locations on the server motherboard. When reconfiguring and switching between the smart network card and the ordinary network card, the power line connection method needs to be modified, which is complicated to operate. At the same time, by using a mechanism of delaying the initialization of the smart network card to wait for the completion of initialization, the boot time is increased, resulting in low startup efficiency of the server system. When the smart network card is in an abnormal state, the boot failure cannot be avoided and located.
[0060] Unlike the related art, in the embodiment of the present application, the I2C of the target network card is connected to the target logic device (in the related art, the I2C of the network card is usually connected to the BMC), so that the target logic device can monitor the inserted network card through I2C to identify the type of network card, so as to subsequently select the corresponding power supply mode for the network card type to power on and start the network card.
[0061] Through the embodiment of the present application, the I2C of the target network card is connected to the target logic device, and the network card connected to the server can be monitored through the target logic device, thereby improving the recognition efficiency of the server network card.
[0062] In step S204 , according to the network card type of the target network card, the first power supply controller on the control server supplies power to the target network card in a power supply mode that matches the network card type of the target network card.
[0063] In an embodiment of the present application, only the first power supply controller is used to power the target network card. Here, the target network card can be either an ordinary network card or a smart network card. According to the network card type of the target network card, the first power supply controller on the control server powers the target network card in a power supply mode that matches the network card type of the target network card.
[0064] For example, when the target network card is an ordinary network card, a first enable signal is sent to the first power supply controller through the target CPLD (target logic device), so that the first power supply controller selects the S0 power supply mode to power on the ordinary network card; when the target network card is an intelligent network card, a second enable signal is sent to the first power supply controller through the target CPLD, so that the first power supply controller selects the S5 power supply mode to power on the intelligent network card.
[0065] The enable signal is a signal used to control the start of a circuit or controller.
[0066] Through the embodiments provided in this application, only one set of power supply controllers is used to power different types of network cards, and the corresponding power-on control logic is automatically selected according to the target network card type, which simplifies the power supply structure of the server network card and improves the power supply efficiency of the network card.
[0067] In step S206 , when it is detected that the target network card has been started up, the target logic device controls the second power supply controller on the server to supply power to the central processing unit of the server.
[0068] In order to avoid the problem that the server system cannot normally identify the smart network card due to the long startup time of the smart network card firmware, the embodiment of the present application uses the network card startup status as the logical condition of the power-on sequence, that is, when it is detected that the target network card startup is completed, the second power supply controller on the server is controlled by the target logic device to power the server's central processing unit, thereby achieving the system startup integrity and security.
[0069] Through the above steps provided in the embodiment of the present application, when the target logic device on the server is powered on and started, the network card type of the target network card on the server is identified through the target logic device; according to the network card type of the target network card, the first power supply controller on the server is controlled to power the target network card in a power supply mode that matches the network card type of the target network card; when it is detected that the startup of the target network card is completed, the second power supply controller on the server is controlled through the target logic device to power the central processing unit of the server; the network card identification efficiency is improved, the integrity of the server system startup is achieved, and the technical problem of abnormal network card identification caused by the inability to determine the network card type in the server network card control method in the related art is solved.
[0070] In an exemplary embodiment, when a target logic device on a server is powered on and started, identifying the network card type of a target network card on the server through the target logic device includes:
[0071] S11, when the target logic device on the server is powered on and started, reading target network card information stored in the target storage controller on the target network card through the target logic device, wherein the target network card information is used to indicate the network card type of the target network card;
[0072] S12, parsing the read target network card information through the target logic device to obtain the network card type of the target network card.
[0073] Different from the related art, the embodiment of the present application adds a target storage controller to the network card of the server, which is configured to store the type, model and startup status of the target network card.
[0074] In some embodiments, the target storage controller stores target network card information of the target network card, where the target network card information includes the type and model of the network card and the startup status of the network card.
[0075] Here, the target network card information is read through the target logic device to determine the network card type of the target network card; the network card startup status of the target network card is read through the target logic device to determine whether the target network card has completed power-on startup.
[0076] In some embodiments, referring to FIG4 , the target network card may be an ordinary network card or an intelligent network card, including a network controller and a memory (i.e., a target storage controller and a target network controller), wherein the target storage controller, the target network controller, and the target logic device are connected via I2C communication.
[0077] Through the embodiments provided in this application, the target network card information stored in the target storage controller on the target network card can be read through the target logic device to determine the type, status information, etc. of the target network card, which is convenient for subsequent processing.
[0078] In an exemplary embodiment, before identifying the network card type of the target network card on the server through the target logical device, the method further includes:
[0079] S21 , when the server is connected to the power supply, power is supplied to the target logic device, the target storage controller, and the baseboard management controller of the server through the third power supply controller.
[0080] In an exemplary embodiment, when a server is connected to a power supply, powering a target logic device, a target storage controller, and a baseboard management controller of the server through a third power supply controller includes:
[0081] S31 , when the server is connected to the power supply, power is supplied to the target logic device, the target storage controller, and the baseboard management controller by a third power supply controller in a soft shutdown mode.
[0082] In some embodiments, according to PCIE specifications and server design specifications, the target storage controller, baseboard management controller, and target logic device on the target network card are all powered by 3V3_STBY.
[0083] STBY stands for Standby power, which is primarily used to control circuits in standby mode. When a control system is in standby mode, parts of the STBY power supply circuit remain powered to maintain the system in standby mode, while other parts are shut down to conserve energy. STBY power supplies typically have lower power consumption and operating current.
[0084] Here, the soft shutdown (software shutdown) mode is the S5 power supply mode, which describes the state between completely shutting down the power and the boot cycle. At this time, the CPU, memory, hard disk, PCIE card and other devices are powered off, and only the basic server management modules such as BMC and CPLD have power and operate normally.
[0085] In some embodiments, referring to FIG. 4 , the third power supply controller may be a 3V3_STBY power supply controller adopting an S5 power supply mode, and is configured to supply power to the BMC, CPLD, and target storage controller on the target network card through 3V3_STBY.
[0086] Through the embodiments provided in this application, an independent power supply controller is used to power the target logic device, the target storage controller and the baseboard management controller, which meets the power supply requirements of some components without affecting the power supply mode required by the network card.
[0087] In an exemplary embodiment, when a target logic device on a server is powered on and started, reading target network card information stored in a target storage controller on a target network card through the target logic device includes:
[0088] S41 , when the target logic device on the server is powered on, the target network card information stored in the target storage controller is read by the target logic device via the integrated circuit bus between the target logic device and the target storage controller.
[0089] When the server is powered on, the CPLD starts up and scans the memory controller on the PCIE through I2C, reading the network card type and model information in the memory to determine whether the target network card is a smart network card or a normal network card.
[0090] Because CPLD is implemented using hardware logic code, it can complete network card type detection in milliseconds after power-on. However, BMC requires its own system startup to complete normal detection, which takes several minutes. Therefore, the CPLD identification method has significant improvements in efficiency and reliability compared to the traditional BMC identification method.
[0091] In an exemplary embodiment, according to the network card type of the target network card, controlling a first power supply controller on the server to supply power to the target network card in a power supply mode matching the network card type of the target network card includes:
[0092] S51, when the network card type of the target network card is a first network card type, control the first power supply controller to power the target network card in a full power mode matching the first network card type, wherein the first network card type is a network card type used by the corresponding network card as a slave device of the central processing unit.
[0093] In some embodiments, the network card type of the target network card may be a common network card or a smart network card.
[0094] For example, when it is determined that the target network card type is a common network card, the common network card is used as a slave device of the central processor, and the first power supply controller is controlled to power the target network card in a full power mode matching the common network card type.
[0095] Among them, the full power mode can be the S0 power supply mode (state), that is, the server is in normal operating state when it is turned on (or it can be a low-power standby state), at this time, the CPU, memory, hard disk, PCIE card and other devices are all powered on and working normally.
[0096] Through the embodiments provided in this application, when it is determined that the target network card used by the current server is of the first network card type (ordinary network card), the first power supply controller can be controlled to power the target network card through the S0 power supply mode that matches it.
[0097] In an exemplary embodiment, according to the network card type of the target network card, controlling a first power supply controller on the server to supply power to the target network card in a power supply mode matching the network card type of the target network card includes:
[0098] S61, when the network card type of the target network card is a second network card type, control the first power supply controller to power the target network card in a soft shutdown mode matching the second network card type, wherein the second network card type is a network card type used by the corresponding network card to control the server.
[0099] Because the Smart NIC has computing power, in order to free up CPU computing power, it will offload the data processing functions in networking, security, and storage that are not suitable for the CPU to the programmable hardware controller for execution, reducing CPU consumption, enabling the server to run key applications and operating systems more efficiently, and optimizing the overall effectiveness of business data processing.
[0100] In some embodiments, when it is determined that the network card type of the target network card is a smart network card, the first power supply controller is controlled to supply power to the target network card in a soft power-off mode matching the smart network card type.
[0101] Among them, the soft shutdown (software shutdown) mode is the S5 power supply mode, which describes the state between completely shutting down the power and the boot cycle. At this time, the CPU, memory, hard disk, PCIE card and other devices are powered off, and only basic server management modules such as BMC and CPLD have power and operate normally.
[0102] Through the embodiments provided in this application, when it is determined that the target network card used by the current server is of the second network card type (smart network card), the first power supply controller can be controlled to power the target network card through the S5 power supply mode that matches it.
[0103] In an exemplary embodiment, according to the network card type of the target network card, controlling a first power supply controller on the server to supply power to the target network card in a power supply mode matching the network card type of the target network card includes:
[0104] S71 : Control an enable signal of a first power supply controller through a target logic device, so that the first power supply controller supplies power to a target network card in a power supply mode that matches the network card type of the target network card.
[0105] In an embodiment of the present application, only the first power supply controller is used to power the target network card. Here, the target network card can be either an ordinary network card or a smart network card. According to the network card type of the target network card, the enable signal of the first power supply controller is controlled by the target logic device so that the first power supply controller powers the target network card in a power supply mode that matches the network card type of the target network card.
[0106] For example, when the target network card is an ordinary network card, a first enable signal is sent to the first power supply controller through the target logic device, so that the first power supply controller selects the S0 power supply mode to power on the ordinary network card; when the target network card is an intelligent network card, a second enable signal is sent to the first power supply controller through the target logic device, so that the first power supply controller selects the S5 power supply mode to power on the intelligent network card.
[0107] Through the embodiments provided in the present application, corresponding enable signals can be selected for different types of target network cards, so that even when there is only a single power supply controller, targeted power supply can be performed according to the power supply mode required by the target network card.
[0108] In an exemplary embodiment, after controlling, according to the network card type of the target network card, the first power supply controller on the server to supply power to the target network card in a power supply mode that matches the network card type of the target network card, the method further includes:
[0109] S81, when the target logic device receives the power-on signal, detecting the power supply status of the target network card through the target logic device to determine whether the power supply of the target network card is turned on;
[0110] S82 , when the target network card is powered on, detecting the network card startup status of the target network card through the target logic device to determine whether the target network card has been completely started.
[0111] In an exemplary embodiment, after controlling, according to the network card type of the target network card, the first power supply controller on the server to supply power to the target network card in a power supply mode that matches the network card type of the target network card, the method further includes:
[0112] S91, reading network card startup status information stored in a target storage controller on a target network card through a target logic device, wherein the network card startup status information is used to indicate whether the target network card has been successfully started;
[0113] S92: Analyze the network card startup status information through the target logic device to determine whether the target network card has been started.
[0114] In some embodiments, refer to Figure 5, which is a control logic timing diagram of network card power-on, network card startup, and CPU power-on according to an embodiment of the present application.
[0115] As shown in Figure 5, the CPLD can control the logical relationship between enable signal 4 and enable signal 3 by reading the network card startup status of the target memory on the target network card, ensuring that the CPU is powered on and started normally after the target network card startup is completed, avoiding the problem of not being able to normally identify the network card due to incomplete network card initialization at startup.
[0116] Here, when the server system is turned on, the CPLD first detects the power-on status of the network card through I2C. When the power supply of the target network card is turned on, the network card startup status information stored in the target storage controller on the target network card is read through the target logic device. If the network card startup is complete, the enable signal 3 is normally controlled to power on the CPU; if the network card startup is not complete, it continues to wait for the network card initialization to be completed. Only after the query of the network card initialization completion is completed, the CPU is powered on.
[0117] Through the embodiments provided in the present application, the relationship between multiple enable signals can be controlled according to the control logic timing relationship of network card power-on, network card startup, and CPU power-on to ensure that the CPU is powered on and started normally after the network card startup is completed, thereby avoiding the problem of not being able to normally identify the network card due to incomplete network card initialization at startup.
[0118] In an exemplary embodiment, when it is detected that the target network card has been started, controlling the second power supply controller on the server to supply power to the central processing unit of the server through the target logic device includes:
[0119] S101 , controlling an enable signal of a second power supply controller through a target logic device, so that the second power supply controller supplies power to a central processing unit.
[0120] In some embodiments, referring to FIG4 , when it is detected that the target network card has completed startup, the enable signal 3 is sent through the target logic device to control the enable signal of the (second) power supply controller so that the (second) power supply controller supplies power to the central processing unit.
[0121] Through the embodiments provided in the present application, when the target network card is started, the CPU can be powered on and started by the second power supply controller, which can effectively avoid the problem of not being able to normally identify the network card due to incomplete network card initialization.
[0122] In an exemplary embodiment, after controlling, according to the network card type of the target network card, the first power supply controller on the server to supply power to the target network card in a power supply mode that matches the network card type of the target network card, the method further includes:
[0123] S111 , when it is detected that the target network card is powered on and started up, the control right of the integrated circuit bus is transferred to the baseboard management controller of the server through the target logic device, so that the baseboard management controller monitors the target network card.
[0124] Here, referring to FIG. 4 , when the target logic device is implemented as a complex programmable logic device, the I2C processing module is integrated inside the complex programmable logic device and is configured to switch the I2C control right from the complex programmable logic device to the baseboard management controller.
[0125] Through the embodiments provided in the present application, the control of the integrated circuit bus can be switched to the baseboard management controller through the I2C processing module inside the target logic device after the target network card is powered on and started, so that the baseboard management controller can monitor the network card temperature information, etc.
[0126] In an exemplary embodiment, after transferring control of the integrated circuit bus to the baseboard management controller of the server through the target logic device, the method further includes:
[0127] S121 , monitoring the network card temperature of the target network card via the integrated circuit bus through the baseboard management controller, recording the monitored network card temperature in a log, and performing heat dissipation control on the target network card.
[0128] Since the baseboard management controller needs to monitor the network card temperature information for log recording and fan heat dissipation control strategy, the embodiment of the present application sets an I2C processing module inside the target logic device. When the target logic device completes the detection of the network card and powers on the system, the target logic device switches the control of the integrated circuit bus to the baseboard management controller, so that the baseboard management controller monitors the network card temperature of the target network card via the integrated circuit bus, and logs and controls the heat dissipation of the target network card based on the monitored network card temperature.
[0129] Through the embodiments provided in the present application, after the network card is powered on, the control right of the integrated circuit bus can be switched in time to monitor the temperature of the network card and perform heat dissipation regulation.
[0130] In an exemplary embodiment, the target logic device is a complex programmable logic device, and the first power supply controller is a 12V power supply controller.
[0131] Referring to Figure 4, the embodiment of the present application detects the network card type through the server, automatically switches its power-on type based on the network card type, and adds a detection mechanism for the network card operation status, which is linked to the boot process to achieve seamless compatibility between the smart network card and the ordinary network card, ensuring the security of system startup.
[0132] As shown in Figure 4, there are three main differences between the embodiment of the present application and the related art. First, the I2C of the network card is connected to the CPLD, and the CPLD can monitor the inserted network card through I2C. Second, only one set of 12V power supply controllers is used to power the network card, and the CPLD automatically selects the corresponding power-on control logic according to the type of network card inserted. Third, the memory on the network card increases the power-on status of the network card. The CPLD can query the network card startup status and use the network card startup status as the logical condition for the power-on sequence to achieve system startup integrity and security.
[0133] When the server is powered on, the CPLD first boots up and scans the memory controller on the PCIE via I2C, reading the NIC type and model information from the memory to determine whether the inserted NIC is a Smart NIC or a standard NIC. Because the CPLD is implemented using hardware logic code, it can complete NIC type detection in milliseconds after power-on. This compares to the BMC, which requires its own system startup to complete before proper detection, which takes several minutes. Therefore, identification via the CPLD significantly improves efficiency and reliability compared to traditional BMC identification. Furthermore, because the BMC needs to monitor NIC temperature information for logging and fan cooling control strategies, an I2C processing module is designed into the CPLD. Once the CPLD completes NIC detection and the system is powered on, it transfers I2C control to the BMC, which can then perform normal monitoring of the NIC, such as logging and cooling control.
[0134] The CPLD implements the NIC power-up logic by controlling enable signal 4. When the system is powered on, the storage controller, BMC, and CPLD on the NIC are all powered up by 3V3_STBY according to PCIE specifications and server design specifications. After powering up, the CPLD reads the NIC type and model from the NIC memory via I2C to determine whether the inserted NIC is a standard NIC or a Smart NIC. If it is a standard NIC, the CPLD controls the 12V power supply controller 1 to power up at S0 via enable signal 4, providing power to the standard NIC. If it is a Smart NIC, the CPLD controls the 12V power supply controller 1 to power up at S5 via enable signal 4, providing power to the Smart NIC. This ensures that the Smart NIC can start normally when shut down, allowing users to manage the entire server through the Smart NIC.
[0135] In some embodiments, referring to FIG6 , FIG6 is a schematic diagram of a network card power-on and boot-up logic according to an embodiment of the present application.
[0136] Figure 6 shows the overall control logic of the server system. The CPLD monitors the network card type and startup status, and uses the network card type and startup status as judgment conditions in the startup logic. This allows the server system to be compatible with both smart network cards and ordinary network cards. This ensures that the network card is initialized when the CPU is powered on, avoiding the problem of the system not being able to properly identify the network card due to a long startup time.
[0137] In response to detecting that the server system is plugged into an alternating current (AC) power supply, the CPLD or BMC is powered on and the network card memory is powered on; the network card memory status is read by the CPLD to determine the network card type to determine whether the network card is an intelligent network card; when the network card is an intelligent network card, the CPLD controls the power supply controller to select the S5 power supply mode to power the intelligent graphics card; when the network card is an ordinary network card, the CPLD controls the power supply controller to select the S0 power supply mode to power the ordinary graphics card; after the CPLD receives a power-on signal, it determines whether the network card power supply is turned on. When the network card power supply is not turned on, the CPLD selects a power supply mode corresponding to the network card type to power the network card; when the network card power supply is turned on, it continues to determine whether the network card startup is complete; if the network card startup is not complete, a preset period is installed to repeatedly detect whether the network card startup is complete; after the network card startup is complete, the CPLD controls the power supply controller to power the CPU to complete the system power-on.
[0138] Through the embodiments provided in this application, compatibility with the power supply of the smart network card S5 and the ordinary network card S0 is achieved, and the two groups of independent power supply controllers in the system are reduced to one group of power supply controllers, saving costs; reducing the differences between configurations, reducing the complexity of users changing and switching network cards, and avoiding errors in changing operations between different configurations; and ensuring that the network card has been initialized normally when the computer is turned on, ensuring the integrity and security of the system startup, and avoiding problems such as network card non-recognition due to failure to complete network card initialization.
[0139] It should be noted that for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that this application is not limited by the order of the actions described, because according to this application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are optional embodiments for implementing the scheme of this application, and the actions and modules involved are not necessarily required for this application.
[0140] According to an embodiment of the present application, a server is further provided, wherein the server network card control method provided in the above embodiment is configured to be implemented. Details already described are omitted for clarity. Although the apparatus described in the following embodiments is preferably implemented in software, implementation in hardware, or a combination of software and hardware, is also possible and contemplated.
[0141] FIG7 is a structural block diagram of a server according to an embodiment of the present application. As shown in FIG7 , the server includes: a target logic device 701, a target network card 702, a first power supply controller 703, a second power supply controller 704, and a central processing unit 705, wherein:
[0142] The target logic device is configured to identify the network card type of the target network card when the target logic device is powered on and started; according to the network card type of the target network card, control the first power supply controller to power the target network in a power supply mode that matches the network card type of the target network card; and when it is detected that the startup of the target network card is completed, control the second power supply controller to power the central processing unit.
[0143] In an exemplary embodiment, a target network card includes a target storage controller, wherein the target storage controller stores target network card information, and the target network card information is used to indicate the network card type of the target network card; the target logic device is further configured to read the target network card information stored in the target storage controller when the target logic device is powered on and started; and the read target network card information is parsed to obtain the network card type of the target network card.
[0144] In an exemplary embodiment, the server also includes a third power supply controller and a baseboard management controller, wherein the third power supply controller is configured to provide power to the target logic device, the target storage controller and the baseboard management controller when the server is powered on before the target logic device identifies the network card type of the target network card.
[0145] In an exemplary embodiment, the third power supply controller is further configured to supply power to the target logic device, the target storage controller, and the baseboard management controller in a soft shutdown mode when the server is powered on.
[0146] In an exemplary embodiment, the target logic device is further configured to read the target network card information stored in the target storage controller via the integrated circuit bus between the target logic device and the target storage controller when the target logic device is powered on.
[0147] In an exemplary embodiment, the target logic device is further configured to control the first power supply controller to power the target network card in a full power mode matching the first network card type when the network card type of the target network card is a first network card type, wherein the first network card type is the network card type used by the corresponding network card as a slave device of the central processing unit.
[0148] In an exemplary embodiment, the target logic device is also configured to control the first power supply controller to power the target network card in a soft shutdown mode matching the second network card type when the network card type of the target network card is a second network card type, wherein the second network card type is a network card type used by the corresponding network card to control the server.
[0149] In an exemplary embodiment, the target logic device is further configured to control an enable signal of the first power supply controller so that the first power supply controller supplies power to the target network card in a power supply mode matching the network card type of the target network card.
[0150] In an exemplary embodiment, the target logic device is further configured to detect the power supply status of the target network card when the target logic device receives a power-on signal to determine whether the power supply of the target network card has been turned on; and when the power supply of the target network card has been turned on, detect the network card startup status of the target network card to determine whether the target network card has been started.
[0151] In an exemplary embodiment, a target network card includes a target storage controller, wherein the target storage controller stores network card startup status information, wherein the network card startup status information is used to indicate whether the target network card has been successfully started; the target logic device is further configured to read the network card startup status information stored in the target storage controller and parse the network card startup status information to determine whether the target network card has been successfully started.
[0152] In an exemplary embodiment, the target logic device is further configured to control an enable signal of the second power supply controller, so that the second power supply controller supplies power to the central processing unit.
[0153] In an exemplary embodiment, the server also includes a baseboard management controller; the target logic device is further configured to transfer control of the integrated circuit bus to the baseboard management controller when it detects that the target network card has completed power-on startup, so that the baseboard management controller can monitor the target network card.
[0154] In an exemplary embodiment, the baseboard management controller is configured to monitor the temperature of a target network card via an integrated circuit bus, and to perform log recording and heat dissipation control on the target network card based on the monitored network card temperature.
[0155] In an exemplary embodiment, the target logic device is a complex programmable logic device, and the first power supply controller is a 12V power supply controller.
[0156] According to an embodiment of the present application, a computer non-volatile readable storage medium is further provided, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above method embodiments when run.
[0157] In an exemplary embodiment, the above-mentioned computer non-volatile readable storage medium may include but is not limited to: a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk, and other media that can store computer programs.
[0158] According to an embodiment of the present application, a computer program product is provided, which includes a computer program / instruction, and the computer program / instruction includes program code for executing the method shown in the flowchart. In such an embodiment, referring to Figure 8, the computer program can be downloaded and installed from the network via the communication portion 809, and / or installed from the removable medium 811. When the computer program is executed by the central processing unit 801, the various functions provided by the embodiments of the present application are performed. The serial numbers of the above embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0159] Refer to FIG8 , which is a structural block diagram of a computer system of an optional electronic device according to an embodiment of the present application.
[0160] Figure 8 schematically shows a computer system structure block diagram for implementing the electronic equipment of the embodiment of the present application. As shown in Figure 8, computer system 800 includes a central processing unit 801 (Central Processing Unit, referred to as CPU), which can perform various appropriate actions and processes according to the program stored in the read-only memory 802 (Read-Only Memory, ROM) or the program loaded from the storage part 808 into the random access memory 803 (Random Access Memory, referred to as RAM). In the random access memory 803, various programs and data required for system operation are also stored. The central processing unit 801, the read-only memory 802 and the random access memory 803 are connected to each other through a bus 804. An input / output interface 805 (Input / Output interface, referred to as I / O interface) is also connected to the bus 804.
[0161] The following components are connected to the input / output interface 805: an input section 806 including a keyboard, a mouse, and the like; an output section 807 including devices such as a cathode ray tube (CRT), a liquid crystal display (LCD), and a speaker; a storage section 808 including a hard disk; and a communication section 809 including a network interface card such as a local area network card or a modem. The communication section 809 performs communication processing via a network such as the Internet. A drive 810 is also connected to the input / output interface 805 as needed. Removable media 811, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, and the like, is installed in the drive 810 as needed, so that computer programs read therefrom can be installed into the storage section 808 as needed.
[0162] In particular, according to an embodiment of the present application, the processes described in the various method flow charts can be implemented as computer software programs. For example, an embodiment of the present application includes a computer program product comprising a computer program carried on a computer-readable medium, the computer program including program code for executing the methods shown in the flow charts. In such an embodiment, the computer program can be downloaded and installed from a network via the communication section 809 and / or installed from a removable medium 811. When the computer program is executed by the central processing unit 801, the various functions defined in the system of the present application are performed.
[0163] It should be noted that the computer system 800 of the electronic device shown in FIG8 is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0164] According to an embodiment of the present application, an electronic device is also provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any of the above method embodiments.
[0165] In an exemplary embodiment, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.
[0166] The examples in this embodiment can refer to the examples described in the above embodiments and exemplary implementation modes, and this embodiment will not be described in detail here.
[0167] Obviously, those skilled in the art should understand that the various modules or steps of the above-mentioned embodiments of the present application can be implemented using a general-purpose computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, they can be implemented using program codes executable by the computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be performed in a different order than herein, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the embodiments of the present application are not limited to any specific combination of hardware and software.
[0168] The above are merely optional embodiments of the present application and are not intended to limit the embodiments of the present application. For those skilled in the art, the embodiments of the present application may be modified and varied in various ways. Any modifications, equivalent replacements, improvements, etc. made within the principles of the embodiments of the present application shall be included in the scope of protection of the embodiments of the present application.
Claims
1. A method for controlling a network card of a server, characterized in that: It includes: When the target logic device on the server is powered on and started, identify the network card type of the target network card on the server through the target logic device; According to the network card type of the target network card, control the first power supply controller on the server to supply power to the target network card in a power supply mode matching the network card type of the target network card; When it is detected that the target network card has completed startup, control the second power supply controller on the server to supply power to the central processing unit of the server through the target logic device.
2. The method according to claim 1, characterized in that: The step of, when the target logic device on the server is powered on and started, identifying the network card type of the target network card on the server through the target logic device includes: When the target logic device on the server is powered on and started, read the target network card information stored in the target storage controller on the target network card through the target logic device, where the target network card information is used to indicate the network card type of the target network card; Parse the read target network card information through the target logic device to obtain the network card type of the target network card.
3. The method according to claim 2, characterized in that: Before the step of identifying the network card type of the target network card on the server through the target logic device, the method further includes: When the server is connected to power supply, supply power to the target logic device, the target storage controller, and the baseboard management controller of the server through a third power supply controller.
4. The method according to claim 3, characterized in that: The step of, when the server is connected to power supply, supplying power to the target logic device, the target storage controller, and the baseboard management controller of the server through a third power supply controller includes: When the server is connected to power supply, supply power to the target logic device, the target storage controller, and the baseboard management controller in the soft shutdown mode through the third power supply controller.
5. The method according to claim 2, characterized in that: The step of, when the target logic device on the server is powered on and started, reading the target network card information stored in the target storage controller on the target network card through the target logic device includes: When the target logic device on the server is powered on and started, read the target network card information stored in the target storage controller through the target logic device via the integrated circuit bus between the target logic device and the target storage controller.
6. The method according to claim 5, characterized in that: The step of reading the target network card information stored in the target storage controller through the target logic device via the integrated circuit bus between the target logic device and the target storage controller includes: Start the target logic device to scan the target storage controller through the integrated circuit bus and read the model information of the target network card stored in the target storage controller; Determine the target network card type according to the model information.
7. The method according to claim 1, wherein Controlling the first power supply controller on the server to supply power to the target network card in a power supply mode matching the network card type of the target network card includes: When the network card type of the target network card is the first network card type, controlling the first power supply controller to supply power to the target network card in a full power mode matching the first network card type, where the first network card type is the network card type when the corresponding network card is used as a slave device of the central processing unit.
8. The method according to claim 1, wherein Controlling the first power supply controller on the server to supply power to the target network card in a power supply mode matching the network card type of the target network card includes: When the network card type of the target network card is the second network card type, controlling the first power supply controller to supply power to the target network card in a soft shutdown mode matching the second network card type, where the second network card type is the network card type when the corresponding network card is used to control the server.
9. The method according to claim 1, wherein Controlling the first power supply controller on the server to supply power to the target network card in a power supply mode matching the network card type of the target network card includes: Controlling the enable signal of the first power supply controller through the target logic device so that the first power supply controller supplies power to the target network card in a power supply mode matching the network card type of the target network card.
10. The method according to claim 9, wherein Controlling the enable signal of the first power supply controller through the target logic device includes one of the following: Sending a first enable signal from the target logic device to the first power supply controller, where the first enable signal is used to indicate The first power supply controller selects a first power supply mode to supply power to the target network card, and the first power supply mode is the power supply mode matching when the network card type of the target network card is the first network card type, and the first network card type is the network card type when the corresponding network card is used as a slave device of the central processing unit; Sending a second enable signal from the target logic device to the first power supply controller, where the second enable signal is used to indicate that the first power supply controller selects a second power supply mode to supply power to the target network card, and the second power supply mode is the power supply mode matching when the network card type of the target network card is the second network card type, and the second network card type is the network card type when the corresponding network card is used to control the server.
11. The method according to claim 1, wherein After controlling, according to the network card type of the target network card, the first power supply controller on the server to supply power to the target network card in a power supply mode matching the network card type of the target network card, the method further includes: When the target logic device receives a power-on signal, detecting, by the target logic device, the power supply state of the target network card to determine whether the power supply of the target network card has been turned on; When the power supply of the target network card has been turned on, detecting, by the target logic device, the network card startup state of the target network card to determine whether the target network card has completed startup.
12. The method according to claim 1, wherein: After controlling, according to the network card type of the target network card, the first power supply controller on the server to supply power to the target network card in a power supply mode matching the network card type of the target network card, the method further includes: Reading, by the target logic device, network card startup status information stored in a target storage controller on the target network card, where the network card startup status information is used to indicate whether the target network card has completed startup; Parsing, by the target logic device, the network card startup status information to determine whether the target network card has completed startup.
13. The method according to claim 1, wherein: The step of, when it is detected that the target network card has completed startup, controlling, by the target logic device, the second power supply controller on the server to supply power to the central processing unit of the server includes: Controlling, by the target logic device, the enable signal of the second power supply controller to enable the second power supply controller to supply power to the central processing unit.
14. The method according to claim 13, wherein: The step of controlling, by the target logic device, the enable signal of the second power supply controller includes: Sending, by the target logic device, a third enable signal to the second power supply controller, where the third enable signal is used to control the enable signal of the second power supply controller, and the enable signal is a signal used to control the second power supply controller to turn on.
15. The method according to claim 1, wherein: After controlling, according to the network card type of the target network card, the first power supply controller on the server to supply power to the target network card in a power supply mode matching the network card type of the target network card, the method further includes: When it is detected that the target network card has completed power-on startup, transferring, by the target logic device, the control right of the integrated circuit bus to the baseboard management controller of the server, so that the baseboard management controller monitors the target network card.
16. The method according to claim 15, wherein: After transferring, by the target logic device, the control right of the integrated circuit bus to the baseboard management controller of the server, the method further includes: The substrate management controller monitors the network card temperature of the target network card via the integrated circuit bus, and performs logging based on the monitored network card temperature and conducts heat dissipation regulation on the target network card.
17. The method according to any one of claims 1 to 16, characterized in that the target logic device is a complex programmable logic device, and the first power supply controller is a 12V power supply controller.
18. A server, characterized in that it includes a target logic device, a target network card, a first power supply controller, a second power supply controller, and a central processing unit, wherein the target logic device is configured to, when the target logic device is powered on and started, identify the network card type of the target network card; according to the network card type of the target network card, control the first power supply controller to supply power to the target network card in a power supply mode matching the network card type of the target network card; and when it is detected that the target network card has completed starting up, control the second power supply controller to supply power to the central processing unit.
19. A computer non-volatile readable storage medium, characterized in that a computer program is stored in the computer non-volatile readable storage medium, wherein when the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 17 are implemented.
20. An electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that when the processor executes the computer program, the steps of the method according to any one of claims 1 to 17 are implemented.
Citation Information
Patent Citations
Network card power-on method and system, storage medium and equipment
CN113645049A
Power supply method and power supply circuit of server
CN114089825A
Intelligent network card power-on control system and server
CN114564095A
Managing transitions of computing system from standby power state to power-on state
CN114967890A
Power switching circuit
CN115800501A
Cited By
Rack-mounted server PCIe device positioning method and device
CN120780110A
Multi-board-card interconnection computing system and firmware management method of multi-board-card interconnection equipment
CN120848968A
Adapter board, network card power supply control method thereof, server, medium and program product
CN121232951A
Network card fault detection method and electronic equipment
CN122476007A