Special computer batch automatic filling method and device, computer equipment and medium

By combining the MacCreatAuto and BmPxeTool tools, a Mac PXE bootloader for dedicated computers is automatically generated, solving the problems of excessive manual operation and low automation in the dedicated computer PXE filling method, and achieving efficient batch filling.

CN115113886BActive Publication Date: 2026-08-25INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210753392.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-29
Publication Date
2026-08-25
Estimated Expiration
2042-06-29

AI Technical Summary

Technical Problem

The existing PXE filling method using dedicated computers requires a lot of manual operation, which has problems such as selection errors and low automation, and poor versatility.

Method used

The MacCreatAuto tool is used to automatically generate a Mac PXE bootloader for a dedicated computer, and in conjunction with the BmPxeTool tool, batch automatic filling of dedicated systems can be achieved.

Benefits of technology

It enables automated batch filling using a dedicated computer, improving the level of automation, avoiding human error, and enhancing the versatility of the filling process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115113886B_ABST
    Figure CN115113886B_ABST
Patent Text Reader

Abstract

The application relates to the technical field of computers, in particular to a special computer batch automatic filling method and device, computer equipment and a computer readable storage medium. The special computer batch automatic filling method comprises the following steps: uploading a special system on a server and running a MacCreatAuto tool to generate a mac pxe guide of a special computer; assembling the special computer according to requirements; and connecting the special computer to the server, and automatically completing batch filling of the special system according to the mac pxe guide and in cooperation with a BmPxeTool tool. The method runs the MacCreatAuto tool on a factory filling server to automatically generate a PXE guide of the mac of each machine of the order. The special computer is connected to a factory intranet, and after starting, each special computer automatically completes batch filling of the special system according to the mac pxe guide and in cooperation with the BmPxeTool tool.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of computer technology, and in particular to a dedicated computer-based batch automatic filling method, apparatus, computer equipment, and medium. Background Technology

[0002] Currently, dedicated computers, such as security machines, need to be pre-installed with the shipping system before leaving the factory. At present, the fourth-phase security system only supports the PXE filling method.

[0003] 1) Currently, the fourth-phase security system only supports PXE filling. During the implementation of PXE filling, the following solutions exist:

[0004] ① Manually selecting the pre-installed system is prone to errors due to human selection.

[0005] ② The machine uses the Mac boot method. Mac booting usually requires manual maintenance of the Mac PXE boot according to the order. This solution also requires a lot of manual operation and is prone to problems.

[0006] 2) Current dedicated PXE filling tools have poor versatility, require manual intervention and are not easy to automate. Summary of the Invention

[0007] In view of this, the purpose of this invention is to provide a dedicated computer-based batch automatic filling method, apparatus, computer equipment, and computer-readable storage medium. The dedicated computer-based batch automatic filling method runs the MacCreatAuto tool on the factory filling server, automatically generating a PXE bootloader for each machine's MAC address in the order. The dedicated computer is connected to the factory intranet, and after booting up, based on the MAC PXE bootloader, each dedicated computer, in conjunction with the BmPxeTool tool, automatically completes the batch filling of the dedicated system.

[0008] To achieve the above objectives, one aspect of the present invention provides a method for batch automatic loading of dedicated computers. The method includes the following steps: uploading a dedicated system to a server and running the MacCreatAuto tool to generate a Mac PXE bootloader for the dedicated computer; assembling the dedicated computer according to requirements; and connecting the dedicated computer to the server, and automatically completing the batch loading of the dedicated system based on the Mac PXE bootloader and the BmPxeTool tool.

[0009] In some implementations, the step of uploading the dedicated system to the server and running the MacCreatAuto tool to generate the Mac PXE bootloader for the dedicated computer includes: uploading the dedicated system to the server via a PE system; and running the MacCreatAuto tool to automatically generate the Mac PXE bootloader for the dedicated computer to be assembled.

[0010] In some implementations, the step of uploading the dedicated system to the server via the PE system includes: burning the PE system to an optical disc and inserting the optical disc into the server; manually booting the server into the burned optical disc after restarting; and completing the backup and upload of the dedicated system according to the upload prompts.

[0011] In some implementations, the step of running the MacCreatAuto tool to automatically generate a Mac PXE bootloader for the dedicated computer to be assembled includes: the MacCreatAuto tool automatically obtaining information as needed; and the MacCreatAuto tool automatically generating the corresponding Mac PXE bootloader in the / tftpboot directory on the server based on the obtained information.

[0012] In some implementations, the information obtained includes: three-in-one security card information, hard drive information, system information, MAC address information for each dedicated computer, and model information.

[0013] In some implementations, the step of assembling dedicated computers according to demand includes: determining the batch and quantity of dedicated computers based on the order, and assembling all dedicated computers.

[0014] In some implementations, the bkdir image is downloaded from the directory / pxepath / system information / 3-in-1 card / ssd capacity / . Based on the hash_datadisk requirements, the dedicated system is installed onto the ssdvendor hard drive. The configuration of the BmPxeTool and Mac PXE bootloader includes: fetch: location of the BmPxeTool; bkdir: name of the backed-up image; pxepath: server-side directory where the backed-up image is located; 3in1: manufacturer parameters of the 3-in-1 security card; ssdvendor: manufacturer of the dedicated computer's system disk SSD, corresponding to the content displayed by lsblk -n / dev / sda --output model; hash_datadisk: number of data disks for the dedicated computer: 0 for no data disk, 1 for a data disk, compatible with PC and server products.

[0015] In another aspect, this invention provides a dedicated computer batch automatic filling device. The dedicated computer batch automatic filling device includes: a transmission unit configured to transmit a dedicated system to a server and a dedicated computer; a guide generation unit configured to run the MacCreatAuto tool on the server to generate a Mac PXE bootloader for the dedicated computer; and a batch filling unit configured to connect the dedicated computer to the server and, based on the Mac PXE bootloader, automatically complete the batch filling of the dedicated system using the BmPxeTool tool.

[0016] In some implementations, the transmission unit is further configured to upload the dedicated system to the server via the PE system and to transmit the dedicated system to a dedicated computer.

[0017] In some implementations, the boot generation unit is further configured to generate a Mac PXE boot for a dedicated computer by running the MacCreatAuto tool on the server.

[0018] In some implementations, the batch filling unit is further configured to connect the dedicated computer to the server and, based on the mac pxe bootloader, automatically complete the batch filling of the dedicated system in conjunction with the BmPxeTool.

[0019] In another aspect of the present invention, a computer device is provided, the computer device comprising: at least one processor; and a memory storing computer instructions executable on the processor, wherein the instructions, when executed by the processor, implement the steps of a method including: uploading a dedicated system to a server and running the MacCreatAuto tool to generate a Mac PXE bootloader for the dedicated computer; assembling the dedicated computer and uploading the dedicated system; and connecting the dedicated computer to the server and, based on the Mac PXE bootloader, automatically completing the batch installation of the dedicated system in conjunction with the BmPxeTool tool.

[0020] In some implementations, the step of uploading the dedicated system to the server and running the MacCreatAuto tool to generate the Mac PXE bootloader for the dedicated computer includes: uploading the dedicated system to the server via a PE system; and running the MacCreatAuto tool to automatically generate the Mac PXE bootloader for the dedicated computer to be assembled.

[0021] In some implementations, the step of uploading the dedicated system to the server via the PE system includes: burning the PE system to an optical disc and inserting the optical disc into the server; manually booting the server into the burned optical disc after a restart; and completing the system backup and upload according to the upload prompts.

[0022] In some implementations, the step of running the MacCreatAuto tool to automatically generate a Mac PXE bootloader for the dedicated computer to be assembled includes: the MacCreatAuto tool automatically obtaining information as needed; and the MacCreatAuto tool automatically generating the corresponding Mac PXE bootloader in the / tftpboot directory on the server based on the obtained information.

[0023] In some implementations, the information obtained includes: three-in-one security card information, hard drive information, system information, MAC address information for each dedicated computer, and model information.

[0024] In some implementations, the step of assembling dedicated computers according to demand includes: determining the batch and quantity of dedicated computers based on the order, and assembling all dedicated computers.

[0025] In some implementations, the bkdir image is downloaded from the directory / pxepath / system information / 3-in-1 card / ssd capacity / . Based on the hash_datadisk requirements, the dedicated system is installed onto the ssdvendor hard drive. The configuration of the BmPxeTool and Mac PXE bootloader includes: fetch: location of the BmPxeTool; bkdir: name of the backed-up image; pxepath: server-side directory where the backed-up image is located; 3in1: manufacturer parameters of the 3-in-1 security card; ssdvendor: manufacturer of the dedicated computer's system disk SSD, corresponding to the content displayed by lsblk -n / dev / sda --output model; hash_datadisk: number of data disks for the dedicated computer: 0 for no data disk, 1 for a data disk, compatible with PC and server products.

[0026] In another aspect, the present invention provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of the method described in this application. The method steps include: uploading a dedicated system to a server and running the MacCreatAuto tool to generate a Mac PXE bootloader for the dedicated computer; assembling the dedicated computer and uploading the dedicated system; and connecting the dedicated computer to the server and, based on the Mac PXE bootloader, automatically completing the batch installation of the dedicated system using the BmPxeTool tool.

[0027] In some implementations, the step of uploading the dedicated system to the server and running the MacCreatAuto tool to generate the Mac PXE bootloader for the dedicated computer includes: uploading the dedicated system to the server via a PE system; and running the MacCreatAuto tool to automatically generate the Mac PXE bootloader for the dedicated computer to be assembled.

[0028] In some implementations, the step of uploading the dedicated system to the server via the PE system includes: burning the PE system to an optical disc and inserting the optical disc into the server; manually booting the server into the burned optical disc after a restart; and completing the system backup and upload according to the upload prompts.

[0029] In some implementations, the step of running the MacCreatAuto tool to automatically generate a Mac PXE bootloader for the dedicated computer to be assembled includes: the MacCreatAuto tool automatically obtaining information as needed; and the MacCreatAuto tool automatically generating the corresponding Mac PXE bootloader in the / tftpboot directory on the server based on the obtained information.

[0030] In some implementations, the information obtained includes: three-in-one security card information, hard drive information, system information, MAC address information for each dedicated computer, and model information.

[0031] In some implementations, the step of assembling dedicated computers according to demand includes: determining the batch and quantity of dedicated computers based on the order, and assembling all dedicated computers.

[0032] In some implementations, the bkdir image is downloaded from the directory / pxepath / system information / 3-in-1 card / ssd capacity / . Based on the hash_datadisk requirements, the dedicated system is installed onto the ssdvendor hard drive. The configuration of the BmPxeTool and Mac PXE bootloader includes: fetch: location of the BmPxeTool; bkdir: name of the backed-up image; pxepath: server-side directory where the backed-up image is located; 3in1: manufacturer parameters of the 3-in-1 security card; ssdvendor: manufacturer of the dedicated computer's system disk SSD, corresponding to the content displayed by lsblk -n / dev / sda --output model; hash_datadisk: number of data disks for the dedicated computer: 0 for no data disk, 1 for a data disk, compatible with PC and server products.

[0033] The present invention has at least the following beneficial technical effects:

[0034] The dedicated computer-based batch automated filling method of this invention, before an order goes live, runs the MacCreatAuto tool on the factory filling server to automatically generate a PXE bootloader for each machine's MAC address for that order. The dedicated computer connects to the factory intranet, and after booting up, based on the MAC PXE bootloader, each dedicated computer, in conjunction with the BmPxeTool, automatically completes the batch filling of the dedicated system. This method offers good versatility, a high degree of automation, and avoids human error. Attached Figure Description

[0035] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other embodiments can be obtained based on these drawings without creative effort.

[0036] Figure 1 A schematic diagram illustrating an embodiment of the dedicated computer-based batch automatic filling method provided by the present invention;

[0037] Figure 2 A schematic diagram of an embodiment of the dedicated computer-controlled batch automatic filling device provided by the present invention;

[0038] Figure 3 A schematic diagram of an embodiment of the computer device provided by the present invention;

[0039] Figure 4 A schematic diagram illustrating an embodiment of the computer-readable storage medium provided by the present invention. Detailed Implementation

[0040] To make the objectives, technical solutions, and advantages of the present invention clearer, the embodiments of the present invention will be further described in detail below with reference to specific examples and the accompanying drawings.

[0041] It should be noted that all uses of "first" and "second" in the embodiments of the present invention are for the purpose of distinguishing two entities or parameters with the same name but different names. It is clear that "first" and "second" are only for the convenience of expression and should not be construed as limiting the embodiments of the present invention. Subsequent embodiments will not explain this in detail.

[0042] Based on the above objectives, a first aspect of the present invention provides an embodiment of a dedicated computer-based batch automatic filling method. Figure 1 The diagram shown is a schematic representation of an embodiment of the automated batch filling method using a dedicated computer provided by the present invention. Figure 1 As shown, the dedicated computer-based batch automatic filling method of this invention includes the following steps:

[0043] 001. Upload the dedicated system to the server and run the MacCreatAuto tool to generate a Mac PXE bootloader for the dedicated computer;

[0044] 002. Assemble specialized computers according to requirements;

[0045] 003. Connect the dedicated computer to the server, and according to the mac pxe bootloader, use the BmPxeTool to automatically complete the batch filling of the dedicated system.

[0046] In this embodiment, the server is filled at the factory. A batch of dedicated computers is assembled according to the order. The dedicated system is uploaded to the server, and the MacCreatAuto tool on the server generates the Mac PXE bootloader for the dedicated computer. After the dedicated computer is connected to the server, it is automatically guided to complete the batch filling of the dedicated system.

[0047] In some embodiments of the present invention, the step of uploading the dedicated system to the server and running the MacCreatAuto tool to generate the Mac PXE boot of the dedicated computer includes: uploading the dedicated system to the server via a PE system; running the MacCreatAuto tool to automatically generate the Mac PXE boot of the dedicated computer to be assembled.

[0048] In this embodiment, the system vendor provides a dedicated system, which is uploaded to a pre-installed server at the factory via the vendor's PE system and stored in a designated location on the server for later use. The server already contains the MacCreatAuto tool, which automatically runs after the dedicated system is uploaded to the server, automatically generating the Mac PXE bootloader for this batch of dedicated computers.

[0049] In some embodiments of the present invention, the step of uploading the dedicated system to the server via the PE system includes: burning the PE system to an optical disc and inserting the optical disc into the server; manually booting the server into the burned optical disc after restarting; and completing the backup and upload of the dedicated system according to the upload prompts.

[0050] In this embodiment, the PE system can be burned to a CD at the system manufacturer's location. The CD is then inserted into the server, the server is restarted, and the system is manually booted from the CD to install the dedicated system. Following the upload prompts, the backup and upload of the dedicated system is completed step by step.

[0051] In some embodiments of the present invention, the step of running the MacCreatAuto tool to automatically generate a Mac PXE bootloader for the dedicated computer to be assembled includes: the MacCreatAuto tool automatically acquiring information as needed; and the MacCreatAuto tool automatically generating the corresponding Mac PXE bootloader in the / tftpboot directory on the server based on the acquired information. The acquired information includes: three-in-one security card information, hard drive information, system information, Mac information for each dedicated computer, and model information.

[0052] In this embodiment, the filling server runs the MacCreatAuto tool, which automatically extracts information based on the order's BOM (Bill of Materials). The extracted information includes: three-in-one security card information, hard drive information (manufacturer, capacity), system information, MAC address information for each machine, and machine model information. Based on the extracted information, the MacCreatAuto tool automatically generates the corresponding MAC PXE bootloader in the / tftpboot directory of the factory filling server, as follows:

[0053] menuentry"BmPXE_example"{

[0054] set gfxpayload=keep

[0055] linuxefi BmPxeTool / vmlinuz console=tty0 loglevel=8boot=casperfetch=http: / / 10.**.**.** / OS / *** / BmPxeTool.isopxepath=http: / / 10.**.**.** / OS / PN 3in1=**bkdir=***ssdvendor=**has_datadisk=0ip=dhcp auto=true

[0056] initrdefi BmPxeTool / initrd.lz

[0057] }

[0058] In some embodiments of the present invention, the step of assembling dedicated computers according to demand includes: determining the batch and quantity of dedicated computers according to the order, and assembling all dedicated computers.

[0059] In this embodiment, preferably, after receiving an order, the factory uses the BOM information of the order to determine the batch and the number of dedicated computers in that batch, and then completes the assembly of the dedicated computers.

[0060] In some embodiments of the present invention, the bkdir image is downloaded under the directory / pxepath / system information / three-in-one card / ssd capacity / . According to the hash_datadisk requirements, the dedicated system is installed onto the ssdvendor hard drive. The configuration of the BmPxeTool tool and the mac pxe bootloader includes: fetch: location of the BmPxeTool tool; bkdir: name of the backup and uploaded image; pxepath: server-side directory where the backup and uploaded image is located; 3in1: parameters of the three-in-one security card manufacturer; ssdvendor: manufacturer of the dedicated computer system disk SSD, corresponding to the content displayed by lsblk -n / dev / sda --output model; hash_datadisk: number of data disks paired with the dedicated computer: 0 for no data disk, 1 for a data disk, compatible with PC and server products.

[0061] In this embodiment, the BmPxeTool and mac pxe bootloader include some essential configurations. The server-side directory is a pre-defined path and location on the server. The hash_datadisk information is automatically identified by the MacCreatAuto tool based on the device model information.

[0062] The dedicated computer-based batch automated filling method of this invention, before an order goes live, runs the MacCreatAuto tool on the factory filling server to automatically generate a PXE bootloader for each machine's MAC address for that order. The dedicated computer connects to the factory intranet, and after booting up, based on the MAC PXE bootloader, each dedicated computer, in conjunction with the BmPxeTool, automatically completes the batch filling of the dedicated system. This method offers good versatility, a high degree of automation, and avoids human error.

[0063] In view of the above objectives, a second aspect of the present invention provides a dedicated computer-aided batch automatic filling device. Figure 2 The diagram shown is a schematic representation of an embodiment of the dedicated computer-controlled batch automatic filling device provided by the present invention. Figure 2 As shown, the dedicated computer batch automatic filling device of this invention includes: a transmission unit 011, configured to transmit a dedicated system to a server and a dedicated computer; a guide generation unit 012, configured to run the MacCreatAuto tool on the server to generate a MacPxe bootloader for the dedicated computer; and a batch filling unit 013, configured to connect the dedicated computer to the server and automatically complete the batch filling of the dedicated system according to the MacPxe bootloader and in conjunction with the BmPxeTool tool.

[0064] In some embodiments of the present invention, the transmission unit 011 is further configured to upload the dedicated system to the server via the PE system and transmit the dedicated system to the dedicated computer.

[0065] In some embodiments of the present invention, the boot generation unit 012 is further configured to run the MacCreatAuto tool on the server to generate a Mac PXE boot for a dedicated computer.

[0066] In some embodiments of the present invention, the batch filling unit 013 is further configured to connect the dedicated computer to the server, and automatically complete the batch filling of the dedicated system according to the mac pxe bootloader and in conjunction with the BmPxeTool tool.

[0067] The dedicated computer-based batch automatic filling device of this invention employs the aforementioned dedicated computer-based batch automatic filling method. Before an order goes online, the MacCreatAuto tool is run on the factory filling server to automatically generate a PXE bootloader for each machine's MAC address for that order. The dedicated computer connects to the factory intranet, and after powering on, based on the MAC PXE bootloader, each dedicated computer, in conjunction with the BmPxeTool, automatically completes the batch filling of the dedicated system. This results in good filling versatility, a high degree of automation, and avoids human error.

[0068] In view of the above objectives, a third aspect of the present invention provides a computer device. Figure 3 The diagram shown is a schematic representation of an embodiment of the computer device provided by the present invention. Figure 3 As shown, the computer device of this embodiment includes the following apparatus: at least one processor 021; and a memory 022, the memory 022 storing computer instructions 023 executable on the processor, wherein the steps of the method implemented by the processor when the instructions are executed include: uploading a dedicated system to a server and running the MacCreatAuto tool to generate a Mac PXE bootloader for the dedicated computer; assembling the dedicated computer according to requirements; and connecting the dedicated computer to the server, and automatically completing the batch installation of the dedicated system according to the Mac PXE bootloader and in conjunction with the BmPxeTool tool.

[0069] In some implementations, the step of uploading the dedicated system to the server and running the MacCreatAuto tool to generate the Mac PXE bootloader for the dedicated computer includes: uploading the dedicated system to the server via a PE system; and running the MacCreatAuto tool to automatically generate the Mac PXE bootloader for the dedicated computer to be assembled.

[0070] In some implementations, the step of uploading the dedicated system to the server via the PE system includes: burning the PE system to an optical disc and inserting the optical disc into the server; manually booting the server into the burned optical disc after a restart; and completing the system backup and upload according to the upload prompts.

[0071] In some implementations, the step of running the MacCreatAuto tool to automatically generate a Mac PXE bootloader for the dedicated computer to be assembled includes: the MacCreatAuto tool automatically obtaining information as needed; and the MacCreatAuto tool automatically generating the corresponding Mac PXE bootloader in the / tftpboot directory on the server based on the obtained information.

[0072] In some implementations, the information obtained includes: three-in-one security card information, hard drive information, system information, MAC address information for each dedicated computer, and model information.

[0073] In some implementations, the step of assembling dedicated computers according to demand includes: determining the batch and quantity of dedicated computers based on the order, and assembling all dedicated computers.

[0074] In some implementations, the bkdir image is downloaded from the directory / pxepath / system information / 3-in-1 card / ssd capacity / . Based on the hash_datadisk requirements, the dedicated system is installed onto the ssdvendor hard drive. The configuration of the BmPxeTool and Mac PXE bootloader includes: fetch: location of the BmPxeTool; bkdir: name of the backed-up image; pxepath: server-side directory where the backed-up image is located; 3in1: manufacturer parameters of the 3-in-1 security card; ssdvendor: manufacturer of the dedicated computer's system disk SSD, corresponding to the content displayed by lsblk -n / dev / sda --output model; hash_datadisk: number of data disks for the dedicated computer: 0 for no data disk, 1 for a data disk, compatible with PC and server products.

[0075] The present invention also provides a computer-readable storage medium. Figure 3 The diagram shown is a schematic representation of an embodiment of the computer-readable storage medium provided by the present invention. Figure 3As shown, computer-readable storage medium 031 stores a computer program 032 that, when executed by a processor, performs the steps of the method described in this application. The method steps include: uploading a dedicated system to a server and running the MacCreatAuto tool to generate a Mac PXE bootloader for the dedicated computer; assembling the dedicated computer and uploading the dedicated system; and connecting the dedicated computer to the server and, based on the Mac PXE bootloader, automatically completing the batch installation of the dedicated system using the BmPxeTool tool.

[0076] In some implementations, the step of uploading the dedicated system to the server and running the MacCreatAuto tool to generate the Mac PXE bootloader for the dedicated computer includes: uploading the dedicated system to the server via a PE system; and running the MacCreatAuto tool to automatically generate the Mac PXE bootloader for the dedicated computer to be assembled.

[0077] In some implementations, the step of uploading the dedicated system to the server via the PE system includes: burning the PE system to an optical disc and inserting the optical disc into the server; manually booting the server into the burned optical disc after a restart; and completing the system backup and upload according to the upload prompts.

[0078] In some implementations, the step of running the MacCreatAuto tool to automatically generate a Mac PXE bootloader for the dedicated computer to be assembled includes: the MacCreatAuto tool automatically obtaining information as needed; and the MacCreatAuto tool automatically generating the corresponding Mac PXE bootloader in the / tftpboot directory on the server based on the obtained information.

[0079] In some implementations, the information obtained includes: three-in-one security card information, hard drive information, system information, MAC address information for each dedicated computer, and model information.

[0080] In some implementations, the step of assembling dedicated computers according to demand includes: determining the batch and quantity of dedicated computers based on the order, and assembling all dedicated computers.

[0081] In some implementations, the bkdir image is downloaded from the directory / pxepath / system information / 3-in-1 card / ssd capacity / . Based on the hash_datadisk requirements, the dedicated system is installed onto the ssdvendor hard drive. The configuration of the BmPxeTool and Mac PXE bootloader includes: fetch: location of the BmPxeTool; bkdir: name of the backed-up image; pxepath: server-side directory where the backed-up image is located; 3in1: manufacturer parameters of the 3-in-1 security card; ssdvendor: manufacturer of the dedicated computer's system disk SSD, corresponding to the content displayed by lsblk -n / dev / sda --output model; hash_datadisk: number of data disks for the dedicated computer: 0 for no data disk, 1 for a data disk, compatible with PC and server products.

[0082] Finally, it should be noted that those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by a computer program instructing related hardware. The program for the server-centralized testing method can be stored in a computer-readable storage medium. When executed, the program can include the processes of the embodiments of the above methods. The storage medium for the program can be a magnetic disk, optical disk, read-only memory (ROM), or random access memory (RAM), etc. The above computer program embodiments can achieve the same or similar effects as any of the corresponding foregoing method embodiments.

[0083] Furthermore, the method disclosed in the embodiments of the present invention can also be implemented as a computer program executed by a processor, which may be stored in a computer-readable storage medium. When the computer program is executed by the processor, it performs the functions defined in the method disclosed in the embodiments of the present invention.

[0084] Furthermore, the above-described method steps and system units can also be implemented using a controller and a computer-readable storage medium for storing a computer program that enables the controller to perform the functions of the above-described steps or units.

[0085] Those skilled in the art will also understand that the various exemplary logic blocks, modules, circuits, and algorithm steps described in conjunction with the disclosure herein can be implemented as electronic hardware, computer software, or a combination of both. To clearly illustrate this interchangeability between hardware and software, the functionality of various illustrative components, blocks, modules, circuits, and steps has been generally described. Whether this functionality is implemented as software or as hardware depends on the specific application and the design constraints imposed on the system as a whole. Those skilled in the art can implement the functionality in various ways for each specific application, but such implementation decisions should not be construed as departing from the scope of the embodiments disclosed herein.

[0086] In one or more exemplary designs, functionality may be implemented in hardware, software, firmware, or any combination thereof. If implemented in software, the functionality may be stored as one or more instructions or code on or transmitted via a computer-readable medium. Computer-readable media include computer storage media and communication media, including any medium that facilitates the transfer of a computer program from one location to another. Storage media may be any available medium accessible to a general-purpose or special-purpose computer. By way of example, and not limitation, computer-readable media may include RAM, ROM, EEPROM, CD-ROM or other optical disc storage devices, disk storage devices or other magnetic storage devices, or any other medium that may be used to carry or store the required program code in the form of instructions or data structures and is accessible to a general-purpose or special-purpose computer or a general-purpose or special-purpose processor. Furthermore, any connection may be appropriately referred to as computer-readable media. For example, if software is transmitted from a website, server, or other remote source using coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL), or wireless technologies such as infrared, radio, and microwave, then the aforementioned coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are all included in the definition of media. As used herein, disks and optical discs include compact discs (CDs), laser discs, optical discs, digital versatile discs (DVDs), floppy disks, and Blu-ray discs, where disks typically reproduce data magnetically, while optical discs reproduce data optically using lasers. Combinations of the above should also be included within the scope of computer-readable media.

[0087] The above are exemplary embodiments disclosed in this invention. However, it should be noted that various changes and modifications can be made without departing from the scope of the embodiments of this invention as defined by the claims. The functions, steps, and / or actions of the methods according to the disclosed embodiments described herein do not need to be performed in any particular order. Furthermore, although the elements disclosed in the embodiments of this invention may be described or claimed individually, they may be understood as multiple unless explicitly limited to a singular number.

[0088] It should be understood that, as used herein, the singular form “a” is intended to include the plural form as well, unless the context clearly supports an exception. It should also be understood that, as used herein, “and / or” refers to any and all possible combinations of one or more of the associated listed items.

[0089] The embodiment numbers disclosed in the above embodiments of the present invention are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.

[0090] Those skilled in the art will understand that all or part of the steps of the above embodiments can be implemented by hardware or by a program instructing related hardware. The program can be stored in a computer-readable storage medium, such as a read-only memory, a disk, or an optical disk.

[0091] Those skilled in the art should understand that the discussion of any of the above embodiments is merely exemplary and is not intended to imply that the scope of the invention (including the claims) is limited to these examples. Within the framework of the invention, technical features of the above embodiments or different embodiments can be combined, and many other variations of different aspects of the invention exist, which are not provided in the details for the sake of brevity. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the invention should be included within the protection scope of the invention.

Claims

1. A dedicated computer-aided batch automatic filling method, characterized in that, Includes the following steps: Upload the dedicated system to the server and run the MacCreatAuto tool to generate a dedicated computer's Mac PXE bootloader; the filling server runs the MacCreatAuto tool, which automatically extracts information based on the order's BOM information; the extracted information includes: three-in-one security card information, hard drive information, system information, MAC information for each machine, and machine model information; the MacCreatAuto tool generates the corresponding Mac PXE bootloader in the / tftpboot directory of the factory filling server based on the extracted information; Assemble specialized computers according to requirements; and Connect the dedicated computer to the server, and automatically complete the batch filling of the dedicated system according to the mac pxe boot and the BmPxeTool tool. In the directory / pxepath / system information / 3-in-1 card / ssd capacity / , download the bkdir image and, according to the hash_datadisk requirements, install the dedicated system onto the ssdvendor hard drive. The configuration for the BmPxeTool and the Mac PXE bootloader includes: fetch: location of the BmPxeTool; bkdir: name of the backed-up image; pxepath: server-side directory where the backed-up image is located; 3in1: manufacturer parameters for the three-in-one security card; ssdvendor: manufacturer of the dedicated computer system disk SSD, corresponding to the content displayed by lsblk -n / dev / sda --outputmodel; hash_datadisk: number of data disks for the dedicated computer: 0 for no data disk, 1 for a data disk, compatible with PC and server products.

2. The dedicated computer-aided batch automatic filling method according to claim 1, characterized in that, The steps of uploading the dedicated system to the server and running the MacCreatAuto tool to generate a Mac PXE bootloader for the dedicated computer include: Upload the dedicated system to the server via the PE system; Run the MacCreatAuto tool to automatically generate the Mac PXE bootloader for the dedicated computer to be assembled.

3. The dedicated computer-aided batch automatic filling method according to claim 2, characterized in that, The step of uploading the dedicated system to the server via the PE system includes: Burn the PE system to a CD and insert the CD into the server; After the server restarts, manually boot into the burned CD; and Follow the upload prompts to complete the system backup upload.

4. The dedicated computer-aided batch automatic filling method according to claim 2, characterized in that, The steps for running the MacCreatAuto tool to automatically generate the Mac PXE bootloader for the dedicated computer to be assembled include: MacCreatAuto tool automatically retrieves information based on needs; and The MacCreatAuto tool automatically generates the corresponding macpxe bootloader in the / tftpboot directory on the server based on the information obtained.

5. The dedicated computer-aided batch automatic filling method according to claim 4, characterized in that, The information obtained includes: information about the three-in-one security card, hard drive information, system information, MAC address information for each dedicated computer, and model information.

6. The dedicated computer-aided batch automatic filling method according to claim 1, characterized in that, The steps of assembling dedicated computers according to demand include: determining the batch and quantity of dedicated computers according to the order, and assembling all dedicated computers.

7. A dedicated computer-controlled batch automatic filling device, characterized in that, include: A transmission unit configured to transmit a dedicated system to a server and a dedicated computer; A bootloader generation unit is configured to run the MacCreatAuto tool on a server to generate a dedicated Mac PXE bootloader for the computer. The filling server runs the MacCreatAuto tool, which automatically extracts information based on the order's Bill of Materials (BOM). The extracted information includes: three-in-one security card information, hard drive information, system information, MAC address information for each machine, and machine model information. Based on the extracted information, the MacCreatAuto tool generates the corresponding Mac PXE bootloader in the / tftpboot directory of the factory filling server. A batch filling unit is configured to connect the dedicated computer to the server and automatically complete the batch filling of the dedicated system according to the mac pxe bootloader and in conjunction with the BmPxeTool tool. And units for the following functions: In the directory / pxepath / system information / 3-in-1 card / ssd capacity / , download the bkdir image and, according to the hash_datadisk requirements, install the dedicated system onto the ssdvendor hard drive. The configuration for the BmPxeTool and the Mac PXE bootloader includes: fetch: location of the BmPxeTool; bkdir: name of the backed-up image; pxepath: server-side directory where the backed-up image is located; 3in1: manufacturer parameters for the three-in-one security card; ssdvendor: manufacturer of the dedicated computer system disk SSD, corresponding to the content displayed by lsblk -n / dev / sda --outputmodel; hash_datadisk: number of data disks for the dedicated computer: 0 for no data disk, 1 for a data disk, compatible with PC and server products.

8. A computer device, characterized in that, include: At least one processor; as well as A memory storing computer instructions executable on the processor, which, when executed by the processor, implement the steps of the method according to any one of claims 1-6.

9. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1-6.

Citation Information

Patent Citations

  • Automatic filling method, system and device for operating system of confidential computer

    CN114327503A