CN113821264B - Operating system installation control method, installation control system and computing device - Google Patents

Operating system installation control method, installation control system and computing device Download PDF

Info

Publication number
CN113821264B
CN113821264B CN202111182480.4A CN202111182480A CN113821264B CN 113821264 B CN113821264 B CN 113821264B CN 202111182480 A CN202111182480 A CN 202111182480A CN 113821264 B CN113821264 B CN 113821264B
Authority
CN
China
Prior art keywords
client
operating system
server
boot file
file
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111182480.4A
Other languages
Chinese (zh)
Other versions
CN113821264A (en
Inventor
黄明强
李安东
黄海针
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chengdu Tongxin Software Technology Co ltd
Original Assignee
Chengdu Tongxin Software 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 Chengdu Tongxin Software Technology Co ltd filed Critical Chengdu Tongxin Software Technology Co ltd
Priority to CN202111182480.4A priority Critical patent/CN113821264B/en
Publication of CN113821264A publication Critical patent/CN113821264A/en
Application granted granted Critical
Publication of CN113821264B publication Critical patent/CN113821264B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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/4401Bootstrapping
    • 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
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • 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

Abstract

The invention discloses an operating system installation control method, an installation control system and a computing device, wherein the method comprises the following steps: starting an operating system of the client through a network; detecting an acquisition request of a client to a guide file; if the acquisition request of the client to the boot file is detected, the boot file is sent to the client so as to guide the client to install a new operating system based on the boot file; and closing the data transmission of the client so as to enter the new operating system after restarting the client. According to the technical scheme of the invention, the installation of a new operating system or the entry of the operating system into a plurality of clients can be accurately controlled, and the automatic installation of the new operating system by the clients under the unattended condition is realized.

Description

Operating system installation control method, installation control system and computing device
Technical Field
The present invention relates to the field of computer and operating system technologies, and in particular, to an operating system installation control method, an installation control system, and a computing device.
Background
In automated testing of operating systems, it is necessary to install the latest system images built daily so that automated testing can be performed on the latest system daily.
The system can be updated conveniently and rapidly for a large number of testers through the PXE installation system mirror image, the latest daily system mirror image file is downloaded and deployed on the PXE server, and the testers can be restarted in a network starting mode to pull the mirror image file on the PXE server, so that the latest operating system is installed.
In the prior art, in the automated test of the AMD and ARM platforms, after a system is installed on a client through a PXE service, when the system needs to be updated next time, the client needs to be set to be started next time to be started by a network through an efiboost gr command, and then the client is restarted to enter the network to be started through a reboot command, so that the latest system image is installed on the client. Because in the AMD and ARM architecture clients, the BIOS uses the hard disk boot as the first boot sequence, the server needs to remotely log in to the client and modify the next boot of the client to be a network boot before installing the system image. After restarting the client, the client enters the PXE boot, installs a new operating system in a network-initiated manner. After the operating system is installed, the client is further guided to restart through the hard disk start, and then the post-installation configuration is entered, so that the installation of the operating system is completed.
Therefore, in the automatic deployment process of installing the daily-built operating system on the AMD and ARM platforms, a plurality of operations need to be restarted on the client, after the operating system is installed, the operations need to be restarted to enter the post-installation configuration, the secondary installation of the client and the like are also needed, and the installation process is complicated. Moreover, the next restart item of the client needs to be selected by using the efiboost command, if the efiboost command is not available on the MIPS platform, when the system is installed through the PXE service, the BIOS setting can only be manually entered through the restart, the startup item is modified to be network-started, and then the network installation system can be entered through the PXE service after restarting again. Thus, the latest mirror image cannot be automatically and unattended installed.
For this reason, an operating system installation control method is required to solve the problems in the above-described technical solutions.
Disclosure of Invention
To this end, the present invention provides an operating system installation control method and installation control system in an effort to solve or at least alleviate the above-identified problems.
According to an aspect of the present invention, there is provided an operating system installation control method, executed in a server, comprising the steps of: starting an operating system of the client through a network; detecting an acquisition request of a client to a guide file; if the acquisition request of the client to the boot file is detected, the boot file is sent to the client so as to guide the client to install a new operating system based on the boot file; and closing the data transmission of the client so as to enter the new operating system after restarting the client.
Optionally, in the operating system installation control method according to the present invention, further comprising the steps of: after the client installs a new operating system, automatically restarting the client; and starting the operating system through the hard disk so that the client enters the new operating system.
Optionally, in the operating system installation control method according to the present invention, before starting the operating system of the client through the network, the method includes the steps of: and starting the data transmission of the client and restarting the client.
Optionally, in the operating system installation control method according to the present invention, before starting the operating system of the client through the network, the client is adapted to: detecting whether a multicast signal sent by a server is received or not, and if the multicast signal is received, starting an operating system through a network; if the multicast signal is not received, the operating system is started through the hard disk so as to enter the current operating system.
Optionally, in the operating system installation control method according to the present invention, after entering the new operating system, the method further includes the steps of: and automatically testing the new operating system.
Optionally, in the operating system installation control method according to the present invention, the step of detecting an acquisition request of the client for the boot file includes: circularly detecting whether a sending log of the client exists in the log file or not; if so, it is determined that a client acquisition request for the boot file is detected.
Optionally, in the operating system installation control method according to the present invention, the step of transmitting the boot file to the client includes: the address of the boot file is sent to the client so that the client obtains the boot file based on the address of the boot file.
Optionally, in the operating system installation control method according to the present invention, the client is adapted to perform data interaction with the server based on a UDP protocol.
Optionally, in the operating system installation control method according to the present invention, the server is a PXE server, and the client is a PXE client; the server is remotely connected with the client.
According to one aspect of the present invention, there is provided a mounting control system comprising: one or more clients; and a server, remotely connected to one or more clients, adapted to perform the method as described above.
According to one aspect of the present invention, there is provided a computing device comprising: at least one processor; and a memory storing program instructions, wherein the program instructions are configured to be adapted to be executed by the at least one processor, the program instructions comprising instructions for performing the operating system installation control method as described above.
According to one aspect of the present invention, there is provided a readable storage medium storing program instructions which, when read and executed by a computing device, cause the computing device to perform a method as described above.
According to the technical scheme of the invention, an operating system installation scheme is provided, and the server controls the opening and closing of client UDP data transmission, so that the client can receive a multicast signal of the server in the state of opening data transmission and automatically enter a network starting mode, and a new operating system is installed on the client guided by the network. After the new operating system is installed, the client cannot receive the multicast signal of the server after restarting by closing the UDP data transmission of the client, so that the client automatically enters a hard disk starting mode, and the new operating system can be entered through hard disk starting. Therefore, the server can accurately control a plurality of clients to install a new operating system or enter the operating system by controlling the starting mode of the clients, and also realize that the clients automatically install the new operating system under the unattended condition and automatically restart to enter the new operating system so as to test the new operating system.
The foregoing description is only an overview of the present invention, and is intended to be implemented in accordance with the teachings of the present invention in order that the same may be more clearly understood and to make the same and other objects, features and advantages of the present invention more readily apparent.
Drawings
To the accomplishment of the foregoing and related ends, certain illustrative aspects are described herein in connection with the following description and the annexed drawings, which set forth the various ways in which the principles disclosed herein may be practiced, and all aspects and equivalents thereof are intended to fall within the scope of the claimed subject matter. The above, as well as additional objects, features, and advantages of the present disclosure will become more apparent from the following detailed description when read in conjunction with the accompanying drawings. Like reference numerals generally refer to like parts or elements throughout the present disclosure.
FIG. 1 shows a schematic diagram of an installation control system 100 according to one embodiment of the invention;
FIG. 2 shows a schematic diagram of a computing device 200 according to one embodiment of the invention; and
FIG. 3 illustrates a flow chart of an operating system installation control method 300 according to one embodiment of the invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
FIG. 1 shows a schematic diagram of an installation control system 100 according to one embodiment of the invention.
As shown in fig. 1, the installation control system 100 includes a server 120, one or more clients 110 connected to the server 120.
The server 120 is used to control the client to install a new operating system. The invention is not limited to the specific implementation of the server. For example, server 120 may be implemented as a computing device such as a desktop computer, a notebook computer, a processor chip, a cell phone, a tablet computer, etc., but is not limited thereto, and may be an application program residing on the computing device.
The client 110 may be a testing machine that, after controlling the client 110 to install a new operating system, may test the new operating system installed by the client. It should be noted that the invention is not limited to the particular type of equipment of the tester. For example, the test machine may be implemented as a computing device such as a desktop computer, a notebook computer, a cell phone, a tablet computer, and the like.
According to one embodiment of the invention, the server 120 may be implemented as a PXE server and the client may be implemented as a PXE client. The PXE server may establish a remote connection with the PXE client via SSH protocol.
The server 120 has a TFTP service program resident therein, and the TFTP service program may perform data interaction with the client 110 based on a UDP protocol, so that the client 110 performs data interaction with the server 120 based on the UDP protocol.
In one embodiment, the boot sequence is configured in advance at the BIOS boot item of the client 110, the first boot item is set to be a network boot operating system, and the second boot item is set to be a hard disk boot operating system.
The server 120 may continuously transmit a multicast signal (Discover signal) based on the UDP protocol. After restarting, the client 110 to install the new operating system may receive the multicast signal of the server 120, and automatically enter the network start mode of the first start item after receiving the multicast signal of the server 120, and start the operating system through the network.
It should be noted that by network booting the operating system, client 110 may be directed to install and enter a new operating system.
Since the client performs data interaction with the server based on the UDP protocol, the client 110 can transmit data to the server 120 and receive data transmitted from the server 120 based on the UDP protocol. Based on this, only when the UDP data transmission of the client is started, the client may receive the multicast signal transmitted by the server, enter the network start mode, and may then return an acquisition request for the boot file to the server based on the UDP protocol. After detecting the request for obtaining the boot file from the client 110, the server 120 sends the boot file to the client, and executes the boot file on the client to boot the client to install the latest operating system.
In addition, by closing the data transmission of the client 110 based on the UDP protocol, after restarting the client 110, the client may enter a hard disk start mode of the second start item, and start the operating system through the hard disk, so that the client enters the currently installed operating system.
In one embodiment, the server 120 is adapted to perform an operating system installation control method 300 according to the present invention. The operating system installation control method 300 of the present invention will be described in detail below.
In one embodiment, the server 120 may be implemented as a computing device 200 such that the operating system installation control method 300 of the present invention may be executed in the computing device 200.
FIG. 2 shows a schematic diagram of a computing device 200 according to one embodiment of the invention.
As shown in FIG. 2, in a basic configuration 202, computing device 200 typically includes a system memory 206 and one or more processors 204. A memory bus 208 may be used for communication between the processor 204 and the system memory 206.
Depending on the desired configuration, the processor 204 may be any type of processing including, but not limited to: a microprocessor (UP), a microcontroller (UC), a digital information processor (DSP), or any combination thereof. Processor 204 may include one or more levels of cache, such as a first level cache 210 and a second level cache 212, a processor core 214, and registers 216. The example processor core 214 may include an Arithmetic Logic Unit (ALU), a Floating Point Unit (FPU), a digital signal processing core (DSP core), or any combination thereof. The example memory controller 218 may be used with the processor 204, or in some implementations, the memory controller 218 may be an internal part of the processor 204.
Depending on the desired configuration, system memory 206 may be any type of memory including, but not limited to: volatile memory (such as RAM), non-volatile memory (such as ROM, flash memory, etc.), or any combination thereof. The system memory 206 may include an operating system 220, one or more applications 222, and program data 224. The application 222 is in effect a plurality of program instructions for instructing the processor 204 to perform a corresponding operation. In some implementations, the application 222 can be arranged to cause the processor 204 to operate with the program data 224 on an operating system.
Computing device 200 also includes storage device 232, storage device 232 including removable storage 236 and non-removable storage 238.
Computing device 200 may also include a storage interface bus 234. Storage interface bus 234 enables communication from storage devices 232 (e.g., removable storage 236 and non-removable storage 238) to base configuration 202 via bus/interface controller 230. At least a portion of the operating system 220, applications 222, and data 224 may be stored on removable storage 236 and/or non-removable storage 238 and loaded into the system memory 206 via the storage interface bus 234 and executed by the one or more processors 204 when the computing device 200 is powered up or the application 222 is to be executed.
Computing device 200 may also include an interface bus 240 that facilitates communication from various interface devices (e.g., output devices 242, peripheral interfaces 244, and communication devices 246) to basic configuration 202 via bus/interface controller 230. The example output device 242 includes a graphics processing unit 248 and an audio processing unit 250. They may be configured to facilitate communication with various external devices, such as a display or speakers, via one or more a/V ports 252. The example peripheral interface 244 may include a serial interface controller 254 and a parallel interface controller 256, which may be configured to facilitate communication via one or more I/O ports 258 and external devices such as input devices (e.g., keyboard, mouse, pen, voice input device, touch input device) or other peripherals (e.g., printer, scanner, etc.). The example communication device 246 may include a network controller 260 that may be arranged to facilitate communication with one or more other computing devices 262 over a network communication link via one or more communication ports 264.
The network communication link may be one example of a communication medium. Communication media may typically be embodied by computer readable instructions, data structures, program modules, and may include any information delivery media in a modulated data signal, such as a carrier wave or other transport mechanism. A "modulated data signal" may be a signal that has one or more of its data set or changed in such a manner as to encode information in the signal. By way of non-limiting example, communication media may include wired media such as a wired network or special purpose network, and wireless media such as acoustic, radio Frequency (RF), microwave, infrared (IR) or other wireless media. The term computer readable media as used herein may include both storage media and communication media.
In an embodiment in accordance with the present invention, computing device 200 is configured to execute an operating system installation control method 300 in accordance with the present invention. The application of the computing device 200 includes a plurality of program instructions for executing the operating system installation control method 300 of the present invention, where the program instructions may instruct the processor to execute the operating system installation control method 300 of the present invention, so that the computing device 200 precisely controls and directs the client to install a new operating system by executing the operating system installation control method 300 of the present invention.
FIG. 3 illustrates a flow chart of an operating system installation control method 300 according to one embodiment of the invention. The operating system installation control method 300 may be executed in a server (e.g., the aforementioned computing device 200).
In an embodiment of the present invention, server 120 may establish a remote connection with one or more clients 110 to communicate with clients 110 and control clients 110 to install a new operating system.
According to one embodiment of the invention, the invention is not limited to a particular type of operating system installed at the client. For example, the operating system may be a Linux operating system, a UOS operating system, a Windows operating system, or the like.
As shown in fig. 3, the operating system installation control method 300 starts at step S310.
In step S310, the operating system of the client 110 is started up through the network.
Here, before step S310 is performed, the boot sequence may be configured at the BIOS boot item of the client 110, the first boot item is set to be a network boot operating system, and the second boot item is set to be a hard disk boot operating system.
In one embodiment, before the operating system of the client is started through the network, the client will restart, then the client detects whether the multicast signal sent by the server is received, and if the multicast signal sent by the server is received, the operating system is determined to be started through the network, and the network starting mode is entered.
If the multicast signal sent by the server is not received, the operating system is started through the hard disk, and the client can enter the currently installed operating system through the hard disk.
It should be noted that, the client 110 and the server 120 may perform data interaction based on the UDP protocol. The server 120 may continuously transmit a multicast signal (Discover signal) based on the UDP protocol, so that the client 110 to which a new operating system is to be installed may receive the multicast signal of the server 120 and automatically enter the network start mode of the first start-up item after receiving the multicast signal of the server 120, and start the operating system through the network.
It should be noted that by network booting the operating system, client 110 may be directed to install and enter a new operating system. See in particular the following description of the steps.
In step S320, it is circularly detected whether the client has transmitted an acquisition request for the boot file.
Subsequently, in step S330, if an acquisition request of the client for the boot file is detected, the boot file is transmitted to the client so as to boot the client to install a new operating system based on the boot file.
In one embodiment, the client downloads the boot file based on the address of the boot file by sending the address of the boot file to the client.
As described above, the client performs data interaction with the server based on the UDP protocol, so that the client 110 can transmit data to the server 120 and receive data transmitted by the server 120 based on the UDP protocol. Based on the above, only when the client side starts the UDP data transmission, the client side can receive the multicast signal transmitted by the server, enter the network starting mode, and return the acquisition request for the guide file to the server based on the UDP protocol, and the server can receive the acquisition request for the guide file transmitted by the client side based on the UDP protocol. After detecting the acquisition request of the boot file sent by the client, sending the boot file to the client, and guiding the client to install the latest operating system by executing the boot file on the client.
Finally, in step S340, the data transmission of the client is turned off. Specifically, after detecting the acquisition request of the client to the boot file, the client is also closed to send data to the server based on the UDP protocol. Therefore, after restarting the client again, the client enters the hard disk starting mode of the second starting item, and the operating system is started through the hard disk, so that the client enters the new installed operating system.
It should be noted that, after the client finishes installing a new operating system, the client will be restarted automatically. Here, since the UDP data transmission of the client has been turned off, after the client is restarted, the multicast signal transmitted by the server is not received, and the request for acquiring the boot file is not transmitted to the server, and the server cannot receive the data transmitted by the client based on the UDP protocol, so that the request for acquiring the boot file transmitted by the client is not received, and the boot file is not transmitted to the client to boot the client to install a new operating system through the network.
After the client finishes installing a new operating system and restarting, if the multicast signal sent by the server is not received after waiting for a preset time, the client enters a hard disk starting mode, and the operating system is started through the hard disk, so that the client can normally enter the new operating system.
It should be understood that before the UDP data of the client is not started, the client starts the operating system through the hard disk after each restart, and normally enters the currently installed operating system.
When the latest operating system is required to be reinstalled, the client side needs to start UDP data transmission, so that after the client side is restarted, the client side can perform data interaction with the server based on UDP protocol, can receive a multicast signal transmitted by the server, enter a mode of starting the operating system through a network, and can transmit an acquisition request for the guide file to the server, and the server can receive the acquisition request for the guide file transmitted by the client side. After detecting the client's request for the boot file, the server 120 directs the client to install the latest operating system by sending the boot file to the client.
In one implementation, the server 120 masks the UDP data transmission corresponding to the IP by determining the IP of the client, so as to implement closing the client to transmit data based on the UDP protocol, and masking the client. Specifically, firewall rules may be added by the following commands, closing the client UDP based data transmission:
sudo iptables-A OUTPUT-d IP-p udp-j REJECT。
according to one embodiment of the invention, after the client enters a new operating system, automated testing of the new operating system may be performed. Specifically, when the latest operating system needs to be tested, the client can receive the multicast signal sent by the server after restarting by starting the UDP data transmission of the client, enter the network to start the operating system, and can realize the installation of the latest operating system on the client by executing the steps S320 to S340. After the latest operating system is installed and restarted again, the client can enter the latest operating system, and then the latest operating system can be tested.
In one implementation, firewall rules may be deleted by the following commands, turning on client UDP-based data transmission:
sudo iptables-F。
according to one embodiment, the server may be implemented as a PXE server and the client may be implemented as a PXE client. Before performing the method 300 according to the present invention, the PXE server may establish a remote connection with the PXE client via the SSH protocol.
A TFTP service program may be installed in the server 120, and may perform data interaction with the client 110 based on a UDP protocol, so that the client 110 performs data interaction with the server 120 based on the UDP protocol. The TFTP service program may receive a request for obtaining a boot file sent by the remote client, and return the boot file to the remote client.
The server 120 may cycle through detecting client acquisition requests for boot files by: and circularly detecting whether the tftp sending log of the client exists in the var/log/daemon.log file. If so, it is determined that the client completes the UDP data transmission (request for acquiring the boot file transmitted based on the UDP protocol), so that it can be determined that the acquisition request for the boot file transmitted by the client is detected.
In one implementation, the client executes the received boot file after receiving the boot file. Then, the client requests to obtain the configuration file for the local from the TFTP server program in the server 120, and the TFTP server program returns the configuration file to the client, so that the client can perform subsequent operations according to the configuration file. Specifically, the client sends an acquisition request for the kernel file to the TFTP server, and the TFTP sends the kernel file to the client after receiving the acquisition request. The client then sends an acquisition request for the root file to the TFTP server, which returns the root file system to the client. Then, the client starts the kernel, downloads the installation source file, reads the automatic installation script and realizes automatic installation of a new operating system.
According to the operating system installation control method 300, the server controls the client UDP data transmission to be started and closed, so that the client can receive the multicast signal of the server in the state of starting the data transmission, automatically enter a network starting mode, and realize that the network guides the client to install a new operating system. After the new operating system is installed, the client cannot receive the multicast signal of the server after restarting by closing the UDP data transmission of the client, so that the client automatically enters a hard disk starting mode, and the new operating system can be entered through hard disk starting. Therefore, the server can accurately control a plurality of clients to install a new operating system or enter the operating system by controlling the starting mode of the clients, and also realize that the clients automatically install the new operating system under the unattended condition and automatically restart to enter the new operating system so as to test the new operating system.
The method of any one of A1-A7, wherein the client is adapted to interact data with the server based on UDP protocol.
A9, the method of any one of A1-A8, wherein the server is a PXE server, and the client is a PXE client; the server is remotely connected with the client.
The various techniques described herein may be implemented in connection with hardware or software or, alternatively, with a combination of both. Thus, the methods and apparatus of the present invention, or certain aspects or portions of the methods and apparatus of the present invention, may take the form of program code (i.e., instructions) embodied in tangible media, such as removable hard drives, U-drives, floppy diskettes, CD-ROMs, or any other machine-readable storage medium, wherein, when the program is loaded into and executed by a machine, such as a computer, the machine becomes an apparatus for practicing the invention.
In the case of program code execution on programmable computers, the mobile terminal will generally include a processor, a storage medium readable by the processor (including volatile and non-volatile memory and/or storage elements), at least one input device, and at least one output device. Wherein the memory is configured to store program code; the processor is configured to execute the operating system installation control method of the present invention in accordance with instructions in the program code stored in the memory.
By way of example, and not limitation, readable media comprise readable storage media and communication media. The readable storage medium stores information such as computer readable instructions, data structures, program modules, or other data. Communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media. Combinations of any of the above are also included within the scope of readable media.
In the description provided herein, algorithms and displays are not inherently related to any particular computer, virtual system, or other apparatus. Various general-purpose systems may also be used with examples of the invention. The required structure for a construction of such a system is apparent from the description above. In addition, the present invention is not directed to any particular programming language. It will be appreciated that the teachings of the present invention described herein may be implemented in a variety of programming languages, and the above description of specific languages is provided for disclosure of enablement and best mode of the present invention.
In the description provided herein, numerous specific details are set forth. However, it is understood that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be construed as reflecting the intention that: i.e., the claimed invention requires more features than are expressly recited in each claim. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules or units or components of the devices in the examples disclosed herein may be arranged in a device as described in this embodiment, or alternatively may be located in one or more devices different from the devices in this example. The modules in the foregoing examples may be combined into one module or may be further divided into a plurality of sub-modules.
Those skilled in the art will appreciate that the modules in the apparatus of the embodiments may be adaptively changed and disposed in one or more apparatuses different from the embodiments. The modules or units or components of the embodiments may be combined into one module or unit or component and, furthermore, they may be divided into a plurality of sub-modules or sub-units or sub-components. Any combination of all features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or units of any method or apparatus so disclosed, may be used in combination, except insofar as at least some of such features and/or processes or units are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings), may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features but not others included in other embodiments, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments.
Furthermore, some of the embodiments are described herein as methods or combinations of method elements that may be implemented by a processor of a computer system or by other means of performing the functions. Thus, a processor with the necessary instructions for implementing the described method or method element forms a means for implementing the method or method element. Furthermore, the elements of the apparatus embodiments described herein are examples of the following apparatus: the apparatus is for carrying out the functions performed by the elements for carrying out the objects of the invention.
As used herein, unless otherwise specified the use of the ordinal terms "first," "second," "third," etc., to describe a general object merely denote different instances of like objects, and are not intended to imply that the objects so described must have a given order, either temporally, spatially, in ranking, or in any other manner.
While the invention has been described with respect to a limited number of embodiments, those skilled in the art, having benefit of the above description, will appreciate that other embodiments are contemplated within the scope of the invention as described herein. Furthermore, it should be noted that the language used in the specification has been principally selected for readability and instructional purposes, and may not have been selected to delineate or circumscribe the inventive subject matter. Accordingly, many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the appended claims. The disclosure of the present invention is intended to be illustrative, but not limiting, of the scope of the invention, which is defined by the appended claims.

Claims (10)

1. An operating system installation control method, executed in a server, includes the steps of:
starting data transmission of the client and restarting the client;
starting an operating system of a client through a network, wherein the client is adapted to: detecting whether a multicast signal sent by a server is received or not, and if the multicast signal is received, starting an operating system through a network; if the multicast signal is not received, starting an operating system through a hard disk so as to enter a current operating system;
detecting an acquisition request of a client to a guide file;
if the acquisition request of the client to the boot file is detected, the boot file is sent to the client so as to guide the client to install a new operating system based on the boot file; and
and closing the data transmission of the client so that after restarting the client, the client starts to enter the new operating system through the hard disk.
2. The method of claim 1, further comprising the step of:
after the client installs a new operating system, automatically restarting the client;
and starting the operating system through the hard disk so that the client enters the new operating system.
3. The method of claim 1, wherein after entering the new operating system, further comprising the step of:
and automatically testing the new operating system.
4. A method according to any of claims 1-3, wherein the step of detecting a client's acquisition request for a boot file comprises:
circularly detecting whether a sending log of the client exists in the log file or not;
if so, it is determined that a client acquisition request for the boot file is detected.
5. A method according to any of claims 1-3, wherein the step of sending the boot file to the client comprises:
the address of the boot file is sent to the client so that the client obtains the boot file based on the address of the boot file.
6. A method according to any of claims 1-3, wherein the client is adapted to interact data with a server based on a UDP protocol.
7. The method of any one of claim 1 to 3, wherein,
the server is a PXE server, and the client is a PXE client;
the server is remotely connected with the client.
8. A mounting control system, comprising:
one or more clients; and
a server, remotely connected to one or more clients, adapted to perform the method of any of claims 1-7.
9. A computing device, comprising:
at least one processor; and
a memory storing program instructions, wherein the program instructions are configured to be adapted to be executed by the at least one processor, the program instructions comprising instructions for performing the method of any of claims 1-7.
10. A readable storage medium storing program instructions which, when read and executed by a computing device, cause the computing device to perform the method of any of claims 1-7.
CN202111182480.4A 2021-10-11 2021-10-11 Operating system installation control method, installation control system and computing device Active CN113821264B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111182480.4A CN113821264B (en) 2021-10-11 2021-10-11 Operating system installation control method, installation control system and computing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111182480.4A CN113821264B (en) 2021-10-11 2021-10-11 Operating system installation control method, installation control system and computing device

Publications (2)

Publication Number Publication Date
CN113821264A CN113821264A (en) 2021-12-21
CN113821264B true CN113821264B (en) 2023-09-12

Family

ID=78916357

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111182480.4A Active CN113821264B (en) 2021-10-11 2021-10-11 Operating system installation control method, installation control system and computing device

Country Status (1)

Country Link
CN (1) CN113821264B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114327653A (en) * 2021-12-24 2022-04-12 深圳宝新创科技股份有限公司 Switching method and device for starting mode of electronic equipment and switching equipment

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20050102418A (en) * 2004-04-22 2005-10-26 엘지전자 주식회사 Operation system distribution server and the method of the same
CN103117990A (en) * 2012-07-18 2013-05-22 北京智网科技股份有限公司 Novel network enablement protocol s PXE
CN103744695A (en) * 2013-12-25 2014-04-23 新浪网技术(中国)有限公司 Method and system for operating system remote installation on basis of PXE
CN103984575A (en) * 2014-05-28 2014-08-13 浪潮电子信息产业股份有限公司 Rapid deployment method of cluster Linux operation system in cloud-computing environment
CN104935468A (en) * 2015-06-24 2015-09-23 宋敏 PXE technology-based interactive system and method for realizing operation of operating system thereof
CN105554177A (en) * 2015-12-30 2016-05-04 合一网络技术(北京)有限公司 Operating system installation method and device
CN106911729A (en) * 2015-12-22 2017-06-30 中电科技(北京)有限公司 A kind of operating system remote installation method suitable for domestic processor
CN111679837A (en) * 2020-05-07 2020-09-18 海南车智易通信息技术有限公司 System installation control method, control system and computing equipment
CN112433771A (en) * 2020-11-27 2021-03-02 中电科技(北京)有限公司 Automatic guiding method, client, server and system based on domestic platform
CN112527398A (en) * 2020-12-14 2021-03-19 北京嘀嘀无限科技发展有限公司 Personalized installation method and system of operating system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7650490B2 (en) * 2005-12-30 2010-01-19 Augmentix Corporation Embedded device for implementing a boot process on a host

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20050102418A (en) * 2004-04-22 2005-10-26 엘지전자 주식회사 Operation system distribution server and the method of the same
CN103117990A (en) * 2012-07-18 2013-05-22 北京智网科技股份有限公司 Novel network enablement protocol s PXE
CN103744695A (en) * 2013-12-25 2014-04-23 新浪网技术(中国)有限公司 Method and system for operating system remote installation on basis of PXE
CN103984575A (en) * 2014-05-28 2014-08-13 浪潮电子信息产业股份有限公司 Rapid deployment method of cluster Linux operation system in cloud-computing environment
CN104935468A (en) * 2015-06-24 2015-09-23 宋敏 PXE technology-based interactive system and method for realizing operation of operating system thereof
CN106911729A (en) * 2015-12-22 2017-06-30 中电科技(北京)有限公司 A kind of operating system remote installation method suitable for domestic processor
CN105554177A (en) * 2015-12-30 2016-05-04 合一网络技术(北京)有限公司 Operating system installation method and device
CN111679837A (en) * 2020-05-07 2020-09-18 海南车智易通信息技术有限公司 System installation control method, control system and computing equipment
CN112433771A (en) * 2020-11-27 2021-03-02 中电科技(北京)有限公司 Automatic guiding method, client, server and system based on domestic platform
CN112527398A (en) * 2020-12-14 2021-03-19 北京嘀嘀无限科技发展有限公司 Personalized installation method and system of operating system

Also Published As

Publication number Publication date
CN113821264A (en) 2021-12-21

Similar Documents

Publication Publication Date Title
US8452952B2 (en) Methods and apparatus for building system images and split booting
CN107463388B (en) UEFI diskless starting method
WO2017219861A1 (en) Method and device for controlling system start-up mode
CN100583038C (en) Method, system and apparatus for launching an interface with an electronic device
US20100205420A1 (en) System and method for realizing remote test on computer apparatus without storage device
CN106897223A (en) A kind of software kit delivery method and device based on continuous integrating
CN113821264B (en) Operating system installation control method, installation control system and computing device
TWI478061B (en) Method for updating firmware
CN112860330A (en) Method and device for installing operating system, computer equipment and storage medium
CN108304209B (en) Firmware upgrading method and firmware upgrading system
CN102053848A (en) Automatic installation method for Linux operating system
US9411602B2 (en) Techniques for booting an information processing system
US7353377B2 (en) Remotely providing basic input/output system to a client system
CN111475172A (en) Bare machine deployment method and device
US20200349009A1 (en) Information Handling System And Method To Restore System Firmware To A Selected Restore Point
WO2024007800A1 (en) Cloud terminal system upgrade method and apparatus, and cloud terminal and storage medium
CN109471665B (en) Method for automatically installing Windows operating system
US20030120827A1 (en) Method and apparatus for automatically detecting machine states during an operating system installation through a network
CN111475175A (en) Method, device and medium for installing and guiding operation system based on ARM server
CN113419814B (en) Virtual machine creating method, device, equipment and storage medium in cloud platform
CN111475214B (en) System display output method and device of ARM server and storage medium
CN114115917A (en) Operating system installation method and device
CN113553110A (en) Automatic correction method, device and system for hardware baseline of server
CN113900677A (en) Deployment method, device and equipment of program running environment and computer storage medium
CN115185553A (en) Method for updating device firmware of user and related device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant