CN116483388A - System filling method, device, equipment and medium based on multiple configuration requirements - Google Patents

System filling method, device, equipment and medium based on multiple configuration requirements Download PDF

Info

Publication number
CN116483388A
CN116483388A CN202310350510.0A CN202310350510A CN116483388A CN 116483388 A CN116483388 A CN 116483388A CN 202310350510 A CN202310350510 A CN 202310350510A CN 116483388 A CN116483388 A CN 116483388A
Authority
CN
China
Prior art keywords
target
file
preset
component
preset format
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310350510.0A
Other languages
Chinese (zh)
Inventor
林森
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inspur Shandong Computer Technology Co Ltd
Original Assignee
Inspur Shandong Computer Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Inspur Shandong Computer Technology Co Ltd filed Critical Inspur Shandong Computer Technology Co Ltd
Priority to CN202310350510.0A priority Critical patent/CN116483388A/en
Publication of CN116483388A publication Critical patent/CN116483388A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

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

Abstract

The application discloses a system filling method, device, equipment and medium based on multiple configuration requirements, and relates to the technical field of computers. Applied to a PXE server, the method comprises the following steps: determining target equipment for installing different components based on a pre-installation environment, and acquiring relevant configuration information of the target equipment to generate a preset format file; analyzing the file in the preset format through a graphic user interface, and determining a target component and a corresponding related driver; determining an optimal adaptation mirror image according to a target component and a related drive query preset component database; and modifying the preset format file according to the mirror image configuration file of the optimal adaptation mirror image, and storing the target file and the related driver obtained after modification into a preset catalog so as to install the target components in batches by using an HTTP mode according to the preset catalog. Through the technical scheme of the application, the test period can be effectively reduced in the process of project test and automatic filling of the production line.

Description

System filling method, device, equipment and medium based on multiple configuration requirements
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a system filling method, apparatus, device, and medium based on multiple configuration requirements.
Background
When current project testing and automatic filling are carried out on a production line, mirror images are involved, independent customization is needed for configuration requirements of different projects, and each system binds fixedly configured equipment. Because the drive adaptation condition and the compatibility condition of various components are required to be considered when the mirror image is customized, the following problems are avoided:
1) The customized mirror image needs to take all configurations of possible shipment of the project into consideration, the same component has a plurality of available models, and because of different manufacturers and different drivers, the customized mirror image needs to be simultaneously included in one customized mirror image, the mirror image is increasingly bulked, and the installation time is increased along with the unnecessary component driving installation time of the current production line after the installation of the mirror image basic part is finished;
2) Compatibility problems exist between the same type of drivers, compatibility anomalies can affect the mirror image customization period, and the same type of drivers of other manufacturers cannot be adapted by pushing component manufacturers;
3) If the scheme is not adopted, the method is equivalent to finding a corresponding part customized mirror image for each project-based master disc customization, and carrying out the work of master disc deb combination and the like based on the mirror image, so that the period is prolonged;
Therefore, how to provide a solution to the above technical problem is a problem that a person skilled in the art needs to solve at present.
Disclosure of Invention
In view of the above, the present invention aims to provide a system filling method, device, equipment and medium based on multiple configuration requirements, which can effectively reduce the test period in the process of project test and automatic filling of a production line. The specific scheme is as follows:
in a first aspect, the present application discloses a system filling method based on multiple configuration requirements, applied to a PXE server, including:
determining target equipment for installing different components based on a preinstallation environment, and acquiring relevant configuration information of the target equipment to generate a file in a preset format;
analyzing the file in the preset format through a graphic user interface, and determining a target component and a related driver corresponding to the target component;
inquiring a preset component database according to the target component and the related driver, and determining a best fit mirror image; the component database is used for recording the adaptation conditions of the target component and the system version of the related drive and the target equipment;
And modifying the preset format file according to the mirror image configuration file of the optimal adaptation mirror image, and storing the target file obtained after modification and the related driver into a preset catalog so as to install the target components in batches by using an HTTP mode according to the preset catalog.
Optionally, the determining, based on the pre-installation environment, a target device for installing different components, and acquiring relevant configuration information of the target device, so as to generate a preset format file, includes:
determining target equipment for installing different components through a PE system, and acquiring the hardware configuration of the target equipment to generate an extensible markup language format file; the hardware configuration comprises any one or a combination of a plurality of memories, display cards, hard disks, PCIE conversion interfaces and RAID cards.
Optionally, the parsing the file in the preset format through the graphical user interface, determining a target component and a related driver corresponding to the target component, includes:
and analyzing the file with the preset format in an element tree mode by using a preset programming language through a graphical user interface, and determining a target component and a related driver corresponding to the target component.
Optionally, setting the component database includes:
acquiring different components and a plurality of different drives matched with the different components;
combining the different components with the different drives respectively to obtain a plurality of configuration combinations;
and determining a plurality of system versions adapted to the target equipment based on the configuration combinations, and then storing each configuration combination and the corresponding system version of each configuration combination into the component database.
Optionally, after the analyzing the file in the preset format through the graphical user interface and determining the target component and the related driver corresponding to the target component, the method further includes:
checking the relevant drivers to determine that the relevant drivers are digitally signed versions and/or to adapt versions of a public version operating system;
and packaging the related drivers of the versions subjected to the digital signature and/or the related drivers of the versions of the adaptive public operating system, and then storing the packaged installation package in a preset format into the preset catalogue.
Optionally, after modifying the preset format file according to the image configuration file of the best-fit image, storing the target file obtained after modification and the related driver in a preset directory, so as to install the target component in batches by using an HTTP manner according to the preset directory, the method further includes:
Monitoring whether the batch installation of the target components is completed;
and when the batch installation of the target components is completed, entering an OOBE or auditing mode, and transmitting a test script to the target equipment by using a simple file transfer protocol through network connection between the PXE server and the target equipment so as to perform stability test on the installation condition of the target components by using the test script.
Optionally, when the batch installation of the target component is completed, entering an OOBE or an audit mode, and sending a test script to the target device by using a simple file transfer protocol through network connection between the PXE server and the target device, so as to perform stability test on the installation condition of the target component by using the test script, and then further including:
obtaining a test result of a stability test for the installation condition of the target component;
and when the test result is a test result representing normal installation of the target component, performing activation operation on the target device through the KMS server.
In a second aspect, the application discloses a system filling device based on multiple configuration requirements, applied to a PXE server, including:
The system comprises a preset format file generation module, a file generation module and a file generation module, wherein the preset format file generation module is used for determining target equipment for installing different components based on a pre-installation environment and acquiring relevant configuration information of the target equipment so as to generate a preset format file;
the system comprises a preset format file analysis module, a target component and a related driver corresponding to the target component, wherein the preset format file analysis module is used for analyzing the preset format file through a graphic user interface and determining the target component and the related driver corresponding to the target component;
the optimal adaptation mirror image determining module is used for inquiring a preset component database according to the target component and the related driver to determine an optimal adaptation mirror image; the component database is used for recording the adaptation conditions of the target component and the system version of the related drive and the target equipment;
and the file packaging module is used for modifying the file in the preset format according to the mirror configuration file of the best-fit mirror, and storing the target file obtained after modification and the related driver into a preset catalog so as to install the target components in batches in an HTTP mode according to the preset catalog.
In a third aspect, the present application discloses an electronic device comprising a processor and a memory; wherein the memory is configured to store a computer program that is loaded and executed by the processor to implement the system filling method based on multiple configuration requirements as described above.
In a fourth aspect, the present application discloses a computer-readable storage medium for storing a computer program; wherein the computer program, when executed by a processor, implements a system filling method based on a plurality of configuration requirements as described above.
The application provides a system filling method based on multiple configuration requirements, which is applied to a PXE server and comprises the following steps: determining target equipment for installing different components based on a preinstallation environment, and acquiring relevant configuration information of the target equipment to generate a file in a preset format; analyzing the file in the preset format through a graphic user interface, and determining a target component and a related driver corresponding to the target component; inquiring a preset component database according to the target component and the related driver, and determining a best fit mirror image; the component database is used for recording the adaptation conditions of the target component and the system version of the related drive and the target equipment; and modifying the preset format file according to the mirror image configuration file of the optimal adaptation mirror image, and storing the target file obtained after modification and the related driver into a preset catalog so as to install the target components in batches by using an HTTP mode according to the preset catalog. Therefore, the invention takes the PXE server as a main configuration analysis, configuration issuing, driving issuing and batch installation carrier in a mode of decoupling the preset format file in the target equipment and the related drive corresponding to the target component to be installed in the target equipment and the optimal adaptation mirror image of the operating system; collecting configuration information of equipment to be deployed through a graphical user interface, adapting a component database, and determining an optimal adaptation mirror image; and finally, modifying the file in the preset format according to the mirror image configuration file of the optimal adaptation mirror image, and storing the target file obtained after modification and the related driver into a preset catalog, and packaging and installing. The whole manufacturer needs to adapt the public version system and all related components, and has specific driving for a specific system, but the whole flow is reflected in the system customization and automatic installation process. The PXE server is used for realizing component driving screening combination, and corresponding preset format files are modified according to the optimal adaptation mirror image, so that project specialization customization requirements based on the optimal adaptation mirror image can be met, customization of a master disc is simpler, meanwhile, a production line can be subjected to more humanized operation, and the test period is effectively shortened.
In addition, the system filling device, the device and the storage medium based on the multiple configuration requirements correspond to the system filling method based on the multiple configuration requirements, and the effects are the same.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are required to be used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only embodiments of the present invention, and that other drawings can be obtained according to the provided drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a system filling method based on multiple configuration requirements disclosed in the present application;
FIG. 2 is a flow chart of a specific system filling method based on multiple configuration requirements disclosed in the present application;
FIG. 3 is a flow chart of a specific system filling method based on multiple configuration requirements disclosed in the present application;
FIG. 4 is a schematic diagram of a system filling device based on multiple configuration requirements disclosed in the present application;
fig. 5 is a block diagram of an electronic device disclosed in the present application.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
At present, when project test and production line carry out automatic filling, because when customizing the mirror image, need compromise each item part drive adaptation condition and compatibility condition, can not appear that part drive installation time is long, have compatibility scheduling problem between the same type drive. If the scheme is not adopted, the method is equivalent to finding the corresponding part customized mirror image for each project-based master disk customization, and performing operations such as master disk deb merging and the like based on the mirror image, and the period is prolonged
Therefore, the application provides a system filling scheme based on multiple configuration requirements, which can effectively reduce the test period in the process of project test and automatic filling of a production line.
The embodiment of the invention discloses a system filling method based on multiple configuration requirements, which is shown in FIG. 1 and is applied to a PXE server, and the method comprises the following steps:
Step S11: and determining target equipment for installing different components based on the pre-installation environment, and acquiring relevant configuration information of the target equipment to generate a file in a preset format.
The embodiment of the application is applied to a PXE (Preboot Execution Environment, pre-boot execution environment) server. Because the PXE server can be used as a storage medium of different drivers and can attempt to perform configuration presentation and related content import of different model combinations by combining a program and a graphical interface, the PXE server is used as a main configuration analysis, configuration issuing, driver issuing and batch installation carrier. First, the PXE server determines a target device for installing different components by means of a PE system. It can be understood that, because the hardware device cannot be continuously updated and optimized like software, the hardware device can be subjected to a batch of applicable models for production in an indefinite batch before formal production, and a user is given a test, so that the formally produced device is more perfect, and the failure rate is reduced. Therefore, a certain target machine in the same batch in the production line can be connected to serve as target equipment in a mode of externally connecting with the testing machine.
Further, when the target device is determined, the specific hardware configuration of the device is collected. Specifically, the hardware configuration may include any one or a combination of several important information such as a memory, a graphics card, a hard disk, a PCIE interface, and a RAID card. Then, an xml (Extensible Markup Language ) format file is generated, and simultaneously stored under a specific directory of the PXE server in the form of an xml format file.
Step S12: and analyzing the file in the preset format through a graphic user interface, and determining a target component and a related driver corresponding to the target component.
In the embodiment of the application, an instruction is sent to the target equipment to be deployed through a graphical user interface (Graphical User Interface, GUI), and configuration information of the target equipment is collected. That is, the PXE server parses the preset format file, that is, the xml file, generated in step S11 through the gui, and then finds a specific component and a related driver.
In a specific embodiment, the preset format file may be parsed in an element tree manner by using a preset programming language, so as to determine a target component and a related driver corresponding to the target component. Such as xml format parsing using the python's element tree. Since the total number of component types typically involved in a desktop or server is substantially consistent, xml file formats can be relatively simple and do not have much content.
The method comprises the steps of analyzing the file in the preset format through a graphic user interface, determining a target component and a related driver corresponding to the target component, and further comprising:
checking the relevant drivers to determine that the relevant drivers are digitally signed versions and/or to adapt versions of a public version operating system;
and packaging the related drivers of the versions subjected to the digital signature and/or the related drivers of the versions of the adaptive public operating system, and then storing the packaged installation package in a preset format into the preset catalogue.
It should be noted that after parsing the file in the preset format to find the specific component and the related driver, the adapted driver is packaged and put into a specified directory, such as the threaded-part. It is necessary to ensure that the driver in the directory is already a signed version or a version that has been adapted to the OS (Operating System) public version.
Step S13: inquiring a preset component database according to the target component and the related driver, and determining a best fit mirror image; the component database is used for recording the adaptation condition of the target component and the system version of the related driver and the target equipment.
In the embodiment of the application, the component database of the adaptation condition of the component application of the manufacturer of the whole machine is preset, and the query can be conveniently called out through the form of the database. The component database stores corresponding combinations of target components and related drivers and adaptation conditions of various mainline versions, wherein the related combinations can be supplemented into the component database through previous adaptation experience so as to find a more suitable system version for customization. And directly positioning the best-fit mirror image, which is usually an OS manufacturer mirror image public edition, by inquiring a preset component database according to the target component and the related driver.
Step S14: and modifying the preset format file according to the mirror image configuration file of the optimal adaptation mirror image, and storing the target file obtained after modification and the related driver into a preset catalog so as to install the target components in batches by using an HTTP mode according to the preset catalog.
In the embodiment of the application, the installation of different drivers before the PXE filling is realized according to different requirements of clients mainly through a mode of decoupling a configuration file reflected by a preset format file in a domestic operating system such as kylin and the like from a mirror image and an implementation mode of PXE filling three-way software.
It should be noted that the configuration information required by the target device is also synchronized to the PXE server. The PXE server modifies the image configuration file of the best-fit image OS public edition, such as the installation location, the size of the space occupied by the partition, the designated user name password, etc. The whole manufacturer still needs to adapt the public edition system and all related components, and has specific drive aiming at a specific system, but not only can set product configuration combination through a component database, but also can realize component drive screening combination by a server, modify corresponding preset format files, and can realize project specialization customization requirements based on public edition adaptation, and customization of a master disc is simpler.
Further, when the modification of the configuration information required for the target device is completed, the configuration information is placed under the specified directory along with the driving package (deb) generated in step S12. The PXE server then mass installs the lot to be loaded using HTTP (Hyper Text Transfer Protocol ).
The application provides a system filling method based on multiple configuration requirements, which is applied to a PXE server and comprises the following steps: determining target equipment for installing different components based on a preinstallation environment, and acquiring relevant configuration information of the target equipment to generate a file in a preset format; analyzing the file in the preset format through a graphic user interface, and determining a target component and a related driver corresponding to the target component; inquiring a preset component database according to the target component and the related driver, and determining a best fit mirror image; the component database is used for recording the adaptation conditions of the target component and the system version of the related drive and the target equipment; and modifying the preset format file according to the mirror image configuration file of the optimal adaptation mirror image, and storing the target file obtained after modification and the related driver into a preset catalog so as to install the target components in batches by using an HTTP mode according to the preset catalog. Therefore, the invention takes the PXE server as a main configuration analysis, configuration issuing, driving issuing and batch installation carrier in a mode of decoupling the preset format file in the target equipment and the related drive corresponding to the target component to be installed in the target equipment and the optimal adaptation mirror image of the operating system; collecting configuration information of equipment to be deployed through a graphical user interface, adapting a component database, and determining an optimal adaptation mirror image; and finally, modifying the file in the preset format according to the mirror image configuration file of the optimal adaptation mirror image, and storing the target file obtained after modification and the related driver into a preset catalog, and packaging and installing. The whole manufacturer needs to adapt the public version system and all related components, and has specific driving for a specific system, but the whole flow is reflected in the system customization and automatic installation process. The PXE server is used for realizing component driving screening combination, and corresponding preset format files are modified according to the optimal adaptation mirror image, so that project specialization customization requirements based on the optimal adaptation mirror image can be met, customization of a master disc is simpler, meanwhile, a production line can be subjected to more humanized operation, and the test period is effectively shortened.
In a specific embodiment of the system filling method based on multiple configuration requirements provided in the present invention, as shown in fig. 2, the process of setting the component database specifically includes:
step S21: acquiring different components and a plurality of different drives matched with the different components;
step S22: combining the different components with the different drives respectively to obtain a plurality of configuration combinations;
step S23: and determining a plurality of system versions adapted to the target equipment based on the configuration combinations, and then storing each configuration combination and the corresponding system version of each configuration combination into the component database.
In this embodiment of the present application, a component database is preset for recording the adaptation situations of the target component and the system version of the related driver and the target device. And different components are respectively combined with corresponding different drives, such as a plurality of available types of drives, so that a plurality of groups of configuration combinations can be obtained. Because different configuration combinations are different in adaptation conditions for different mainline versions, each configuration combination and a system version corresponding to each configuration combination are stored in the component database. Although this solution may still cause compatibility problems between different component manufacturers, the probability of such problems is relatively small according to the actual situation of the manufacturer of the whole machine, and the corresponding combinations can be supplemented to the component database through previous adaptation experience so as to find a more suitable system version for customization. And then, inquiring records in the component database through the PXE server to determine the best-fit mirror image.
In a specific embodiment of the system filling method based on multiple configuration requirements provided in the present invention, referring to fig. 3, after modifying the preset format file according to the mirror configuration file of the best-fit mirror, and then storing the target file obtained after modification and the related driver in a preset directory, after batch installation of the target component by using an HTTP manner according to the preset directory, the method may further include:
step S31: monitoring whether the batch installation of the target components is completed;
step S32: and when the batch installation of the target components is completed, entering an OOBE or auditing mode, and transmitting a test script to the target equipment by using a simple file transfer protocol through network connection between the PXE server and the target equipment so as to perform stability test on the installation condition of the target components by using the test script.
In the embodiment of the application, the PXE server uses an HTTP mode to install the target components in batches, and enters an OOBE or audit mode after equipment is installed. And (3) transmitting a test script to the target equipment by using a TFTP (Trivial File Transfer Protocol, simple file transfer protocol) mode through network connection between the server and the target equipment, checking the installation condition of each drive and performing basic stability test.
Further, when the batch installation of the target component is completed, entering an OOBE or audit mode, and issuing a test script to the target device by using a simple file transfer protocol through network connection between the PXE server and the target device, so as to perform stability test on the installation condition of the target component by using the test script, and then further comprising:
obtaining a test result of a stability test for the installation condition of the target component;
and when the test result is a test result representing normal installation of the target component, performing activation operation on the target device through the KMS server.
In the embodiment of the application, the test result is fed back to the server, the server can confirm whether the current batch is installed normally, and if so, the KMS server is handed over to realize the subsequent activation step. In this way, feedback and basic function test after the equipment driver is installed are realized through the self-contained auditing mode of the system after the equipment driver is installed. The OOBE mode and the audit mode are added after the installation is finished, so that the installation result of the system and the installation combination condition of various components under the system can be sampled and detected, and the test period can be effectively reduced.
It should be noted that the activation operation is required after the production line is installed, but the KMS activation server and the PXE filling server are typically separated based on the security requirements and practices of the system manufacturer. The two can be considered to be combined into one, so that the space for deployment is saved. Or some configuration files or software specific to the KMS activation server may be separated from the system so that there is more space available for deployment as a PXE server.
The following describes a system filling device based on multiple configuration requirements according to an embodiment of the present application, where the system filling device based on multiple configuration requirements described below and the system filling method based on multiple configuration requirements described above may be referred to correspondingly.
Fig. 4 is a block diagram of a system filling device based on multiple configuration requirements, which is disclosed in an embodiment of the present application, and is applied to a PXE server, and referring to fig. 4, the device includes:
a preset format file generating module 11, configured to determine a target device for installing different components based on a pre-installation environment, and acquire relevant configuration information of the target device, so as to generate a preset format file;
the preset format file analysis module 12 is configured to analyze the preset format file through a graphical user interface, and determine a target component and a related driver corresponding to the target component;
The best-fit mirror image determining module 13 is configured to query a preset component database according to the target component and the related driver, and determine a best-fit mirror image; the component database is used for recording the adaptation conditions of the target component and the system version of the related drive and the target equipment;
and the file packaging module 14 is configured to modify the preset format file according to the image configuration file of the best-fit image, and store the target file obtained after modification and the related driver in a preset directory, so that the target component is installed in batches by using an HTTP mode according to the preset directory.
The more specific working process of each module may refer to the corresponding content disclosed in the foregoing embodiment, and will not be described herein.
It can be seen that, by the above scheme of the present embodiment, the application to a PXE server includes: determining target equipment for installing different components based on a preinstallation environment, and acquiring relevant configuration information of the target equipment to generate a file in a preset format; analyzing the file in the preset format through a graphic user interface, and determining a target component and a related driver corresponding to the target component; inquiring a preset component database according to the target component and the related driver, and determining a best fit mirror image; the component database is used for recording the adaptation conditions of the target component and the system version of the related drive and the target equipment; and modifying the preset format file according to the mirror image configuration file of the optimal adaptation mirror image, and storing the target file obtained after modification and the related driver into a preset catalog so as to install the target components in batches by using an HTTP mode according to the preset catalog. Therefore, the invention takes the PXE server as a main configuration analysis, configuration issuing, driving issuing and batch installation carrier in a mode of decoupling the preset format file in the target equipment and the related drive corresponding to the target component to be installed in the target equipment and the optimal adaptation mirror image of the operating system; collecting configuration information of equipment to be deployed through a graphical user interface, adapting a component database, and determining an optimal adaptation mirror image; and finally, modifying the file in the preset format according to the mirror image configuration file of the optimal adaptation mirror image, and storing the target file obtained after modification and the related driver into a preset catalog, and packaging and installing. The whole manufacturer needs to adapt the public version system and all related components, and has specific driving for a specific system, but the whole flow is reflected in the system customization and automatic installation process. The PXE server is used for realizing component driving screening combination, and corresponding preset format files are modified according to the optimal adaptation mirror image, so that project specialization customization requirements based on the optimal adaptation mirror image can be met, customization of a master disc is simpler, meanwhile, a production line can be subjected to more humanized operation, and the test period is effectively shortened.
Further, in some specific embodiments, the preset format file generating module 11 includes:
an extensible markup language format file generating unit, configured to determine a target device for installing different components through a PE system, and acquire a hardware configuration of the target device, so as to generate an extensible markup language format file; the hardware configuration comprises any one or a combination of a plurality of memories, display cards, hard disks, PCIE conversion interfaces and RAID cards.
In some specific embodiments, the pre-formatted file parsing module 12 includes:
and the element tree analysis unit is used for analyzing the file with the preset format in an element tree mode by utilizing a graphical user interface and utilizing a preset programming language to determine a target component and a related driver corresponding to the target component.
In some specific embodiments, the system filling device based on multiple configuration requirements further comprises: the component database setting module is used for setting the component database; wherein, the component database setting module specifically includes:
the device comprises a component and a drive acquisition unit, wherein the component and drive acquisition unit is used for acquiring different components and a plurality of different drives matched with the different components;
The component and drive combination unit is used for respectively combining the different components with the different drives to obtain a plurality of configuration combinations;
and the storage unit is used for determining a plurality of system versions which are adapted to the target equipment based on the configuration combinations, and then storing each configuration combination and the system version corresponding to each configuration combination into the component database.
In some specific embodiments, the system filling device based on multiple configuration requirements further comprises:
a driver checking unit, configured to check the related driver to determine that the related driver is a version after digital signature, and/or adapt to a version of a public operating system;
and the drive packing unit is used for packing the related drive of the version after the digital signature and/or the related drive of the version of the adaptive public operating system, and then storing the packaged installation package with the preset format into the preset catalogue.
In some specific embodiments, the system filling device based on multiple configuration requirements further comprises:
the installation condition monitoring unit is used for monitoring whether the batch installation of the target components is completed or not;
And the post-installation feedback unit is used for entering an OOBE or auditing mode when the batch installation of the target components is completed, and issuing a test script to the target equipment by using a simple file transfer protocol through network connection between the PXE server and the target equipment so as to perform stability test on the installation condition of the target components by using the test script.
In some specific embodiments, the system filling device based on multiple configuration requirements further comprises:
the test result acquisition unit is used for entering an OOBE or auditing mode when the batch installation of the target components is completed, and transmitting a test script to the target equipment by using a simple file transfer protocol through network connection between the PXE server and the target equipment so as to acquire a test result of performing stability test on the installation condition of the target components after performing stability test on the installation condition of the target components by using the test script;
and the activating unit is used for activating the target equipment through the KMS server when the test result is a test result representing normal installation of the target component.
Further, the embodiment of the present application further discloses an electronic device, and fig. 5 is a block diagram of the electronic device 20 according to an exemplary embodiment, where the content of the figure is not to be considered as any limitation on the scope of use of the present application.
Fig. 5 is a schematic structural diagram of an electronic device 20 according to an embodiment of the present application. The electronic device 20 may specifically include: at least one processor 21, at least one memory 22, a power supply 23, a communication interface 24, an input output interface 25, and a communication bus 26. Wherein the memory 22 is configured to store a computer program that is loaded and executed by the processor 21 to implement the relevant steps of the system filling method based on multiple configuration requirements disclosed in any of the foregoing embodiments. In addition, the electronic device 20 in the present embodiment may be a computer.
In this embodiment, the power supply 23 is configured to provide an operating voltage for each hardware device on the electronic device 20; the communication interface 24 can create a data transmission channel between the electronic device 20 and an external device, and the communication protocol to be followed is any communication protocol applicable to the technical solution of the present application, which is not specifically limited herein; the input/output interface 25 is used for acquiring external input data or outputting external output data, and the specific interface type thereof may be selected according to the specific application requirement, which is not limited herein.
The memory 22 may be a carrier for storing resources, such as a read-only memory, a random access memory, a magnetic disk, or an optical disk, and the resources stored thereon may include an operating system 221, a computer program 222, data 223, and the like, and the data 223 may include various data. The storage means may be a temporary storage or a permanent storage.
The operating system 221 is used for managing and controlling various hardware devices on the electronic device 20 and computer programs 222, which may be Windows Server, netware, unix, linux, etc. The computer program 222 may further comprise a computer program that can be used to perform other specific tasks in addition to the computer program that can be used to perform the system filling method based on multiple configuration requirements performed by the electronic device 20 as disclosed in any of the previous embodiments.
Further, embodiments of the present application disclose a computer readable storage medium, where the computer readable storage medium includes random access Memory (Random Access Memory, RAM), memory, read-Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, magnetic disk, or optical disk, or any other form of storage medium known in the art. The computer program, when executed by the processor, implements the system filling method based on the multiple configuration requirements. For specific steps of the method, reference may be made to the corresponding contents disclosed in the foregoing embodiments, and no further description is given here.
In this specification, each embodiment is described in a progressive manner, and each embodiment is mainly described in a different point from other embodiments, so that the same or similar parts between the embodiments are referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant points refer to the description of the method section.
The steps of a system filling or algorithm based on the multiple configuration requirements described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. The software modules may be disposed in Random Access Memory (RAM), memory, read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
Finally, it is further noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The system filling method, device, equipment and medium based on multiple configuration requirements provided by the invention are described in detail, and specific examples are applied to illustrate the principle and implementation of the invention, and the description of the above examples is only used for helping to understand the method and core idea of the invention; meanwhile, as those skilled in the art will have variations in the specific embodiments and application scope in accordance with the ideas of the present invention, the present description should not be construed as limiting the present invention in view of the above.

Claims (10)

1. A system filling method based on a plurality of configuration requirements, which is applied to a PXE server, comprising:
determining target equipment for installing different components based on a preinstallation environment, and acquiring relevant configuration information of the target equipment to generate a file in a preset format;
analyzing the file in the preset format through a graphic user interface, and determining a target component and a related driver corresponding to the target component;
inquiring a preset component database according to the target component and the related driver, and determining a best fit mirror image; the component database is used for recording the adaptation conditions of the target component and the system version of the related drive and the target equipment;
And modifying the preset format file according to the mirror image configuration file of the optimal adaptation mirror image, and storing the target file obtained after modification and the related driver into a preset catalog so as to install the target components in batches by using an HTTP mode according to the preset catalog.
2. The system filling method based on multiple configuration requirements according to claim 1, wherein determining a target device for installing different components based on a pre-installation environment and acquiring relevant configuration information of the target device to generate a preset format file includes:
determining target equipment for installing different components through a PE system, and acquiring the hardware configuration of the target equipment to generate an extensible markup language format file; the hardware configuration comprises any one or a combination of a plurality of memories, display cards, hard disks, PCIE conversion interfaces and RAID cards.
3. The system filling method based on multiple configuration requirements according to claim 1, wherein the parsing the preset format file through the graphical user interface to determine a target component and a related driver corresponding to the target component includes:
And analyzing the file with the preset format in an element tree mode by using a preset programming language through a graphical user interface, and determining a target component and a related driver corresponding to the target component.
4. The system filling method based on a plurality of configuration requirements according to claim 1, wherein setting the component database comprises:
acquiring different components and a plurality of different drives matched with the different components;
combining the different components with the different drives respectively to obtain a plurality of configuration combinations;
and determining a plurality of system versions adapted to the target equipment based on the configuration combinations, and then storing each configuration combination and the corresponding system version of each configuration combination into the component database.
5. The system filling method based on multiple configuration requirements according to claim 1, wherein after the parsing the preset format file through the graphical user interface to determine a target component and a related driver corresponding to the target component, further comprises:
checking the relevant drivers to determine that the relevant drivers are digitally signed versions and/or to adapt versions of a public version operating system;
And packaging the related drivers of the versions subjected to the digital signature and/or the related drivers of the versions of the adaptive public operating system, and then storing the packaged installation package in a preset format into the preset catalogue.
6. The system filling method according to any one of claims 1 to 5, wherein after modifying the preset format file according to the mirror configuration file of the best-fit mirror, and then storing the modified target file and the related driver in a preset directory, so as to install the target component in batches according to the preset directory by using an HTTP manner, the method further comprises:
monitoring whether the batch installation of the target components is completed;
and when the batch installation of the target components is completed, entering an OOBE or auditing mode, and transmitting a test script to the target equipment by using a simple file transfer protocol through network connection between the PXE server and the target equipment so as to perform stability test on the installation condition of the target components by using the test script.
7. The system filling method based on multiple configuration requirements according to claim 6, wherein when the target component batch installation is completed, entering an OOBE or audit mode, and issuing a test script to the target device by using a simple file transfer protocol through a network connection between the PXE server and the target device, so as to perform a stability test on an installation condition of the target component by using the test script, further comprising:
Obtaining a test result of a stability test for the installation condition of the target component;
and when the test result is a test result representing normal installation of the target component, performing activation operation on the target device through the KMS server.
8. A system filling device based on a plurality of configuration requirements, applied to a PXE server, comprising:
the system comprises a preset format file generation module, a file generation module and a file generation module, wherein the preset format file generation module is used for determining target equipment for installing different components based on a pre-installation environment and acquiring relevant configuration information of the target equipment so as to generate a preset format file;
the system comprises a preset format file analysis module, a target component and a related driver corresponding to the target component, wherein the preset format file analysis module is used for analyzing the preset format file through a graphic user interface and determining the target component and the related driver corresponding to the target component;
the optimal adaptation mirror image determining module is used for inquiring a preset component database according to the target component and the related driver to determine an optimal adaptation mirror image; the component database is used for recording the adaptation conditions of the target component and the system version of the related drive and the target equipment;
and the file packaging module is used for modifying the file in the preset format according to the mirror configuration file of the best-fit mirror, and storing the target file obtained after modification and the related driver into a preset catalog so as to install the target components in batches in an HTTP mode according to the preset catalog.
9. An electronic device comprising a processor and a memory; wherein the memory is for storing a computer program to be loaded and executed by the processor to implement the system filling method based on multiple configuration requirements as claimed in any one of claims 1 to 7.
10. A computer-readable storage medium storing a computer program; wherein the computer program, when executed by a processor, implements a system filling method based on a plurality of configuration requirements as claimed in any one of claims 1 to 7.
CN202310350510.0A 2023-03-30 2023-03-30 System filling method, device, equipment and medium based on multiple configuration requirements Pending CN116483388A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310350510.0A CN116483388A (en) 2023-03-30 2023-03-30 System filling method, device, equipment and medium based on multiple configuration requirements

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310350510.0A CN116483388A (en) 2023-03-30 2023-03-30 System filling method, device, equipment and medium based on multiple configuration requirements

Publications (1)

Publication Number Publication Date
CN116483388A true CN116483388A (en) 2023-07-25

Family

ID=87212950

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310350510.0A Pending CN116483388A (en) 2023-03-30 2023-03-30 System filling method, device, equipment and medium based on multiple configuration requirements

Country Status (1)

Country Link
CN (1) CN116483388A (en)

Similar Documents

Publication Publication Date Title
US8132166B2 (en) Methods and systems for provisioning software
US6789215B1 (en) System and method for remediating a computer
US8601466B2 (en) Software deployment method and system, software deployment server and user server
US8402123B2 (en) Systems and methods for inventorying un-provisioned systems in a software provisioning environment
US7634488B2 (en) Remote distribution/installation utility and associated method of deploying executable code
US8930512B2 (en) Providing remote software provisioning to machines
CN106406951B (en) Installation method and device of operating system
US8316224B2 (en) Systems and methods for tracking a history of changes associated with software packages and configuration management in a computing system
US20100058327A1 (en) Methods and systems for providing customized actions related to software provisioning
US20100058330A1 (en) Methods and systems for importing software distributions in a software provisioning environment
US11068252B2 (en) System and method for dynamically determining applicable updates
US20080320468A1 (en) Standardized Software Application Configuration
US20070073724A1 (en) System and method for automatic or semi-automatic software integration
US20150264198A1 (en) Automatic installation system and method, information processing apparatus, and image forming apparatus
US20070088799A1 (en) System and method for installing software
US8645944B2 (en) Deployment of a solution artifact to a client application
WO2010020124A1 (en) Method, server and system for software installing
US20070022154A1 (en) Generating one or more clients for generating one or more synthetic transactions with one or more web service operations
CN111831508A (en) Dynamic monitoring data acquisition method and device
US9830177B1 (en) Computer implemented method and system, and computer program product, for determining compliance with a configuration parameter before deployment of a virtual appliance into a network appliance
CN114661375A (en) Application integration method and device
CN116483388A (en) System filling method, device, equipment and medium based on multiple configuration requirements
CN113448793A (en) System monitoring method and device compatible with multiple operating systems
US20080209408A1 (en) Seeding product information
Cisco Cisco Media Gateway Controller Node Manager (CMNM) Version 1.5

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