CN110413293A - The method and device that system deployment process modifies to standard mirror image - Google Patents

The method and device that system deployment process modifies to standard mirror image Download PDF

Info

Publication number
CN110413293A
CN110413293A CN201910666716.8A CN201910666716A CN110413293A CN 110413293 A CN110413293 A CN 110413293A CN 201910666716 A CN201910666716 A CN 201910666716A CN 110413293 A CN110413293 A CN 110413293A
Authority
CN
China
Prior art keywords
mirror image
standard mirror
file
winpe
pending file
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910666716.8A
Other languages
Chinese (zh)
Inventor
霍开源
蒋菲
石骁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Union Memory Information System Co Ltd
Original Assignee
Shenzhen Union Memory Information System 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 Shenzhen Union Memory Information System Co Ltd filed Critical Shenzhen Union Memory Information System Co Ltd
Priority to CN201910666716.8A priority Critical patent/CN110413293A/en
Publication of CN110413293A publication Critical patent/CN110413293A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1458Management of the backup or restore process
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Quality & Reliability (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a kind of method and devices that system deployment process modifies to standard mirror image, and method is the following steps are included: be written to WINPE for pending file;From network startup WINPE;By system introducing hard disk;Start pending file, standard mirror image is modified or tested accordingly.This programme is by the way that script or program to be pre-written into WINPE, and passing through network startup WINPE, direct script or program is executed to modify to standard mirror image, without from hard disk startup system, any modification can be made to standard mirror image during system deployment, realized to hard disk more fully system testing.

Description

The method and device that system deployment process modifies to standard mirror image
Technical field
The present invention relates to especially relate to the method and dress that a kind of system deployment process modifies to standard mirror image It sets.
Background technique
(Windows Preinstallation Environment, also referred to as Windows PE, Windows are pre- by WinPE Installation environment), it is the minimum Win32 subsystem with limited service, based on the Windows XP run with protected mode Professional and the above kernel.
The prior art, to standard being customized of mirror image modify when, can only in system after hard disk startup, but at this time Since system disk is master, since Microsoft is for the consideration of system safety, so many system core information are can not to modify.
Summary of the invention
In order to solve the defect of the above-mentioned prior art, the object of the present invention is to provide a kind of system deployment processes to standard mirror As the method and device modified.
In order to achieve the above objectives, the technical scheme is that
A kind of method that system deployment process modifies to standard mirror image, comprising the following steps:
Pending file is written to WINPE;
From network startup WINPE;
By system introducing hard disk;
Start pending file, standard mirror image is modified or tested accordingly.
Further, it is described pending file is written to WINPE step before, including,
Script or program file are replicated, and script or program file are packaged into pending file.
Further, described that pending file is written to WINPE step, including,
Before WINPE network startup, pending file is written to WINPE.
Further, the pending file of the starting, modifies standard mirror image or testing procedure accordingly, including,
Pending file is directly initiated in memory, is modified by executing file to standard mirror image;Alternatively,
File will be executed to import hard disk and start, modified by executing file to standard mirror image.
Further, the pending file of the starting, is modified or testing procedure accordingly, including,
From hard disk startup system, modified standard mirror image is unfolded.
The invention also provides a kind of devices that system deployment process modifies to standard mirror image, comprising:
Pre-write unit, for pending file to be written to WINPE;
Network startup unit is used for from network startup WINPE;
System introducing unit is used for system introducing hard disk;
Mirror image modification unit is modified or is tested accordingly to standard mirror image for starting pending file.
It further, further include duplication packaged unit, for replicating script or program file, and by script or program file It is packaged into pending file.
Further, the pre-write unit includes pre-write module, is used for before WINPE network startup, will be wait hold Style of writing part is written to WINPE.
Further, the mirror image modification unit includes the first starting module and the second starting module,
First starting module, for directly initiating pending file in memory, by executing file to standard mirror As modifying;Alternatively,
Second starting module, for that will execute file importing hard disk and start, by executing file to standard mirror image It modifies.
It further, further include starting display unit, for modified standard mirror image to be unfolded from hard disk startup system.
The beneficial effects of the present invention are: by the way that script or program to be pre-written into WINPE, and passing through network startup WINPE executes direct script or program and modifies to standard mirror image, is not necessarily to from hard disk startup system, can be in system deployment Any modification is made to standard mirror image in the process, is realized to hard disk more fully system testing.
Detailed description of the invention
Fig. 1 is a kind of flow chart for the method that system deployment process modifies to standard mirror image of one embodiment of the invention;
Fig. 2 is the sub-step for the method that a kind of system deployment process of one embodiment of the invention modifies to standard mirror image Flow chart;
Fig. 3 is a kind of process for the method that system deployment process modifies to standard mirror image of another embodiment of the present invention Figure;
Fig. 4 is a kind of structural principle for the device that system deployment process modifies to standard mirror image of one embodiment of the invention Block diagram;
Fig. 5 is the structural block diagram that mirror image of the present invention modifies unit.
Specific embodiment
To illustrate thought and purpose of the invention, the present invention is done further below in conjunction with the drawings and specific embodiments Explanation.
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiment is only a part of the embodiments of the present invention, instead of all the embodiments.Base Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts it is all its His embodiment, shall fall within the protection scope of the present invention.
It is to be appreciated that the directional instruction (up, down, left, right, before and after etc.) of institute is only used in the embodiment of the present invention It explains in relative positional relationship, the motion conditions etc. under a certain particular pose (as shown in the picture) between each component, if the spy When determining posture and changing, then directionality instruction also correspondingly changes correspondingly, and the connection, which can be, to be directly connected to, can also To be to be indirectly connected with.
In addition, the description for being such as related to " first ", " second " in the present invention is used for description purposes only, and should not be understood as Its relative importance of indication or suggestion or the quantity for implicitly indicating indicated technical characteristic.Define as a result, " first ", The feature of " second " can explicitly or implicitly include at least one of the features.In addition, the technical side between each embodiment Case can be combined with each other, but must be based on can be realized by those of ordinary skill in the art, when the combination of technical solution Conflicting or cannot achieve when occur will be understood that the combination of this technical solution is not present, also not the present invention claims guarantor Within the scope of shield.
Unless otherwise instructed, "/" herein represents meaning as "or".
Referring to Fig.1-3, an of the invention specific embodiment is proposed, what a kind of system deployment process modified to standard mirror image Method, comprising the following steps:
S10, pending file is written to WINPE.
S20, from network startup WINPE.
S30, by system introducing hard disk.
S40, the pending file of starting, are modified or are tested accordingly to standard mirror image.
For step S10, executes file and be packaged by script or program.And script or program start it in WINPE Before, it is written in WINPE, after starting WINPE, perform script or program can be used for that standard mirror image is modified and surveyed Examination realizes that the customization to standard mirror image is modified.
Specifically, step S10 are as follows: before WINPE network startup, pending file is written to WINPE.
Ensure to be written with pending file in WINPE, has pending file for subsequent modification.
It in one embodiment, include: step S11, duplication script or program file before step S10, and by script or journey Preface part is packaged into pending file.
For step S11, according to the modification demand of standard mirror image, the corresponding script of designed, designed and program or third is used When the corresponding script of subsequent execution and program, the modification of the customization to standard mirror image is can be realized in the script and program of side.Cause This, needs then script or program are packaged into pending file and are written by corresponding script or the corresponding duplication of program file Into WINPE, and after WINPE network startup, pending file is called and executed, completes the modification of standard image file.
For step S20, existing system is from hard disk startup, at this time since system disk is master, since Microsoft goes out In the consideration of system safety, so many system core information can not be modified.And from network startup WINPE, memory at this time For master, system disk is that not master, run WINPE and pending file lead to execute wait hold at this time in memory from disk Style of writing part can modify to the standard mirror image being located in system disk.
For step S30, after network startup WINPE, WINPE and pending file are hard by system introducing in memory Disk, pending file can select to execute in memory or hard disk as needed, to the standard mirror image for being located at system disk It is modified or is tested accordingly.
For step S40, after by system introducing to hard disk, calls and execute corresponding execution file, i.e., executable pair The script or program answered realize that the customization to standard mirror image is modified, and memory is master at this time, and system disk is from disk, to system Standard mirror image in disk is modified not to be limited by Microsoft.
With reference to Fig. 2, in one embodiment, step S40 the following steps are included:
S41, pending file is directly initiated in memory, modified by executing file to standard mirror image.Alternatively,
S42, file importing hard disk will be executed and started, modified by executing file to standard mirror image.
For step S41, for WINPE after network startup, pending file is stored in memory, can directly call in memory And pending file being executed, that is, script or program, Lai Shixian modifies the customization of standard mirror image, is not limited by Microsoft System.
For step S42, for WINPE after network startup, pending file is stored in memory, and memory is master at this time, is Overall is that can also imported into hard disk pending file from memory from disk execute as needed, and Lai Shixian is for mark The customization of quasi- mirror image is modified, and is not limited by Microsoft.
With reference to Fig. 3, in an alternative embodiment of the invention, propose what a kind of system deployment process modified to standard mirror image Method, including above-mentioned steps S10-S40, and after the step s 40 further include step S50.
S50, from hard disk startup system, modified standard mirror image is unfolded.
For step S50, after having modified standard mirror image, system write-in is completed, and from hard disk startup, can be obtained and repair System made of standard mirror image installation after changing can make any modification, realization pair to standard mirror image during system deployment Hard disk more fully system testing.
This programme executes straight by the way that script or program to be pre-written into WINPE, and by network startup WINPE Pin sheet or program modify to standard mirror image, are not necessarily to from hard disk startup system, can be during system deployment to standard Mirror image makes any modification, realizes to hard disk more fully system testing.
With reference to Figure 4 and 5, the invention also provides a kind of device that system deployment process modifies to standard mirror image, packets It includes:
Packaged unit 10 is replicated, for replicating script or program file, and script or program file is packaged into pending File.
Pre-write unit 20, for pending file to be written to WINPE.
Network startup unit 30 is used for from network startup WINPE.
System introducing unit 40 is used for WINPE system introducing hard disk.
Mirror image modification unit 50 is modified or is tested accordingly to standard mirror image for starting pending file.
Start display unit 60, for modified standard mirror image to be unfolded from hard disk startup WINPE system.
For replicating packaged unit 10, according to the modification demand of standard mirror image, the corresponding script of designed, designed and program or Using third-party script and program, when the corresponding script of subsequent execution and program, the customization to standard mirror image can be realized Modification.Therefore, it is necessary to script or program are then packaged into pending text by corresponding script or the corresponding duplication of program file Part is written in WINPE, and after WINPE network startup, calls and execute pending file, completes repairing for standard image file Change.
For pre-write unit 20, executes file and be packaged by script or program.And script or program are opened in WINPE It before dynamic, is written in WINPE, after starting WINPE, perform script or program can be used for modifying to standard mirror image And test, realize that the customization to standard mirror image is modified.
Pre-write unit 20 includes pre-write module 21, for before WINPE network startup, pending file to be written To WINPE.
Before WINPE network startup, pending file, which is written to WINPE, to be ensured to be written with pending text in WINPE Part has pending file for subsequent modification.
For network startup unit 30, existing system is from hard disk startup, at this time since system disk is master, due to Microsoft Company for system safety consideration, so many system core information can not be modified.And from network startup WINPE, this When memory be master, system disk is from disk not master, and run WINPE and pending file are logical at this time to hold in memory The pending file of row can modify to the standard mirror image being located in system disk.
For system introducing unit 40, after network startup WINPE, WINPE and pending file are in memory, by system Hard disk is imported, pending file can select to execute in memory or hard disk as needed, to the mark for being located at system disk Quasi- mirror image is modified or is tested accordingly.
Mirror image modification unit 50 is called after by system introducing to hard disk and executes corresponding execution file Execute corresponding script or program, realize that the customization to standard mirror image is modified, memory is master at this time, system disk be from disk, It modifies and is not limited by Microsoft to the standard mirror image in system disk.
With reference to Fig. 5, in one embodiment, it includes the first starting module 51 and the second starting module that mirror image, which modifies unit 50, 52。
First starting module 51, for directly initiating pending file in memory, by executing file to standard mirror image It modifies.Alternatively,
Second starting module 52 hard disk and starts for that will execute file and import, by execute file to standard mirror image into Row modification.
For the first starting module 51, for WINPE after network startup, pending file is stored in memory, can directly exist Memory calls and executes pending file, that is, script or program, and Lai Shixian modifies the customization of standard mirror image, not by Microsoft's limitation.
For the second starting module 52, for WINPE after network startup, pending file is stored in memory, interior at this time to save as Master, system disk are that can also imported into hard disk pending file from memory from disk execute as needed, Lai Shixian Customization modification for standard mirror image, is not limited by Microsoft.
For starting display unit 60, after having modified standard mirror image, system write-in is completed, and from hard disk startup, i.e., System made of modified standard mirror image installation can be obtained, standard mirror image can be done during system deployment and arbitrarily be repaired Change, realizes to hard disk more fully system testing.
This programme executes straight by the way that script or program to be pre-written into WINPE, and by network startup WINPE Pin sheet or program modify to standard mirror image, are not necessarily to from hard disk startup system, can be during system deployment to standard Mirror image makes any modification, realizes to hard disk more fully system testing.
The above description is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all utilizations Equivalent structure or equivalent flow shift made by description of the invention and accompanying drawing content is applied directly or indirectly in other correlations Technical field, be included within the scope of the present invention.

Claims (10)

1. a kind of method that system deployment process modifies to standard mirror image, which comprises the following steps:
Pending file is written to WINPE;
From network startup WINPE;
By system introducing hard disk;
Start pending file, standard mirror image is modified or tested accordingly.
2. the method that the system as claimed in claim 1 deployment process modifies to standard mirror image, which is characterized in that described to incite somebody to action Pending file is written to before WINPE step, including,
Script or program file are replicated, and script or program file are packaged into pending file.
3. the method that system deployment process as claimed in claim 2 modifies to standard mirror image, which is characterized in that described to incite somebody to action Pending file is written to WINPE step, including,
Before WINPE network startup, pending file is written to WINPE.
4. the method that system deployment process as claimed in claim 3 modifies to standard mirror image, which is characterized in that described to open Pending file is moved, standard mirror image is modified accordingly or testing procedure, including,
Pending file is directly initiated in memory, is modified by executing file to standard mirror image;Alternatively,
File will be executed to import hard disk and start, modified by executing file to standard mirror image.
5. the method that system deployment process as claimed in claim 4 modifies to standard mirror image, which is characterized in that described to open Move pending file, modified accordingly or testing procedure after, including,
From hard disk startup system, modified standard mirror image is unfolded.
6. a kind of device that system deployment process modifies to standard mirror image characterized by comprising
Pre-write unit, for pending file to be written to WINPE;
Network startup unit is used for from network startup WINPE;
System introducing unit is used for system introducing hard disk;
Mirror image modification unit is modified or is tested accordingly to standard mirror image for starting pending file.
7. the device that system deployment process as claimed in claim 6 modifies to standard mirror image, which is characterized in that further include Packaged unit is replicated, is packaged into pending file for replicating script or program file, and by script or program file.
8. the device that system deployment process as claimed in claim 7 modifies to standard mirror image, which is characterized in that described pre- Writing unit includes pre-write module, for before WINPE network startup, pending file to be written to WINPE.
9. the device that system deployment process as claimed in claim 8 modifies to standard mirror image, which is characterized in that the mirror Include the first starting module and the second starting module as modifying unit,
First starting module, for directly initiating pending file in memory, by execute file to standard mirror image into Row modification;Alternatively,
Second starting module carries out standard mirror image by executing file for that will execute file importing hard disk and start Modification.
10. the device that deployment process system as claimed in claim 9 modifies to standard mirror image, which is characterized in that also wrap Starting display unit is included, for modified standard mirror image to be unfolded from hard disk startup system.
CN201910666716.8A 2019-07-23 2019-07-23 The method and device that system deployment process modifies to standard mirror image Pending CN110413293A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910666716.8A CN110413293A (en) 2019-07-23 2019-07-23 The method and device that system deployment process modifies to standard mirror image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910666716.8A CN110413293A (en) 2019-07-23 2019-07-23 The method and device that system deployment process modifies to standard mirror image

Publications (1)

Publication Number Publication Date
CN110413293A true CN110413293A (en) 2019-11-05

Family

ID=68362659

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910666716.8A Pending CN110413293A (en) 2019-07-23 2019-07-23 The method and device that system deployment process modifies to standard mirror image

Country Status (1)

Country Link
CN (1) CN110413293A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111459740A (en) * 2020-04-14 2020-07-28 深圳忆联信息系统有限公司 Master-slave disk serial test method and device for solid state disk and computer equipment
CN111930579A (en) * 2020-07-15 2020-11-13 深圳忆联信息系统有限公司 Test machine deployment permission verification method and device, computer equipment and storage medium
CN115344275A (en) * 2022-08-15 2022-11-15 广州鼎甲计算机科技有限公司 Method and device for generating image file of operating system and computer equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103746833A (en) * 2013-12-25 2014-04-23 新浪网技术(中国)有限公司 PXE-based RAID automatic configuration method and system
CN104391713A (en) * 2014-10-28 2015-03-04 浪潮电子信息产业股份有限公司 Automatic installation method of Windows system
WO2017166785A1 (en) * 2016-04-01 2017-10-05 华为技术有限公司 Method for deploying virtual machines, host machine, and system
CN107861761A (en) * 2017-10-31 2018-03-30 北京优帆科技有限公司 A kind of startup method and system of physical host

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103746833A (en) * 2013-12-25 2014-04-23 新浪网技术(中国)有限公司 PXE-based RAID automatic configuration method and system
CN104391713A (en) * 2014-10-28 2015-03-04 浪潮电子信息产业股份有限公司 Automatic installation method of Windows system
WO2017166785A1 (en) * 2016-04-01 2017-10-05 华为技术有限公司 Method for deploying virtual machines, host machine, and system
CN107861761A (en) * 2017-10-31 2018-03-30 北京优帆科技有限公司 A kind of startup method and system of physical host

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111459740A (en) * 2020-04-14 2020-07-28 深圳忆联信息系统有限公司 Master-slave disk serial test method and device for solid state disk and computer equipment
CN111459740B (en) * 2020-04-14 2024-05-14 深圳忆联信息系统有限公司 Method and device for carrying out master-slave disk serial test on solid state disk and computer equipment
CN111930579A (en) * 2020-07-15 2020-11-13 深圳忆联信息系统有限公司 Test machine deployment permission verification method and device, computer equipment and storage medium
CN115344275A (en) * 2022-08-15 2022-11-15 广州鼎甲计算机科技有限公司 Method and device for generating image file of operating system and computer equipment

Similar Documents

Publication Publication Date Title
WO2017005148A1 (en) Automatic software-testing method and device
CN110413293A (en) The method and device that system deployment process modifies to standard mirror image
US7966604B2 (en) Web browser object based automatic testing method for web applications
US20090204924A1 (en) Method, system and computer program product for failure analysis implementing automated comparison of multiple reference models
CN104246714A (en) Software defect verification
CN111414309B (en) Automatic test method of application program, computer equipment and storage medium
CN110636364B (en) Image quality processing method, smart television and storage medium
CN108650507A (en) Test method, device, terminal device and the storage medium of terminal device
CN111563032A (en) APP debugging method and device, computer equipment and storage medium
EP2883134A1 (en) Executable software specification generation
JP6643407B2 (en) Method, apparatus, server and program for inspecting defect function
CN109656817A (en) A kind of automation interface test device and equipment
US20120159450A1 (en) Displaying subtitles
CN110929249A (en) Screen recording method, device, equipment and storage medium for automatic test
CN105933700B (en) Detection method, device and the television set of television applications program license
TW201301023A (en) System and method for testing a mother board
CN106444730B (en) Diagnosis method of electronic control unit for preventing software from being dead
CN113986263A (en) Code automation test method, device, electronic equipment and storage medium
US7987065B1 (en) Automatic quality testing of multimedia rendering by software drivers
CN111694727A (en) Network card firmware upgrading and downgrading test method, system, terminal and storage medium
KR20100062821A (en) Apparatus and method for editing for test driven development supporting
CN112015650B (en) Event testing method and device based on computer vision
JP5140691B2 (en) Integration test system, integration test method, and integration test program
CN116414478A (en) Image synthesis method and device and electronic equipment
CN116521555A (en) Recording method, playback method, device and computing equipment for test cases

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20191105

RJ01 Rejection of invention patent application after publication