CN111443925A - Mirror image installation method, primary and secondary servers, system, electronic equipment and storage medium - Google Patents

Mirror image installation method, primary and secondary servers, system, electronic equipment and storage medium Download PDF

Info

Publication number
CN111443925A
CN111443925A CN202010294895.XA CN202010294895A CN111443925A CN 111443925 A CN111443925 A CN 111443925A CN 202010294895 A CN202010294895 A CN 202010294895A CN 111443925 A CN111443925 A CN 111443925A
Authority
CN
China
Prior art keywords
mirror image
installation
image installation
model information
server
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.)
Granted
Application number
CN202010294895.XA
Other languages
Chinese (zh)
Other versions
CN111443925B (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.)
Beijing Yidiantao Network Technology Co ltd
Original Assignee
Beijing Yidiantao Network 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 Beijing Yidiantao Network Technology Co ltd filed Critical Beijing Yidiantao Network Technology Co ltd
Priority to CN202010294895.XA priority Critical patent/CN111443925B/en
Publication of CN111443925A publication Critical patent/CN111443925A/en
Application granted granted Critical
Publication of CN111443925B publication Critical patent/CN111443925B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • G06F8/63Image based installation; Cloning; Build to order
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The invention provides a mirror image installation method, a primary server, a secondary server, a system, electronic equipment and a storage medium, wherein the mirror image installation method comprises the following steps: the method comprises the steps of obtaining model information of all testing machines which are sent by a plurality of secondary servers and are associated with each secondary server; acquiring mirror image installation files corresponding to all the machine type information, associating each machine type information with the corresponding mirror image installation file, and generating an association table; and respectively sending mirror image installation files corresponding to the model information contained in each secondary server to the plurality of secondary servers according to the association table so that each secondary server can send the mirror image installation files and installation instructions corresponding to the model information to all the associated testing machines, and enabling the corresponding testing machines to automatically install the corresponding mirror image installation files through the installation instructions. The invention realizes remote mirror image installation, saves labor and cost, avoids the system version quality problem caused by file asynchronism, and improves mirror image installation efficiency.

Description

Mirror image installation method, primary and secondary servers, system, electronic equipment and storage medium
Technical Field
The invention relates to the technical field of communication, in particular to a mirror image installation method, a primary server, a secondary server, a system, electronic equipment and a storage medium.
Background
At present, a notebook computer and PC production line adopts a local hard disk copying machine mother disc to carry out mirror image installation on copying modes, and uses an external device (such as a U disk), and the hard disk needs to be installed on the machine again after being copied and then tested.
The existing mirror image installation method has the following problems: by adopting a master disk copy-copy installation system, the efficiency of copying at most 20 hard disks by a master disk copying machine at a time is low, and the resource consumption is serious; machines all over the country cannot be synchronized when the system is updated, and the timeliness is poor; if the mother disc is poisoned, disastrous machine poisoning is caused, and the recovery treatment cost is high; the productivity is expanded, and high mother disc and labor cost are required.
Therefore, how to efficiently implement mirror image installation becomes an important issue to be solved urgently.
Disclosure of Invention
Aiming at the defects in the prior art, the invention provides a mirror image installation method, a primary server, a secondary server, a system, electronic equipment and a storage medium.
In a first aspect, the present invention provides a mirror image installation method, applied in a primary server, including:
the method comprises the steps of obtaining model information of all testing machines which are sent by a plurality of secondary servers and are associated with each secondary server;
acquiring mirror image installation files corresponding to all the machine type information, associating each machine type information with the corresponding mirror image installation file, and generating an association table;
and respectively sending mirror image installation files corresponding to the model information contained in each secondary server to the plurality of secondary servers according to the association table so that each secondary server can send the mirror image installation files and installation instructions corresponding to the model information to all the associated testing machines, and enabling the corresponding testing machines to automatically install the corresponding mirror image installation files through the installation instructions.
The method as described above, optionally, further includes:
updating a mirror image installation file and an association table corresponding to the model information to be updated;
and sending the updated mirror image installation file to a secondary server corresponding to the model information to be updated so that the secondary server can send the updated mirror image installation file and an update instruction to all testing machines corresponding to the model information to be updated, and enabling the corresponding testing machines to automatically update the corresponding mirror image installation files through the update instruction.
As above, optionally, the image installation file includes:
one or more of a windows system installation package, a linux system installation package, L eacy Bios bootstrap program, UEFI Bios bootstrap program, a windows system OEM custom module installation file.
As above, optionally, the image installation file further includes: and the installation position information is assigned to the corresponding installation hard disk based on the mechanical hard disk, the SSD or the eMMC of the testing machine.
In a second aspect, the invention provides a mirror image installation method, which is applied to a secondary server and comprises the steps of obtaining model information of all associated test machines;
sending all the acquired model information to a main server so that the main server can acquire mirror image installation files corresponding to all the model information, associating each type information with the corresponding mirror image installation file, and generating an association table;
receiving a mirror image installation file corresponding to the model information issued by the main server according to the association table;
and sending the image installation file and the installation instruction corresponding to the model information to the testing machine corresponding to each model information, so that each related testing machine can automatically install the corresponding image installation file through the installation instruction.
The method as described above, optionally, further includes:
receiving an updated mirror image installation file corresponding to the model information to be updated sent by a main server;
sending an updating instruction and the updated mirror image installation file to a testing machine corresponding to the model information to be updated; and the tester can automatically update the corresponding mirror image installation file.
In a third aspect, the present invention provides a primary server, comprising:
the first acquisition module is used for acquiring model information of all the testers which are sent by a plurality of secondary servers and are associated with each secondary server;
the association module is used for acquiring the mirror image installation files corresponding to all the machine type information, associating each machine type information with the corresponding mirror image installation files and generating an association table;
and the first sending module is used for respectively sending the mirror image installation files corresponding to the model information contained in each secondary server to the plurality of secondary servers according to the association table so that each secondary server can send the mirror image installation files and installation instructions corresponding to the model information to all the associated testing machines, and the corresponding testing machines can automatically install the corresponding mirror image installation files through the installation instructions.
Optionally, as the above-mentioned main server, further includes:
the first updating module is used for updating the mirror image installation file and the association table corresponding to the model information to be updated;
correspondingly, the first sending module is further configured to:
and sending the updated mirror image installation file to a secondary server corresponding to the model information to be updated so that the secondary server can send the updated mirror image installation file and an update instruction to all testing machines corresponding to the model information to be updated, and enabling the corresponding testing machines to automatically update the corresponding mirror image installation files through the update instruction.
In a fourth aspect, the present invention provides a secondary server comprising:
the second acquisition module is used for acquiring the model information of all the related testing machines;
the second sending module is used for sending all the acquired machine type information to the main server so that the main server can acquire the mirror image installation files corresponding to all the machine type information, and associating each machine type information with the corresponding mirror image installation file to generate an association table;
the receiving module is used for receiving the mirror image installation file corresponding to the model information issued by the main server according to the association table;
and the control module is used for sending the image installation file and the installation instruction corresponding to the model information to the testing machine corresponding to each model information so that each related testing machine can automatically install the corresponding image installation file through the installation instruction.
Optionally, as with the secondary server described above, the receiving module is further configured to:
receiving an updated mirror image installation file corresponding to the model information to be updated sent by a main server;
accordingly, the secondary server further comprises:
the second updating module is used for sending an updating instruction and the updated mirror image installation file to the testing machine corresponding to the model information to be updated; and the tester can automatically update the corresponding mirror image installation file.
In a fifth aspect, the present invention provides a mirror image mounting system, comprising: a primary server as described above and at least one secondary server as described above.
In a sixth aspect, the present invention provides an electronic device, comprising:
the processor and the memory are communicated with each other through a bus; the memory stores program instructions executable by the processor, the processor invoking the program instructions to perform a method comprising: the method comprises the steps of obtaining model information of all testing machines which are sent by a plurality of secondary servers and are associated with each secondary server; acquiring mirror image installation files corresponding to all the machine type information, associating each machine type information with the corresponding mirror image installation file, and generating an association table; and respectively sending mirror image installation files corresponding to the model information contained in each secondary server to the plurality of secondary servers according to the association table so that each secondary server can send the mirror image installation files and installation instructions corresponding to the model information to all the associated testing machines, and enabling the corresponding testing machines to automatically install the corresponding mirror image installation files through the installation instructions.
In a seventh aspect, the present invention provides a storage medium having stored thereon a computer program which, when executed by a processor, implements a method comprising: the method comprises the steps of obtaining model information of all testing machines which are sent by a plurality of secondary servers and are associated with each secondary server; acquiring mirror image installation files corresponding to all the machine type information, associating each machine type information with the corresponding mirror image installation file, and generating an association table; and respectively sending mirror image installation files corresponding to the model information contained in each secondary server to the plurality of secondary servers according to the association table so that each secondary server can send the mirror image installation files and installation instructions corresponding to the model information to all the associated testing machines, and enabling the corresponding testing machines to automatically install the corresponding mirror image installation files through the installation instructions.
According to the mirror image installation method provided by the invention, the primary server is in charge of synchronization and update of mirror image installation of the secondary server, the secondary server sends the mirror image installation file and the installation instruction to the test machine, and the test machine installs the mirror image installation file according to the installation instruction, so that the remote mirror image installation is realized, the labor and the cost are saved, the system version quality problem caused by file asynchronism is avoided, and the mirror image installation efficiency is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
FIG. 1 is a schematic structural diagram of a mirror image installation system according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of a mirror image installation method according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a main server according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a secondary server according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a schematic structural diagram of an image installation system according to an embodiment of the present invention, as shown in fig. 1, in order to avoid a problem caused by image installation of a master disk in a copy-to-copy manner, in an embodiment of the present invention, a Preload image installation system including a primary server, secondary servers and a tester is provided, and a PXE server image system capable of automatically identifying a model installation image according to a model of the tester, where the primary server has only one server for storing and updating an image installation file and is connected to a plurality of secondary servers, when the image installation file needs to be installed or updated, the image installation file is sent to each secondary server, the secondary servers are respectively connected to corresponding testers, the image installation file and the installation instruction sent by the primary server are sent to an associated tester, and the testers automatically install the image installation file according to the installation instruction and the image installation file, therefore, remote mirror image installation is realized, and the problem caused by mirror image installation of a master disk in a copying mode is avoided. In practical applications, the primary server may be located at a production tester, such as a PC manufacturer, and each secondary server may be located on a PC production line, and associated with all testers, i.e., PCs, on the production line. For example, the test machine production headquarters is in wuhan, so the master server is in wuhan; the Beijing/Shanghai/Wuhan production line has notebook & PC production line at the same time, so the Beijing/Shanghai/Wuhan production line is respectively provided with secondary servers. The main server is connected to each secondary server through an intel network, script checking is automatically executed, the secondary servers are automatically synchronized to the main server through the FTP only after mirror image installation files are added or updated on the main server, and machines of the notebook computer and PC production line are automatically installed through the mirror image installation files matched with the secondary servers.
The mirror image installation method provided by the embodiment of the invention is explained in detail below, and as shown in fig. 2, the method includes:
s101, a secondary server issues a feedback model information instruction to an associated testing machine;
s102, the testing machine sends own machine type information to a corresponding secondary server;
step S101 and step S102, namely the process that the secondary server acquires the model information of all the relevant testing machines, in practical application, the secondary server can also automatically identify the model information according to the HW ID of the relevant testing machines;
s103, the secondary server sends all the collected model information to the primary server;
s104, the main server determines all model information according to the received model information, acquires mirror image installation files corresponding to all model information, associates the models with the mirror image installation files and generates an association table, wherein the mirror image installation files can be one or more of a Windows system installation package, a linux system installation package, L eacy Bios bootstrap program, UEFI Bios bootstrap program and a Windows system OEM customization module installation file, the Windows system installation package comprises a 32-bit system installation package and a 64-bit system installation package, the mirror image installation files can also comprise installation position information, the installation position information is based on a mechanical hard disk, an SSD or an eMMC of a test machine and is assigned to the corresponding installation hard disk, so that the remote mirror image installation method can support automatic identification installation of 32-bit and 64-bit Windows systems, network installation of the Windows systems, linux systems, L eacy Bios and UEFI Bios, support automatic identification of the mechanical hard disks, the SSD, the EMMC and the like and can freely define a system to be installed on any hard disk, and automatically identify and configure a computer product with different OEM functions;
in practical application, the primary server can set a corresponding database for each secondary server, and store all model information and mirror image installation file association tables of the secondary server;
s105, the primary server sends mirror image installation files corresponding to all the model information contained in the secondary server to the secondary server according to the association table and the model information sent by each secondary server, in practical application, scripts in the primary server are automatically executed, and all the secondary servers can be synchronously updated in real time at one time through the FTP server;
step S106, the secondary server receives the mirror image installation file, generates an installation instruction, the installation instruction comprises information such as an installation position and an installation version, and sends the mirror image installation file and the installation instruction corresponding to the machine type information of the secondary server to the associated testing machine;
s107, the testing machine automatically installs the mirror image according to the received mirror image installation file and installation instruction, the secondary server can ensure that the installation can be simultaneously executed for N testing machines by one server, and the time is controlled within 20 minutes; the master disc copying machine copies 20 hard discs at most at one time, and the hard discs need to be installed on the machine again for testing after being copied, so that the mirror image installation system provided by the embodiment of the invention greatly saves the master disc cost and the cost corresponding to manpower;
in practical application, after the test machine is installed, an installation result can be fed back to the secondary server, and the secondary server acquires image version information from the installation result and sends the image version information to the primary server, so that the image installation system has an equipment network installation system tracking mechanism;
step S108, the main server acquires the updated mirror image installation file in real time and updates the association table; the main server network updates the uploading file without using external equipment (such as a U disk), so that the batch poisoning of the machine can be avoided, and the capacity expansion does not need to increase extra manpower and equipment;
step S109, the primary server sends the updated mirror image installation file corresponding to the included machine type information to the secondary server;
step S110, the secondary server generates an updating instruction, and sends an updated mirror image installation file and the updating instruction corresponding to the model information of the secondary server to the testing machine needing to be updated;
and step S111, updating the mirror image according to the updating instruction by the testing machine.
In practical application, after the updating of the tester is completed, the updating result can be fed back to the secondary server, and the secondary server acquires the image version information from the updating result and sends the image version information to the primary server, so that the image installation system has an equipment network installation system tracking mechanism.
According to the mirror image installation method provided by the embodiment of the invention, the primary server is in charge of synchronization and update of mirror image installation of the secondary server, the secondary server sends the mirror image installation file and the installation instruction to the test machine, and the test machine installs the mirror image installation file according to the installation instruction, so that the remote mirror image installation is realized, the labor and the cost are saved, the system version quality problem caused by file asynchronism is avoided, and the mirror image installation efficiency is improved.
Based on the same inventive concept, an embodiment of the present invention further provides a main server, as shown in fig. 3, including: a first obtaining module 21, an associating module 22 and a first sending module 23, wherein:
the first obtaining module 21 is configured to obtain model information of all testing machines, which is sent by a plurality of secondary servers and is associated with each secondary server; the association module 22 is configured to acquire image installation files corresponding to all the model information, associate each model information with the corresponding image installation file, and generate an association table; the first sending module 23 is configured to send, according to the association table, the image installation file corresponding to the model information included in each secondary server to the plurality of secondary servers, so that each secondary server sends the image installation file and the installation instruction corresponding to the model information to all the testing machines associated therewith, and the corresponding testing machine automatically installs the corresponding image installation file through the installation instruction.
Optionally, as the above-mentioned main server, further includes:
the first updating module is used for updating the mirror image installation file and the association table corresponding to the model information to be updated;
correspondingly, the first sending module is further configured to:
and sending the updated mirror image installation file to a secondary server corresponding to the model information to be updated so that the secondary server can send the updated mirror image installation file and an update instruction to all testing machines corresponding to the model information to be updated, and enabling the corresponding testing machines to automatically update the corresponding mirror image installation files through the update instruction.
Based on the same inventive concept, an embodiment of the present invention further provides a secondary server, as shown in fig. 4, including: a second obtaining module 31, a second sending module 32, a receiving module 33, and a control module 34, wherein:
the second obtaining module 31 is configured to obtain model information of all associated testing machines; the second sending module 32 is configured to send all the acquired machine type information to the host server, so that the host server acquires the mirror image installation files corresponding to all the machine type information, associates each machine type information with the corresponding mirror image installation file, and generates an association table; the receiving module 33 is configured to receive a mirror image installation file corresponding to the model information issued by the primary server according to the association table; the control module 34 is configured to send the image installation file and the installation instruction corresponding to the model information to the testing machine corresponding to each model information, so that each associated testing machine automatically installs the corresponding image installation file through the installation instruction.
Optionally, as with the secondary server described above, the receiving module is further configured to:
receiving an updated mirror image installation file corresponding to the model information to be updated sent by a main server;
accordingly, the secondary server further comprises:
the second updating module is used for sending an updating instruction and the updated mirror image installation file to the testing machine corresponding to the model information to be updated; and the tester can automatically update the corresponding mirror image installation file.
The apparatus provided in the embodiment of the present invention is configured to implement the method, and its functions specifically refer to the method embodiment, which is not described herein again.
Fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present invention, and as shown in fig. 5, the electronic device includes: a processor (processor)51, a memory (memory)52, and a bus 53;
wherein, the processor 51 and the memory 52 complete the communication with each other through the bus 53;
the processor 51 is configured to call program instructions in the memory 52 to perform the methods provided by the above-mentioned method embodiments, including, for example: the method comprises the steps of obtaining model information of all testing machines which are sent by a plurality of secondary servers and are associated with each secondary server; acquiring mirror image installation files corresponding to all the machine type information, associating each machine type information with the corresponding mirror image installation file, and generating an association table; and respectively sending mirror image installation files corresponding to the model information contained in each secondary server to the plurality of secondary servers according to the association table so that each secondary server can send the mirror image installation files and installation instructions corresponding to the model information to all the associated testing machines, and enabling the corresponding testing machines to automatically install the corresponding mirror image installation files through the installation instructions.
An embodiment of the present invention discloses a computer program product, which includes a computer program stored on a non-transitory computer readable storage medium, the computer program including program instructions, when the program instructions are executed by a computer, the computer can execute the methods provided by the above method embodiments, for example, the method includes: the method comprises the steps of obtaining model information of all testing machines which are sent by a plurality of secondary servers and are associated with each secondary server; acquiring mirror image installation files corresponding to all the machine type information, associating each machine type information with the corresponding mirror image installation file, and generating an association table; and respectively sending mirror image installation files corresponding to the model information contained in each secondary server to the plurality of secondary servers according to the association table so that each secondary server can send the mirror image installation files and installation instructions corresponding to the model information to all the associated testing machines, and enabling the corresponding testing machines to automatically install the corresponding mirror image installation files through the installation instructions.
Embodiments of the present invention provide a non-transitory computer-readable storage medium, which stores computer instructions, where the computer instructions cause the computer to perform the methods provided by the above method embodiments, for example, the methods include: the method comprises the steps of obtaining model information of all testing machines which are sent by a plurality of secondary servers and are associated with each secondary server; acquiring mirror image installation files corresponding to all the machine type information, associating each machine type information with the corresponding mirror image installation file, and generating an association table; and respectively sending mirror image installation files corresponding to the model information contained in each secondary server to the plurality of secondary servers according to the association table so that each secondary server can send the mirror image installation files and installation instructions corresponding to the model information to all the associated testing machines, and enabling the corresponding testing machines to automatically install the corresponding mirror image installation files through the installation instructions.
Those of ordinary skill in the art will understand that: all or part of the steps for realizing the method embodiments can be completed by hardware related to program instructions, the program can be stored in a computer readable storage medium, and the program executes the steps comprising the method embodiments when executed; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
The above-described embodiments of the apparatuses and the like are merely illustrative, wherein the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only used for illustrating the technical solutions of the embodiments of the present invention, and are not limited thereto; although embodiments of the present invention have been described in detail with reference to the foregoing embodiments, those skilled in the art will understand that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (10)

1. A mirror image installation method is applied to a main server, and is characterized by comprising the following steps:
the method comprises the steps of obtaining model information of all testing machines which are sent by a plurality of secondary servers and are associated with each secondary server;
acquiring mirror image installation files corresponding to all the machine type information, associating each machine type information with the corresponding mirror image installation file, and generating an association table;
and respectively sending mirror image installation files corresponding to the model information contained in each secondary server to the plurality of secondary servers according to the association table so that each secondary server can send the mirror image installation files and installation instructions corresponding to the model information to all the associated testing machines, and enabling the corresponding testing machines to automatically install the corresponding mirror image installation files through the installation instructions.
2. The method of claim 1, further comprising:
updating a mirror image installation file and an association table corresponding to the model information to be updated;
and sending the updated mirror image installation file to a secondary server corresponding to the model information to be updated so that the secondary server can send the updated mirror image installation file and an update instruction to all testing machines corresponding to the model information to be updated, and enabling the corresponding testing machines to automatically update the corresponding mirror image installation files through the update instruction.
3. The method of claim 1, wherein the image installation file comprises:
one or more of a windows system installation package, a linux system installation package, L eacy Bios bootstrap program, UEFI Bios bootstrap program, a windows system OEM custom module installation file.
4. The method of claim 1, wherein the image installation file further comprises: and the installation position information is assigned to the corresponding installation hard disk based on the mechanical hard disk, the SSD or the eMMC of the testing machine.
5. A mirror image installation method applied to a secondary server is characterized by comprising
Obtaining the model information of all the relevant testing machines;
sending all the acquired model information to a main server so that the main server can acquire mirror image installation files corresponding to all the model information, associating each type information with the corresponding mirror image installation file, and generating an association table;
receiving a mirror image installation file corresponding to the model information issued by the main server according to the association table;
and sending the image installation file and the installation instruction corresponding to the model information to the testing machine corresponding to each model information, so that each related testing machine can automatically install the corresponding image installation file through the installation instruction.
6. A primary server, comprising:
the first acquisition module is used for acquiring model information of all the testers which are sent by a plurality of secondary servers and are associated with each secondary server;
the association module is used for acquiring the mirror image installation files corresponding to all the machine type information, associating each machine type information with the corresponding mirror image installation files and generating an association table;
and the first sending module is used for respectively sending the mirror image installation files corresponding to the model information contained in each secondary server to the plurality of secondary servers according to the association table so that each secondary server can send the mirror image installation files and installation instructions corresponding to the model information to all the associated testing machines, and the corresponding testing machines can automatically install the corresponding mirror image installation files through the installation instructions.
7. A secondary server, comprising:
the second acquisition module is used for acquiring the model information of all the related testing machines;
the second sending module is used for sending all the acquired machine type information to the main server so that the main server can acquire the mirror image installation files corresponding to all the machine type information, and associating each machine type information with the corresponding mirror image installation file to generate an association table;
the receiving module is used for receiving the mirror image installation file corresponding to the model information issued by the main server according to the association table;
and the control module is used for sending the image installation file and the installation instruction corresponding to the model information to the testing machine corresponding to each model information so that each related testing machine can automatically install the corresponding image installation file through the installation instruction.
8. A mirror image mounting system, comprising: a primary server as claimed in claim 6 and at least one secondary server as claimed in claim 7.
9. An electronic device, comprising:
the processor and the memory are communicated with each other through a bus; the memory stores program instructions executable by the processor, the processor invoking the program instructions to perform the method of any of claims 1 to 5.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the method according to any one of claims 1 to 5.
CN202010294895.XA 2020-04-15 2020-04-15 Mirror image installation method, primary and secondary servers, system, electronic equipment and storage medium Active CN111443925B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010294895.XA CN111443925B (en) 2020-04-15 2020-04-15 Mirror image installation method, primary and secondary servers, system, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010294895.XA CN111443925B (en) 2020-04-15 2020-04-15 Mirror image installation method, primary and secondary servers, system, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111443925A true CN111443925A (en) 2020-07-24
CN111443925B CN111443925B (en) 2024-03-01

Family

ID=71654348

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010294895.XA Active CN111443925B (en) 2020-04-15 2020-04-15 Mirror image installation method, primary and secondary servers, system, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111443925B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114003247A (en) * 2021-10-28 2022-02-01 苏州浪潮智能科技有限公司 Installation detection method, system, device and storage medium of crypto system

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102497408A (en) * 2011-12-08 2012-06-13 曙光信息产业(北京)有限公司 Semiautomatic batch deployment method for heterogeneous cluster operating system
US20130132942A1 (en) * 2011-11-22 2013-05-23 Huawei Technologies Co., Ltd. Application software installation method and application software installation apparatus
CN104412252A (en) * 2012-07-10 2015-03-11 阿沃森特亨茨维尔公司 System and method for accessing remote disk images using a vmedia client and through a remote access appliance
CN105744000A (en) * 2016-04-08 2016-07-06 中国农业银行股份有限公司 Mirror image configuration method and system
CN106201648A (en) * 2016-06-27 2016-12-07 浪潮电子信息产业股份有限公司 A kind of virtual machine creation method and device
CN106681867A (en) * 2015-11-09 2017-05-17 阿里巴巴集团控股有限公司 Testing method and device
CN106776347A (en) * 2017-01-24 2017-05-31 郑州云海信息技术有限公司 A kind of virtualization system mirror image mounting test system and method
CN109358858A (en) * 2018-09-19 2019-02-19 网易(杭州)网络有限公司 Automatically dispose method, apparatus, medium and electronic equipment
CN109683916A (en) * 2018-12-03 2019-04-26 武汉钢铁工程技术集团通信有限责任公司 A kind of method of cloud mirrored host computer of the autonomous creation comprising application software
CN110058867A (en) * 2019-04-29 2019-07-26 深圳市网心科技有限公司 The packing of application program mirror image, installation method and computer installation, storage medium
CN110753088A (en) * 2019-09-18 2020-02-04 平安科技(深圳)有限公司 System deployment method and device

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130132942A1 (en) * 2011-11-22 2013-05-23 Huawei Technologies Co., Ltd. Application software installation method and application software installation apparatus
CN102497408A (en) * 2011-12-08 2012-06-13 曙光信息产业(北京)有限公司 Semiautomatic batch deployment method for heterogeneous cluster operating system
CN104412252A (en) * 2012-07-10 2015-03-11 阿沃森特亨茨维尔公司 System and method for accessing remote disk images using a vmedia client and through a remote access appliance
CN106681867A (en) * 2015-11-09 2017-05-17 阿里巴巴集团控股有限公司 Testing method and device
CN105744000A (en) * 2016-04-08 2016-07-06 中国农业银行股份有限公司 Mirror image configuration method and system
CN106201648A (en) * 2016-06-27 2016-12-07 浪潮电子信息产业股份有限公司 A kind of virtual machine creation method and device
CN106776347A (en) * 2017-01-24 2017-05-31 郑州云海信息技术有限公司 A kind of virtualization system mirror image mounting test system and method
CN109358858A (en) * 2018-09-19 2019-02-19 网易(杭州)网络有限公司 Automatically dispose method, apparatus, medium and electronic equipment
CN109683916A (en) * 2018-12-03 2019-04-26 武汉钢铁工程技术集团通信有限责任公司 A kind of method of cloud mirrored host computer of the autonomous creation comprising application software
CN110058867A (en) * 2019-04-29 2019-07-26 深圳市网心科技有限公司 The packing of application program mirror image, installation method and computer installation, storage medium
CN110753088A (en) * 2019-09-18 2020-02-04 平安科技(深圳)有限公司 System deployment method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114003247A (en) * 2021-10-28 2022-02-01 苏州浪潮智能科技有限公司 Installation detection method, system, device and storage medium of crypto system
CN114003247B (en) * 2021-10-28 2023-11-14 苏州浪潮智能科技有限公司 Installation detection method, system and device of security machine system and storage medium

Also Published As

Publication number Publication date
CN111443925B (en) 2024-03-01

Similar Documents

Publication Publication Date Title
CN107193607B (en) Method and apparatus for updating code file, storage medium, processor, and terminal
JP6788178B2 (en) Setting support program, setting support method and setting support device
US20140156598A1 (en) Replication control using eventually consistent meta-data
CN106897223A (en) A kind of software kit delivery method and device based on continuous integrating
CN111506358B (en) Method and device for updating container configuration
CN109446047B (en) Performance test platform script storage method, device, equipment and storage medium
CN110727575B (en) Information processing method, system, device and storage medium
US7484125B2 (en) Method and apparatus for providing updated processor polling information
CN111443925A (en) Mirror image installation method, primary and secondary servers, system, electronic equipment and storage medium
CN110187890B (en) Project deployment method, electronic equipment and storage medium
CN110795118A (en) Cloud platform upgrading tool and upgrading method
CN107135120B (en) Automatic test method and device for HPC cluster
CN112346994A (en) Test information correlation method and device, computer equipment and storage medium
CN114968753A (en) Equipment upgrading test method, medium, electronic equipment and test system
CN112631931A (en) Version testing method and device, storage medium and electronic equipment
KR101123685B1 (en) System and method for upgrading program in terminal with dynamic software upgrade technology
CN111444281A (en) Method and system for synchronizing database parameters
CN115599410B (en) Large-scale JAVA probe management method and system
CN113220507B (en) Version consistency checking method and device for double-master control system
CN111949278B (en) Method, system, terminal and storage medium for automatically installing MCS system
CN109032955B (en) UI automation test method, device, equipment and readable storage medium
CN114510253A (en) Microservice upgrading method and microservice upgrading device
CN116719534A (en) Method and device for deploying production configuration files
CN117193798A (en) Application deployment method, apparatus, device, readable storage medium and program product
CN113377388A (en) Software installation method, system and storage medium

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