CN111371610A - Network card firmware batch refreshing method, system, terminal and storage medium - Google Patents
Network card firmware batch refreshing method, system, terminal and storage medium Download PDFInfo
- Publication number
- CN111371610A CN111371610A CN202010132761.8A CN202010132761A CN111371610A CN 111371610 A CN111371610 A CN 111371610A CN 202010132761 A CN202010132761 A CN 202010132761A CN 111371610 A CN111371610 A CN 111371610A
- Authority
- CN
- China
- Prior art keywords
- network card
- upgrading
- subprogram
- target server
- 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.)
- Withdrawn
Links
- 238000000034 method Methods 0.000 title claims abstract description 44
- 230000008569 process Effects 0.000 claims abstract description 11
- 238000004590 computer program Methods 0.000 claims description 3
- 230000000977 initiatory effect Effects 0.000 claims 1
- 238000004891 communication Methods 0.000 description 5
- 238000010586 diagram Methods 0.000 description 5
- 230000009471 action Effects 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 238000006467 substitution reaction Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 2
- 238000009434 installation Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/0813—Configuration setting characterised by the conditions triggering a change of settings
- H04L41/082—Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/40—Transformation of program code
- G06F8/41—Compilation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/61—Installation
- G06F8/63—Image based installation; Cloning; Build to order
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/069—Management of faults, events, alarms or notifications using logs of notifications; Post-processing of notifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1095—Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1097—Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/34—Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Stored Programmes (AREA)
Abstract
The invention provides a method, a system, a terminal and a storage medium for batch refreshing of network card firmware, which comprise the following steps: storing the upgrade files of the models of the commonly used network cards to a storage server; setting a network card information reading program and an upgrading subprogram for downloading and executing an upgrading file; compiling the network card information reading program and the upgrading subprogram into a diskless mirror image; controlling a target server to start to enter a diskless environment; and mounting the diskless mirror image to the target server to execute network card firmware upgrade of the target server. The invention improves the feasibility of batch control of the network cards of different configuration servers for refreshing at the same time, increases the number of operable samples and is convenient to operate and maintain. The full automation process saves manpower and material resources.
Description
Technical Field
The invention relates to the technical field of servers, in particular to a network card firmware batch refreshing method, a network card firmware batch refreshing system, a network card firmware batch refreshing terminal and a storage medium.
Background
With the rapid development of the internet, the requirements for the expansion and use of the internet access are more and more strict in the server industry. Efficient, fast, and batch operation has been made in response to market demand.
The existing network card firmware upgrading method judges the FW version of the hardware network card through code automatic identification, and automatically upgrades and checks. However, the method can only perform batch upgrading on the network cards of the same type, a refreshing environment needs to be manually established every time of refreshing, the efficiency of refreshing action is only improved, refreshing steps are not optimized, and if batch network card upgrading is achieved, a plurality of threads need to be simultaneously started, the pressure of a console host is increased, and the refreshing progress is slowed down.
Disclosure of Invention
In view of the above-mentioned deficiencies of the prior art, the present invention provides a method, a system, a terminal and a storage medium for batch refreshing of network card firmware, so as to solve the above-mentioned technical problems.
In a first aspect, the present invention provides a method for batch refreshing network card firmware, including:
storing the upgrade files of the models of the commonly used network cards to a storage server;
setting a network card information reading program and an upgrading subprogram for downloading and executing an upgrading file;
compiling the network card information reading program and the upgrading subprogram into a diskless mirror image;
controlling a target server to start to enter a diskless environment;
and mounting the diskless mirror image to the target server to execute network card firmware upgrade of the target server.
Further, the storing the upgrade file of the common network card model to the storage server includes:
and storing the firmware file and the refreshing tool of the common network card model into a storage server, wherein the storage server is configured with a DHCP service and communicates with the control terminal by adopting a DHCP.
Further, the setting of the network card information reading program and the downloading of the upgrade file and the execution of the upgrade subprogram include:
compiling a network card information reading program, collecting the network card model and the network card firmware version information by the network card information reading program, and writing the collected information into a file;
and writing a subprogram calling program, and calling a corresponding upgrading subprogram by the subprogram calling program according to the model of the network card.
And compiling an upgrading subprogram, wherein the upgrading subprogram executes an upgrading file to complete firmware upgrading according to the upgrading file corresponding to the corresponding network card model downloaded from the storage server, restarts the network card to verify the upgrading result after upgrading is completed, and uploads a firmware upgrading report.
Further, the controlling target server initiates entering into a diskless environment, including:
collecting IP of all target servers;
establishing connection with a target server according to the IP;
sending a setting command to a target server, wherein the setting command sets that the target server automatically enters a diskless mode after being started through a network;
and sending a starting command to the target server through the local area network.
Further, the mounting the diskless mirror image to the target server to execute the network card firmware upgrade of the target server includes:
after the mounting of the diskless mirror image is finished, a network card information reading program is started to read the network card model and the firmware information of the current target server, and if the firmware information is not the latest version, firmware upgrading is executed;
calling a corresponding upgrading subprogram according to the model of the network card;
the corresponding upgrading subprogram downloads an upgrading file corresponding to the network card model from a storage server and executes the upgrading file;
and collecting logs generated in the execution process of the upgrading subprogram.
In a second aspect, the present invention provides a batch refreshing system for network card firmware, including:
the file storage unit is configured for storing the upgrade files of the models of the commonly used network cards to a storage server;
the program setting unit is used for configuring an upgrading subprogram for setting a network card information reading program and a common network card model;
the program compiling unit is configured to compile the network card information reading program and the upgrading subprogram into a diskless mirror image;
the target configuration unit is used for controlling the target server to start to enter a diskless environment;
and the upgrading execution unit is configured to mount the diskless mirror image to the target server to execute network card firmware upgrading of the target server.
Further, the target configuration unit includes:
the IP collection module is configured for collecting the IP of all the target servers;
the connection establishing module is configured to establish connection with a target server according to the IP;
the command sending module is configured to send a setting command to the target server, and the setting command sets the target server to be started through a network and then automatically enter a diskless mode after being started;
and the starting control module is configured for sending a starting command to the target server through the local area network.
Further, the upgrade execution unit includes:
the information reading module is configured to start a network card information reading program to read the network card model and the firmware information of the current target server after the diskless mirror mounting is finished, and execute firmware upgrading if the firmware information is not the latest version;
the program calling module is configured for calling a corresponding upgrading subprogram according to the model of the network card;
the program execution module is configured for downloading an upgrade file corresponding to the network card model from a storage server by the corresponding upgrade subprogram and executing the upgrade file;
and the log mobile phone module is configured to collect logs generated in the execution process of the upgrading subprogram.
In a third aspect, a terminal is provided, including:
a processor, a memory, wherein,
the memory is used for storing a computer program which,
the processor is used for calling and running the computer program from the memory so as to make the terminal execute the method of the terminal.
In a fourth aspect, a computer storage medium is provided having stored therein instructions that, when executed on a computer, cause the computer to perform the method of the above aspects.
The beneficial effect of the invention is that,
the invention provides a network card firmware batch refreshing method, a system, a terminal and a storage medium, wherein two servers are used, one server is used as a storage server, an upgrading tool and a firmware file of a mainstream network card are collected and placed on a specified path of the storage server, and the other server is used as a console and is configured with a dhcp service, so that a controlled machine can be guided to enter a diskless environment. The programming program identifies the model of the network card through codes, judges the existing firmware of the network card, calls corresponding tools and files according to the information, downloads the corresponding tools and files to a corresponding machine through a network, automatically carries out a series of actions such as installation, refreshing and the like, and compiles the program into the mirror image of the diskless environment, so that the machine can automatically run the program after being guided into the diskless environment, and time and labor are saved. The invention improves the feasibility of batch control of the network cards of different configuration servers for refreshing at the same time, increases the number of operable samples and is convenient to operate and maintain. The full automation process saves manpower and material resources.
In addition, the invention has reliable design principle, simple structure and very wide application prospect.
Drawings
In order to more clearly illustrate the embodiments or technical solutions in the prior art of the present invention, the drawings used in the description of the embodiments or prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained based on these drawings without creative efforts.
FIG. 1 is a schematic flow diagram of a method of one embodiment of the invention.
FIG. 2 is a schematic block diagram of a system of one embodiment of the present invention.
Fig. 3 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
Detailed Description
In order to make those skilled in the art better understand the technical solution of the present invention, the technical solution in the embodiment of the present invention will be clearly and completely described below with reference to the drawings in the embodiment of the present invention, and it is obvious that the described embodiment is only a part of the embodiment of the present invention, and not all embodiments. 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 following explains key terms appearing in the present invention.
Firmware FW (firmware)
FIG. 1 is a schematic flow diagram of a method of one embodiment of the invention. The execution main body in fig. 1 may be a batch refreshing system of network card firmware.
As shown in fig. 1, the method 100 includes:
and 150, mounting the diskless mirror image to the target server to execute network card firmware upgrade of the target server.
In order to facilitate understanding of the present invention, the network card firmware batch refresh method provided by the present invention is further described below by using the principle of the network card firmware batch refresh method of the present invention and combining the process of batch refreshing the network card firmware in the embodiments.
Specifically, the batch refreshing method of the network card firmware comprises the following steps:
and S1, storing the upgrade files of the models of the common network cards to a storage server.
And two servers are set up, one server is used for storage, and the other server is used as a control console for configuring the DHCP service. And collecting a refreshing tool and an fw file of the mainstream network card, and placing the refreshing tool and the fw file into a storage server according to the type of the network card.
And S2, setting a network card information reading program and an upgrading subprogram for downloading and executing an upgrading file.
Writing a program, and the logic is as follows:
(1) collecting basic information such as the model of the network card, fw and the like, and writing the basic information into a file;
(2) calling subprograms required by the network card of the model according to the model of the network card;
(3) and (3) sequentially running and downloading a required refreshing tool and a required file (path: a path corresponding to the storage server through a network link) in the subprogram, installing the refreshing tool, refreshing, automatically restarting the network card after refreshing, detecting the fw version of the network card after refreshing, feeding back information about whether refreshing is successful, generating a refreshing report, uploading the refreshing report to a specified path of the console, and conveniently checking a refreshing result.
And S3, compiling the network card information reading program and the upgrading subprogram into a diskless mirror image.
The program written in step S2 is compiled into a diskless image, and after the boot-in into a diskless environment is set, the program is automatically run. The diskless environment is placed in a DHCP server.
And S4, starting the control target server to enter the diskless environment.
And collecting the machine ip to be refreshed, and uniformly sending a command to be set to enter a diskless environment through network startup. After the console starts the machines in a unified manner, all the machines automatically enter the diskless environment, and the control end mounts the diskless image compiled in step S3 onto the started machines. If too many machines need to be refreshed, the network pressure caused by downloading the files at the same time is worried about to be too high, the machines can be started in batches, and the next batch can be started after the files are downloaded.
S5, mounting the diskless mirror image to the target server to execute the network card firmware upgrade of the target server.
And mounting a machine without the disk image, and automatically executing the program on the disk image. And starting a network card information reading program to read the network card model and the firmware information of the current target server, and if the firmware information is not the latest version, executing firmware upgrading. Calling upgrading subprograms, calling corresponding upgrading subprograms according to the read network card models, wherein each upgrading subprogram is written with a storage path of a firmware upgrading file corresponding to the network card model, so that after the corresponding upgrading subprograms are called, the subprograms download the upgrading files corresponding to the read network card models from the storage server and execute the upgrading files, the firmware upgrading of the current target server is realized, the upgrading methods of other target servers are the same as the method, and the firmware upgrading processes of different target servers can be simultaneously carried out.
As shown in fig. 2, the system 200 includes:
the file storage unit 210 is configured to store the upgrade files of the models of the commonly used network cards to a storage server;
a program setting unit 220 configured to set a network card information reading program and an upgrade subprogram of a commonly used network card model;
a program compiling unit 230 configured to compile the network card information reading program and the upgrade subprogram into a diskless mirror image;
a target configuration unit 240 configured to control the target server to start entering a diskless environment;
and an upgrade execution unit 250 configured to mount the diskless image to the target server to execute a network card firmware upgrade on the target server.
Optionally, as an embodiment of the present invention, the target configuration unit includes:
the IP collection module is configured for collecting the IP of all the target servers;
the connection establishing module is configured to establish connection with a target server according to the IP;
the command sending module is configured to send a setting command to the target server, and the setting command sets the target server to be started through a network and then automatically enter a diskless mode after being started;
and the starting control module is configured for sending a starting command to the target server through the local area network.
Optionally, as an embodiment of the present invention, the upgrade execution unit includes:
the information reading module is configured to start a network card information reading program to read the network card model and the firmware information of the current target server after the diskless mirror mounting is finished, and execute firmware upgrading if the firmware information is not the latest version;
the program calling module is configured for calling a corresponding upgrading subprogram according to the model of the network card;
the program execution module is configured for downloading an upgrade file corresponding to the network card model from a storage server by the corresponding upgrade subprogram and executing the upgrade file;
and the log mobile phone module is configured to collect logs generated in the execution process of the upgrading subprogram.
Fig. 3 is a schematic structural diagram of a terminal system 300 according to an embodiment of the present invention, where the terminal system 300 may be used to execute the network card firmware batch refreshing method according to the embodiment of the present invention.
The terminal system 300 may include: a processor 310, a memory 320, and a communication unit 330. The components communicate via one or more buses, and those skilled in the art will appreciate that the architecture of the servers shown in the figures is not intended to be limiting, and may be a bus architecture, a star architecture, a combination of more or less components than those shown, or a different arrangement of components.
The memory 320 may be used for storing instructions executed by the processor 310, and the memory 320 may be implemented by any type of volatile or non-volatile storage terminal or combination thereof, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. The executable instructions in memory 320, when executed by processor 310, enable terminal 300 to perform some or all of the steps in the method embodiments described below.
The processor 310 is a control center of the storage terminal, connects various parts of the entire electronic terminal using various interfaces and lines, and performs various functions of the electronic terminal and/or processes data by operating or executing software programs and/or modules stored in the memory 320 and calling data stored in the memory. The processor may be composed of an Integrated Circuit (IC), for example, a single packaged IC, or a plurality of packaged ICs connected with the same or different functions. For example, the processor 310 may include only a Central Processing Unit (CPU). In the embodiment of the present invention, the CPU may be a single operation core, or may include multiple operation cores.
A communication unit 330, configured to establish a communication channel so that the storage terminal can communicate with other terminals. And receiving user data sent by other terminals or sending the user data to other terminals.
The present invention also provides a computer storage medium, wherein the computer storage medium may store a program, and the program may include some or all of the steps in the embodiments provided by the present invention when executed. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM) or a Random Access Memory (RAM).
Therefore, the invention uses two servers, one as a storage server, collects upgrade tools and firmware files of the mainstream network card, and places the upgrade tools and the firmware files on the appointed path of the storage server, and the other as a console, configures the dhcp service, and can guide the controlled machine to enter the diskless environment. The programming program identifies the model of the network card through codes, judges the existing firmware of the network card, calls corresponding tools and files according to the information, downloads the corresponding tools and files to a corresponding machine through a network, automatically carries out a series of actions such as installation, refreshing and the like, and compiles the program into the mirror image of the diskless environment, so that the machine can automatically run the program after being guided into the diskless environment, and time and labor are saved. The invention improves the feasibility of batch control of the network cards of different configuration servers for refreshing at the same time, increases the number of operable samples and is convenient to operate and maintain. The full automation process saves manpower and material resources, and the technical effect that this embodiment can reach can refer to the description in the above, and is not repeated here.
Those skilled in the art will readily appreciate that the techniques of the embodiments of the present invention may be implemented as software plus a required general purpose hardware platform. Based on such understanding, the technical solutions in the embodiments of the present invention may be embodied in the form of a software product, where the computer software product is stored in a storage medium, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and the like, and the storage medium can store program codes, and includes instructions for enabling a computer terminal (which may be a personal computer, a server, or a second terminal, a network terminal, and the like) to perform all or part of the steps of the method in the embodiments of the present invention.
The same and similar parts in the various embodiments in this specification may be referred to each other. Especially, for the terminal embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant points can be referred to the description in the method embodiment.
In the embodiments provided in the present invention, it should be understood that the disclosed system and method can be implemented in other ways. For example, the above-described system embodiments are merely illustrative, and for example, the division of the units is only one logical functional division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, systems or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
Although the present invention has been described in detail by referring to the drawings in connection with the preferred embodiments, the present invention is not limited thereto. Various equivalent modifications or substitutions can be made on the embodiments of the present invention by those skilled in the art without departing from the spirit and scope of the present invention, and these modifications or substitutions are within the scope of the present invention/any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims (10)
1. A batch refreshing method for network card firmware is characterized by comprising the following steps:
storing the upgrade files of the models of the commonly used network cards to a storage server;
setting a network card information reading program and an upgrading subprogram for downloading and executing an upgrading file;
compiling the network card information reading program and the upgrading subprogram into a diskless mirror image;
controlling a target server to start to enter a diskless environment;
and mounting the diskless mirror image to the target server to execute network card firmware upgrade of the target server.
2. The method according to claim 1, wherein the storing the upgrade file of the common network card model to a storage server comprises:
and storing the firmware file and the refreshing tool of the common network card model into a storage server, wherein the storage server is configured with a DHCP service and communicates with the control terminal by adopting a DHCP.
3. The method according to claim 1, wherein the setting of the network card information reading program and the upgrading subprogram for downloading and executing the upgrading file comprises:
compiling a network card information reading program, collecting the network card model and the network card firmware version information by the network card information reading program, and writing the collected information into a file;
and writing a subprogram calling program, and calling a corresponding upgrading subprogram by the subprogram calling program according to the model of the network card.
And compiling an upgrading subprogram, wherein the upgrading subprogram executes an upgrading file to complete firmware upgrading according to the upgrading file corresponding to the corresponding network card model downloaded from the storage server, restarts the network card to verify the upgrading result after upgrading is completed, and uploads a firmware upgrading report.
4. The method of claim 1, wherein the controlling target server initiating entry into the diskless environment comprises:
collecting IP of all target servers;
establishing connection with a target server according to the IP;
sending a setting command to a target server, wherein the setting command sets that the target server automatically enters a diskless mode after being started through a network;
and sending a starting command to the target server through the local area network.
5. The method of claim 1, wherein the mounting the diskless image to the target server performs a network card firmware upgrade to the target server, comprising:
after the mounting of the diskless mirror image is finished, a network card information reading program is started to read the network card model and the firmware information of the current target server, and if the firmware information is not the latest version, firmware upgrading is executed;
calling a corresponding upgrading subprogram according to the model of the network card;
the corresponding upgrading subprogram downloads an upgrading file corresponding to the network card model from a storage server and executes the upgrading file;
and collecting logs generated in the execution process of the upgrading subprogram.
6. The utility model provides a network card firmware is system of refreshing in batches which characterized in that includes:
the file storage unit is configured for storing the upgrade files of the models of the commonly used network cards to a storage server;
the program setting unit is used for configuring an upgrading subprogram for setting a network card information reading program and a common network card model;
the program compiling unit is configured to compile the network card information reading program and the upgrading subprogram into a diskless mirror image;
the target configuration unit is used for controlling the target server to start to enter a diskless environment;
and the upgrading execution unit is configured to mount the diskless mirror image to the target server to execute network card firmware upgrading of the target server.
7. The system of claim 6, wherein the target configuration unit comprises:
the IP collection module is configured for collecting the IP of all the target servers;
the connection establishing module is configured to establish connection with a target server according to the IP;
the command sending module is configured to send a setting command to the target server, and the setting command sets the target server to be started through a network and then automatically enter a diskless mode after being started;
and the starting control module is configured for sending a starting command to the target server through the local area network.
8. The system of claim 6, wherein the upgrade execution unit comprises:
the information reading module is configured to start a network card information reading program to read the network card model and the firmware information of the current target server after the diskless mirror mounting is finished, and execute firmware upgrading if the firmware information is not the latest version;
the program calling module is configured for calling a corresponding upgrading subprogram according to the model of the network card;
the program execution module is configured for downloading an upgrade file corresponding to the network card model from a storage server by the corresponding upgrade subprogram and executing the upgrade file;
and the log mobile phone module is configured to collect logs generated in the execution process of the upgrading subprogram.
9. A terminal, comprising:
a processor;
a memory for storing instructions for execution by the processor;
wherein the processor is configured to perform the method of any one of claims 1-5.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010132761.8A CN111371610A (en) | 2020-02-29 | 2020-02-29 | Network card firmware batch refreshing method, system, terminal and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010132761.8A CN111371610A (en) | 2020-02-29 | 2020-02-29 | Network card firmware batch refreshing method, system, terminal and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111371610A true CN111371610A (en) | 2020-07-03 |
Family
ID=71210180
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010132761.8A Withdrawn CN111371610A (en) | 2020-02-29 | 2020-02-29 | Network card firmware batch refreshing method, system, terminal and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111371610A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112732506A (en) * | 2021-01-15 | 2021-04-30 | 苏州浪潮智能科技有限公司 | Server cabinet network card testing method, system, terminal and storage medium |
CN114443175A (en) * | 2022-04-11 | 2022-05-06 | 天津讯联科技有限公司 | Startup configuration method for missile-borne FPGA online upgrade |
CN115834379A (en) * | 2022-11-03 | 2023-03-21 | 苏州浪潮智能科技有限公司 | Server network card upgrading method, device, equipment and storage medium |
CN117194108A (en) * | 2023-09-14 | 2023-12-08 | 上海合芯数字科技有限公司 | BIOS recovery function adding method applied to intelligent network card, server and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104317617A (en) * | 2014-10-23 | 2015-01-28 | 浪潮电子信息产业股份有限公司 | Method for refreshing BMC Firmware in batch |
CN105183529A (en) * | 2015-10-29 | 2015-12-23 | 浪潮(北京)电子信息产业有限公司 | Method for refreshing server firmware, target server, source server and system |
CN107402789A (en) * | 2017-07-31 | 2017-11-28 | 郑州云海信息技术有限公司 | A kind of server cluster automatic batch penetrates the method that RAID card refreshes hard disk FW |
CN107463388A (en) * | 2017-09-21 | 2017-12-12 | 成都领沃网络技术有限公司 | A kind of UEFI non-disk startups method |
CN110362324A (en) * | 2019-06-28 | 2019-10-22 | 苏州浪潮智能科技有限公司 | A kind of network interface card upgrade method and device |
CN110737479A (en) * | 2019-09-04 | 2020-01-31 | 平安科技(深圳)有限公司 | method for starting operating system without disk, server and readable storage medium |
-
2020
- 2020-02-29 CN CN202010132761.8A patent/CN111371610A/en not_active Withdrawn
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104317617A (en) * | 2014-10-23 | 2015-01-28 | 浪潮电子信息产业股份有限公司 | Method for refreshing BMC Firmware in batch |
CN105183529A (en) * | 2015-10-29 | 2015-12-23 | 浪潮(北京)电子信息产业有限公司 | Method for refreshing server firmware, target server, source server and system |
CN107402789A (en) * | 2017-07-31 | 2017-11-28 | 郑州云海信息技术有限公司 | A kind of server cluster automatic batch penetrates the method that RAID card refreshes hard disk FW |
CN107463388A (en) * | 2017-09-21 | 2017-12-12 | 成都领沃网络技术有限公司 | A kind of UEFI non-disk startups method |
CN110362324A (en) * | 2019-06-28 | 2019-10-22 | 苏州浪潮智能科技有限公司 | A kind of network interface card upgrade method and device |
CN110737479A (en) * | 2019-09-04 | 2020-01-31 | 平安科技(深圳)有限公司 | method for starting operating system without disk, server and readable storage medium |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112732506A (en) * | 2021-01-15 | 2021-04-30 | 苏州浪潮智能科技有限公司 | Server cabinet network card testing method, system, terminal and storage medium |
CN114443175A (en) * | 2022-04-11 | 2022-05-06 | 天津讯联科技有限公司 | Startup configuration method for missile-borne FPGA online upgrade |
CN115834379A (en) * | 2022-11-03 | 2023-03-21 | 苏州浪潮智能科技有限公司 | Server network card upgrading method, device, equipment and storage medium |
CN117194108A (en) * | 2023-09-14 | 2023-12-08 | 上海合芯数字科技有限公司 | BIOS recovery function adding method applied to intelligent network card, server and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111371610A (en) | Network card firmware batch refreshing method, system, terminal and storage medium | |
CN110765026B (en) | Automatic test method, device, storage medium and equipment | |
CN111245898A (en) | Network equipment online method, device, server and storage medium | |
CN111240720A (en) | Boot program upgrading method and device and storage medium | |
CN102426531A (en) | Intelligent terminal and application program updating system and method | |
CN104572387A (en) | Method and device for debugging terminal in engineering mode | |
CN107220085B (en) | Method for automatically upgrading RAID card firmware | |
CN113918197A (en) | Firmware upgrading method, system, storage medium and equipment | |
US12008171B2 (en) | Program download method for intelligent terminal with memory card identifier and intelligent terminal with memory card identifier | |
CN111506331A (en) | Server BMC refreshing method, system, terminal and storage medium | |
CN114385251A (en) | Operating system booting method, system, terminal and storage medium based on memory | |
CN116303099B (en) | Cross-platform rapid deployment method, device, medium and equipment for automatic test environment | |
CN111176924B (en) | GPU card dropping simulation method, system, terminal and storage medium | |
CN114816491A (en) | System upgrading method and device for multi-system mobile terminal and terminal | |
CN116954752A (en) | Differentiated system configuration and loading method and device and computer equipment | |
CN108595292B (en) | System optimization method, mobile terminal and computer storage medium | |
CN110806891A (en) | Method and device for generating software version of embedded equipment | |
CN111949278B (en) | Method, system, terminal and storage medium for automatically installing MCS system | |
CN112527327A (en) | Method, system, terminal and storage medium for factory restoration of UOS operating system | |
CN114675926A (en) | Virtual machine attribute changing method and device, storage medium and electronic device | |
CN109428936B (en) | APP upgrading method, device, system, electronic equipment and storage medium | |
CN113806118A (en) | Self-repairing method, device and equipment for application program and storage medium | |
CN111338677A (en) | Component and drive association validity verification method, system, terminal and storage medium | |
CN111143193A (en) | Big data service testing method, system, terminal and storage medium based on RobotFramework | |
CN110928798A (en) | Code testing method, device and equipment |
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 | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20200703 |
|
WW01 | Invention patent application withdrawn after publication |