Server operating system installation processing method and device, and related equipment

By automating the installation of Windows systems using KVM physical machines, the problem of low installation efficiency in traditional technologies is solved, enabling unattended automated installation and improving the installation efficiency of Windows operating systems on servers.

CN119645434BActive Publication Date: 2025-11-21KANG JIAN INFORMATION TECH (SHENZHEN) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411535892.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-10-30
Publication Date
2025-11-21
Estimated Expiration
2044-10-30

AI Technical Summary

Technical Problem

Traditionally, installing Windows operating systems on servers is inefficient, requires manual intervention, and consumes a lot of human resources.

Method used

By automatically receiving installation tasks based on KVM physical machines, creating Windows system installation virtual machine scripts, mounting IP configuration image files to virtual machines, and restarting the physical machine to run initialization scripts, unattended automated installation of Windows systems can be achieved.

Benefits of technology

It enables automated installation of the Windows operating system on the server, improving installation efficiency, eliminating the need for manual intervention, and saving human resources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119645434B_ABST
    Figure CN119645434B_ABST
Patent Text Reader

Abstract

The application belongs to the technical field of digital medical treatment, and provides a server operating system installation processing method and related equipment, in order to solve the problem of low installation efficiency of the Windows operating system of the server in the traditional technology, the KVM physical machine corresponding to the server is determined, and based on the KVM physical machine, the installation task is received, then the Windows system installation virtual machine script is created according to the installation task, the Windows system installation virtual machine script contains the IP configuration image file corresponding to the IP configuration of the server, then the IP configuration image file is mounted to the virtual machine corresponding to the Windows system installation virtual machine script, finally the KVM physical machine is restarted, and the Windows system installation virtual machine script is automatically run according to the IP configuration image file, so as to install the Windows system on the server, realize the automatic one-key installation of the server operating system, and improve the installation efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of digital medical treatment, and particularly relates to a server operating system installation processing method and device, computer equipment and a computer readable storage medium. BACKGROUND

[0002] With the development of digital medical treatment, the online processing of medical business and the increasing application of medical business, the scale of servers required by medical institutions is also increasing. In the process of server operation and maintenance, it is often necessary to install an operating system on a server. In the case that the online application of medical business is mostly deployed on a Windows server, it is often necessary to install some Windows servers, i.e., to install a Windows operating system on a server in daily operation and maintenance. The Windows server is a server based on a Windows operating system, which is briefly referred to as a Windows server.

[0003] In the traditional technology, a Windows server is generally installed through Hyper-V software. Hyper-V is a system management program virtualization technology that can realize desktop virtualization. In this case, it takes nearly two hours to install a server with a Windows operating system, and a person needs to pay attention to the installation process all the time, which consumes a lot of human resources.

[0004] Therefore, how to improve the installation efficiency of the Windows operating system of a server becomes a technical problem to be solved. SUMMARY

[0005] The present application provides a server operating system installation processing method and device, computer equipment and a computer readable storage medium, which can solve the technical problem of low installation efficiency of the Windows operating system of a server in the traditional technology.

[0006] In a first aspect, the application provides a server operating system installation processing method, comprising: determining a KVM physical machine corresponding to a server based on a preset operation and maintenance platform corresponding to the server; receiving an installation task corresponding to installation of a Windows system on the server based on the KVM physical machine; creating a Windows system installation virtual machine script in response to an installation instruction corresponding to the installation task, wherein the Windows system installation virtual machine script comprises an IP configuration image file corresponding to a preset target Windows system image and IP configuration of the server, and the preset target Windows system image comprises a preset Windows system base image and a preset initialization Windows system script file; mounting the IP configuration image file to a virtual machine corresponding to the Windows system installation virtual machine script; restarting the KVM physical machine, and in the case of restarting the KVM physical machine, installing a Windows system corresponding to the preset Windows system base image on the server according to the IP configuration image file by running the preset initialization Windows system script file, to obtain a Windows virtual machine corresponding to the server.

[0007] In a second aspect, the application provides a server operating system installation processing device, comprising: a first determination unit configured to determine a KVM physical machine corresponding to a server based on a preset operation and maintenance platform corresponding to the server; a receiving unit configured to receive an installation task corresponding to installation of a Windows system on the server based on the KVM physical machine; a creating unit configured to create a Windows system installation virtual machine script in response to an installation instruction corresponding to the installation task, wherein the Windows system installation virtual machine script comprises an IP configuration image file corresponding to a preset target Windows system image and IP configuration of the server, and the preset target Windows system image comprises a preset Windows system base image and a preset initialization Windows system script file; a mounting unit configured to mount the IP configuration image file to a virtual machine corresponding to the Windows system installation virtual machine script; and an installation unit configured to restart the KVM physical machine, and in the case of restarting the KVM physical machine, install a Windows system corresponding to the preset Windows system base image on the server according to the IP configuration image file by running the preset initialization Windows system script file, to obtain a Windows virtual machine corresponding to the server.

[0008] In a third aspect, the present application provides a computer device comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the installation processing method of the server operating system when executing the computer program.

[0009] In a fourth aspect, the present application provides a computer readable storage medium storing a computer program, wherein the processor executes the steps of the installation processing method of the server operating system when executing the computer program.

[0010] The present application provides an installation processing method, device, computer device and computer readable storage medium of a server operating system. The method automatically receives an installation task corresponding to the installation of a Windows system on a server based on a KVM physical machine corresponding to the server, automatically creates a Windows system installation virtual machine script according to the installation task, automatically mounts an IP configuration image file to a virtual machine corresponding to the Windows system installation virtual machine script, restarts the KVM physical machine, and automatically runs the Windows system installation virtual machine script according to the IP configuration image file to install a Windows system corresponding to a preset target Windows system image on the server. The method can automatically install a Windows operating system on a server, realizes one-key installation of the Windows operating system on the server based on KVM without human intervention, greatly improves the installation efficiency of the server operating system, and exemplarily improves the installation efficiency of the Windows operating system on the server in the process of implementing digital medical treatment. BRIEF DESCRIPTION OF DRAWINGS

[0011] To more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed in the embodiment description will be briefly introduced. Obviously, the drawings in the following description are some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.

[0012] Figure 1 The flowchart of the installation processing method of the server operating system provided by the embodiments of the present application is shown in the figure.

[0013] Figure 2 The flowchart of the installation processing method of the server operating system provided by the embodiments of the present application based on a preset operation and maintenance platform is shown in the figure.

[0014] Figure 3 A first sub-flow schematic diagram of the server operating system installation processing method provided by the embodiment of the present application is shown in FIG. 1;

[0015] Figure 4 A second sub-flow schematic diagram of the server operating system installation processing method provided by the embodiment of the present application is shown in FIG. 2;

[0016] Figure 5 A schematic block diagram of the server operating system installation processing device provided by the embodiment of the present application is shown in FIG. 3;

[0017] Figure 6 A schematic block diagram of the computer device provided by the embodiment of the present application is shown in FIG. 4. DETAILED DESCRIPTION

[0018] The technical solutions in 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. Obviously, the described embodiments are some of the embodiments of the present application, but not all the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the scope of protection of the present application.

[0019] It should be understood that when used in the specification and the appended claims, the terms "comprise" and "include" indicate the presence of described features, integers, steps, operations, elements, and / or components, but do not exclude one or more other features, integers, steps, operations, elements, components, and / or groups thereof.

[0020] The embodiments of the present application provide a server operating system installation processing method, which can be applied to computer devices used as servers, including but not limited to desktop computers, servers, etc., and is adopted when installing Windows operating system for servers in the field of digital medical treatment, etc.

[0021] In the face of the technical problem of low installation efficiency of the Windows operating system of the server in the traditional technology, the inventors propose the operating system installation processing method of the embodiments of the present application. The core idea of the embodiments of the present application is that: based on the KVM (Kernel-based Virtual Machine, an open-source system virtualization module, abbreviated as KVM) physical machine corresponding to the server, when a Windows operating system (hereinafter referred to as Windows system) installation task is received, the Windows operating system image (hereinafter referred to as Windows system image) is automatically downloaded, the corresponding Windows system installation virtual machine script is created, and the Windows system installation virtual machine script is automatically run to install the Windows operating system based on the KVM on the server, and the Windows virtual machine corresponding to the server is obtained. The Windows operating system can be automatically installed, the unattended automatic one-key installation of the Windows operating system based on the KVM is realized, the full-automatic installation of the Windows virtual machine is realized, manual intervention is not required, and the installation efficiency of the Windows operating system of the server is greatly improved. Exemplarily, in the process of implementing digital medical treatment, for the server used for the medical business of the medical unit, when the Windows operating system needs to be installed in the process of server operation and maintenance, the server operating system installation scheme provided by the embodiments of the present application can be used to automatically install the Windows operating system for the server, and the installation efficiency of the Windows operating system of the server can be improved.

[0022] Some embodiments of the present application will be described in detail below with reference to the accompanying drawings. In the case of no conflict, the embodiments described below and the features in the embodiments can be combined with each other.

[0023] Please refer to Figure 1 With Figure 2 , Figure 1 The flowchart of the server operating system installation processing method provided by the embodiments of the present application is shown in Figure 2 The flowchart of the server operating system installation processing method provided by the embodiments of the present application based on the preset operation and maintenance platform is shown in Figure 1 With Figure 2 The method includes but is not limited to the following steps S11-S15:

[0024] S11, based on the preset operation and maintenance platform corresponding to the server, determining the KVM physical machine corresponding to the server.

[0025] Explanatorily, please refer to Figure 2 As Figure 2As shown, the pre-set operation and maintenance platform, i.e., the preset operation and maintenance platform, represents a platform for configuring, managing, and other operations and maintenance of a plurality of servers. The preset operation and maintenance platform includes, but is not limited to, a preset image storage that stores a preset target Windows system image, a preset installation system console, and a preset IP interface console. The preset image storage represents a pre-set storage that stores a plurality of versions of Windows system images. The preset installation system console represents a pre-set operation and maintenance platform that includes a "middleware" for performing installation settings and other pre-operations. The preset IP interface console represents a pre-set interface that corresponds to "middleware" for obtaining IP configurations corresponding to different servers.

[0026] The server is a physical machine, which is an entity relative to a virtual machine. The physical machine (English: Physical Machine) and the virtual machine (English: Virtual Machine) are two different forms of computing resources. The virtual machine is a computer system simulated by software, which runs in an isolated environment. The physical machine refers to the entity computer hardware, including CPU, memory, hard disk, etc.

[0027] For large servers or server clusters, virtual machines are generally used to manage servers. The corresponding server resources are managed independently in units of virtual machines, i.e., a virtual machine manages server resources of a corresponding size as an independent server module to run in parallel with other server modules to achieve independent control and operation of related businesses. When installing a server operating system, for large servers or server clusters, a block of entity server resources, i.e., a physical machine, is first determined. The block of server resources is managed and maintained individually based on virtual machine technology, including installing an operating system. Thus, when installing a Windows operating system on a server, based on the preset operation and maintenance platform, the server resource to which the operating system is to be installed is first determined, which can be referred to as a server, i.e., a KVM physical machine. The KVM physical machine represents an entity computer hardware resource based on KVM technology (English: Kernel-based Virtual Machine, abbreviated as KVM). The entity computer hardware resource based on KVM technology can be referred to as a KVM physical machine before the operating system is installed, which is the initial state of the KVM virtual machine.

[0028] Exemplarily, for the server used by the medical service of the medical unit, in the process of server operation and maintenance, when the server needs to be installed with the Windows operating system, first, set the preset operation and maintenance platform of the medical unit, the preset operation and maintenance platform includes but is not limited to the preset image storage of the preset target Windows system image, the preset installation system console, the preset IP interface console, then based on the preset operation and maintenance platform corresponding to the server, the entity server is managed based on KVM virtualization to determine the KVM physical machine corresponding to the server, and then the Windows system installation is performed based on the KVM physical machine.

[0029] S12, based on the KVM physical machine, receiving the installation task corresponding to the server installing the Windows system.

[0030] Explanatorily, when the server installs the Windows system (i.e. the Windows operating system), first generate the installation task, in the embodiment of the application, the preset installation system console included in the preset operation and maintenance platform is used to configure the installation and generate the installation task according to the above configuration, wherein the installation means installing the Windows operating system on the server, the installation task includes but is not limited to determining the number of created Windows virtual machines, selecting the operating system installed on the server as the Windows system, determining the Windows system version to be installed from the several versions of the Windows system, the installation task can also include the determination of the relevant information of the Windows virtual machine created based on KVM for server installation of the Windows system, such as the selection of the configuration version corresponding to the configuration of the server, the Windows virtual machine means the virtual machine with the operating system as the Windows system.

[0031] S13, in response to the installation instruction corresponding to the installation task, create a Windows system installation virtual machine script, wherein the Windows system installation virtual machine script contains an IP configuration image file corresponding to the IP configuration of the preset target Windows system image and the server, the preset target Windows system image contains a preset Windows system base image and a preset initialization Windows system script file.

[0032] Explanatorily, the preset initialization Windows system script file, i.e., the preset initialization Windows system script file, indicates an automatic execution installation process and information or resources required to describe the same, which is a Windows system automatic installation process composed of computer programs developed by relevant personnel, wherein initialization (English for Initialization) refers to a process of setting a system, a variable, an object or other available components to their initial state or initial value during the Windows system automatic installation process, which is configured by relevant personnel, the preset initialization Windows system script file is a script, which can be represented by init_win.ps1, and the preset initialization Windows system script file is configured in the preset Windows system base image by relevant personnel, thereby obtaining a preset target Windows system image, and the preset target Windows system image is pre-stored in a preset operation and maintenance platform including but not limited to a preset image storage device, so as to obtain the preset target Windows system image subsequently, wherein the preset Windows system base image indicates a pre-set original installation version of the Windows system.

[0033] The IP configuration image file indicates an image format file corresponding to IP related configuration information of a server, such as a gateway, DNS (English: Domain Name System, abbreviation: DNS, domain name system), IP address, network, firewall, etc.

[0034] In response to the installation instruction corresponding to the installation task, the preset target Windows system image is obtained by storing the preset target Windows system image into a specified file directory through a mode including but not limited to downloading, and the IP related configuration information is obtained through but not limited to the preset IP interface provided by the embodiment of the present application, and the IP related configuration information is generated into an ISO image file to obtain an IP configuration image file, and a script for installing the Windows system is formed by including but not limited to the preset target Windows system image and the IP configuration image file, to create a Windows system installation virtual machine script, and the Windows system installation virtual machine script represents a script for automatically installing the Windows system to obtain a Windows virtual machine corresponding to the server. Since the Windows system installation virtual machine script needs to be created and run in a virtual environment simulated on a KVM physical machine, the Windows system installation virtual machine script corresponds to a corresponding virtual machine, and since the server is virtualized based on KVM, accordingly, the above-mentioned virtual machine can also be referred to as a KVM virtual machine, and the KVM physical machine and the KVM virtual machine are in a corresponding relationship. The KVM physical machine is a server based on KVM virtualization technology but not successfully installed with the Windows system from the entity perspective. The KVM virtual machine is a server based on KVM virtualization technology and having an operating environment in the form of a virtual machine from the virtual perspective. The KVM physical machine and the KVM virtual machine are the same entity object described from different perspectives.

[0035] S14, mounting the IP configuration image file to the virtual machine corresponding to the Windows system installation virtual machine script.

[0036] Explanatorily, the IP configuration image is mounted to the virtual machine corresponding to the Windows system installation virtual machine script by including but not limited to converting the IP configuration image into a file format suitable for the preset initialization Windows system script file to access, so that in the installation process of the Windows system, the preset initialization Windows system script file contained in the Windows system installation virtual machine script can access the IP configuration image and use the IP information therein to install the Windows system. Wherein, mounting refers to connecting the IP configuration image to the virtual machine corresponding to the Windows system installation virtual machine script, so that the data of the IP configuration image can be accessed by the preset initialization Windows system script file. This process is similar to connecting a physical storage device to a computer, but in the KVM virtual environment, this is achieved through software.

[0037] S15, restarting the KVM physical machine, and in the case of the KVM physical machine being restarted, running the preset initialization Windows system script file according to the IP configuration image file to install the Windows system corresponding to the preset Windows system base image on the server, to obtain the Windows virtual machine corresponding to the server.

[0038] Illustratively, the preset startup self-starting task corresponding to the preset initialization Windows system script file is automatically started when starting up, and the server restart task is preset, and when the server is shut down and started up again, that is, when the KVM physical machine is shut down and started up again, the preset startup self-starting task is automatically executed to automatically start and run the preset initialization Windows system script file, and based on running the preset initialization Windows system script file, the server is automatically configured with IP according to the IP configuration information contained in the IP configuration image file and installed with the Windows system, so that the Windows system corresponding to the preset Windows system base image is installed on the server. Since the server is a KVM-based physical machine, after the Windows system is automatically installed successfully, the server, that is, the virtual machine installed with the Windows system, is a Windows virtual machine, so that the Windows virtual machine corresponding to the server is automatically installed successfully.

[0039] Illustratively, in the process of implementing digital medical treatment, for the server used by the medical business of a medical unit, when the server needs to be installed with a Windows operating system in the process of server operation and maintenance, the above-mentioned server operating system installation scheme is adopted to automatically install the Windows operating system on the server, which can improve the installation efficiency of the server Windows operating system.

[0040] The embodiment of the application determines the KVM physical machine corresponding to the server based on the preset operation and maintenance platform corresponding to the server, receives the installation task corresponding to the installation of the Windows system of the server based on the KVM physical machine, creates a Windows system installation virtual machine script in response to the installation instruction corresponding to the installation task, the Windows system installation virtual machine script includes an IP configuration image file corresponding to the preset target Windows system image and the IP configuration of the server, then the IP configuration image file is mounted to the virtual machine corresponding to the Windows system installation virtual machine script, finally, the KVM physical machine is restarted, and the preset initialization Windows system script file is run according to the IP configuration image file, so as to install the Windows system corresponding to the preset target Windows system image on the server. The automatic installation of the Windows operation system of the server can be realized, the Windows operation system of the server is automatically installed based on KVM without manual intervention, and the installation efficiency of the operation system of the server is greatly improved.

[0041] In an embodiment, after obtaining the Windows virtual machine corresponding to the server, the method further includes:

[0042] The Windows system installation virtual machine script is cleared, and the server is restarted.

[0043] Explanatorily, after the Windows operation system corresponding to the preset target Windows system image is successfully installed on the server, the files used for installing the Windows operation system but no longer used, such as the Windows system installation virtual machine script, are cleared, that is, the IP configuration image file corresponding to the preset target Windows system image and the IP configuration of the server is deleted, that is, the preset initialization Windows system script file, the preset Windows system base image, and the IP configuration image file are cleared, and the server is restarted, so that the full-automatic installation of the Windows system is completed.

[0044] Exemplarily, in the process of implementing digital medical treatment, for the server used for the medical business of the medical unit, when the Windows operation system needs to be installed in the process of server operation and maintenance, the above server operation system installation scheme is adopted, after the Windows operation system is automatically installed on the server, the data generated in the process of installing the Windows operation system is cleaned up, and the server is restarted, so that the installation of the Windows operation system is completed, the storage space of the server can be saved, and the use effect of the storage space of the subsequent server is improved.

[0045] The embodiment of the application deletes the installation file no longer needed by the Windows system by clearing the Windows system installation virtual machine script and restarting the server, thereby saving the storage space of the server, improving the storage space use effect of the subsequent server, and further achieving full-automatic installation of the Windows system.

[0046] In an embodiment, please refer to Figure 3 , Figure 3 The first sub-flow diagram of the server operating system installation processing method provided by the embodiment of the application is shown in FIG. 1. As shown in FIG. 1, based on the KVM physical machine, the installation task corresponding to the installation of the Windows system of the server is received, including: Figure 3

[0047] S31, based on the preset installation system contained in the preset operation and maintenance platform, determining the target Windows system identifier corresponding to the target Windows system, obtaining the preset target Windows system identifier corresponding to the preset target Windows system;

[0048] S32, constructing the installation task corresponding to the installation of the Windows system of the server according to the preset target Windows system identifier, and issuing the installation task to the KVM physical machine;

[0049] S33, based on the KVM physical machine, receiving the installation task, obtaining the installation task corresponding to the installation of the Windows system of the server.

[0050] ​Illustratively, as described above, the preset operation and maintenance platform includes a preset installation system console, based on the preset installation system console, relevant personnel make relevant configurations to the created Windows virtual machine, including but not limited to selecting the system version corresponding to the installed Windows system, the system version is generally distinguished by the Windows system identifier, the relevant personnel select the system version corresponding to the Windows system based on the preset installation system console, take the selected Windows system corresponding to the system version as the target Windows system, and take the system version identifier corresponding to the target Windows system as the target Windows system identifier, thereby determining the target Windows system identifier corresponding to the target Windows system, obtaining the preset target Windows system identifier corresponding to the preset target Windows system, wherein the preset target Windows system is the Windows system to be installed by the server previously set by the relevant personnel, then according to the preset target Windows system identifier, build the installation task, the installation task includes but is not limited to the preset target Windows system identifier, so as to download the Windows system installation file corresponding to the preset target Windows system identifier in the subsequent process, the Windows system installation file is generally the corresponding image file, and then the installation task is issued to the KVM physical machine, and the KVM physical machine receives the installation task corresponding to the server installing the Windows system.

[0051] In the embodiment of the application, the preset installation system console included in the preset operation and maintenance platform makes corresponding pre-settings to the installation task, which not only can flexibly configure the installation task according to the needs, but also is the premise of the Windows operating system of the KVM unattended automatic one-key installation server provided in the embodiment of the application, which can improve the efficiency and effect of the automatic installation of the server operating system.

[0052] In an embodiment, please refer to Figure 4 , Figure 4 The second sub-flow diagram of the server operating system installation processing method provided in the embodiment of the application is shown in FIG. 6. Figure 4 As shown in the figure, in this embodiment, the script for creating a Windows system installation virtual machine includes:

[0053] S41, based on the preset image storage included in the preset operation and maintenance platform, and according to the preset target Windows system identifier, download the preset target Windows system image corresponding to the preset target Windows system;

[0054] S42, determine the IP configuration information corresponding to the server, and generate the IP configuration image file corresponding to the IP configuration information;

[0055] S43, constructing a Windows system installation virtual machine script based on the preset target Windows system image and the IP configuration image file.

[0056] Explanatorily, please continue to refer to Figure 2 , and as described above, the preset operation and maintenance platform includes a preset image storage, then based on the preset image storage, and according to the preset target Windows system identifier, downloading the preset target Windows system corresponding to the preset target Windows system image from the preset image storage, corresponding to Figure 2 the download image process in, and using but not limited to obtaining the IP address corresponding to the server to determine the IP configuration information corresponding to the server, and generating the IP configuration image file corresponding to the IP configuration information, corresponding to Figure 2 the IP address obtaining process in, then based on the preset target Windows system image and the IP configuration image file, constructing a Windows system installation virtual machine script.

[0057] Exemplarily, in the process of digital medical implementation, for the server used by the medical business of the medical unit, in the process of server operation and maintenance, when the server needs to be installed with Windows operating system, based on the preset operation and maintenance platform including the preset image storage, and according to the preset target Windows system identifier, downloading the preset target Windows system corresponding to the preset target Windows system image from the preset image storage, and then automatically installing the Windows system according to the preset target Windows system image.

[0058] The embodiment of the present application automatically downloads the preset target Windows system image, automatically generates the IP configuration image file, and then automatically constructs the Windows system installation virtual machine script, thereby realizing the automatic installation of the server Windows operating system, realizing the KVM-based unattended automatic one-key installation of the server Windows operating system without human intervention, and greatly improving the installation efficiency of the server operating system.

[0059] In an embodiment, determining the IP configuration information corresponding to the server and generating the IP configuration image file corresponding to the IP configuration information comprises:

[0060] Based on the preset IP interface included in the preset operation and maintenance platform, obtaining the IP configuration information corresponding to the IP configuration of the server;

[0061] Generating the IP configuration file corresponding to the IP configuration information;

[0062] convert the IP configuration file into an ISO image file format to obtain an IP configuration image file.

[0063] By way of illustration, please continue to refer to Figure 2 According to the preset IP interface, the IP configuration information corresponding to the IP configuration of the server is obtained, the IP configuration information is automatically generated by the preset operation and maintenance platform according to the related configuration of the server, and then an IP configuration file corresponding to the IP configuration information is generated, the IP configuration file represents a file corresponding to the IP configuration information generated based on the management virtualization platform, the IP configuration file is converted into an ISO image file format to obtain an IP configuration image file.

[0064] Illustratively, in the process of implementing digital medical treatment, for the server used by the medical business of the medical unit, in the process of server operation and maintenance, when the server needs to be installed with a Windows operating system, the interface of the preset IP interface platform is called to obtain the IP configuration information corresponding to the IP configuration of the server, and an IP configuration file ipconfig.xml is generated, and the xml format of the IP configuration file is converted into an iso image file format ipconfig.iso, and the converted image format file is used to mount to a preset initialization Windows system script file, wherein the generation command of the IP configuration file ipconfig.xml includes but is not limited to the following commands: genisoimage-input-charset utf-8-oipconfig.iso ipconfig.xml.

[0065] According to the IP configuration image file, the automatic installation of the Windows operating system of the server is realized, the one-key installation of the Windows operating system of the server based on KVM is realized without manual intervention, and the installation efficiency of the server operating system is greatly improved.

[0066] In an embodiment, before downloading the preset target Windows system image corresponding to the preset target Windows system, the following steps are further included:

[0067] The preset boot self-starting task corresponding to the preset initialization Windows system script file is configured.

[0068] In the case of restarting the KVM physical machine, the preset initialization Windows system script file is run according to the IP configuration image file, including:

[0069] In the case of the KVM physical machine being restarted, the preset initialization Windows system script file is automatically started according to the preset startup task at booting.

[0070] The preset initialization Windows system script file is run according to the IP configuration image file.

[0071] Explanatorily, the preset initialization Windows system script file is configured in advance to correspond to the preset startup task at booting, the preset startup task at booting representing a task of automatically starting the preset initialization Windows system script file at booting of the server. Generally, when the preset initialization Windows system script file is configured in the preset Windows system base image to obtain the preset target Windows system image, the preset startup task at booting is set by the relevant personnel, and the preset shutdown and restart task is preset in advance, the preset shutdown and restart task representing a task of shutting down and then starting the KVM physical machine (i.e., the server) for restarting.

[0072] Based on the above setting, when the Windows system is installed, the KVM physical machine is shut down based on the preset shutdown and restart task, the KVM physical machine is started again to start the KVM physical machine in the case of the KVM physical machine being completed to be shut down, and the preset initialization Windows system script file is automatically started according to the preset startup task at booting in the case of the KVM physical machine being restarted, and the preset initialization Windows system script file is run according to the IP configuration image file. Exemplarily, the preset startup task at booting is configured in advance to correspond to a PowerShell script for controlling the preset initialization Windows system script file to be automatically started at the server being restarted, wherein the PowerShell script is used to automatically execute a management task in Windows.

[0073] The preset initialization Windows system script file is automatically started according to the preset startup task at booting in the case of the KVM physical machine being restarted, and the automatic installation of the Windows operating system of the server is realized, the Windows operating system of the server being automatically installed based on the KVM without manual intervention, and the installation efficiency of the operating system of the server is greatly improved.

[0074] In an embodiment, the IP configuration image file is mounted to the virtual machine corresponding to the Windows system installation virtual machine script, including:

[0075] Based on the preset virtualization management software corresponding to the KVM physical machine, an XML configuration file in XML format corresponding to the IP configuration image file is created;

[0076] Based on the XML configuration file, the IP configuration image file is mapped to a virtual machine corresponding to the Windows system installation virtual machine script.

[0077] Explanatorily, the virtualization management software is preset, that is, the preset virtualization management software, which represents a series of software tools and platforms for managing and optimizing the virtualization environment, and the preset virtualization management software includes but is not limited to Libvirt, VMware vSphere / ESXi, Microsoft Hyper-V, wherein Libvirt supports multiple virtualization technologies, including but not limited to KVM, Xen, VMware ESX, the virtualization technology is a resource management technology, which can abstract physical resources (such as servers, storage devices, networks, etc.) to form virtual resources, through virtualization, multiple virtual machines can be run on a physical server, these virtual machines share the CPU, memory, IO and other resources of the physical machine, but are logically isolated from each other, the main purpose of the virtualization technology is to improve resource utilization, reduce cost, simplify management, and enhance the flexibility and reliability of the system, the virtualization management software is an application program for managing and optimizing the virtualization environment, which is responsible for creating, configuring, monitoring and maintaining the virtual machine, ensuring the normal operation and efficient use of the virtual machine, thus, on the basis of virtualizing the physical machine, the preset virtualization management software is generally used to manage and optimize the virtualization environment.

[0078] Based on the above description, based on the preset virtualization management software corresponding to the KVM physical machine, an XML configuration file in XML format corresponding to the IP configuration image file is created, wherein the "XML" involved in the XML configuration file is only used to distinguish the configuration file and is not used to limit the configuration file, and then based on the XML configuration file, the IP configuration image file is mapped to the virtual machine corresponding to the Windows system installation virtual machine script, so that in the Windows system installation process, the preset initialization Windows system script file contained in the Windows system installation virtual machine script can access the data contained in the IP configuration image file and use the IP information therein for Windows system installation, so as to mount the IP configuration image file to the virtual machine corresponding to the Windows system installation virtual machine script. Illustratively, in the case of managing the KVM virtual machine based on the Libvirt virtualization management software, a libvirt.xml configuration file in XML format corresponding to the IP configuration image file is created, and based on the libvirt.xml configuration file, the IP configuration image file ipconfig.iso is mapped into the corresponding virtual machine, so that the IP configuration image ipconfig.iso is mounted into the corresponding virtual machine, and then in the process of automatically installing the Windows system, the IP configuration image ipconfig.iso can be accessed and used to install the Windows system.

[0079] The embodiments of the present application mount the IP configuration image to the virtual machine corresponding to the Windows system installation virtual machine script by automatically creating an XML configuration file in XML format corresponding to the IP configuration image file and mapping the IP configuration image file to the virtual machine corresponding to the Windows system installation virtual machine script based on the XML configuration file, and then automatically install the Windows operating system of the server according to the IP configuration file, realize the KVM-based unattended automatic one-key installation of the Windows operating system of the server without manual intervention, and greatly improve the installation efficiency of the operating system of the server.

[0080] It should be noted that the installation processing method of the server operating system described in each of the above embodiments can be recombined according to the technical features contained in different embodiments to obtain a combined embodiment, but all within the scope of protection claimed by the present application.

[0081] Please refer to Figure 5 , Figure 5 The schematic block diagram of the installation processing device of the server operating system provided by the embodiments of the present application is shown in FIG. 2. Corresponding to the above-mentioned installation processing method of the server operating system, the embodiments of the present application also provide an installation processing device of the server operating system. As shown in FIG. 2, the installation processing device of the server operating system comprises a first creating unit 21, a second creating unit 22 and a mapping unit 23.Figure 5 The server operating system installation processing device shown in the server operating system installation processing method described above can be configured in a computer device. Specifically, referring to Figure 5 , the server operating system installation processing device 50 includes a first determination unit 51, a receiving unit 52, a creation unit 53, a mounting unit 54, and an installation unit 55.

[0082] The first determination unit 51 is configured to determine the KVM physical machine corresponding to the server based on the preset operation and maintenance platform corresponding to the server.

[0083] The receiving unit 52 is configured to receive the installation task corresponding to the Windows system installed on the server based on the KVM physical machine.

[0084] The creation unit 53 is configured to create a Windows system installation virtual machine script in response to the installation instruction corresponding to the installation task, wherein the Windows system installation virtual machine script includes an IP configuration image file corresponding to the IP configuration of a preset target Windows system image, and the preset target Windows system image includes a preset Windows system base image and a preset initialization Windows system script file.

[0085] The mounting unit 54 is configured to mount the IP configuration image file to the virtual machine corresponding to the Windows system installation virtual machine script.

[0086] The installation unit 55 is configured to restart the KVM physical machine, and in the case of restarting the KVM physical machine, run the preset initialization Windows system script file according to the IP configuration image file to install the Windows system corresponding to the preset Windows system base image on the server, thereby obtaining the Windows virtual machine corresponding to the server.

[0087] In an embodiment, the server operating system installation processing device 50 further includes:

[0088] The cleaning unit is configured to clean the Windows system installation virtual machine script and restart the server.

[0089] In an embodiment, the receiving unit 52 includes:

[0090] The first determining sub-unit is configured to determine a target Windows system identifier corresponding to a target Windows system based on a preset installed system in the preset operation and maintenance platform, and obtain a preset target Windows system identifier corresponding to a preset target Windows system.

[0091] The first constructing sub-unit is configured to construct an installation task corresponding to the server installation Windows system according to the preset target Windows system identifier, and issue the installation task to the KVM physical machine.

[0092] The first receiving sub-unit is configured to receive the installation task based on the KVM physical machine, and obtain the installation task corresponding to the server installation Windows system.

[0093] In an embodiment, the creating unit 53 comprises:

[0094] The downloading sub-unit is configured to download a preset target Windows system image corresponding to the preset target Windows system according to the preset target Windows system identifier based on a preset image storage included in the preset operation and maintenance platform.

[0095] The first generating sub-unit is configured to determine IP configuration information corresponding to the server, and generate an IP configuration image file corresponding to the IP configuration information.

[0096] The second constructing sub-unit is configured to construct a Windows system installation virtual machine script based on the preset target Windows system image and the IP configuration image file.

[0097] In an embodiment, the first generating sub-unit comprises:

[0098] The first obtaining sub-unit is configured to obtain IP configuration information corresponding to IP configuration of the server based on a preset IP interface in the preset operation and maintenance platform.

[0099] The second generating sub-unit is configured to generate an IP configuration file corresponding to the IP configuration information.

[0100] The first converting sub-unit is configured to convert the IP configuration file into an ISO image file format, and obtain an IP configuration image file.

[0101] In an embodiment, the creating unit 53 further comprises:

[0102] The configuring sub-unit is configured to configure a preset boot self-start task corresponding to the preset initial Windows system script file.

[0103] The installation unit 55 comprises:

[0104] The self-starting unit is configured to, in case of a restart of the KVM physical machine, self-start the preset initialization Windows system script file according to the preset boot self-starting task.

[0105] The running unit is configured to run the preset initialization Windows system script file according to the IP configuration image file.

[0106] In an embodiment, the mounting unit 54 comprises:

[0107] The creating unit is configured to create an XML configuration file in XML format corresponding to the IP configuration image file based on the preset virtualization management software corresponding to the KVM physical machine.

[0108] The mapping unit is configured to map the IP configuration image file to a virtual machine corresponding to the Windows system installation virtual machine script based on the XML configuration file.

[0109] It should be noted that the specific implementation process of the above-mentioned server operating system installation processing device and each unit can be clearly understood by those skilled in the art, and the corresponding description in the foregoing method embodiments can be referred to. For the convenience and brevity of description, it will not be repeated here.

[0110] Meanwhile, the division and connection mode of each unit in the above-mentioned server operating system installation processing device are only used for illustration, and in other embodiments, the server operating system installation processing device can be divided into different units as needed, or each unit in the server operating system installation processing device can adopt different connection order and mode to complete all or part of the functions of the above-mentioned server operating system installation processing device.

[0111] The above-mentioned server operating system installation processing device can be realized in the form of a computer program, which can run on a computer device as shown in the computer device. Figure 6

[0112] Please refer to Figure 6 , Figure 6 is a schematic block diagram of a computer device provided by an embodiment of the present application. The computer device 500 can be a desktop computer or a server computer, or a component or part in other devices.

[0113] Please refer to Figure 6 ​The computer device 500 includes a processor 502, a memory, and a network interface 505 connected via a system bus 501. The memory may include a non-volatile storage medium 503 and internal memory 504, or it may be a volatile storage medium.

[0114] The non-volatile storage medium 503 may store an operating system 5031 and a computer program 5032. When the computer program 5032 is executed, it causes the processor 502 to perform an installation process method for the aforementioned server operating system.

[0115] The processor 502 provides computing and control capabilities to support the operation of the entire computer device 500.

[0116] The internal memory 504 provides an environment for the operation of the computer program 5032 in the non-volatile storage medium 503. When the computer program 5032 is executed by the processor 502, the processor 502 can execute an installation process method for the aforementioned server operating system.

[0117] This network interface 505 is used for network communication with other devices. Those skilled in the art will understand that... Figure 6 The structures shown are merely block diagrams of some structures related to the present application and do not constitute a limitation on the computer device 500 to which the present application is applied. A specific computer device 500 may include more or fewer components than shown in the figures, or combine certain components, or have different component arrangements. For example, in some embodiments, the computer device may include only a memory and a processor. In such embodiments, the structure and function of the memory and processor are different from those shown in the figures. Figure 6 The embodiments shown are consistent and will not be repeated here.

[0118] The processor 502 is configured to run the computer program 5032 stored in the memory to determine the KVM physical machine corresponding to the server based on the preset operation and maintenance platform corresponding to the server, receive the installation task corresponding to the installation of the Windows system of the server based on the KVM physical machine, create a Windows system installation virtual machine script in response to the installation instruction corresponding to the installation task, wherein the Windows system installation virtual machine script includes an IP configuration image file corresponding to a preset target Windows system image and IP configuration of the server, the preset target Windows system image includes a preset Windows system base image and a preset initialization Windows system script file, mount the IP configuration image file to the virtual machine corresponding to the Windows system installation virtual machine script, restart the KVM physical machine, and in the case of restarting the KVM physical machine, run the preset initialization Windows system script file according to the IP configuration image file to install the Windows system corresponding to the preset Windows system base image on the server to obtain the Windows virtual machine corresponding to the server.

[0119] In an embodiment, the processor 502 further implements the following steps after obtaining the Windows virtual machine corresponding to the server:

[0120] clear the Windows system installation virtual machine script, and restart the server.

[0121] In an embodiment, the processor 502 specifically implements the following steps when implementing the step of receiving the installation task corresponding to the installation of the Windows system of the server based on the KVM physical machine:

[0122] determine the target Windows system identifier corresponding to the target Windows system based on the preset installation system station included in the preset operation and maintenance platform to obtain the preset target Windows system identifier corresponding to the preset target Windows system;

[0123] construct the installation task corresponding to the installation of the Windows system of the server according to the preset target Windows system identifier, and issue the installation task to the KVM physical machine;

[0124] receive the installation task based on the KVM physical machine to obtain the installation task corresponding to the installation of the Windows system of the server.

[0125] In an embodiment, the processor 502, when implementing the script for creating a Windows system installation virtual machine, specifically implements the following steps:

[0126] Based on the preset image storage included in the preset operation and maintenance platform, and according to the preset target Windows system identifier, download the preset target Windows system image corresponding to the preset target Windows system;

[0127] Determine the IP configuration information corresponding to the server, and generate an IP configuration image file corresponding to the IP configuration information;

[0128] Based on the preset target Windows system image and the IP configuration image file, construct a Windows system installation virtual machine script.

[0129] In an embodiment, the processor 502, when determining the IP configuration information corresponding to the server and generating an IP configuration image file corresponding to the IP configuration information, specifically implements the following steps:

[0130] Based on the preset IP interface included in the preset operation and maintenance platform, obtain the IP configuration information corresponding to the IP configuration of the server;

[0131] Generate an IP configuration file corresponding to the IP configuration information;

[0132] Convert the IP configuration file into an ISO image file format to obtain an IP configuration image file.

[0133] In an embodiment, before the processor 502 implements the downloading of the preset target Windows system image corresponding to the preset target Windows system, it further implements the following steps:

[0134] Configure a preset boot self-start task corresponding to the preset initialization Windows system script file;

[0135] In the case of restarting the KVM physical machine, run the preset initialization Windows system script file according to the IP configuration image file, including:

[0136] In the case of restarting the KVM physical machine, self-start the preset initialization Windows system script file according to the preset boot self-start task;

[0137] Run the preset initialization Windows system script file according to the IP configuration image file.

[0138] In an embodiment, the processor 502 implements the following steps when implementing mounting the IP configuration image file to the virtual machine corresponding to the Windows system installation virtual machine script:

[0139] creating an XML configuration file in XML format corresponding to the IP configuration image file based on the preset virtualization management software corresponding to the KVM physical machine;

[0140] mapping the IP configuration image file to the virtual machine corresponding to the Windows system installation virtual machine script based on the XML configuration file.

[0141] It should be understood that, in the embodiments of the present application, the processor 502 can be a central processing unit (CPU), and the processor 502 can also be other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor.

[0142] It can be understood by those skilled in the art that all or part of the processes in the method of the above embodiments can be completed by a computer program, and the computer program can be stored in a computer readable storage medium. The computer program is executed by at least one processor in the computer system to implement the process steps of the above method embodiments.

[0143] Therefore, the present application also provides a computer readable storage medium. The computer readable storage medium can be a non-volatile computer readable storage medium or a volatile computer readable storage medium, and the computer readable storage medium stores a computer program. When the computer program is executed by a processor, the processor executes the following steps:

[0144] A computer program product, when running on a computer, causes the computer to execute the steps of the server operating system installation processing method described in the above embodiments.

[0145] The computer readable storage medium can be an internal storage unit of the foregoing device, for example, a hard disk or a memory of the device. The computer readable storage medium can also be an external storage device of the device, for example, a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card and the like equipped on the device. Further, the computer readable storage medium can include both the internal storage unit and the external storage device of the device.

[0146] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the devices, apparatuses and units described above can refer to the corresponding processes in the foregoing method embodiments, which will not be described here.

[0147] The storage medium is an entity, non-transient storage medium, for example, a U disk, a mobile hard disk, a read-only memory (ROM), a magnetic disk or an optical disk and the like various entity storage media that can store computer programs.

[0148] Those skilled in the art can realize that the units and algorithm steps of each example described in combination with the embodiments disclosed herein can be realized in electronic hardware, computer software or a combination of both. In order to clearly illustrate the interchangeability of hardware and software, the components and steps of each example have been described in the foregoing description in general terms. Whether the functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. A person skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the present application.

[0149] In several embodiments provided in the present application, it should be understood that the disclosed apparatus and method can be implemented in other ways. For example, the apparatus embodiments described above are only schematic. For example, the division of each unit is only a logical function division, and actual implementation can have another division manner. For example, a plurality of units or components can be combined or integrated into another system, or some features can be ignored or not executed.

[0150] The steps in the method embodiments of the present application can be adjusted, combined and deleted according to actual needs. The units in the device embodiments of the present application can be combined, divided and deleted according to actual needs. In addition, each functional unit in each embodiment of the present application can be integrated in one processing unit, or each unit can exist physically, or two or more units can be integrated in one unit.

[0151] The integrated unit, if implemented in the form of a software function unit and sold or used as an independent product, can be stored in a storage medium. Based on such understanding, the technical solutions of the present application essentially or say the part of the prior art that contributes to the present application, or the whole or part of the technical solutions can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes a plurality of instructions for causing an electronic device (which can be a personal computer, a terminal, or a network device, etc.) to execute all or part of the steps of the method described in the various embodiments of the present application.

[0152] The non-company software tools or components appearing in the embodiments of the present application are only illustrative and do not represent actual use.

[0153] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present application, and these modifications or replacements should be covered within the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.

Claims

1. A method of installing a server operating system, characterized by, The method comprises the following steps: determining a KVM physical machine corresponding to the server based on a preset operation and maintenance platform corresponding to the server; receiving an installation task corresponding to the installation of a Windows system on the server based on the KVM physical machine; creating a Windows system installation virtual machine script in response to an installation instruction corresponding to the installation task, wherein the Windows system installation virtual machine script comprises an IP configuration image file corresponding to a preset target Windows system image and IP configuration of the server, and the preset target Windows system image comprises a preset Windows system base image and a preset initialization Windows system script file; mounting the IP configuration image file to a virtual machine corresponding to the Windows system installation virtual machine script; restarting the KVM physical machine, and in the case of restarting the KVM physical machine, installing a Windows system corresponding to the preset Windows system base image on the server according to the IP configuration image file to obtain a Windows virtual machine corresponding to the server by running the preset initialization Windows system script file; wherein receiving the installation task corresponding to the installation of the Windows system on the server based on the KVM physical machine comprises: determining a target Windows system identifier corresponding to a target Windows system based on a preset installation system in the middle station included in the preset operation and maintenance platform to obtain a preset target Windows system identifier corresponding to a preset target Windows system; constructing the installation task corresponding to the installation of the Windows system on the server according to the preset target Windows system identifier, and delivering the installation task to the KVM physical machine; receiving the installation task based on the KVM physical machine to obtain the installation task corresponding to the installation of the Windows system on the server; wherein creating the Windows system installation virtual machine script comprises: downloading the preset target Windows system image corresponding to the preset target Windows system based on the preset image storage included in the preset operation and maintenance platform and according to the preset target Windows system identifier; determining IP configuration information corresponding to the server, and generating an IP configuration image file corresponding to the IP configuration information; constructing the Windows system installation virtual machine script based on the preset target Windows system image and the IP configuration image file.

2. The installation processing method of the server operating system according to claim 1, characterized by, After obtaining the Windows virtual machine corresponding to the server, the method further comprises the following steps: clearing the Windows system installation virtual machine script, and restarting the server.

3. The installation processing method of the server operating system according to claim 1, characterized by, determining the IP configuration information corresponding to the server, and generating the IP configuration image file corresponding to the IP configuration information comprises: obtaining the IP configuration information corresponding to the IP configuration of the server based on a preset IP interface in the middle station included in the preset operation and maintenance platform; generating an IP configuration file corresponding to the IP configuration information. Convert the IP configuration file into an ISO image file format to obtain an IP configuration image file.

4. The installation processing method of the server operating system according to Claim 1, characterized by, Before downloading the preset target Windows system image corresponding to the preset target Windows system, the method further comprises: configuring a preset boot self-starting task corresponding to the preset initialization Windows system script file; In the case of restarting the KVM physical machine, running the preset initialization Windows system script file according to the IP configuration image file, comprising: In the case of restarting the KVM physical machine, according to the preset boot self-starting task, self-starting the preset initialization Windows system script file; According to the IP configuration image file, running the preset initialization Windows system script file.

5. The server operating system installation processing method according to Claim 1 or 2, wherein Mounting the IP configuration image file to the virtual machine corresponding to the Windows system installation virtual machine script, comprising: Based on the preset virtualization management software corresponding to the KVM physical machine, creating an XML configuration file in XML format corresponding to the IP configuration image file; Based on the XML configuration file, mapping the IP configuration image file to the virtual machine corresponding to the Windows system installation virtual machine script.

6. An installation processing apparatus of a server operating system, characterized by comprising: Comprise: The first determination unit is configured to determine the KVM physical machine corresponding to the server based on a preset operation and maintenance platform corresponding to the server. The receiving unit is configured to receive an installation task corresponding to the installation of the Windows system on the server based on the KVM physical machine. The creation unit is configured to create a Windows system installation virtual machine script in response to an installation instruction corresponding to the installation task, wherein the Windows system installation virtual machine script comprises an IP configuration image file corresponding to a preset target Windows system image and an IP configuration of the server, and the preset target Windows system image comprises a preset Windows system base image and a preset initialization Windows system script file. The mounting unit is configured to mount the IP configuration image file to the virtual machine corresponding to the Windows system installation virtual machine script. The installation unit is configured to restart the KVM physical machine, and in the case of restarting the KVM physical machine, run the preset initialization Windows system script file according to the IP configuration image file, install the Windows system corresponding to the preset Windows system base image on the server to obtain a Windows virtual machine corresponding to the server. The receiving unit comprises: The first determination subunit is configured to determine the target Windows system identifier corresponding to the target Windows system based on a preset installation system station included in the preset operation and maintenance platform, and obtain the preset target Windows system identifier corresponding to the preset target Windows system. The first constructing subunit is configured to construct an installation task corresponding to the server installation Windows system according to the preset target Windows system identifier, and to issue the installation task to the KVM physical machine. The first receiving subunit is configured to receive the installation task based on the KVM physical machine, and to obtain the installation task corresponding to the server installation Windows system. The creating unit comprises: The downloading subunit is configured to download a preset target Windows system image corresponding to the preset target Windows system according to the preset target Windows system identifier based on a preset image storage device included in the preset operation and maintenance platform. The first generating subunit is configured to determine IP configuration information corresponding to the server, and to generate an IP configuration image file corresponding to the IP configuration information. The second constructing subunit is configured to construct a Windows system installation virtual machine script based on the preset target Windows system image and the IP configuration image file.

7. A computer device, comprising: The computer device comprises a memory and a processor connected to the memory; the memory is configured to store a computer program; and the processor is configured to run the computer program to execute the steps of the method according to any one of claims 1-5.

8. A computer-readable storage medium, characterized in that, The storage medium stores a computer program, and the computer program is executed by the processor to implement the steps of the method according to any one of claims 1-5.

Citation Information

Patent Citations

  • Server management method and device

    CN110098952A

  • Automatic deployment method, system and device for operating system and readable storage medium

    CN116737182A