CN117793085A - System downloading method, device and storage medium based on Preload PXE server - Google Patents

System downloading method, device and storage medium based on Preload PXE server Download PDF

Info

Publication number
CN117793085A
CN117793085A CN202311535834.8A CN202311535834A CN117793085A CN 117793085 A CN117793085 A CN 117793085A CN 202311535834 A CN202311535834 A CN 202311535834A CN 117793085 A CN117793085 A CN 117793085A
Authority
CN
China
Prior art keywords
client
file
server
tftp
address
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311535834.8A
Other languages
Chinese (zh)
Inventor
池耀平
贺万华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Dongguan Zhiwei Intelligent Technology Co ltd
Original Assignee
Dongguan Zhiwei Intelligent 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 Dongguan Zhiwei Intelligent Technology Co ltd filed Critical Dongguan Zhiwei Intelligent Technology Co ltd
Priority to CN202311535834.8A priority Critical patent/CN117793085A/en
Publication of CN117793085A publication Critical patent/CN117793085A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention is applicable to the technical field of computers, and provides a system downloading method based on a Preload PXE server, which comprises the following steps: the client requests the IP address to the PXE server through the MES system; after receiving the request, the DHCP service sends an available IP address to the client and sends a storage address of a starting file pxelinux.0 to the client; the client after the address is acquired requests a pxeinux.0 file from the TFTP server, and after verification is passed, the TFTP service sends the pxerinux.0 file to the client; after the client executes the pxelinux.0 file, the client requests a configuration information file from a TFTP server, and the TFTP service sends the configuration file to the client; the client requests a corresponding system kernel and a root file system from the TFTP service, and the TFTP service transmits the system kernel and the root file system files to the client; after the client starts the system kernel, a kckstart and a system installation file are obtained through an http protocol, and a client system is automatically installed according to the kckstart file; according to the invention, the corresponding shipment system is automatically grabbed through MES docking, so that the problem of system errors is effectively prevented.

Description

System downloading method, device and storage medium based on Preload PXE server
Technical Field
The invention belongs to the technical field of electronic information, and particularly relates to a system downloading method based on a Preload PXE server.
Background
The pre-boot execution environment (preboot execute environment, abbreviated as PXE) is a currently mainstream technology, and is mainly applied to a client/Server (client t/Server, abbreviated as C/S) for the client to download a boot image file from a remote Server through a network, where the boot image file may be a boot program or an operating system, and the client guides the operating system pre-installed in the remote Server according to the boot image file, so as to implement booting the operating system on the client.
The existing PC whole shipment system is a download system directly through a Preload PXE server, however, in the actual production process, the PXE server is directly connected with a plurality of client devices, so that the situation of system connection errors is easy to occur, and the client products are not matched with the installed system.
Disclosure of Invention
The invention aims to provide a system downloading method, equipment and a storage medium based on a Preload PXE server, and the method aims to solve the problem that the prior art cannot provide an effective client system matching downloading method, so that the system and a client product are easy to match and have errors.
In one aspect, the present invention provides a system downloading method based on a Preload PXE server, the method comprising the steps of:
starting up the client and sending a broadcast request IP address through a DHCP server on a PXE server by taking the MES system as a transfer station;
after receiving the request, the DHCP service verifies the MAC information of the client, and after the verification is passed, sends an available IP address to the client and sends a storage address of a starting file pxelinux.0 to the client;
the client after the address acquisition requests the pxeinux.0 file to a TFTP server, the TFTP server sends verification information of the size of the pxerinux.0 file to the client, after verification is passed, the returned consent information is sent, and the TFTP service sends the pxerinux.0 file to the client according to the consent information;
after the client executes the pxelinux.0 file, requesting a configuration information file from the TFTP server, and sending the configuration file to the client by the TFTP service;
the client requests a corresponding system kernel and a root file system from the TFTP service, and the TFTP service transmits the system kernel and the root file system files to the client;
and after the client starts the system kernel, acquiring a kckstart and a system installation file through an http protocol, and automatically installing a client system according to the kckstart file.
The client starts up and sends a broadcast request IP address as a DHCP server on a PXE server by using an MES system as a transfer station, and the method comprises the following steps:
the MES system acquires the MAC information and stores a database thereof, and the MES system sends the MAC information to the DHCP server and requests the IP address.
The client is any one of computer products such as a PC, a notebook computer, an integrated machine and the like.
In another aspect, the present invention further provides a system downloading device based on a Preload PXE server, including a memory, a processor, and a computer program stored in the memory and capable of running on the processor, where the processor implements the steps of the method as described above when executing the computer program.
In another aspect, the invention also provides a computer readable storage medium storing a computer program which when executed by a processor implements the steps of the method as described above.
The invention has the beneficial effects that:
250 computers can be downloaded at the same time, and the downloading time is short;
the MES is in butt joint, and the corresponding shipment system is automatically grabbed through the finished product number, so that the problem of system errors is effectively prevented;
an operation record before delivery cannot exist in a delivery system;
the automatic flow makes the operation easier and more humanized.
Drawings
Fig. 1 is a flowchart of a system downloading method based on a Preload PXE server according to an embodiment of the present invention.
Fig. 2 is a schematic system configuration diagram of a system downloading device based on a Preload PXE server according to a fifth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present invention more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
The following describes in detail the implementation of the present invention in connection with specific embodiments:
embodiment one:
fig. 1 shows a flow of implementation of a method for controlling a system download method based on a Preload PXE server according to an embodiment of the present invention, and for convenience of explanation, only the relevant parts of the embodiment of the present invention are shown, which is described in detail below:
the method comprises the following steps:
in step S101, the client starts up and sends a broadcast request IP address to a DHCP server on the PXE server through the MES system as a transfer station;
in step S102, after receiving the request, the DHCP service verifies the MAC information of the client, and after passing the verification, sends an available IP address to the client and sends a storage address of the startup file px_einux.0 to the client;
in step S103, the client after obtaining the address requests the TFTP server for a pxeinux.0 file, the TFTP server sends verification information of the size of the pxeinux.0 file to the client, after verification is passed, the TFTP server returns consent information, and the TFTP server sends the pxeinux.0 file to the client according to the consent information;
in step S104, after the client executes the px.0 file, the TFTP service requests the configuration information file from the TFTP server, and sends the configuration file to the client;
in step S105, the client requests the corresponding system kernel and root file system from the TFTP service, and the TFTP service transmits both the system kernel and root file system files to the client;
in step S106, after the client starts the system kernel, the client obtains the kckstart and the system installation file through the http protocol, and automatically installs the client system according to the kckstart file.
In this embodiment, the client starts up and sends a broadcast request IP address to a DHCP server on the PXE server as a transfer station through the MES system, which includes:
the MES system acquires the MAC information and stores the MAC information in a database, and sends the MAC information to the DHCP server and requests the IP address.
In this embodiment, the client is any one of computer products such as a PC, a notebook computer, an all-in-one machine, and the like.
In addition, a monitoring module supporting an alarm function can be added, and when a DUT (device under test) fails, software immediately triggers an alarm to remind an operator of finding out a bad DUT in time.
250 computers can be downloaded at the same time, and the downloading time is short;
the MES is in butt joint, and the corresponding shipment system is automatically grabbed through the finished product number, so that the problem of system errors is effectively prevented;
an operation record before delivery cannot exist in a delivery system;
the automatic flow makes the operation easier and more humanized.
Embodiment two:
fig. 2 shows a system downloading device based on a Preload PXE server according to a fourth embodiment of the present invention, and for convenience of explanation, only the portions relevant to the embodiments of the present invention are shown.
The system download method based on the Preload PXE server of the embodiment of the present invention controls the computer device 6 to include a processor 60, a memory 61, and a computer program 62 stored in the memory 61 and executable on the processor 60. The processor 60, when executing the computer program 62, implements the steps of the method embodiments of the system download method based on the Preload PXE server, such as steps S101 to S104 shown in fig. 1.
Embodiment III:
in an embodiment of the present invention, a computer readable storage medium is provided, where a computer program is stored, where the computer program, when executed by a processor, implements the steps in the embodiment of the system downloading method based on the Preload PXE server, for example, steps S101 to S104 shown in fig. 1.
The computer readable storage medium of embodiments of the present invention may include any entity or device capable of carrying computer program code, recording medium, such as ROM/RAM, magnetic disk, optical disk, flash memory, and so on.
The foregoing description of the preferred embodiments of the invention is not intended to be limiting, but rather is intended to cover all modifications, equivalents, and alternatives falling within the spirit and principles of the invention.

Claims (5)

1. A method for downloading a system based on a Preload PXE server, the method comprising the steps of:
starting up the client and sending a broadcast request IP address through a DHCP server on a PXE server by taking the MES system as a transfer station;
after receiving the request, the DHCP service verifies the MAC information of the client, and after the verification is passed, sends an available IP address to the client and sends a storage address of a starting file pxelinux.0 to the client;
the client after the address acquisition requests the pxeinux.0 file to a TFTP server, the TFTP server sends verification information of the size of the pxerinux.0 file to the client, after verification is passed, the returned consent information is sent, and the TFTP service sends the pxerinux.0 file to the client according to the consent information;
after the client executes the pxelinux.0 file, requesting a configuration information file from the TFTP server, and sending the configuration file to the client by the TFTP service;
the client requests a corresponding system kernel and a root file system from the TFTP service, and the TFTP service transmits the system kernel and the root file system files to the client;
and after the client starts the system kernel, acquiring a kckstart and a system installation file through an http protocol, and automatically installing a client system according to the kckstart file.
2. The method for downloading the system based on the Preload PXE server as recited in claim 1, wherein the client powering on and sending a broadcast request IP address as a DHCP server on the PXE server through the MES system comprises:
the MES system acquires the MAC information and stores a database thereof, and the MES system sends the MAC information to the DHCP server and requests the IP address.
3. The method for downloading the system based on the Preload PXE server as recited in claim 1, wherein the client is any one of a PC, a notebook computer, an all-in-one computer product and the like.
4. A Preload PXE server based system download device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method as claimed in any one of claims 1 and 2 when executing the computer program.
5. A computer readable storage medium storing a computer program, characterized in that the computer program when executed by a processor implements the steps of the method according to any one of claims 1 and 2.
CN202311535834.8A 2023-11-16 2023-11-16 System downloading method, device and storage medium based on Preload PXE server Pending CN117793085A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311535834.8A CN117793085A (en) 2023-11-16 2023-11-16 System downloading method, device and storage medium based on Preload PXE server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311535834.8A CN117793085A (en) 2023-11-16 2023-11-16 System downloading method, device and storage medium based on Preload PXE server

Publications (1)

Publication Number Publication Date
CN117793085A true CN117793085A (en) 2024-03-29

Family

ID=90380581

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311535834.8A Pending CN117793085A (en) 2023-11-16 2023-11-16 System downloading method, device and storage medium based on Preload PXE server

Country Status (1)

Country Link
CN (1) CN117793085A (en)

Similar Documents

Publication Publication Date Title
US10002054B2 (en) Method and system for performing automatic system recovery
US8037198B2 (en) Firmware upgrade for thin clients using one or more servers
US6550021B1 (en) Internet-implemented method supporting component repair services
US8495615B2 (en) Method, system and computer program for distributing software patches
US6594757B1 (en) Remote BIOS upgrade of an appliance server by rebooting from updated BIOS that has been downloaded into service partition before flashing programmable ROM
US20030023770A1 (en) Automated software driver installation
RU2421785C2 (en) Automated control of device drivers
US6816963B1 (en) Platform level initialization using an image generated automatically by a remote server based upon description automatically generated and transmitted thereto by a processor-based system
US7546448B2 (en) Boot architecture discovery in pre-boot environment
US20090077634A1 (en) Firmware update method and system using the same
US6804773B1 (en) System and method for transferring information over a network
US7065560B2 (en) Verification of computer program versions based on a selected recipe from a recipe table
CN110908753B (en) Intelligent fusion cloud desktop server, client and system
US10372463B1 (en) Provisioning a computerized device with an operating system
CN107220074B (en) Method and device for accessing and upgrading supporting layer software function
CN103200271A (en) Advanced Risc machine (ARM) server and method of automatic installation system thereof
CN112099825B (en) Method, device, equipment and storage medium for upgrading component
CN114115917A (en) Operating system installation method and device
CN112948008B (en) Method for managing physical bare machine based on Ironic
CN111078305A (en) Information acquisition method and device, server and information management system
CN113448598A (en) Component upgrading method and device and server
CN117793085A (en) System downloading method, device and storage medium based on Preload PXE server
CN110737444A (en) Remote self-adaptive dynamic deployment method and system for operating system based on firmware
Cisco IOS Upgrades on the Cisco AS5800
CN112527371B (en) Boot loader upgrading method and device, electronic equipment and storage medium

Legal Events

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