CN111522559A - Intelligent network card firmware refreshing method and device and computer readable storage medium - Google Patents

Intelligent network card firmware refreshing method and device and computer readable storage medium Download PDF

Info

Publication number
CN111522559A
CN111522559A CN202010305732.7A CN202010305732A CN111522559A CN 111522559 A CN111522559 A CN 111522559A CN 202010305732 A CN202010305732 A CN 202010305732A CN 111522559 A CN111522559 A CN 111522559A
Authority
CN
China
Prior art keywords
network card
intelligent network
refreshing
hot plug
firmware
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
CN202010305732.7A
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.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent 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 Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202010305732.7A priority Critical patent/CN111522559A/en
Publication of CN111522559A publication Critical patent/CN111522559A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • G06F8/63Image based installation; Cloning; Build to order

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The application discloses a method and a device for refreshing a firmware of an intelligent network card and a computer readable storage medium. The method is applied to a refreshing tooling machine supporting PCIE hot plug, and comprises the steps of automatically acquiring the number of network ports of an intelligent network card and the firmware version of the network card when the intelligent network card is detected, wherein the current hot plug state of the intelligent network card is a closed state; determining a refreshing mode of the intelligent network card according to the number of network ports, the firmware version of the network card and preset standard parameter information, wherein the refreshing mode comprises refreshing and non-refreshing; if the refreshing mode is the refreshing requirement, automatically starting hot plug of the intelligent network card after the firmware version is refreshed; if the refreshing mode is not needed to be refreshed, automatically triggering the hot plug state of the intelligent network card to be an open state; therefore, the problem of the defects of the existing intelligent network card firmware refreshing mode is effectively solved, and the production efficiency of the server is improved.

Description

Intelligent network card firmware refreshing method and device and computer readable storage medium
Technical Field
The present application relates to the technical field of server internal component installation, and in particular, to a method and an apparatus for refreshing a smart card component, and a computer readable storage medium.
Background
With the rapid popularization and application of computer network technology, network cards are installed in various hardware devices to be connected to a network, for example, an intel intelligent network card is often required to be installed in the assembling process of a current server. The intelligent network card firmware refresher of the current server can only refresh by a single chip line and then is assembled to the whole machine for use.
The intelligent network card firmware refreshing method has the following problems: firstly, due to the particularity of the intelligent network card, the refreshing tool can only refresh one chip at each startup, the time is about 15 minutes, and most of the time is consumed in the startup and shutdown of the machine; secondly, when an engineer refreshes, the engineer manually configures the intelligent network card service main IP and manually executes the refreshing operation, which consumes time and labor; finally, this method is inefficient and not conducive to mass production in a factory.
In view of this, how to solve the problem of the foregoing drawback of the intelligent network card firmware refreshing method and improve the production efficiency of the server are technical problems that need to be solved by those skilled in the art.
Disclosure of Invention
The application provides an intelligent network card firmware refreshing method, an intelligent network card firmware refreshing device and a computer readable storage medium, which effectively solve the problem of defects existing in the existing intelligent network card firmware refreshing mode and improve the production efficiency of a server.
In order to solve the above technical problems, embodiments of the present invention provide the following technical solutions:
an embodiment of the present invention provides a method for refreshing a firmware of an intelligent network card, which is applied to a refreshing tool machine supporting PCIE hot plug, and includes:
when the intelligent network card is detected, automatically acquiring the number of network ports of the intelligent network card and the firmware version of the network card; the current hot plug state of the intelligent network card is a closing state;
determining a refreshing mode of the intelligent network card according to the number of the network ports, the firmware version of the network card and preset standard parameter information, wherein the refreshing mode comprises refreshing and non-refreshing;
if the refreshing mode is refreshing, automatically starting hot plugging of the intelligent network card after refreshing is finished; and if the refreshing mode is not required to be refreshed, automatically triggering the hot plug state of the intelligent network card to be an open state.
Optionally, the determining the refresh mode of the intelligent network card according to the number of the network ports, the firmware version of the network card and the preset standard parameter information includes:
judging whether the network port number and the network card firmware version are the same as the preset standard parameter information;
if yes, automatically configuring a server IP of the intelligent network card to automatically restart the network port, and calling a pre-stored network card refreshing program to execute the automatic refreshing operation of the intelligent network card;
if not, outputting prompt information that the version of the intelligent network card is correct.
Optionally, after the invoking of the pre-stored network card refreshing program to execute the automatic refreshing operation of the intelligent network card, the method further includes:
and when the refreshing operation is detected to be completed, automatically popping up a refreshed display interface, and simultaneously sending network card replacement prompt information to the pre-bound client.
Optionally, the outputting the prompt information that the version of the intelligent network card is correct includes:
and automatically popping up the refreshed display interface, and simultaneously sending network card replacement prompt information to the pre-bound client.
Optionally, after automatically triggering the hot plug state of the intelligent network card to be the open state, the method further includes:
when a hot plug state updating command triggered manually is received, setting the hot plug state of the current intelligent network card to be a closed state; or
Acquiring identification information of a current intelligent network card in real time, and reading historical intelligent network card identification information stored by a system; each intelligent network card has unique identification information;
if the identification information of the current intelligent network card is different from the historical intelligent network card identification information, triggering the hot plug state of the current intelligent network card to be a closing state, and updating the historical intelligent network card identification information to be the identification information of the current intelligent network card.
Optionally, before the step of automatically acquiring the number of the network ports of the intelligent network card and the firmware version of the network card when the intelligent network card is detected, the method further includes:
and when the intelligent network card is not detected within a preset time period, displaying prompt information of the network card to be installed, and simultaneously sending network card installation prompt information to the pre-bound client.
Optionally, after automatically triggering the hot plug state of the intelligent network card to be the open state, the method further includes:
displaying the current hot plug and pull state of the intelligent network card;
and when a hot plug state correction instruction is received, adjusting the current hot plug state to be the hot plug state in the hot plug state correction instruction.
Another aspect of the embodiments of the present invention provides an intelligent network card firmware refreshing apparatus, which is applied to a refreshing tool machine supporting PCIE hot plug, and includes:
the parameter acquisition module is used for automatically acquiring the number of network ports of the intelligent network card and the firmware version of the network card when the intelligent network card is detected; the current hot plug state of the intelligent network card is a closing state;
the refreshing judging module is used for determining the refreshing mode of the intelligent network card according to the number of the network ports, the firmware version of the network card and preset standard parameter information, wherein the refreshing mode comprises refreshing and non-refreshing;
the network card hot plug and pull state setting module is used for automatically starting hot plug of the intelligent network card after refreshing is finished if the refreshing mode is that refreshing is required; and if the refreshing mode is not required to be refreshed, automatically triggering the hot plug state of the intelligent network card to be an open state.
The embodiment of the invention also provides an intelligent network card firmware refreshing device which comprises a processor, wherein the processor is used for realizing the steps of the intelligent network card firmware refreshing method when executing the computer program stored in the memory.
The embodiment of the invention finally provides a computer readable storage medium, wherein an intelligent network card firmware refreshing program is stored on the computer readable storage medium, and the intelligent network card firmware refreshing program is executed by a processor to realize the steps of the intelligent network card firmware refreshing method.
The technical scheme provided by the application has the advantages that the refreshing tool is universal, a special tool does not need to be prepared, only a PCIE hot plug function needs to be supported by a machine, and the applicability is strong; the method and the device have the advantages that refreshing environment does not need to be manually and repeatedly configured, the method and the device can be used all the time only by one-time deployment, the efficiency is high, and too much labor is not needed; the refreshing tool does not need to be repeatedly turned on and off, and only needs to be turned on once, so that the time wasted in turning on and off the refreshing tool is saved; the intelligent network card refreshing method has the advantages that the intelligent network card information is automatically detected, the operation to be done is intelligently judged, manual repeated execution of refreshing scripts is not needed, manual operation errors are avoided, the condition that brushing is missed and brushing is mistaken is avoided, the operation time is saved, the defect problem existing in the refreshing mode of the existing intelligent network card firmware is effectively solved, the short board in the refreshing efficiency of the intelligent network card in the prior art is made up, the refreshing efficiency is improved, the guarantee is provided for mass production of factories, and the production efficiency of the server can be effectively improved.
In addition, the embodiment of the invention also provides a corresponding implementation device and a computer readable storage medium for the intelligent network card firmware refreshing method, so that the method has higher practicability, and the device and the computer readable storage medium have corresponding advantages.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions of the related art, the drawings required to be used in the description of the embodiments or the related art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a schematic flowchart of a method for refreshing a firmware of an intelligent network card according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of another method for refreshing a firmware of an intelligent network card according to an embodiment of the present invention;
fig. 3 is a structural diagram of an embodiment of a device for refreshing a firmware of an intelligent network card according to an embodiment of the present invention;
fig. 4 is a structural diagram of another embodiment of a smart card firmware refreshing apparatus according to an embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the disclosure, the invention will be described in further detail with reference to the accompanying drawings and specific embodiments. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first," "second," "third," "fourth," and the like in the description and claims of this application and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "comprising" and "having," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements but may include other steps or elements not expressly listed.
Having described the technical solutions of the embodiments of the present invention, various non-limiting embodiments of the present application are described in detail below.
Referring to fig. 1, fig. 1 is a schematic flow chart of a method for refreshing a firmware of an intelligent network card according to an embodiment of the present invention, and the method is applied to a refreshing tooling machine supporting PCIE hot plug, that is, an execution subject of the present application is a refreshing tooling machine, where the embodiment of the present invention may include the following contents:
s101: and when the intelligent network card is detected, automatically acquiring the number of network ports of the intelligent network card and the firmware version of the network card.
It can be understood that, before executing the refreshing of the intelligent network card firmware, the firmware file of the intelligent network card, the network card refreshing program, the computer program for implementing the method for refreshing the intelligent network card firmware, the refreshing tool and the refreshing environment software package are required to be arranged in the refreshing tooling machine supporting the PCIE hot plug in advance. And the network card refreshing program is used for refreshing the firmware version of the intelligent network card which is currently inserted into the refreshing tooling machine based on the firmware file. The refresh environment software package may be, for example, a python2.7 package, and the python2.7 refresh environment may be automatically configured based on the python2.7 package before executing S101, and may be used without repeated configuration once the configuration is completed. After the user inserts the intelligent network card into the refreshing tooling machine, the hot plug state of the intelligent network card can be manually triggered to be closed, namely the current hot plug state of the intelligent network card is in a closed state after the intelligent network card is detected in the step S101.
S102: determining whether the intelligent network card is in a mode needing refreshing or not according to the number of network ports, the firmware version of the network card and preset standard parameter information, and if the intelligent network card is in the mode needing refreshing, executing S103; if the refresh mode is not required, S104 is executed.
In the application, the number of the network ports and the firmware version of the network card can be used as a standard parameter for judging whether the firmware of the intelligent network card needs to be refreshed or not, standard parameter information can be preset and stored in the system, and as long as one of the number of the network ports or the firmware version of the network card is different from the standard parameter information, the firmware version of the current intelligent network card needs to be refreshed. That is, if the number of network ports and the firmware version of the network card are different from the preset standard parameter information, automatically configuring a server IP of the intelligent network card to automatically restart the network ports, and calling a pre-stored network card refreshing program to execute the automatic refreshing operation of the intelligent network card; and if the number of the network ports and the firmware version of the network card are the same as the preset standard parameter information, outputting prompt information that the version of the intelligent network card is correct.
S103: and when the refreshing is finished, the hot plug of the intelligent network card is automatically started.
After the firmware version of the current intelligent network card is refreshed, the hot plug of the intelligent network card is automatically started, namely the hot plug state in the step S101 is set to be on from off, so that a user can pull out the updated intelligent network card, and then insert the subsequent intelligent network card to be refreshed, and the network card is replaced without shutting down the refreshing tool. Therefore, after the refreshing tool machine is started, the refreshing tool machine can work all the time as long as the machine runs normally until the intelligent network card to be refreshed does not exist, and repeated work of shutdown and starting is not needed.
S104: and automatically triggering the hot plug state of the intelligent network card to be an open state.
The refreshing tool does not need to be shut down when the network card is replaced, the program can automatically trigger the hot plug state to be the on-state when the version of the network card is correct, and then the network card is manually replaced in the on-state, so that the manual workload is reduced.
In the technical scheme provided by the embodiment of the invention, the refreshing tool is universal, a special tool does not need to be prepared, only a machine needs to support a PCIE hot plug function, and the applicability is strong; the method and the device have the advantages that refreshing environment does not need to be manually and repeatedly configured, the method and the device can be used all the time only by one-time deployment, the efficiency is high, and too much labor is not needed; the refreshing tool does not need to be repeatedly turned on and off, and only needs to be turned on once, so that the time wasted in turning on and off the refreshing tool is saved; the intelligent network card refreshing method has the advantages that the intelligent network card information is automatically detected, the operation to be done is intelligently judged, manual repeated execution of refreshing scripts is not needed, manual operation errors are avoided, the condition that brushing is missed and brushing is mistaken is avoided, the operation time is saved, the defect problem existing in the refreshing mode of the existing intelligent network card firmware is effectively solved, the short board in the refreshing efficiency of the intelligent network card in the prior art is made up, the refreshing efficiency is improved, the guarantee is provided for mass production of factories, and the production efficiency of the server can be effectively improved.
As an optional implementation manner, in order to enable a worker or a user to more intuitively determine a state of an intelligent network card currently inserted into the machine, the refreshing tooling machine is provided with a display or a user client is a device with a display function, such as a mobile phone or a computer, for the refreshing tooling machine without a display function, the client may be pre-bound, and information to be displayed is displayed to the worker through the pre-bound client, please refer to fig. 2, where a main monitoring program in fig. 2 is a computer program for implementing a method for refreshing a firmware of an intelligent network card, and may include the following contents:
and for the intelligent network card needing to refresh the firmware version, when the completion of the refresh operation is detected, automatically popping up a refreshed display interface, and simultaneously sending network card replacement prompt information to the pre-bound client. For the intelligent network card which can not refresh the firmware version, after the fact that refreshing is not needed is determined, a refreshed display interface can be automatically popped up, and network card replacement prompt information is sent to the pre-bound client side.
Furthermore, the hot plug state of the intelligent network card can be displayed, and the current hot plug state of the intelligent network card can be displayed in real time through the display interface, so that workers can replace the intelligent network card in time, and the overall refreshing efficiency of the large-batch intelligent network card is improved. In addition, it can be understood that, when the hot plug state is displayed to be wrong, the hot plug state correction function is also provided, specifically, when the hot plug state correction instruction is received, the current hot plug state is adjusted to be the hot plug state in the hot plug state correction instruction.
In addition, in order to improve the overall refreshing efficiency of a large batch of intelligent network cards, when the intelligent network cards are not detected within a preset time period, the prompt information of the network cards to be installed is displayed, and the network card installation prompt information is sent to the pre-bound client side.
When the display interface is displayed through the client, the client can be the same client as the client which sends the network card replacement prompt information or the network card to be installed with the prompt information, and can also be different clients, which does not influence the implementation of the application.
As another optional implementation manner, after the intelligent network card is inserted into the refreshing tool machine, when the intelligent network card detects and automatically performs the refreshing operation, the hot plug state is the off state, and in order to further improve the automation performance and improve the refreshing efficiency of the batched intelligent network cards, besides manual triggering, the intelligent network card may also be automatically controlled, and the following contents may be included:
the hot plug state of the artificially triggered intelligent network card as the closing state comprises the following steps:
and when receiving a manual hot plug state updating command, setting the hot plug state of the current intelligent network card to be in a closed state.
The hot plug state for automatically triggering the intelligent network card comprises the following steps:
acquiring identification information of a current intelligent network card in real time, and reading historical intelligent network card identification information stored by a system; each intelligent network card has unique identification information;
if the identification information of the current intelligent network card is different from the identification information of the historical intelligent network card, triggering the hot plug state of the current intelligent network card to be a closing state, and updating the identification information of the historical intelligent network card to the identification information of the current intelligent network card.
It should be noted that, in the present application, there is no strict sequential execution order among the steps, and as long as a logical order is met, the steps may be executed simultaneously or according to a certain preset order, and fig. 1 to fig. 2 are only schematic manners, and do not represent only such an execution order.
The embodiment of the invention also provides a corresponding device for the intelligent network card firmware refreshing method, thereby further ensuring that the method has higher practicability. Wherein the means can be described separately from the functional module point of view and the hardware point of view. The intelligent network card firmware refreshing apparatus provided in the embodiment of the present invention is introduced below, and the intelligent network card firmware refreshing apparatus described below and the intelligent network card firmware refreshing method described above may be referred to in correspondence with each other.
Based on the angle of the functional module, referring to fig. 3, fig. 3 is a structural diagram of an intelligent network card firmware refreshing apparatus provided in an embodiment of the present invention, which is applied to a refreshing tooling machine supporting PCIE hot plug, and the apparatus may include:
the parameter acquisition module 301 is configured to, when the intelligent network card is detected, automatically acquire the number of network ports of the intelligent network card and a firmware version of the network card; the current hot plug state of the intelligent network card is a closing state.
And the refresh mode judging module 302 is configured to determine a refresh mode of the intelligent network card according to the number of network ports, the firmware version of the network card, and the preset standard parameter information, where the refresh mode includes a refresh-required mode and a refresh-unnecessary mode.
The network card hot plug and pull state setting module 303 is used for automatically starting hot plug of the intelligent network card after refreshing is finished if the refreshing mode is that refreshing is required; if the refreshing mode is not needed to be refreshed, the hot plug state of the intelligent network card is automatically triggered to be an open state.
Optionally, in some embodiments of this embodiment, the refresh determining module 302 may be configured to determine whether the number of network ports and the firmware version of the network card are the same as the preset standard parameter information; if yes, automatically configuring a server IP of the intelligent network card to automatically restart the network port, and calling a pre-stored network card refreshing program to execute automatic refreshing operation of the intelligent network card; if not, the prompt message that the version of the intelligent network card is correct is output.
In some implementations of this embodiment, the apparatus may further include:
the refreshing state display module is used for automatically popping up a display interface which is refreshed when the refreshing operation is detected to be finished; or when the intelligent network card is not detected in a preset time period, displaying prompt information to be installed of the network card;
and the network card replacement prompting module is used for sending network card replacement prompting information to the pre-bound client when the refreshing operation is detected to be completed or the intelligent network card is not detected within a preset time period.
In other embodiments of this embodiment, the apparatus may further include:
the hot plug state display module is used for displaying the current hot plug state of the intelligent network card;
and the hot plug state correction module is used for adjusting the current hot plug state to be the hot plug state in the hot plug state correction instruction when the hot plug state correction instruction is received.
As an optional implementation manner, the apparatus may further include a hot plug state closing triggering module, where the hot plug state closing triggering module is configured to set a hot plug state of the current intelligent network card to a closing state when receiving a manual hot plug state updating instruction; the intelligent network card identification information acquisition system can also be used for acquiring the identification information of the current intelligent network card in real time and reading the historical intelligent network card identification information stored by the system; each intelligent network card has unique identification information; if the identification information of the current intelligent network card is different from the identification information of the historical intelligent network card, triggering the hot plug state of the current intelligent network card to be a closing state, and updating the identification information of the historical intelligent network card to the identification information of the current intelligent network card.
The functions of the functional modules of the intelligent network card firmware refreshing apparatus according to the embodiment of the present invention may be specifically implemented according to the method in the foregoing method embodiment, and the specific implementation process may refer to the related description of the foregoing method embodiment, which is not described herein again.
Therefore, the embodiment of the invention effectively solves the problem of the defects of the existing intelligent network card firmware refreshing mode and improves the production efficiency of the server.
The intelligent network card firmware refreshing apparatus mentioned above is described from the perspective of the functional module, and further, the present application also provides an intelligent network card firmware refreshing apparatus, which is described from the perspective of hardware. Fig. 4 is a structural diagram of another intelligent network card firmware refreshing apparatus according to an embodiment of the present application. As shown in fig. 4, the apparatus comprises a memory 40 for storing a computer program;
the processor 41 is configured to implement the steps of the intelligent card firmware refreshing method mentioned in the above embodiments when executing the computer program.
Processor 41 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so forth. The processor 41 may be implemented in at least one hardware form of a DSP (Digital signal processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 41 may also include a main processor and a coprocessor, the main processor is a processor for processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 41 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content required to be displayed on the display screen. In some embodiments, processor 41 may further include an AI (Artificial Intelligence) processor for processing computational operations related to machine learning.
Memory 40 may include one or more computer-readable storage media, which may be non-transitory. Memory 40 may also include high speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In this embodiment, the memory 40 is at least used for storing the following computer program 401, wherein after the computer program is loaded and executed by the processor 41, the relevant steps of the intelligent network card firmware refreshing method disclosed in any of the foregoing embodiments can be implemented. In addition, the resources stored in the memory 40 may also include an operating system 402, data 403, and the like, and the storage manner may be a transient storage or a permanent storage. Operating system 402 may include, among other things, Windows, Unix, Linux, and the like. Data 403 may include, but is not limited to, data corresponding to the intelligent card firmware refresh result, and the like.
In some embodiments, the intelligent card firmware refreshing apparatus may further include a display 42, an input/output interface 43, a communication interface 44, a power supply 45, and a communication bus 46.
Those skilled in the art will appreciate that the configuration shown in fig. 4 does not constitute a limitation of the smart card firmware refreshing apparatus and may include more or fewer components than those shown, such as sensors 47.
The functions of the functional modules of the intelligent network card firmware refreshing apparatus according to the embodiment of the present invention may be specifically implemented according to the method in the foregoing method embodiment, and the specific implementation process may refer to the related description of the foregoing method embodiment, which is not described herein again.
Therefore, the embodiment of the invention effectively solves the problem of the defects of the existing intelligent network card firmware refreshing mode and improves the production efficiency of the server.
It is understood that, if the intelligent network card firmware refreshing method in the above embodiment is implemented in the form of a software functional unit and sold or used as a stand-alone product, it may be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the present application may be substantially or partially implemented in the form of a software product, which is stored in a storage medium and executes all or part of the steps of the methods of the embodiments of the present application, or all or part of the technical solutions. And the aforementioned storage medium includes: a U disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), an electrically erasable programmable ROM, a register, a hard disk, a removable magnetic disk, a CD-ROM, a magnetic or optical disk, and other various media capable of storing program codes.
Based on this, an embodiment of the present invention further provides a computer-readable storage medium, in which an intelligent network card firmware refreshing program is stored, and the steps of the intelligent network card firmware refreshing method according to any one of the above embodiments are performed by a processor.
The functions of the functional modules of the computer-readable storage medium according to the embodiment of the present invention may be specifically implemented according to the method in the foregoing method embodiment, and the specific implementation process may refer to the related description of the foregoing method embodiment, which is not described herein again.
Therefore, the embodiment of the invention effectively solves the problem of the defects of the existing intelligent network card firmware refreshing mode and improves the production efficiency of the server.
The embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same or similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The method, the apparatus and the computer readable storage medium for refreshing the firmware of the intelligent network card provided by the present application are described in detail above. The principles and embodiments of the present invention are explained herein using specific examples, which are presented only to assist in understanding the method and its core concepts. It should be noted that, for those skilled in the art, it is possible to make various improvements and modifications to the present invention without departing from the principle of the present invention, and those improvements and modifications also fall within the scope of the claims of the present application.

Claims (10)

1. The method for refreshing the firmware of the intelligent network card is applied to a refreshing tool machine supporting PCIE hot plug and comprises the following steps:
when the intelligent network card is detected, automatically acquiring the number of network ports of the intelligent network card and the firmware version of the network card; the current hot plug state of the intelligent network card is a closing state;
determining a refreshing mode of the intelligent network card according to the number of the network ports, the firmware version of the network card and preset standard parameter information, wherein the refreshing mode comprises refreshing and non-refreshing;
if the refreshing mode is refreshing, automatically starting hot plugging of the intelligent network card after refreshing is finished; and if the refreshing mode is not required to be refreshed, automatically triggering the hot plug state of the intelligent network card to be an open state.
2. The method of claim 1, wherein the determining the refresh mode of the intelligent network card according to the number of the network ports, the firmware version of the network card, and the parameter information of the preset standard comprises:
judging whether the network port number and the network card firmware version are the same as the preset standard parameter information;
if yes, automatically configuring a server IP of the intelligent network card to automatically restart the network port, and calling a pre-stored network card refreshing program to execute the automatic refreshing operation of the intelligent network card;
if not, outputting prompt information that the version of the intelligent network card is correct.
3. The method for refreshing the firmware of the intelligent network card according to claim 2, wherein after the invoking of the pre-stored network card refreshing program to perform the automatic refreshing operation of the intelligent network card, the method further comprises:
and when the refreshing operation is detected to be completed, automatically popping up a refreshed display interface, and simultaneously sending network card replacement prompt information to the pre-bound client.
4. The method as claimed in claim 2, wherein the outputting the prompt message that the version of the intelligent network card is correct comprises:
and automatically popping up the refreshed display interface, and simultaneously sending network card replacement prompt information to the pre-bound client.
5. The method for refreshing the firmware of the intelligent network card according to any one of claims 1 to 4, wherein after the automatically triggering the hot plug state of the intelligent network card to be the open state, the method further comprises:
when a hot plug state updating command triggered manually is received, setting the hot plug state of the current intelligent network card to be a closed state; or
Acquiring identification information of a current intelligent network card in real time, and reading historical intelligent network card identification information stored by a system; each intelligent network card has unique identification information;
if the identification information of the current intelligent network card is different from the historical intelligent network card identification information, triggering the hot plug state of the current intelligent network card to be a closing state, and updating the historical intelligent network card identification information to be the identification information of the current intelligent network card.
6. The method for refreshing the firmware of the intelligent network card according to claim 5, wherein before the intelligent network card is detected and the number of the network ports and the firmware version of the network card of the intelligent network card are automatically obtained, the method further comprises:
and when the intelligent network card is not detected within a preset time period, displaying prompt information of the network card to be installed, and simultaneously sending network card installation prompt information to the pre-bound client.
7. The method for refreshing the firmware of the intelligent network card according to claim 5, wherein after the automatically triggering the hot plug state of the intelligent network card to be the open state, the method further comprises:
displaying the current hot plug and pull state of the intelligent network card;
and when a hot plug state correction instruction is received, adjusting the current hot plug state to be the hot plug state in the hot plug state correction instruction.
8. The utility model provides an intelligent network card firmware refreshes device which characterized in that is applied to the frock machine that refreshes that supports PCIE hot plug, includes:
the parameter acquisition module is used for automatically acquiring the number of network ports of the intelligent network card and the firmware version of the network card when the intelligent network card is detected; the current hot plug state of the intelligent network card is a closing state;
the refreshing judging module is used for determining the refreshing mode of the intelligent network card according to the number of the network ports, the firmware version of the network card and preset standard parameter information, wherein the refreshing mode comprises refreshing and non-refreshing;
the network card hot plug and pull state setting module is used for automatically starting hot plug of the intelligent network card after refreshing is finished if the refreshing mode is that refreshing is required; and if the refreshing mode is not required to be refreshed, automatically triggering the hot plug state of the intelligent network card to be an open state.
9. An intelligent network card firmware refreshing apparatus, comprising a processor, wherein the processor is configured to implement the steps of the intelligent network card firmware refreshing method according to any one of claims 1 to 7 when executing the computer program stored in the memory.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon an intelligent network card firmware refreshing program, which when executed by a processor implements the steps of the intelligent network card firmware refreshing method according to any one of claims 1 to 7.
CN202010305732.7A 2020-04-17 2020-04-17 Intelligent network card firmware refreshing method and device and computer readable storage medium Pending CN111522559A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010305732.7A CN111522559A (en) 2020-04-17 2020-04-17 Intelligent network card firmware refreshing method and device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010305732.7A CN111522559A (en) 2020-04-17 2020-04-17 Intelligent network card firmware refreshing method and device and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN111522559A true CN111522559A (en) 2020-08-11

Family

ID=71903428

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010305732.7A Pending CN111522559A (en) 2020-04-17 2020-04-17 Intelligent network card firmware refreshing method and device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN111522559A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113411212A (en) * 2021-06-16 2021-09-17 英业达科技有限公司 BIOS control system of intelligent network card and BIOS control method of intelligent network card
CN113608940A (en) * 2021-06-30 2021-11-05 苏州浪潮智能科技有限公司 Production test method, system and device of intelligent network card and readable storage medium
WO2022148072A1 (en) * 2021-01-07 2022-07-14 苏州浪潮智能科技有限公司 Pcie switch working mode updating method and related assembly

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6205503B1 (en) * 1998-07-17 2001-03-20 Mallikarjunan Mahalingam Method for the hot swap and add of input/output platforms and devices
US20090100208A1 (en) * 1997-05-13 2009-04-16 Micron Technology, Inc. Systems and methods for performing a hot input function
CN105867976A (en) * 2016-04-01 2016-08-17 浪潮电子信息产业股份有限公司 Easy-to-apply server firmware online refreshing method
CN105893293A (en) * 2014-12-18 2016-08-24 伊姆西公司 System and method used for managing hot plug of peripheral component interface express device
CN107220084A (en) * 2017-05-26 2017-09-29 郑州云海信息技术有限公司 A kind of computer firmware method for refreshing
US20170357500A1 (en) * 2016-06-13 2017-12-14 Dell Products, Lp System and Method for Runtime Update of ESRT Table for Hot-Pluggable Disks
CN108469964A (en) * 2018-05-18 2018-08-31 郑州云海信息技术有限公司 A method of it solving network interface card FW and upgrades automatically
CN108616382A (en) * 2018-03-07 2018-10-02 华为技术有限公司 Upgrade method, apparatus, network interface card and the equipment of network interface card firmware

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090100208A1 (en) * 1997-05-13 2009-04-16 Micron Technology, Inc. Systems and methods for performing a hot input function
US6205503B1 (en) * 1998-07-17 2001-03-20 Mallikarjunan Mahalingam Method for the hot swap and add of input/output platforms and devices
CN105893293A (en) * 2014-12-18 2016-08-24 伊姆西公司 System and method used for managing hot plug of peripheral component interface express device
CN105867976A (en) * 2016-04-01 2016-08-17 浪潮电子信息产业股份有限公司 Easy-to-apply server firmware online refreshing method
US20170357500A1 (en) * 2016-06-13 2017-12-14 Dell Products, Lp System and Method for Runtime Update of ESRT Table for Hot-Pluggable Disks
CN107220084A (en) * 2017-05-26 2017-09-29 郑州云海信息技术有限公司 A kind of computer firmware method for refreshing
CN108616382A (en) * 2018-03-07 2018-10-02 华为技术有限公司 Upgrade method, apparatus, network interface card and the equipment of network interface card firmware
CN108469964A (en) * 2018-05-18 2018-08-31 郑州云海信息技术有限公司 A method of it solving network interface card FW and upgrades automatically

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
世外涛缘等: "如何判断手机更换了sim卡", 《HTTPS://BBS.CSDN.NET/TOPICS/320145519?LIST=1189020》 *
王凤岭: "《Internet技术使用教程》", 31 May 2004, 重庆大学出版社 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022148072A1 (en) * 2021-01-07 2022-07-14 苏州浪潮智能科技有限公司 Pcie switch working mode updating method and related assembly
US11940941B2 (en) 2021-01-07 2024-03-26 Inspur Suzhou Intelligent Technology Co., Ltd. PCIe switch working mode updating method and related assembly
CN113411212A (en) * 2021-06-16 2021-09-17 英业达科技有限公司 BIOS control system of intelligent network card and BIOS control method of intelligent network card
CN113608940A (en) * 2021-06-30 2021-11-05 苏州浪潮智能科技有限公司 Production test method, system and device of intelligent network card and readable storage medium
CN113608940B (en) * 2021-06-30 2023-08-25 苏州浪潮智能科技有限公司 Production test method, system and device of intelligent network card and readable storage medium

Similar Documents

Publication Publication Date Title
CN111522559A (en) Intelligent network card firmware refreshing method and device and computer readable storage medium
CN110110306B (en) Data display method and device, terminal and computer readable storage medium
CN111857304B (en) Chip reset control method, device, equipment and storage medium
CN112000351A (en) Updating method, updating device, updating equipment and storage medium of BMC (baseboard management controller) firmware
CN111475175B (en) Method, device and medium for installing and guiding operation system based on ARM server
CN111290802B (en) Information analysis method and device for BMC internal device and readable storage medium
CN111130924A (en) Test method, test device and test equipment for Ethernet port of equipment
CN107423196B (en) Multi-card-slot state detection method, detection equipment and mobile terminal
CN113703792A (en) Firmware remote upgrade test method, device, server and medium
CN114153477A (en) Method, device, system, equipment and medium for upgrading firmware of PCIE (peripheral component interface express) driver card
CN117708029A (en) PCIE topology structure simulation method, device, equipment and medium
CN102819474B (en) Test method and device for system operation
CN113326192B (en) Application testing method, device, equipment and storage medium for mobile terminal
CN105354066A (en) OTA (over the air) downloading method, device and intelligent terminal
CN104007944A (en) Debugging printing method and system
CN114095303A (en) Communication device, data transmission method and electronic device
CN110798346B (en) Configuration method of newly added network card of Linux virtual machine and related components
CN111147400B (en) Method and device for command line configuration synchronization and electronic equipment
CN109511110B (en) WIFI configuration software installation control method and device and storage medium
CN110399165A (en) A kind of display methods, device and the equipment of Onboard NIC network interface parameter
CN111338711A (en) Operation request execution method and device and computer readable storage medium
CN113868128B (en) Method and device for testing PXE (PCI express) guide function and storage medium
CN106970891B (en) Method, device and system for interaction between microprocessor and peripheral
CN116827779A (en) Network card configuration method, device, equipment and readable storage medium
CN115373704A (en) Android system upgrading method, device, equipment, storage medium and program product

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20200811

RJ01 Rejection of invention patent application after publication