CN108566297B - Windows network card drive loading method under VOI virtualization - Google Patents
Windows network card drive loading method under VOI virtualization Download PDFInfo
- Publication number
- CN108566297B CN108566297B CN201810324273.XA CN201810324273A CN108566297B CN 108566297 B CN108566297 B CN 108566297B CN 201810324273 A CN201810324273 A CN 201810324273A CN 108566297 B CN108566297 B CN 108566297B
- Authority
- CN
- China
- Prior art keywords
- network card
- file
- driver
- drive
- voi
- 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
Links
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/0806—Configuration setting for initial configuration or provisioning, e.g. plug-and-play
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/4401—Bootstrapping
- G06F9/4416—Network booting; Remote initial program loading [RIPL]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/4555—Para-virtualisation, i.e. guest operating system has to be modified
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
Abstract
The invention provides a Windows network card drive loading method under VOI virtualization, which comprises the following steps: step S1, downloading and running a PXE starting module when the VOI terminal is started, downloading a network card driving file and a configuration file from a network card driving server side by the PXE starting module, and guiding an operating system to start; step S2, after the operating system is started, automatically running the network card driver loader, adding the corresponding registry key to the registry by the network card driver loader according to the network card driver file and the configuration file, and simultaneously loading and executing the network card driver file. The method of the invention can directly pull the network card driver to be used from the network card driver server and guide the operating system to start, thereby not only effectively solving the problem of complex operation caused by the previous network card driver being installed and configured in advance, but also solving the problem of the trouble that the system mirror image needs to be made again when a new type of network card driver is introduced.
Description
Technical Field
The invention relates to the technical field of computers, in particular to a Windows network card drive loading method under VOI virtualization.
Background
In the VOI virtualization scheme, it is first necessary to ensure that a network card driver can be loaded into the system in advance, and then boot of the operating system through the network can be achieved. In the prior art, when the network card driver is loaded, the corresponding network card driver is pre-installed and configured on the operating system of the VOI terminal, so that the operating system is guided to start through a network. However, the loading method of the conventional network card driver has the following defects: 1. the operation process of pre-installing and configuring the network card driver on the operation system is very complicated, and the network card drivers of different versions can bring compatibility problems, so that the actual operation is time-consuming and labor-consuming; 2. when a new type of VOI terminal is introduced, the system mirror image needs to be made again, and the new type of network card drive can be adapted.
Disclosure of Invention
The technical problem to be solved by the invention is to provide a method for loading a Windows network card driver under VOI virtualization, which is used for directly pulling a network card driver to be used from a network card driver server and guiding an operating system to start, thereby not only effectively solving the problem of complex operation caused by the previous network card driver being installed and configured in advance, but also solving the problem of trouble of re-making a system mirror image when a new type of network card driver is introduced.
The invention is realized by the following steps: the Windows network card drive loading method under VOI virtualization comprises the following steps:
step S1, downloading and running a PXE starting module when the VOI terminal is started, downloading a network card driving file and a configuration file from a network card driving server side by the PXE starting module, and guiding an operating system to start;
step S2, after the operating system is started, automatically running the network card driver loader, adding the corresponding registry key to the registry by the network card driver loader according to the network card driver file and the configuration file, and simultaneously loading and executing the network card driver file.
Further, before step S1 is executed, or when a support of a new network card needs to be added, the method further includes the following steps:
and step S11, importing the specified network card drive file and configuration file into the network card drive server through the network card drive importing tool.
Further, the step S11 specifically includes the following steps:
step S111, a network card drive importing tool executes importing operation on the appointed network card drive;
step S112, analyzing the specified INF file driven by the network card through a network card drive importing tool, and if the analysis is successful, entering step S113; if the analysis fails, informing the user of the failure of the analysis and ending the process;
step S113, extracting a network card drive file and a configuration file corresponding to the specified network card drive, importing the extracted network card drive file and the extracted configuration file into a network card drive server, and if the importing is successful, notifying a user that the importing is successful, and entering step S114; if the import fails, informing the user of the import failure and ending the process;
step S114, the network card driver server receives the network card driver file and the configuration file, and saves the network card driver file and the configuration file.
Further, in step S112, the analyzing the specified INF file driven by the network card specifically includes: inquiring whether a network card driving file exists in the INF file of the appointed network card driving, analyzing the PID of the network card supported by the network card driving and the VID of the network card from the INF file of the appointed network card driving, and analyzing the registry key needing to be written from the INF file of the appointed network card driving.
Further, the configuration file at least includes PID of the supported network card, VID of the supported network card, and a registry key value of the network card driver.
Further, the step S1 is specifically:
when the VOI terminal is started, downloading and operating a PXE starting module through a DHCP server; after the PXE starting module runs, the PXE starting module acquires the PID of the network card and the VID of the network card in the VOI terminal, and sends a downloading request to the network card driving server side according to the PID of the network card and the VID of the network card; after receiving the download request, the network card drive server determines a corresponding network card drive according to the PID of the network card requested by the VOI terminal and the VID of the network card, and provides a corresponding network card drive file and a configuration file for downloading by the VOI terminal;
after the VOI terminal downloads the network card drive file and the configuration file, the network card drive file and the configuration file are cached, and the PXE starting module guides the operating system to start.
Further, in step S2, the loading and executing the network card driver file specifically includes:
the network card drive loader loads a network card drive file into the memory, and a function table and a lead-in table are loaded by analyzing the PE format, so that the loading of the network card drive file is realized; after the network card driver file is loaded, the network card driver loader calls the entry address of the network card driver file and executes the network card driver file.
The invention has the following advantages: 1. when the VOI terminal is started, the network card driver to be used is directly pulled from the network card driver server side, and the operating system is guided to start without pre-installing and configuring the network card driver on the operating system, so that the traditional complicated installation and configuration operation can be effectively avoided, and the compatibility problem of network card drivers of different versions can be effectively solved; 2. the starting of the new type of network card drive can be directly supported without remanufacturing the system mirror image, and the problem that the system mirror image needs to be remanufactured when the new type of network card drive is introduced in the prior art is effectively solved.
Drawings
The invention will be further described with reference to the following examples with reference to the accompanying drawings.
Fig. 1 is an execution flow chart of the loading method of the Windows network card driver under the VOI virtualization of the present invention.
Fig. 2 is a timing diagram illustrating the network card driver according to the present invention.
Detailed Description
Referring to fig. 1, the method for loading Windows network card drivers in VOI virtualization according to the preferred embodiment of the present invention includes the following steps:
step S1, downloading and running a PXE starting module (the PXE starting module is mainly responsible for pulling a network card drive and guiding an operating system to start) when the VOI terminal is started, downloading a network card drive file and a configuration file from a network card drive server side by the PXE starting module, and guiding the operating system to start;
step S2, after the operating system is started, automatically running the network card driver loader, adding the corresponding registry key to the registry by the network card driver loader according to the network card driver file and the configuration file, and simultaneously loading and executing the network card driver file.
The configuration file at least comprises PID of the supported network card, VID of the supported network card and registry key value of the network card drive. After the operating system is started, the network card driver loader adds the registry key values of the network card driver in the configuration file to the corresponding registry keys.
Referring to fig. 2, in a specific implementation of the present invention, since the network card driver file and the configuration file need to be downloaded from the network card driver server, before step S1 is executed, or when a new network card needs to be added, the method further needs to include the following steps:
and step S11, importing the specified network card drive file and configuration file into the network card drive server through the network card drive importing tool. The step S11 specifically includes the following steps:
step S111, a network card drive importing tool executes importing operation on the appointed network card drive;
step S112, analyzing the specified INF file driven by the network card through a network card drive importing tool, and if the analysis is successful, entering step S113; if the analysis fails, informing the user of the failure of the analysis and ending the process;
step S113, extracting a network card driver file (i.e., an SYS file) and a configuration file (including configuration information such as a registry, a PID, and a VID) corresponding to the specified network card driver, importing the extracted network card driver file and configuration file into a network card driver server, and if the importing is successful, notifying a user that the importing is successful, and proceeding to step S114; if the import fails, informing the user of the import failure and ending the process;
and step S114, the network card drive server receives the network card drive file and the configuration file, and stores the network card drive file and the configuration file for downloading and using by the VOI terminal.
In step S112, the analyzing the specified INF file driven by the network card specifically includes: inquiring whether a network card driving file exists in the INF file of the appointed network card driving, analyzing the PID of the network card supported by the network card driving and the VID of the network card from the INF file of the appointed network card driving, and analyzing the registry key needing to be written from the INF file of the appointed network card driving. In specific implementation, if the required content cannot be analyzed from the INF file of the specified network card driver (for example, the network card driver file does not exist), the network card driver cannot be imported, and at this time, the user is notified that the analysis fails, and the process is ended.
The step S1 specifically includes:
when the VOI terminal is started, downloading and operating a PXE starting module through a DHCP server; after the PXE starting module runs, the PXE starting module acquires the PID of the network card and the VID of the network card in the VOI terminal, and sends a downloading request to the network card driving server side according to the PID of the network card and the VID of the network card; after receiving the download request, the network card drive server determines a corresponding network card drive according to the PID of the network card requested by the VOI terminal and the VID of the network card, and provides a corresponding network card drive file and a configuration file for downloading by the VOI terminal;
after the VOI terminal downloads the network card drive file and the configuration file, the network card drive file and the configuration file are cached, and the PXE starting module guides the operating system to start.
In step S2, the loading and executing the network card driver file specifically includes:
the network card drive loader loads a network card drive file into the memory, and a function table and a lead-in table are loaded by analyzing the PE format, so that the loading of the network card drive file is realized; after the network card driver file is loaded, the network card driver loader calls the entry address of the network card driver file and executes the network card driver file.
In conclusion, the invention has the advantages that: 1. when the VOI terminal is started, the network card driver to be used is directly pulled from the network card driver server side, and the operating system is guided to start without pre-installing and configuring the network card driver on the operating system, so that the traditional complicated installation and configuration operation can be effectively avoided, and the compatibility problem of network card drivers of different versions can be effectively solved; 2. the starting of the new type of network card drive can be directly supported without remanufacturing the system mirror image, and the problem that the system mirror image needs to be remanufactured when the new type of network card drive is introduced in the prior art is effectively solved.
Although specific embodiments of the invention have been described above, it will be understood by those skilled in the art that the specific embodiments described are illustrative only and are not limiting upon the scope of the invention, and that equivalent modifications and variations can be made by those skilled in the art without departing from the spirit of the invention, which is to be limited only by the appended claims.
Claims (5)
1. A Windows network card driver loading method under VOI virtualization is characterized in that: the method comprises the following steps:
step S1, downloading and operating a PXE starting module through a DHCP server when the VOI terminal is started; after the PXE starting module runs, the PXE starting module acquires the PID of the network card and the VID of the network card in the VOI terminal, and sends a downloading request to the network card driving server side according to the PID of the network card and the VID of the network card; after receiving the download request, the network card drive server determines a corresponding network card drive according to the PID of the network card requested by the VOI terminal and the VID of the network card, and provides a corresponding network card drive file and a configuration file for downloading by the VOI terminal;
after the VOI terminal downloads the network card drive file and the configuration file, caching the network card drive file and the configuration file, and booting an operating system to start by a PXE starting module;
step S2, after the operating system is started, automatically operating the network card driver loader, adding the corresponding registry key into the registry by the network card driver loader according to the network card driver file and the configuration file, and simultaneously loading and executing the network card driver file;
before step S1 is executed, or when the support of a new network card needs to be added, the method further includes the following steps:
and step S11, importing the specified network card drive file and configuration file into the network card drive server through the network card drive importing tool.
2. The Windows network card driver loading method under VOI virtualization of claim 1, wherein: the step S11 specifically includes the following steps:
step S111, a network card drive importing tool executes importing operation on the appointed network card drive;
step S112, analyzing the specified INF file driven by the network card through a network card drive importing tool, and if the analysis is successful, entering step S113; if the analysis fails, informing the user of the failure of the analysis and ending the process;
step S113, extracting a network card drive file and a configuration file corresponding to the specified network card drive, importing the extracted network card drive file and the extracted configuration file into a network card drive server, and if the importing is successful, notifying a user that the importing is successful, and entering step S114; if the import fails, informing the user of the import failure and ending the process;
step S114, the network card driver server receives the network card driver file and the configuration file, and saves the network card driver file and the configuration file.
3. The Windows network card driver loading method under VOI virtualization of claim 2, wherein: in step S112, the analyzing the specified INF file driven by the network card specifically includes: inquiring whether a network card driving file exists in the INF file of the appointed network card driving, analyzing the PID of the network card supported by the network card driving and the VID of the network card from the INF file of the appointed network card driving, and analyzing the registry key needing to be written from the INF file of the appointed network card driving.
4. The Windows network card driver loading method under VOI virtualization of claim 1, wherein: the configuration file at least comprises PID of the supported network card, VID of the supported network card and registry key value of the network card drive.
5. The Windows network card driver loading method under VOI virtualization of claim 1, wherein: in step S2, the loading and executing the network card driver file specifically includes:
the network card drive loader loads a network card drive file into the memory, and a function table and a lead-in table are loaded by analyzing the PE format, so that the loading of the network card drive file is realized; after the network card driver file is loaded, the network card driver loader calls the entry address of the network card driver file and executes the network card driver file.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810324273.XA CN108566297B (en) | 2018-04-12 | 2018-04-12 | Windows network card drive loading method under VOI virtualization |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810324273.XA CN108566297B (en) | 2018-04-12 | 2018-04-12 | Windows network card drive loading method under VOI virtualization |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108566297A CN108566297A (en) | 2018-09-21 |
CN108566297B true CN108566297B (en) | 2021-04-09 |
Family
ID=63534769
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810324273.XA Active CN108566297B (en) | 2018-04-12 | 2018-04-12 | Windows network card drive loading method under VOI virtualization |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108566297B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109451045A (en) * | 2018-12-12 | 2019-03-08 | 成都九洲电子信息系统股份有限公司 | A kind of high-speed message acquisition network card control method can configure customized Ethernet header |
CN110618822B (en) * | 2019-08-26 | 2023-02-07 | 杭州顺网科技股份有限公司 | Method for pre-installing network card drive in starting stage of diskless workstation |
US11765024B2 (en) * | 2020-04-24 | 2023-09-19 | Hewlett Packard Enterprise Development Lp | Automatic provisioning of a computing device with operating system and network processing functions |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107463369A (en) * | 2017-06-30 | 2017-12-12 | 北京北信源软件股份有限公司 | The access device control method and device of a kind of virtual desktop |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105207815A (en) * | 2015-09-01 | 2015-12-30 | 茂名市群英网络有限公司 | System environment deployment method and deployment system based on server |
CN105117293B (en) * | 2015-09-01 | 2020-03-27 | 茂名市群英网络有限公司 | Automatic deployment method and automatic deployment system for Windows system environment |
US10223321B2 (en) * | 2016-03-31 | 2019-03-05 | Dell Products L.P. | Combining redirected USB interfaces into a single composite device |
WO2017201564A1 (en) * | 2016-05-27 | 2017-11-30 | Aeon Technology Services Pty Ltd | Wipedrive native apple netbooting |
-
2018
- 2018-04-12 CN CN201810324273.XA patent/CN108566297B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107463369A (en) * | 2017-06-30 | 2017-12-12 | 北京北信源软件股份有限公司 | The access device control method and device of a kind of virtual desktop |
Also Published As
Publication number | Publication date |
---|---|
CN108566297A (en) | 2018-09-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108566297B (en) | Windows network card drive loading method under VOI virtualization | |
US10127057B2 (en) | Method and apparatus for dynamically implementing application function | |
US9606791B2 (en) | Controlled method and apparatus to securely install and update software | |
EP2641175B1 (en) | Networked recovery system | |
US8171276B2 (en) | Minimal startup mode for performing multiple-reboot configuration | |
EP2492821A1 (en) | Method and device for updating data card | |
EP2192516A1 (en) | Method for upgrading antivirus software and terminal and system thereof | |
US20090193407A1 (en) | Methods and Systems for Automatic Patch Creation for Client Updates | |
CN107463388B (en) | UEFI diskless starting method | |
CA2508875A1 (en) | System and apparatus for eliminating user interaction during hardware configuration at system boot | |
CN111638916B (en) | General android mobile terminal driving system and method for data forensics | |
CN108874437B (en) | Online cloud updating method for android application program | |
CN109803177A (en) | A kind of set-top box quickly loads and upgrade method | |
CN108984192B (en) | Information processing apparatus, computer readable medium, and program management method | |
CN110750280B (en) | Android platform-based application upgrading method and system and storage medium | |
CN105279002B (en) | Automatically updating method based on System guides file in embedded system | |
CN108733398B (en) | Software upgrading processing method and device | |
CN114072765B (en) | Method for container-based virtualization system | |
US20170199733A1 (en) | Method for terminal to update operating system, terminal and system | |
US20030120827A1 (en) | Method and apparatus for automatically detecting machine states during an operating system installation through a network | |
CN116860298A (en) | GPU (graphics processing unit) driving updating method and device, computer storage medium and electronic equipment | |
CN103279348B (en) | System boot process shows the method and system of information | |
CN111142949B (en) | Information processing method and electronic equipment | |
CN111552498B (en) | Method and system for realizing screen parameter upgrading of display screen | |
CN111240589A (en) | Partition isolation-based system management method, device, equipment and storage medium |
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 |