CN115292133A - Management method and related device of intelligent network card - Google Patents

Management method and related device of intelligent network card Download PDF

Info

Publication number
CN115292133A
CN115292133A CN202210995204.8A CN202210995204A CN115292133A CN 115292133 A CN115292133 A CN 115292133A CN 202210995204 A CN202210995204 A CN 202210995204A CN 115292133 A CN115292133 A CN 115292133A
Authority
CN
China
Prior art keywords
network card
intelligent network
power supply
server
state information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210995204.8A
Other languages
Chinese (zh)
Inventor
向和礼
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Maipu Communication Technology Co Ltd
Original Assignee
Maipu Communication Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Maipu Communication Technology Co Ltd filed Critical Maipu Communication Technology Co Ltd
Priority to CN202210995204.8A priority Critical patent/CN115292133A/en
Publication of CN115292133A publication Critical patent/CN115292133A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3058Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1415Saving, restoring, recovering or retrying at system level
    • G06F11/1417Boot up procedures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1415Saving, restoring, recovering or retrying at system level
    • G06F11/1441Resetting or repowering
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/16Error detection or correction of the data by redundancy in hardware
    • G06F11/20Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements
    • G06F11/2015Redundant power supplies

Abstract

The embodiment of the application provides a management method and a related device of an intelligent network card, and relates to the field of intelligent network card management. The intelligent network card is inserted into the server to obtain a power supply from the server, and a standby battery module is arranged in the intelligent network card and electrically connected with a power supply of the server. The intelligent network card receives power supply state information sent by the standby battery module, determines a target operation state to be entered by the intelligent network card according to the power supply state information, and controls the intelligent network card to restart or shut down according to the target operation state. The intelligent network card can normally complete a restarting process or a shutdown process according to the power supply state information, and service data of the intelligent network card cannot be lost or damaged.

Description

Management method and related device of intelligent network card
Technical Field
The application relates to the field of intelligent network card management, in particular to a management method of an intelligent network card and a related device.
Background
The network card is used as an important component in a server system and is mainly used for data transmission between servers or between a server and a client, and along with the development of network technology, storage technology and chip design, the intelligent network card is often adopted to assist the server to process the network related matters which are not good at.
In the prior art, under the condition that a server is powered off suddenly, an intelligent network card cannot be shut down normally, so that a service being processed by the intelligent network card is stopped suddenly, and the problems that the service data of the intelligent network card is lost and even the service data is damaged exist.
Disclosure of Invention
In view of the above, an object of the present application is to provide a method and a related device for managing an intelligent network card, so as to solve the problem that service data is lost or damaged due to abnormal shutdown when a server of the intelligent network card is suddenly powered off.
In order to achieve the above purpose, the embodiments of the present application employ the following technical solutions:
in a first aspect, the present application provides a management method for an intelligent network card, which is applied to the intelligent network card, the intelligent network card is inserted into a server to obtain a power supply from the server, a backup battery module is arranged in the intelligent network card, and the backup battery module is electrically connected with a power supply of the server, and the method includes:
receiving power supply state information sent by the standby battery module, wherein the power supply state information represents the power supply state of the server to the intelligent network card;
determining a target running state to be entered by the intelligent network card according to the power supply state information;
and controlling the intelligent network card to restart or shut down according to the target running state.
In an optional implementation manner, the determining, according to the power supply state information, a target operation state to be entered by the intelligent network card includes:
if the power supply state information is power supply abnormal information, acquiring a power supply from the standby battery module, and determining that a target running state to be entered by the intelligent network card is a shutdown state;
the controlling the intelligent network card to restart or shut down according to the target running state comprises the following steps:
and controlling the intelligent network card to be powered off according to the power-off state.
In an optional implementation manner, a communication chip is further disposed in the intelligent network card, the intelligent network card is in communication connection with the server through the communication chip, and before the step of receiving the power supply state information of the server to the intelligent network card, which is sent by the backup battery module, the method further includes:
receiving an interrupt signal sent by the communication chip, and sending a power supply state information acquisition request to the standby battery module to acquire the power supply state information; the interrupt signal represents that a communication link between the intelligent network card and the server is abnormal;
the determining the target operation state to be entered by the intelligent network card according to the power supply state information includes:
and if the power supply state information is power supply normal information, determining that the target running state to be entered by the intelligent network card is a restarting state.
In an optional implementation manner, the determining, according to the power supply state information, a target operation state to be entered by the intelligent network card includes:
and if the power supply state information is power supply abnormal information, acquiring a power supply from the standby battery module, and determining that the target running state to be entered by the intelligent network card is a shutdown state.
In an optional embodiment, the controlling, according to the target operation state, the intelligent network card to restart or shut down includes:
controlling the intelligent network card to restart, and receiving a communication link protocol obtained after the communication chip and the server renegotiate;
and reestablishing the communication connection between the intelligent network card and the server according to the communication link protocol.
In a second aspect, the present application provides a management device of an intelligent network card, is applied to the intelligent network card, the intelligent network card is pegged graft in the server, in order to follow the server acquires the power, be provided with the battery backup module in the intelligent network card, the battery backup module with the power supply electricity of server is connected, the device includes:
the receiving module is used for receiving power supply state information sent by the standby battery module, and the power supply state information represents the power supply state of the server to the intelligent network card;
the determining module is used for determining a target running state to be entered by the intelligent network card according to the power supply state information;
and the control module is used for controlling the intelligent network card to restart or shut down according to the target running state.
In an optional embodiment, the determining module is further configured to, when the power supply state information is power supply abnormality information, obtain a power supply from the backup battery module, and determine that a target operation state to be entered by the intelligent network card is a shutdown state;
the control module is further used for controlling the intelligent network card to be powered off according to the power-off state.
In an optional implementation manner, a communication chip is further disposed in the intelligent network card, the intelligent network card is in communication connection with the server through the communication chip, and the receiving module is further configured to receive an interrupt signal sent by the communication chip and send a power supply state information obtaining request to the backup battery module to obtain the power supply state information; the interrupt signal represents that a communication link between the intelligent network card and the server is abnormal;
the determining module is further configured to determine that a target running state to be entered by the intelligent network card is a restart state when the power supply state information is power supply normal information.
In a third aspect, the present application provides an intelligent network card, which includes a processor and a memory, where the memory stores a computer program that can be executed by the processor, and the processor can execute the computer program to implement the management method of the intelligent network card according to any one of the foregoing embodiments.
In a fourth aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the method for managing an intelligent network card according to any one of the foregoing embodiments.
According to the management method and the related device for the intelligent network card, the standby battery module is arranged in the intelligent network card and is electrically connected with the power supply of the server, the intelligent network card can receive power supply state information sent by the standby battery module, the power supply state information represents the power supply state of the server to the intelligent network card, and then the intelligent network card can determine a target operation state to be entered by the intelligent network card according to the power supply state information and control the intelligent network card to restart or shut down according to the target operation state. The intelligent network card can acquire the power supply state of the server through the standby battery module, so that the target running state which the intelligent network card should enter can be determined according to the received power supply state information, and the intelligent network card is controlled to restart or shut down.
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
FIG. 1 shows a block schematic diagram of a server system;
fig. 2 is a schematic block diagram illustrating an intelligent network card according to an embodiment of the present disclosure;
fig. 3 is a schematic flowchart illustrating a method for managing an intelligent network card according to an embodiment of the present application;
fig. 4 is a schematic flowchart illustrating another method for managing an intelligent network card according to an embodiment of the present application;
fig. 5 is a schematic flowchart illustrating another method for managing an intelligent network card according to an embodiment of the present application;
fig. 6 is a functional block diagram of a management apparatus of an intelligent network card according to an embodiment of the present application.
Icon: 10-a server system; 100-intelligent network card; 110-a server; 101-a processor; 102-a battery backup module; 103-a switching power supply chip; 104-a communication chip; 120-a memory; 130-a communication module; 200-a receiving module; 210-a determination module; 220-control module.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present application without making any creative effort, shall fall within the protection scope of the present application.
It is noted that relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising a … …" does not exclude the presence of another identical element in a process, method, article, or apparatus that comprises the element.
At present, the network card is used as an important component in a server system, and is mainly used for data transmission between servers or between a server and a client, and with the development of network technology, storage technology and chip design, an intelligent network card is often adopted to assist the server to handle the network related matters which are not good at.
In the prior art, since the intelligent network card needs to be powered by the server, when the server is powered off, the intelligent network card can be instructed to enter a power-off state by sending a power-off instruction to the intelligent network card. Based on this, the following problems mainly exist in the prior art:
1. when the server is powered off suddenly due to hardware reasons or other factors, the server cannot send a power-off instruction to the intelligent network card, so that the intelligent network card is powered off suddenly, and a power-off process cannot be executed, so that the service being processed by the intelligent network card is stopped suddenly, and the problem of service data loss or even service data damage is easily caused. In addition, if the intelligent network card is not normally shut down, the intelligent network card is easily restored in an emergency mode when being restarted, so that the starting speed of the intelligent network card is slowed, and even the intelligent network card cannot be started.
2. At present, the server and the intelligent network card can communicate, and when the communication is disconnected, the intelligent network card still cannot receive a power-off instruction sent by the server, so that the intelligent network card cannot enter a power-off state in time, and the risk of sudden power failure of the intelligent network card still exists under the condition.
Based on this, the embodiments of the present application provide a management method for an intelligent network card, so as to solve the above problems.
Please refer to fig. 1, which is a block schematic diagram of a server system 10, where the server system 10 includes an intelligent network card 100 and a server 110, the intelligent network card 100 is plugged in the server 110 to obtain a power supply from the server, the intelligent network card 100 includes a processor 101, the processor is provided with a standby battery module 102 and a switching power supply chip 103, and the standby battery module 102 and the switching power supply chip 103 are both connected to a power supply of the server.
Alternatively, the battery backup module 102 and the switching power supply chip 103 may be electrically connected to the power supply of the server through power supply lines.
In one possible implementation, the Battery Backup module may be a BBU (Battery Backup Unit).
Optionally, the switching power supply chip 103 is used for voltage conversion of the power supply of the server, and in a possible implementation manner, the switching power supply chip 103 may be an AC/DC chip.
Optionally, referring to fig. 2, a block diagram of an intelligent network card provided in the embodiment of the present application is shown, where the intelligent network card 100 includes a memory 120, a processor 101, and a communication module 130. The memory 120, the processor 101, and the communication module 130 are electrically connected to each other directly or indirectly to realize data transmission or interaction. For example, the components may be electrically connected to each other via one or more communication buses or signal lines.
The memory 120 is used for storing programs or data. The Memory 120 may be, but is not limited to, a Random Access Memory (RAM), a Read Only Memory (ROM), a Programmable Read-Only Memory (PROM), an Erasable Read-Only Memory (EPROM), an electrically Erasable Read-Only Memory (EEPROM), and the like.
The processor 101 is used to read/write data or programs stored in the memory and perform corresponding functions.
The communication module 130 is configured to establish a communication connection between the server and another communication terminal through the network, and to transceive data through the network.
It should be understood that the configuration shown in fig. 2 is only a schematic diagram of the configuration of the intelligent network card, and the server may further include more or fewer components than those shown in fig. 2, or have a different configuration than that shown in fig. 2. The components shown in fig. 2 may be implemented in hardware, software, or a combination thereof.
The embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the management method of the intelligent network card provided in the embodiment of the present application can be implemented.
Next, taking the intelligent network card 100 as an execution subject, an exemplary description is given to the management method of the intelligent network card provided in the embodiment of the present application with reference to a flowchart, specifically, fig. 3 is a flowchart of the management method of the intelligent network card provided in the embodiment of the present application, please refer to fig. 3, where the method includes:
step S20, receiving power supply state information sent by a standby battery module;
the power supply state information represents the power supply state of the server to the intelligent network card;
optionally, since the backup battery module is electrically connected to the power supply of the server, the backup battery module may obtain a power supply state of the server to the intelligent network card, and send the power supply state to the processor of the intelligent network card.
S21, determining a target running state to be entered by the intelligent network card according to the power supply state information;
optionally, the target operating state is an operating state that the smart card should enter in the current power supply state, for example, a power-off state and a restart state.
And S22, controlling the intelligent network card to restart or shut down according to the target running state.
Optionally, the intelligent network card may control the intelligent network card to restart or shut down according to the determined target operation state, thereby completing a complete restart or shut down process. For example, when the smart card is powered off, the progress and data of the service being processed may be first saved, and then the smart card exits the program and enters a power-off state.
According to the management method of the intelligent network card, the standby battery module is arranged in the intelligent network card and is electrically connected with the power supply of the server, the intelligent network card can receive power supply state information sent by the standby battery module, the power supply state information represents the power supply state of the server to the intelligent network card, and then the intelligent network card can determine the target operation state to be entered by the intelligent network card according to the power supply state information and control the intelligent network card to restart or shut down according to the target operation state. The intelligent network card can acquire the power supply state of the server through the standby battery module, so that the target running state which the intelligent network card should enter can be determined according to the received power supply state information, the intelligent network card is controlled to restart or shut down, on the basis, the intelligent network card can normally complete the restarting flow or the shutting down flow according to the power supply state information, and the service data of the intelligent network card cannot be lost or damaged.
Optionally, the backup battery module may send power supply state information to a processor of the intelligent network card when detecting that the power supply state of the server for the intelligent network card is abnormal, so that the intelligent network card determines the target operating state. In this case, the power supply state information is power supply abnormality information. Specifically, on the basis of fig. 3, fig. 4 is another schematic flow chart of the management method for the intelligent network card provided in the embodiment of the present application, please refer to fig. 4, and the step S21 may also be implemented by the following steps:
step S21-1, if the power supply state information is power supply abnormal information, acquiring a power supply from a standby battery module, and determining that a target running state to be entered by the intelligent network card is a shutdown state;
optionally, the power supply abnormality information represents that the power supply state of the server to the intelligent network card is abnormal, that is, the server disconnects the power supply to the intelligent network card, for example, the power supply is disconnected due to power failure of the whole server, the power supply is disconnected due to the network card being pulled out of the server, and the like.
Optionally, when the power supply state information is power supply abnormality information, the intelligent network card may obtain a power supply from the backup battery module in order to support the intelligent network card to complete a complete shutdown or restart process. It can be understood that, at this time, the backup battery module is a temporary power supply of the intelligent network card, so that the intelligent network card can complete the next operation.
In this embodiment, if the power supply state information is power supply abnormal information, the intelligent network card may determine that the target operation state to be entered is a shutdown state.
On this basis, the step S22 can be realized by the following steps:
and S22-1, controlling the intelligent network card to shut down according to the shutdown state.
Optionally, since the target running state at this time is a shutdown state, the intelligent network card may control the shutdown of the intelligent network card.
Optionally, in consideration that the intelligent network card further needs to communicate with a server, on this basis, please refer to fig. 1, a communication chip 104 is further disposed in the intelligent network card for establishing a communication connection between the intelligent network card and the server. As can be appreciated, the smart card is communicatively coupled to the server via the communication chip 104.
Alternatively, the communication chip 104 may be an FPGA (Field Programmable Gate Array) chip, and the communication chip may be communicatively connected to the server through PCIe (Peripheral Component Interconnect express) and communicate with the processor of the smart card through an IO bus.
Optionally, since a communication link may also be disconnected between the intelligent network card and the server, in order to avoid a situation that the intelligent network card cannot receive an instruction sent by the server due to the disconnection of the communication link, the power supply state information may be obtained when the communication link is determined to be disconnected, so as to determine a target operating state to be entered by the intelligent network card according to the power supply state information.
Specifically, on the basis of fig. 3, fig. 5 is another schematic flow chart of the management method for an intelligent network card provided in the embodiment of the present application, please refer to fig. 5, and before the step S20, the method further includes:
step S10, receiving an interrupt signal sent by a communication chip, and sending a power supply state information acquisition request to a standby battery module to acquire power supply state information;
the interrupt signal represents that the communication link between the intelligent network card and the server is abnormal;
optionally, the communication chip may obtain a status of a communication link between the intelligent network card and the server, and if the communication link between the intelligent network card and the server is disconnected, the communication chip may send an interrupt signal to the processor of the intelligent network card.
Optionally, after receiving the interrupt signal sent by the communication chip, the intelligent network card may send a power supply status information acquisition request to the backup battery module, and then the backup battery module may send power supply status information to the intelligent network card.
On this basis, the step S21 can be realized by the following steps:
and S21-2, if the power supply state information is power supply normal information, determining that the target running state to be entered by the intelligent network card is a restarting state.
Optionally, the power supply normal information represents that the server is in a normal power supply state to the intelligent network card, that is, the server is supplying power to the intelligent network card normally.
Optionally, if the power supply state information is normal power supply information, it indicates that at this time, the communication between the server and the intelligent network card is disconnected, but the power supply is still normal, so that the intelligent network card may determine that the target operation state to be entered is a restart state, so as to reestablish the communication between the server and the intelligent network card.
Optionally, the power supply state information may also be power supply abnormality information at this time, specifically, please continue to refer to fig. 5, and the step S21 may also be implemented by:
and S21-3, if the power supply state information is power supply abnormal information, acquiring a power supply from the standby battery module, and determining that the target running state to be entered by the intelligent network card is a shutdown state.
Optionally, if the power supply state information is power supply abnormal information, it indicates that the communication between the server and the intelligent network card is disconnected at this time, and the power supply is also disconnected, so that the intelligent network card can determine that the target operation state to be entered is a shutdown state.
Optionally, when the intelligent network card is restarted, the communication link protocol may be renegotiated with the server through the communication chip, so as to reestablish the communication between the server and the intelligent network card. Specifically, on the basis of fig. 5, the step S22 may be further implemented by:
controlling the intelligent network card to restart, and receiving a communication link protocol obtained after the communication chip renegotiates with the server;
and reestablishing the communication connection between the intelligent network card and the server according to the communication link protocol.
Optionally, when the intelligent network card is restarted, the communication chip may negotiate with the server, so as to re-determine the communication link protocol, and send the determined communication link protocol to the intelligent network card.
Optionally, after receiving the communication link protocol, the intelligent network card may reestablish the communication connection between the intelligent network card and the server according to the communication link protocol, and then complete the restart process.
Optionally, when the intelligent network card is rebooted and runs the system set therein, an interrupt processing function may be registered in the system, so that the intelligent network card can recognize the received interrupt signal. Such as PCIe interrupt handling functions.
In order to execute the corresponding steps in the above embodiments and various possible manners, an implementation manner of the management device of the intelligent network card is given below. Further, please refer to fig. 6, fig. 6 is a functional block diagram of a management apparatus of an intelligent network card according to an embodiment of the present application. It should be noted that the basic principle and the generated technical effects of the management device of the intelligent network card provided in this embodiment are the same as those of the above embodiment, and for brief description, reference may be made to corresponding contents in the above embodiment for the part not mentioned in this embodiment. This intelligent network card's management device includes: the device comprises a receiving module 200, a determining module 210 and a control module 220.
The receiving module 200 is configured to receive power supply state information sent by the backup battery module, where the power supply state information represents a power supply state of the server for the intelligent network card;
it is understood that the receiving module 200 can be used to execute the above step S20;
the determining module 210 is configured to determine a target running state to be entered by the intelligent network card according to the power supply state information;
it is understood that the determining module 210 can be configured to perform the above step S21;
and the control module 220 is configured to control the intelligent network card to restart or shut down according to the target running state.
It is understood that the control module 220 can be used to execute the above step S22.
Optionally, the determining module 210 is further configured to, when the power supply state information is power supply abnormality information, obtain a power supply from the backup battery module, and determine that a target operation state to be entered by the intelligent network card is a shutdown state;
it is understood that the determining module 210 is also configured to perform the above step S21-1;
optionally, the control module is further configured to control the intelligent network card to shut down according to a shutdown state.
It is understood that the control module 220 may be configured to perform the step S22-1.
Optionally, the receiving module 200 is further configured to receive an interrupt signal sent by the communication chip, and send a power supply state information obtaining request to the backup battery module to obtain power supply state information; the interrupt signal represents that the communication link between the intelligent network card and the server is abnormal;
it is understood that the receiving module 200 can also be used to execute the above step S10;
optionally, the determining module 210 is further configured to determine that the target running state to be entered by the intelligent network card is a restart state when the power supply state information is power supply normal information.
It is understood that the determining module 210 is also configured to perform the step S21-2.
Optionally, the determining module 210 is further configured to, if the power supply state information is power supply abnormality information, obtain a power supply from the backup battery module, and determine that a target operation state to be entered by the intelligent network card is a shutdown state.
It is to be understood that the determining module 210 is also operable to perform the above step S21-3.
Optionally, the control module 220 is further configured to control the intelligent network card to restart, and receive a communication link protocol obtained after the communication chip renegotiates with the server; and reestablishing the communication connection between the intelligent network card and the server according to the communication link protocol.
According to the management device of the intelligent network card, the power supply state information sent by the standby battery module is received through the receiving module, and the power supply state information represents the power supply state of the server to the intelligent network card; determining a target running state to be entered by the intelligent network card according to the power supply state information through a determination module; and controlling the intelligent network card to restart or shut down through the control module according to the target running state. The intelligent network card can acquire the power supply state of the server through the standby battery module, so that the target running state which the intelligent network card should enter can be determined according to the received power supply state information, and the intelligent network card is controlled to restart or shut down.
Alternatively, the modules may be stored in the memory shown in fig. 2 in the form of software or Firmware (Firmware) or may be solidified in an Operating System (OS) of the smart card, and may be executed by the processor in fig. 2. Meanwhile, data, codes of programs, and the like required to execute the above modules may be stored in the memory.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus embodiments described above are merely illustrative, and for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, functional modules in the embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only a preferred embodiment of the present application and is not intended to limit the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (10)

1. A management method of an intelligent network card is applied to the intelligent network card, the intelligent network card is inserted into a server to obtain a power supply from the server, a standby battery module is arranged in the intelligent network card, and the standby battery module is connected with a power supply of the server, and the method comprises the following steps:
receiving power supply state information sent by the standby battery module; the power supply state information represents the power supply state of the server to the intelligent network card;
determining a target running state to be entered by the intelligent network card according to the power supply state information;
and controlling the intelligent network card to restart or shut down according to the target running state.
2. The method according to claim 1, wherein the determining a target operation state to be entered by the smart card according to the power supply state information comprises:
if the power supply state information is power supply abnormal information, acquiring a power supply from the standby battery module, and determining that a target running state to be entered by the intelligent network card is a shutdown state;
the controlling the intelligent network card to restart or shut down according to the target running state comprises the following steps:
and controlling the intelligent network card to be powered off according to the power-off state.
3. The method according to claim 1, wherein a communication chip is further disposed in the intelligent network card, the intelligent network card is in communication connection with the server through the communication chip, and before the step of receiving the power supply state information of the server to the intelligent network card, which is sent by the battery backup module, the method further comprises:
receiving an interrupt signal sent by the communication chip, and sending a power supply state information acquisition request to the standby battery module to acquire the power supply state information; the interrupt signal represents that a communication link between the intelligent network card and the server is abnormal;
the determining the target operation state to be entered by the intelligent network card according to the power supply state information includes:
and if the power supply state information is power supply normal information, determining that the target running state to be entered by the intelligent network card is a restarting state.
4. The method according to claim 3, wherein the determining a target operation state to be entered by the smart card according to the power supply state information comprises:
and if the power supply state information is power supply abnormal information, acquiring a power supply from the standby battery module, and determining that the target running state to be entered by the intelligent network card is a shutdown state.
5. The method according to claim 3, wherein the controlling the intelligent network card to restart or shut down according to the target operation state comprises:
controlling the intelligent network card to restart and receiving a communication link protocol obtained after the communication chip renegotiates with the server;
and reestablishing the communication connection between the intelligent network card and the server according to the communication link protocol.
6. The utility model provides a management device of intelligence network card, its characterized in that is applied to the intelligence network card, the intelligence network card is pegged graft in the server to follow the power is obtained to the server, be provided with the battery backup module in the intelligence network card, the battery backup module with the power supply electricity of server is connected, the device includes:
the receiving module is used for receiving power supply state information sent by the standby battery module; the power supply state information represents the power supply state of the server to the intelligent network card;
the determining module is used for determining a target running state to be entered by the intelligent network card according to the power supply state information;
and the control module is used for controlling the intelligent network card to restart or shut down according to the target running state.
7. The apparatus according to claim 6, wherein the determining module is further configured to, when the power supply state information is power supply abnormality information, obtain a power supply from the battery backup module, and determine that a target operation state to be entered by the intelligent network card is a shutdown state;
the control module is further used for controlling the intelligent network card to be powered off according to the power-off state.
8. The device according to claim 6, wherein a communication chip is further disposed in the intelligent network card, the intelligent network card is in communication connection with the server through the communication chip, and the receiving module is further configured to receive an interrupt signal sent by the communication chip and send a power supply status information obtaining request to the backup battery module to obtain the power supply status information; the interrupt signal represents that a communication link between the intelligent network card and the server is abnormal;
the determining module is further configured to determine that a target running state to be entered by the intelligent network card is a restart state when the power supply state information is power supply normal information.
9. An intelligent network card comprising a processor and a memory, wherein the memory stores a computer program executable by the processor, and the processor executes the computer program to implement the method for managing the intelligent network card according to any one of claims 1 to 5.
10. A computer-readable storage medium, on which a computer program is stored, the computer program, when being executed by a processor, implementing the method for managing an intelligent network card according to any one of claims 1 to 5.
CN202210995204.8A 2022-08-18 2022-08-18 Management method and related device of intelligent network card Pending CN115292133A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210995204.8A CN115292133A (en) 2022-08-18 2022-08-18 Management method and related device of intelligent network card

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210995204.8A CN115292133A (en) 2022-08-18 2022-08-18 Management method and related device of intelligent network card

Publications (1)

Publication Number Publication Date
CN115292133A true CN115292133A (en) 2022-11-04

Family

ID=83829774

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210995204.8A Pending CN115292133A (en) 2022-08-18 2022-08-18 Management method and related device of intelligent network card

Country Status (1)

Country Link
CN (1) CN115292133A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117194172A (en) * 2023-10-11 2023-12-08 珠海世宁达科技有限公司 Network card power supply control method and related device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117194172A (en) * 2023-10-11 2023-12-08 珠海世宁达科技有限公司 Network card power supply control method and related device
CN117194172B (en) * 2023-10-11 2024-03-22 珠海世宁达科技有限公司 Network card power supply control method and related device

Similar Documents

Publication Publication Date Title
US9015458B2 (en) Computer system and method for updating basic input/output system by switching between local mode and bypass mode through baseboard management controller
US10866623B2 (en) Information handling system and method to detect and recover from no power/no post failures
CN115292133A (en) Management method and related device of intelligent network card
CN113630443A (en) Service management method, device, server and medium
CN115658113A (en) Server self-starting method and device, readable storage medium and electronic equipment
CN113746821A (en) Intelligent device control method and device, storage medium and electronic device
CN113672306A (en) Server component self-checking abnormity recovery method, device, system and medium
JP3231561B2 (en) Backup memory control method
CN117289963A (en) Method and equipment for online updating target area of server platform service firmware
CN107273239B (en) Protection system and protection method for server boot code
CN115167883A (en) Operating system installation method, device, equipment and storage medium
CN113986357B (en) Method, apparatus and storage medium for establishing communication link
CN114995854A (en) Application program online upgrading method and device, terminal and operation machine
CN115766410A (en) Method, system, device and medium for switching working states of machine
CN115407861A (en) Target equipment power supply method, system and device and computer readable storage medium
CN114138567A (en) Substrate management control module maintenance method, device, equipment and storage medium
CN112783535A (en) Firmware upgrading method, embedded device and storage medium
CN112882759A (en) Control method and device and electronic equipment
CN113515291A (en) Equipment online upgrading method and device
CN117472457B (en) Dual BIOS (basic input output system), system switching method, device, equipment and storage medium
CN113849432B (en) Server firmware data storage method, starting method, device, equipment and medium
CN117215859B (en) Main and standby BIOS automatic switching method, automatic switching device and computer
CN116680119A (en) Startup exception processing method, controller, computing equipment and PCB
CN116701071A (en) Server power-on test method and device
JPH1027159A (en) Communication line recovering system and its method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication