CN113595762B - Network card configuration storage method and device - Google Patents

Network card configuration storage method and device Download PDF

Info

Publication number
CN113595762B
CN113595762B CN202110725645.1A CN202110725645A CN113595762B CN 113595762 B CN113595762 B CN 113595762B CN 202110725645 A CN202110725645 A CN 202110725645A CN 113595762 B CN113595762 B CN 113595762B
Authority
CN
China
Prior art keywords
network card
information
priority
determining
computer equipment
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.)
Active
Application number
CN202110725645.1A
Other languages
Chinese (zh)
Other versions
CN113595762A (en
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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN202110725645.1A priority Critical patent/CN113595762B/en
Publication of CN113595762A publication Critical patent/CN113595762A/en
Application granted granted Critical
Publication of CN113595762B publication Critical patent/CN113595762B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0876Aspects of the degree of configuration automation
    • H04L41/0886Fully automatic configuration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0889Techniques to speed-up the configuration process
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0893Assignment of logical groups to network elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Automation & Control Theory (AREA)
  • Computer And Data Communications (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application discloses a method and a device for storing network card configuration, comprising the following steps: determining an acquisition rule of a network card priority file according to system information of computer equipment; determining the network card priority file from the computer equipment according to the acquisition rule of the network card priority file, wherein the network card priority file comprises the priority order of network card operation; determining the network card configuration information according to the network card priority file; storing the network card configuration information to a management server; by the method, network card configuration information is utilized, so that the network card configuration recovery is conveniently and rapidly carried out under the condition of disordered network card configuration; the process of manually setting and resetting the priority order of the network cards through an operating system in the prior art is avoided; so that non-professional technicians can also realize the recovery of the network card configuration.

Description

Network card configuration storage method and device
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a method and an apparatus for storing network card configuration.
Background
A plurality of network cards may be required to be mounted on a computer device such as a server or a PC. The configuration of the network cards, that is, the priority order of the network cards, can affect the communication function of the computer device. One problem that has been present in the art is that in some cases the network card configuration may be cluttered. For example, in the case of system version upgrade, motherboard BIOS refresh, and network card driver update, the original network card configuration may be disturbed, thereby causing disorder of communication functions.
In the prior art, if the network card configuration is disordered, the network card configuration needs to be reconfigured. I.e. manually rewriting the configuration file, and resetting the priority order of the network cards. However, only professionals often can do so, which is difficult for the average user to solve. That is, the prior art has the defect that the recovery of the network card configuration cannot be simply and efficiently realized.
Disclosure of Invention
The application provides a method and a device for saving network card configuration, which are used for at least solving the technical problems in the prior art.
In a first aspect, the present application provides a method for storing a network card configuration, including:
determining an acquisition rule of a network card priority file according to system information of computer equipment;
determining the network card priority file from the computer equipment according to the acquisition rule of the network card priority file, wherein the network card priority file comprises the priority order of network card operation;
determining the network card configuration information according to the network card priority file;
and storing the network card configuration information to a management server.
Preferably, said determining the network card priority file from the computer device includes:
when the network card priority file exists in the computer equipment, directly acquiring the network card priority file;
and when the network card priority file does not exist in the computer equipment, generating the network card priority file according to the configuration of the computer equipment on the network card priority.
Preferably, the determining the network card configuration information according to the network card priority file includes:
determining first hardware information; the first hardware information comprises identification information of a computer device and identification information of a network card in the computer device;
and determining the network card configuration information according to the network card priority file and the first hardware information.
Preferably, the method further comprises:
and storing the network card configuration information to a local memory of the computer equipment.
In a second aspect, the present application provides a method for recovering a network card configuration, including:
determining network card configuration information; the network card configuration information comprises a network card priority file and first hardware information;
determining current second hardware information of the computer equipment;
and when the first hardware information and the second hardware information meet a first preset condition, determining the priority of the network card of the computer equipment according to the network card priority file.
Preferably, the network card configuration information further includes: first system information; the method further comprises; determining current second system information of the computer equipment;
when the first hardware information and the second hardware information meet a first preset condition, determining the priority of the network card of the computer device according to the network card priority configuration file includes:
and when the first hardware information and the second hardware information meet a first preset condition, and the first system information and the second system information meet a second preset condition, determining the priority of the network card of the computer equipment according to the network card priority configuration file.
Preferably, the determining the network card configuration information includes:
determining the network card configuration information from a management server;
alternatively, the network card configuration information is determined from a local memory of the computer device.
Preferably, the determining the priority of the network card of the computer device according to the network card priority file includes:
determining the current priority of a network card of computer equipment and the target priority in a network card priority file;
and when the current priority is inconsistent with the target priority, setting the priority of the network card according to the target priority.
In a third aspect, the present application provides a device for storing a network card configuration, including:
the rule module is used for determining the acquisition rule of the network card priority file according to the system information of the computer equipment, wherein the network card priority file comprises the priority order of network card operation;
the priority file determining module is used for determining the network card priority file from the computer equipment according to the acquisition rule of the network card priority file;
the network card configuration information determining module is used for determining the network card configuration information according to the network card priority file;
and the network card configuration information storage module is used for storing the network card configuration information to the management server.
In a fourth aspect, the present application provides a device for recovering a network card configuration, including:
the second information determining module is used for determining network card configuration information; the network card configuration information comprises a network card priority file and first hardware information;
the hardware information determining module is used for determining the current second hardware information of the computer equipment;
and the recovery module is used for determining the priority of the network card of the computer equipment according to the network card priority file when the first hardware information and the second hardware information meet a first preset condition.
Compared with the prior art, the method and the device for saving the network card configuration, provided by the application, utilize the network card configuration information to realize convenient network card configuration recovery under the condition of disordered network card configuration; the process of manually setting and resetting the priority order of the network cards through an operating system in the prior art is avoided; so that non-professional technicians can also realize the recovery of the network card configuration.
Drawings
Fig. 1 is a flowchart of a method for storing a network card configuration according to an embodiment of the present application;
fig. 2 is a flowchart of a method for recovering network card configuration according to an embodiment of the present application;
FIG. 3 is a flowchart illustrating a method for recovering a network card configuration according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a storage device configured by a network card according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a recovery device of a network card configuration according to an embodiment of the present application.
Detailed Description
In order to make the objects, features and advantages of the present application more obvious and understandable, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
A plurality of network cards may be required to be mounted on a computer device such as a server or a PC. The configuration of the network cards, that is, the priority order of the network cards, can affect the communication function of the computer device. One problem that has been present in the art is that in some cases the network card configuration may be cluttered. For example, in the case of system version upgrade, motherboard BIOS refresh, and network card driver update, the original network card configuration may be disturbed, thereby causing disorder of communication functions.
In the prior art, if the network card configuration is disordered, the network card configuration needs to be reconfigured. I.e. manually rewriting the configuration file, and resetting the priority order of the network cards. However, only professionals often can do so, which is difficult for the average user to solve. That is, the prior art has the defect that the recovery of the network card configuration cannot be simply and efficiently realized.
Therefore, the embodiment of the application provides a method for saving network card configuration, so as to at least solve the above technical problems in the prior art. As shown in fig. 1, the method in this embodiment includes the following steps:
and step 101, determining the acquisition rule of the network card priority file according to the system information of the computer equipment.
Computer devices (including servers, PCs, and other types of devices) may have different operating systems installed on them, such as Windows, linux, unix, which is common. In different operating systems, the configuration modes of the network card and the storage modes of the network card configuration are different. In this embodiment, therefore, system information of the computer device, that is, specific information of an operating system mounted on the computer device, will be determined first.
The network card priority files are related files which are preconfigured and reflect the priority order of a plurality of network cards of the computer equipment. In other words, the priority order of the network card operation is included. In some cases, the operating system may automatically set the priority order of the network cards according to the relevant logic mechanism. In other cases, the priority order of the network cards may also be manually set. In different operating systems, the network card priority file may be presented and saved in different forms. For example, in some operating systems, the network card priority file is a specific file in a particular format. In other operating systems, the network card priority file may also be embodied in some other configuration file in the form of "data information" rather than appearing as a separate file. In different operating systems, the mode of acquiring the priority files of the network cards is also different. However, in the art, specific rules for obtaining the network card priority file in each operating system should generally be considered known. Therefore, according to the system information, the acquisition rule of the network card priority file can be determined.
Step 102, determining the network card priority file from the computer equipment according to the acquisition rule of the network card priority file.
After the acquisition rule of the network card priority file is determined, the network card priority file can be determined from the computer equipment according to the acquisition rule. Specifically, when an independent network card priority file with a specific format exists in the computer equipment, the network card priority file can be directly obtained according to the rule. And when the network card priority file does not appear as a single file, i.e. the network card priority file does not exist in the computer equipment, other configuration files showing the priority sequence of the network card can be analyzed, and the network card priority file is generated according to the configuration of the computer equipment on the network card priority.
And 103, determining network card configuration information according to the network card priority file.
Based on the network card priority file, network card configuration information of the computer equipment can be further generated. Specifically, the first hardware information may be determined, and the network card configuration information may be determined according to the network card priority file and the first hardware information. That is, the network card configuration information should include the first hardware information related to the computer device in addition to the network card priority file.
The first hardware information may refer to a hardware state of the computer device at a time of determining the network card configuration information. The first hardware information may specifically include identification information of the computer device and identification information of a network card in the computer device. The identification information of the computer device may be a hardware number (such as SN number) of the computer device; the identification information of the network card can be information such as a specific model number, a hardware number and the like of the network card.
In addition, in some cases, the network card configuration information may also include system information of the computer device at the time of determining the network card configuration information, that is, the system information referred to above.
And 104, saving the network card configuration information to a management server.
After the network card configuration information is determined, the network card configuration information can be stored in a specific management server so as to facilitate the subsequent simple recovery under the condition of disordered network card configuration. At the same time, the network card configuration information may also be preferably saved to the local memory of the computer device, so as to be used as an additional backup.
In contrast to the method shown in fig. 1, a method for recovering the network card configuration will also be disclosed in the present application, as shown in fig. 2. After the preservation of the network card configuration is completed by using the method in the embodiment shown in fig. 1, if the subsequent network card configuration is disordered, the method in the embodiment can be used to realize the quick recovery of the network card configuration. The method in this embodiment specifically includes the following steps:
step 201, determining network card configuration information.
In this embodiment, the network card configuration information will be determined first. The network card configuration information is determined by the method in the embodiment shown in fig. 1. That is, the network card configuration information includes a network card priority file and first hardware information.
In the restoration process of the network card configuration, the network card configuration information should preferably be determined from the management server. While in other cases it may be optional to determine the network card configuration information from the local memory of the computer device.
Step 202, determining the current second hardware information of the computer device.
Before the recovery is performed by using the network card configuration information, the current second hardware information of the computer device should be determined. The second hardware information is hardware information of the computer device at a time when the computer device needs to be restored. The specific content is similar to the first hardware information, namely, the identification information of the computer equipment and the identification information of the network card in the computer equipment.
And 203, determining the priority of the network card of the computer equipment according to the network card priority file when the first hardware information and the second hardware information meet the first preset condition.
When the network card configuration of a computer device is restored, it is often necessary to determine the consistency of its hardware. That is, at the time of generating and saving the network card configuration information, the hardware information of the computer device should be substantially identical to the time of recovering the network card configuration information, and no great change may occur. Otherwise, if the computer device has changed so much (e.g., the SN number has changed or the network card has been changed) during this period that it cannot be considered to be the same device, then no condition is provided for network card configuration recovery.
In this embodiment, it is required to determine whether the first hardware information and the second hardware information satisfy the first preset condition. And when the first hardware information is consistent with the second hardware information, the first preset condition is met.
On the premise of meeting a first preset condition, determining the current priority of the network card of the computer equipment and the target priority in the network card priority file; when the current priority is inconsistent with the target priority, the priority of the network card can be set according to the target priority, so that the recovery of the network card configuration is realized.
Fig. 3 shows another embodiment of a method for recovering a network card configuration in the present application. The method in this embodiment comprises the steps of:
step 301, determining network card configuration information.
In this embodiment, the network card configuration information includes the first system information in addition to the network card priority file and the first hardware information. The first system information is the system information of the computer equipment at the moment of determining the network card configuration information.
Step 302, determining current second hardware information and current second system information of the computer device.
Similarly, in this embodiment, before the network card configuration is restored, the second system information of the current computer device is further determined in addition to the second hardware information. The second system information, that is, the system information of the computer device at the time when the recovery is required, specifically, a system name, a system version number, and the like.
Step 303, determining the priority of the network card of the computer device according to the network card priority configuration file when the first hardware information and the second hardware information meet the first preset condition and the first system information and the second system information meet the second preset condition.
When the network card configuration of the computer device is restored, the consistency of the hardware thereof needs to be determined. In addition, in this embodiment, further determination of the consistency of the system is required. That is, at the time of generating and saving the network card configuration information, the system information of the computer device should be substantially identical to the time of recovering the network card configuration information, and the system cannot be replaced or an excessive system upgrade is performed. Otherwise, if the operating system of the computer device is replaced in the period, the condition for recovering the network card configuration is not provided
Therefore, in this embodiment, in addition to determining whether the first hardware information and the second hardware information meet the first preset condition, it is also required to determine that the first system information and the second system information meet the second preset condition. When the first system information and the second system information have consistency, the second preset condition can be considered to be satisfied.
Under the condition that the first preset condition and the second preset condition are both met, determining the current priority of the network card of the computer equipment and the target priority in the network card priority file; when the current priority is inconsistent with the target priority, the priority of the network card can be set according to the target priority, so that the recovery of the network card configuration is realized.
As can be seen from the embodiments shown in fig. 1 to 3, the present application has the following beneficial effects: the network card configuration information is utilized, so that the network card configuration recovery is conveniently and rapidly carried out under the condition of disordered network card configuration; the process of manually setting and resetting the priority order of the network cards through an operating system in the prior art is avoided; so that non-professional technicians can also realize the recovery of the network card configuration.
Fig. 4 shows a specific embodiment of a storage device configured for a network card according to the present application. The apparatus of this embodiment is an entity apparatus for performing the method described in fig. 1. The technical solution is essentially identical to the above embodiment, and the corresponding description in the above embodiment is also applicable to this embodiment. The device in this embodiment includes:
the rule module 401 is configured to determine, according to system information of the computer device, an acquisition rule of a network card priority file, where the network card priority file includes a priority order of network card operation.
The priority file determining module 402 is configured to determine the network card priority file from the computer device according to the acquiring rule of the network card priority file.
The network card configuration information determining module 403 is configured to determine network card configuration information according to the network card priority file.
The network card configuration information storage module 404 is configured to store the network card configuration information to the management server.
Further, based on the embodiment shown in fig. 4, it is preferable to further include:
preferably, the priority file determining module 402 includes:
and the acquisition unit is used for directly acquiring the network card priority file when the network card priority file exists in the computer equipment.
And the generating unit is used for generating the network card priority file according to the configuration of the computer equipment on the network card priority when the network card priority file does not exist in the computer equipment.
The network card configuration information determining module 403 includes:
a first hardware information determination unit configured to determine first hardware information; the first hardware information includes identification information of the computer device and identification information of a network card in the computer device.
The network card configuration information determining unit is used for determining the network card configuration information according to the network card priority file and the first hardware information.
Fig. 5 shows a specific embodiment of a recovery device of a network card configuration described in the present application. The apparatus of this embodiment is a physical apparatus for performing the methods described in fig. 2-3. The technical solution is essentially identical to the above embodiment, and the corresponding description in the above embodiment is also applicable to this embodiment. The device in this embodiment includes:
a second information determining module 501, configured to determine network card configuration information; the network card configuration information comprises a network card priority file and first hardware information;
a hardware information determining module 502, configured to determine current second hardware information of the computer device;
and a recovery module 503, configured to determine the priority of the network card of the computer device according to the network card priority file when the first hardware information and the second hardware information satisfy the first preset condition.
Additionally, based on the embodiment shown in fig. 5, it is preferable that the method further includes:
the second information determination module 501 includes:
a first information determining unit configured to determine network card configuration information from the management server;
and the second information determining unit is used for determining the network card configuration information from the local memory of the computer equipment.
The recovery module 503 includes:
the priority determining unit is used for determining the current priority of the network card of the computer equipment and the target priority in the network card priority file;
and the recovery unit is used for setting the priority of the network card according to the target priority when the current priority is inconsistent with the target priority.
In addition to the methods and apparatus described above, embodiments of the present application may also be a computer program product comprising computer program instructions which, when executed by a processor, cause the processor to perform steps in a method according to various embodiments of the present application described in the "exemplary methods" section of the present specification.
The computer program product may write program code for performing the operations of embodiments of the present application in any combination of one or more programming languages, including an object oriented programming language such as Java, C++ or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device, partly on a remote computing device, or entirely on the remote computing device or server.
Furthermore, embodiments of the present application may also be a computer-readable storage medium, having stored thereon computer program instructions, which when executed by a processor, cause the processor to perform steps in a method according to various embodiments of the present application described in the above section "exemplary method" of the present specification.
The computer readable storage medium may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may include, for example, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium would include the following: an electrical connection having one or more wires, a portable disk, a hard disk, random Access Memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The basic principles of the present application have been described above in connection with specific embodiments, however, it should be noted that the advantages, benefits, effects, etc. mentioned in the present application are merely examples and not limiting, and these advantages, benefits, effects, etc. are not to be considered as necessarily possessed by the various embodiments of the present application. Furthermore, the specific details disclosed herein are for purposes of illustration and understanding only, and are not intended to be limiting, as the application is not intended to be limited to the details disclosed herein as such.
The block diagrams of the devices, apparatuses, devices, systems referred to in this application are only illustrative examples and are not intended to require or imply that the connections, arrangements, configurations must be made in the manner shown in the block diagrams. As will be appreciated by one of skill in the art, the devices, apparatuses, devices, systems may be connected, arranged, configured in any manner. Words such as "including," "comprising," "having," and the like are words of openness and mean "including but not limited to," and are used interchangeably therewith. The terms "or" and "as used herein refer to and are used interchangeably with the term" and/or "unless the context clearly indicates otherwise. The term "such as" as used herein refers to, and is used interchangeably with, the phrase "such as, but not limited to.
It is also noted that in the apparatus, devices and methods of the present application, the components or steps may be disassembled and/or assembled. Such decomposition and/or recombination should be considered as equivalent to the present application.
The previous description of the disclosed aspects is provided to enable any person skilled in the art to make or use the present application. Various modifications to these aspects will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other aspects without departing from the scope of the application. Thus, the present application is not intended to be limited to the aspects shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
The foregoing description has been presented for purposes of illustration and description. Furthermore, this description is not intended to limit the embodiments of the application to the form disclosed herein. Although a number of example aspects and embodiments have been discussed above, a person of ordinary skill in the art will recognize certain variations, modifications, alterations, additions, and subcombinations thereof.

Claims (8)

1. A preservation method of network card configuration includes:
determining an acquisition rule of a network card priority file according to system information of computer equipment;
determining the network card priority file from the computer equipment according to the acquisition rule of the network card priority file, wherein the network card priority file comprises the priority order of network card operation;
determining first hardware information and first system information; the first hardware information comprises identification information of the computer equipment and identification information of a network card in the computer equipment; the first system information comprises system information of the computer equipment at the moment of determining the network card configuration information;
determining network card configuration information according to the network card priority file, the first hardware information and the first system information;
and storing the network card configuration information to a management server.
2. The method of claim 1, the determining the network card priority file from the computer device comprising:
when the network card priority file exists in the computer equipment, directly acquiring the network card priority file;
and when the network card priority file does not exist in the computer equipment, generating the network card priority file according to the configuration of the computer equipment on the network card priority.
3. The method of claim 1, further comprising:
and storing the network card configuration information to a local memory of the computer equipment.
4. A recovery method of network card configuration includes:
determining network card configuration information; the network card configuration information comprises a network card priority file, first system information and first hardware information;
determining current second hardware information of the computer equipment and current second system information of the computer equipment;
and when the first hardware information and the second hardware information meet a first preset condition, and the first system information and the second system information meet a second preset condition, determining the priority of the network card of the computer equipment according to the network card priority file.
5. The method of claim 4, wherein the determining network card configuration information comprises:
determining the network card configuration information from a management server;
alternatively, the network card configuration information is determined from a local memory of the computer device.
6. The method of claim 4, wherein determining the priority of the network card of the computer device from the network card priority file comprises:
determining the current priority of a network card of computer equipment and the target priority in a network card priority file;
and when the current priority is inconsistent with the target priority, setting the priority of the network card according to the target priority.
7. A device for preserving network card configuration, comprising:
the rule module is used for determining the acquisition rule of the network card priority file according to the system information of the computer equipment, wherein the network card priority file comprises the priority order of network card operation;
the priority file determining module is used for determining the network card priority file from the computer equipment according to the acquisition rule of the network card priority file;
the network card configuration information determining module is used for determining first hardware information and first system information; the first hardware information comprises identification information of the computer equipment and identification information of a network card in the computer equipment; the first system information comprises system information of the computer equipment at the moment of determining the network card configuration information;
determining network card configuration information according to the network card priority file, the first hardware information and the first system information;
and the network card configuration information storage module is used for storing the network card configuration information to the management server.
8. A network card configuration restoration apparatus, comprising:
the second information determining module is used for determining network card configuration information; the network card configuration information comprises a network card priority file, first system information and first hardware information;
the hardware information determining module is used for determining current second hardware information of the computer equipment and current second system information of the computer equipment;
and the recovery module is used for determining the priority of the network card of the computer equipment according to the network card priority file when the first hardware information and the second hardware information meet a first preset condition and the first system information and the second system information meet a second preset condition.
CN202110725645.1A 2021-06-29 2021-06-29 Network card configuration storage method and device Active CN113595762B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110725645.1A CN113595762B (en) 2021-06-29 2021-06-29 Network card configuration storage method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110725645.1A CN113595762B (en) 2021-06-29 2021-06-29 Network card configuration storage method and device

Publications (2)

Publication Number Publication Date
CN113595762A CN113595762A (en) 2021-11-02
CN113595762B true CN113595762B (en) 2023-05-26

Family

ID=78245003

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110725645.1A Active CN113595762B (en) 2021-06-29 2021-06-29 Network card configuration storage method and device

Country Status (1)

Country Link
CN (1) CN113595762B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117194108A (en) * 2023-09-14 2023-12-08 上海合芯数字科技有限公司 BIOS recovery function adding method applied to intelligent network card, server and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112311694A (en) * 2019-07-31 2021-02-02 华为技术有限公司 Priority adjustment method and device
CN112350866A (en) * 2020-11-06 2021-02-09 北京首都在线科技股份有限公司 Method, device and storage medium for processing virtual machine network card configuration information

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9170843B2 (en) * 2011-09-24 2015-10-27 Elwha Llc Data handling apparatus adapted for scheduling operations according to resource allocation based on entitlement
CN103888290B (en) * 2014-02-20 2017-11-17 小米科技有限责任公司 Configuration information recovery method and apparatus
EP3206339B1 (en) * 2014-10-31 2018-12-12 Huawei Technologies Co., Ltd. Network card configuration method and resource management center
CN107040427A (en) * 2017-06-09 2017-08-11 上海联影医疗科技有限公司 A kind of method and device of network card configuration
CN108039969B (en) * 2017-12-13 2021-08-03 深圳市科力锐科技有限公司 Network automatic configuration method, device, system, storage medium and target computer
CN111708576A (en) * 2020-05-20 2020-09-25 南京国电南自电网自动化有限公司 Cross-operating-system equipment network card adapting and managing method, device and system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112311694A (en) * 2019-07-31 2021-02-02 华为技术有限公司 Priority adjustment method and device
CN112350866A (en) * 2020-11-06 2021-02-09 北京首都在线科技股份有限公司 Method, device and storage medium for processing virtual machine network card configuration information

Also Published As

Publication number Publication date
CN113595762A (en) 2021-11-02

Similar Documents

Publication Publication Date Title
WO2019140828A1 (en) Electronic apparatus, method for querying logs in distributed system, and storage medium
US7757015B2 (en) Device, method and computer program product readable medium for determining the identity of a component
US11036491B1 (en) Identifying and resolving firmware component dependencies
WO2019061991A1 (en) Multi-element universal model platform modeling method, electronic device, and computer readable storage medium
CN109726076B (en) Applet life cycle management method and system
US20180210720A1 (en) Method and device for generating image file
CN110908837A (en) Application program exception handling method and device, electronic equipment and storage medium
CN110659210A (en) Information acquisition method and device, electronic equipment and storage medium
CN115237436A (en) Application deployment method and device, electronic equipment and readable storage medium
WO2019169763A1 (en) Electronic apparatus, service system risk control method, and storage medium
WO2019148657A1 (en) Method for testing associated environments, electronic device and computer readable storage medium
CN113595762B (en) Network card configuration storage method and device
CN112416957A (en) Data increment updating method and device based on data model layer and computer equipment
CN111459629A (en) Azkaban-based project operation method and device and terminal equipment
WO2022012305A1 (en) Method and apparatus for managing model file in inference application
US20100011283A1 (en) Minimizing the copying of an extensible markup language (xml) tree when referencing tree nodes during extensible stylesheet language transformations (xslt) processing
CN112083880A (en) Mobile phone system file online modification method and device and storage medium
CN114168119B (en) Code file editing method, device, electronic equipment and storage medium
CN116303320A (en) Real-time task management method, device, equipment and medium based on log file
CN112241141B (en) Hardware configuration method, system, device and medium of PLC control system
CN113655846B (en) OpenPOWER server time synchronization method and system
CN113656378A (en) Server management method, device and medium
CN112817953A (en) Data verification method and device, computer equipment and computer-readable storage medium
CN108566293B (en) Electronic device, zk node information notification method, and storage medium
CN108628909B (en) Information pushing method and device

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
GR01 Patent grant
GR01 Patent grant