CN108572889A - A kind of system reducing method and device - Google Patents

A kind of system reducing method and device Download PDF

Info

Publication number
CN108572889A
CN108572889A CN201810202009.9A CN201810202009A CN108572889A CN 108572889 A CN108572889 A CN 108572889A CN 201810202009 A CN201810202009 A CN 201810202009A CN 108572889 A CN108572889 A CN 108572889A
Authority
CN
China
Prior art keywords
client
mirror image
image
side program
mirror
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
CN201810202009.9A
Other languages
Chinese (zh)
Other versions
CN108572889B (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.)
New H3C Cloud Technologies Co Ltd
Original Assignee
New H3C Cloud Technologies 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 New H3C Cloud Technologies Co Ltd filed Critical New H3C Cloud Technologies Co Ltd
Priority to CN201810202009.9A priority Critical patent/CN108572889B/en
Publication of CN108572889A publication Critical patent/CN108572889A/en
Application granted granted Critical
Publication of CN108572889B publication Critical patent/CN108572889B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/1415Saving, restoring, recovering or retrying at system level
    • G06F11/1438Restarting or rejuvenating
    • 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/1448Management of the data involved in backup or backup restore
    • 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
    • G06F11/1469Backup restoration techniques

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

This application involves field of cloud computer technology more particularly to a kind of system reducing methods and device, and original system, strong applicability can be gone back without installing Recovery card to realize.Above system restoring method includes:System file based on acquisition creates three class mirror-images;Three class mirror-images include foundation image, the first client mirror image and the first operation mirror image;The second operation mirror image is created based on the first client mirror image;Second operation mirror image is the difference virtual disk files created by stamper of the first client mirror image, wherein file required when being run on an operating system comprising client-side program;In this way, when executing system reducing, client-side program on an operating system can be installed based on the second operation image starting operation, in this way, just realizing system reducing.

Description

A kind of system reducing method and device
Technical field
This application involves field of cloud computer technology, in particular to a kind of system reducing method and device.
Background technology
It is universal with virtualization technology, traditional personal computer (personal computer, PC) gradually by Virtual desktop framework (Virtual Desktop Infrastructure, VDI) is substituted, and the terminal of user's actual use is gradually Be converted to thin terminal.The system function being deployed in thin terminal is more and more weaker, only needs the basic operating system in terminal at present Upper deployment VDI clients, you can realize the virtual machine by VDI protocol access unified plans, and then realize terminal function.
Based on foregoing description it is found that in thin terminal, the effective protection of system is very important.Microsoft it is virtual Hard disk (Virtual Hard Disk, VHD) file format, is to be used operating system as virtual hard disk, in order to avoid certain In the case of the operation of operating system is influenced on the interim change of virtual hard disk content, need to use system levert card, be starting It, can also shape of the later stage by system reducing to before not changing even if being changed to virtual hard disk content after system Recovery card State.
As it can be seen that the relevant technologies are to implement above system reduction by installing Recovery card in terminal, still, due to The space of thin terminal is limited, can not usually install Recovery card.
Invention content
In view of this, the application's is designed to provide a kind of system reducing method and device, when realizing without Recovery card System reducing.
In a first aspect, a kind of system reducing method is provided, the method includes:
System file based on acquisition creates three class mirror-images;Three class mirror-image includes foundation image, first client's end mirror Picture and the first operation mirror image, wherein the foundation image is the virtual disk files comprising operating system and driver;It is described First client mirror image is the first difference virtual disk text comprising client-side program created by stamper of the foundation image Part;The first operation mirror image is the second difference virtual disk files created by stamper of the first client mirror image, In when being run on an operating system comprising client-side program required file and client-side program ran on an operating system The file generated in journey;
The second operation mirror image is created based on the first client mirror image;The second operation mirror image is with first visitor Family end mirror picture is the third difference virtual disk files that stamper creates, wherein when being run on an operating system comprising client-side program Required file;
When executing system reducing, the visitor in the operating system is mounted on based on the second operation image starting operation Family end program.
Second aspect, provides a kind of system reducing device, and described device includes:
Three class mirror-image creation modules are used for the system file based on acquisition, create three class mirror-images;Three class mirror-image includes Foundation image, the first client mirror image and the first operation mirror image, wherein the foundation image is comprising operating system and driving journey The virtual disk files of sequence;The first client mirror image is to be created by stamper of the foundation image comprising client-side program The first difference virtual disk files;The first operation mirror image is second created using the first client mirror image as stamper Difference virtual disk files, wherein file and client journey required when being run on an operating system comprising client-side program The file that sequence generates in operational process on an operating system;
Mirror image creation module is run, for creating the second operation mirror image based on the first client mirror image;Described second It is the third difference virtual disk files created using the first client mirror image as stamper to run mirror image, wherein including client Required file when program is run on an operating system;
System reducing execution module, for when executing system reducing, image starting operation peace to be run based on described second Client-side program in the operating system.
Include foundation image, the first client mirror image and the first operation based on system file establishment in the embodiment of the present application Three class mirror-images of mirror image, and based on the first client mirror image create second operation mirror image, later, can based on establishment second fortune The client-side program of row image starting operation installation on an operating system is to execute system reducing.In this way, user is in the system of execution Before reduction, the modification made to system (includes that modification to client-side program, client-side program were run on an operating system Will produce some files in journey) foundation image will not be had an impact, wherein client-side program operational process on an operating system Some files of middle generation can only have an impact the first operation mirror image, will not have an impact, execute to the second operation mirror image When system reducing, client-side program on an operating system can be installed based on the second operation image starting operation, in this way, being not necessarily to Installation Recovery card can go back original system, with strong applicability.
To enable the above objects, features, and advantages of the application to be clearer and more comprehensible, preferred embodiment cited below particularly, and coordinate Appended attached drawing, is described in detail below.
Description of the drawings
It, below will be to needed in the embodiment attached in order to illustrate more clearly of the technical solution of the embodiment of the present application Figure is briefly described, it should be understood that the following drawings illustrates only some embodiments of the application, therefore is not construed as pair The restriction of range for those of ordinary skill in the art without creative efforts, can also be according to this A little attached drawings obtain other relevant attached drawings.
Fig. 1 shows a kind of flow chart for system reducing method that the embodiment of the present application is provided;
Fig. 2 shows a kind of flow charts for client-side program upgrade method that the embodiment of the present application is provided;
Fig. 3 shows a kind of method flow diagram for determining client-side program upgrading that the embodiment of the present application is provided;
Fig. 4 shows a kind of structural schematic diagram for system reducing device that the embodiment of the present application is provided;
Fig. 5 shows a kind of structural schematic diagram for terminal device that the embodiment of the present application is provided.
Specific implementation mode
To keep the purpose, technical scheme and advantage of the embodiment of the present application clearer, below in conjunction with the embodiment of the present application Middle attached drawing, technical solutions in the embodiments of the present application are clearly and completely described, it is clear that described embodiment is only It is some embodiments of the present application, instead of all the embodiments.The application being usually described and illustrated herein in the accompanying drawings is real Applying the component of example can be arranged and designed with a variety of different configurations.Therefore, below to the application's for providing in the accompanying drawings The detailed description of embodiment is not intended to limit claimed scope of the present application, but is merely representative of the selected reality of the application Apply example.Based on embodiments herein, institute that those skilled in the art are obtained without making creative work There is other embodiment, shall fall in the protection scope of this application.
In view of the relevant technologies are to implement above system reduction by installing Recovery card in terminal, still, by It is limited in the space of thin terminal, Recovery card can not be usually installed, cause applicability poor, proposed in a kind of embodiment of the application A kind of system reducing method, the carry out system reducing that can be automated based on three class mirror-images of structure is with strong applicability, refers to down State embodiment.It should be noted that the embodiment of the present application not only can be adapted for thin terminal, any terminal with processing function Equipment can be applicable in.
Referring to Fig. 1, it is the flow chart of system reducing method provided by the embodiments of the present application, includes the following steps:
S101, the system file based on acquisition create three class mirror-images;Three class mirror-images include foundation image, the first client Mirror image and the first operation mirror image, wherein foundation image is the virtual disk files comprising operating system and driver;First visitor Family end mirror picture is the first difference virtual disk files comprising client-side program created by stamper of foundation image;First operation Mirror image is the second difference virtual disk files created by stamper of the first client mirror image, wherein being grasped comprising client-side program The file that required file and client-side program generates in operational process on an operating system when making to run in system.
Here, three class mirror-images are pre-created, and the embodiment of the present application can be based on the operation of brush machine and realize refitting system, with To include the allocating operating system of foundation image, the first client mirror image and the first operation mirror image to needing system reducing On terminal device.Wherein, above-mentioned foundation image only includes the virtual disk files of operating system and driver, the first client Mirror image is the first difference virtual disk files comprising client-side program created as stamper using above-mentioned foundation image, the first operation Mirror image is the second difference virtual disk files created as stamper using above-mentioned first client mirror image.Above-mentioned virtual disk files, Virtual hard disk (the Virtual of Microsoft may be used in first difference virtual disk files and the second difference virtual disk files Hard Disk, VHD) file format, this document format is that hard disk is encapsulated into an individual file, so as to operating system It is used as virtual hard disk.Further, the embodiment of the present application can be based on local virtual disk startup (Native VHD Boot) technology, the hardware of using terminal equipment start the operating system in VHD.
It is worth noting that the realization of above-mentioned first difference virtual disk files and the second difference virtual disk files is equal Dependent on difference magnetic disc, that is, the embodiment of the present application can first create an operating system (the i.e. corresponding behaviour of foundation image Make system), then the first difference virtual disk files are created by stamper of the hard disk of above-mentioned operating system.In this way, above-mentioned first Difference virtual disk files not only have one and the duplicate operating system of origin operation system, and being provided with can be upper The client-side program run in operating system is stated, it is equal for all changes (such as installing other client-side program) of new operating system It can be saved in the first difference virtual disk files, without changing in the operating system in stamper corresponding to foundation image Hold.Similarly, it is that stamper creates the second difference virtual disk files that the embodiment of the present application, which is also based on the first client mirror image, this Sample, the second difference virtual disk files not only have one and the duplicate operating system of origin operation system, also include Client-side program file and client-side program required when running on an operating system are on an operating system in operational process It is poor to be saved in second for the file generated in client-side program on an operating system operational process for the file of generation In point virtual disk files, without to corresponding to the first client mirror image in stamper operating system and client-side program produce It is raw to influence.
S102, the second operation mirror image is created based on the first client mirror image;Second operation mirror image is with first client's end mirror Third difference virtual disk files as being stamper establishment, wherein required when being run on an operating system comprising client-side program File.
It here, can be based on boot entry (the i.e. first operation mirror that system starts after the deployment of three class mirror-images completion Picture) activation system, after system start-up, system reducing method provided by the embodiments of the present application will be based on the first visitor currently come into force Family end mirror picture automatically generates the second operation mirror image, runs that mirror image is identical to be with first, and above-mentioned second operation mirror image is also with the One client mirror image is what stamper created, but unlike the first operation mirror image, and above-mentioned second operation mirror image only includes client End program runs relied on original document on an operating system, and is run on an operating system before not comprising client-side program When generated file, that is, this second it is corresponding to run mirror image is not modified disk file, so as to be based on The second operation mirror image realizes system reducing.
S103, when executing system reducing, based on the second operation image starting operation installation client on an operating system Hold program.
Here, before executing system reducing, the embodiment of the present application also needs to the boot entry for starting system by the first fortune Row mirror image is changed to the second operation mirror image, in this way, when executing system reducing, by restarting system, by the second operation mirror image System is led into, that is, realizing system reducing using the operation mirror image (the i.e. second operation mirror image) after replacing.
In addition, in specific implementation, it can be by the operation mirror image point after the operation mirror image and system reducing before system reducing It not being stored in different Disk Localities, and since system reducing may carry out repeatedly, when executing system reducing, can repeat Utilize above-mentioned Disk Locality.For example, before executing system reducing, the first operation mirrored storage is in position 1, if current for for the first time System reducing is executed, then by the second operation mirrored storage in position 2, when carrying out system reducing again next time, the operation before reduction Mirror image just becomes the second operation mirror image, at this time again by the operation mirrored storage after reduction at position 1, origin-location 1 One operation mirror image is then deleted, and and so on, when not only ensuring execution system reducing every time, what is be all made of is without modification System file, and further reduced disk occupancy.
System reducing not only may be implemented in system reducing method provided by the embodiments of the present application, additionally it is possible to carry out client journey Sequence upgrades namely the embodiment of the present application can take into account client-side program upgrading and system reducing.Referring to Fig. 2, above-mentioned client journey Sequence upgrade method is realized especially by following steps:
S201, when needing to upgrade client-side program, based on foundation image create the second client mirror image;Second client End mirror picture be created by stamper of foundation image comprising upgrading after client-side program the 4th difference virtual disk files;
S202, third operation mirror image is created based on the second client mirror image;It is with second client's end mirror that third, which runs mirror image, The 5th difference virtual disk files as being stamper establishment, wherein being run on an operating system comprising the client-side program after upgrading The file of Shi Suoxu;
S203, the client-side program after upgrading on an operating system is installed based on third operation image starting operation.
The embodiment of the present application will automatically generate the second visitor when determination needs to upgrade client-side program based on foundation image Family end mirror picture, identical with the first client mirror image to be, above-mentioned second client mirror image is also to be created by stamper of base end mirror image It builds, but unlike the first client mirror image, above-mentioned second client mirror image is to create comprising the client after upgrading 4th difference virtual disk files of program, that is, the second client mirror image it is corresponding be one upgrading after client journey Sequence, so as to realize that client-side program upgrades using the second client mirror image.
Next, generating third based on above-mentioned second client mirror image runs mirror image, third operation mirror image is to upgrade The the second client mirror image obtained afterwards is the difference virtual disk files that stamper creates, including the client-side program after upgrading is being grasped Required file when making to run in system, and the file generated in the process of running not comprising the client-side program before upgrading.
In addition, the client-side program upgrading in the embodiment of the present application can execute after executing system reducing, Before client-side program upgrading, after running the client-side program before image starting upgrading based on second, it is based on the second client Mirror image generates the third comprising the client-side program after upgrading and runs mirror image, and the boot entry that system is started is by the second operation mirror As being changed to third operation mirror image, after restarting system, system is led by third operation mirror image, in this way, just realizing On the basis of system reducing, client-side program upgrading is carried out.In addition, the embodiment of the present application can also be before carrying out system reducing Client-side program upgrading is carried out, at this point, after running the client-side program before image starting upgrading based on first, is based on the base Plinth mirror image creates the second client mirror image, and the third for including the client-side program after upgrading is generated based on the second client mirror image Mirror image is run, the boot entry that system starts then is changed to third by the first operation mirror image runs mirror image, after restarting system, System is led by third operation mirror image, you can realize client-side program upgrading.
In order to further ensure that the validity of client-side program upgrading, referring to Fig. 3, the embodiment of the present application is as follows It determines and needs to upgrade client-side program:
S301, the client-side program version information for obtaining server end;
S302, the client-side program version information of the client-side program version information of acquisition and local is compared;
If the client-side program version information of S303, server end is higher than local client-side program version information, really Surely it needs to upgrade client-side program.
In specific implementation, the client installed on the terminal device can be communicated with server end, obtain service The client-side program version information at device end, if the client-side program version information of server end and local client-side program version This information is consistent, then need not upgrade, if the client-side program version information of server end and local client-side program version This information is inconsistent, and when the former is higher than the latter, it is determined that needs to upgrade client-side program.
When determination needs to upgrade client-side program, corresponding client-side program liter can be downloaded from server end Grade packet, and the client-side program upgrade package of download is discharged to the second client mirror image, to realize the updating operation of client. After the completion of updating operation, new operation mirror image (will be automatically generated based on new client mirror image (i.e. the second client mirror image) Three operation mirror images), if client-side program upgrading carries out after executing system reducing, above-mentioned third runs mirror image can be with Covering the second operation mirror image, if client-side program upgrading carries out before executing system reducing, above-mentioned third runs mirror As the first operation mirror image can be covered.
Conceived based on same application, system reducing dress corresponding with system reducing method is additionally provided in the embodiment of the present application It sets, since the principle that the device in the embodiment of the present application solves the problems, such as is similar to the embodiment of the present application above system restoring method, Therefore the implementation of device may refer to the implementation of method, and overlaps will not be repeated.As shown in figure 4, for the embodiment of the present application institute The structural schematic diagram of the system reducing device of offer, the system reducing device include:
Three class mirror-image creation modules 11 are used for the system file based on acquisition, create three class mirror-images;Three class mirror-images include base Plinth mirror image, the first client mirror image and the first operation mirror image, wherein foundation image is the void comprising operating system and driver Quasi- disk file;First client mirror image is that the first difference comprising client-side program for being created by stamper of foundation image is virtual Disk file;First operation mirror image is the second difference virtual disk files created by stamper of the first client mirror image, wherein Including file and client-side program required when client-side program is run on an operating system operational process on an operating system The file of middle generation;
Mirror image creation module 22 is run, for creating the second operation mirror image based on the first client mirror image;Second operation mirror As the third difference virtual disk files to be created using the first client mirror image as stamper, wherein being operated comprising client-side program Required file when being run in system;
System reducing execution module 33, for when executing system reducing, being installed based on the second operation image starting operation Client-side program on an operating system.
In specific implementation, above-mentioned operation mirror image creation module 22 is specifically used for based on the first operation image starting fortune After row installation client-side program on an operating system, the second operation mirror image is created based on the first client mirror image, and by system The boot entry of startup is changed to the second operation mirror image by the first operation mirror image.
Referring to Fig. 4, above system reduction apparatus further includes:
Client upgrading operation module 44, for when needing upgrade client-side program, based on foundation image establishment the Two client mirror images;Second client mirror image is that is created by stamper of foundation image include the of the client-side program after upgrading Four difference virtual disk files;Third, which is created, based on the second client mirror image runs mirror image;It is with the second visitor that third, which runs mirror image, Family end mirror picture is the 5th difference virtual disk files that stamper creates, wherein comprising the client-side program after upgrading in operating system Required file when upper operation;The client journey after upgrading based on third operation image starting operation installation on an operating system Sequence.
Client upgrades determining module 55, the client-side program version information for obtaining server end;By the visitor of acquisition Family end program version information and local client-side program version information are compared;If the client-side program version of server end Information is higher than local client-side program version information, it is determined that needs to upgrade client-side program.
In specific implementation, above-mentioned client upgrading operation module 44, is specifically used for based on the second operation image starting After the client-side program of operation installation on an operating system, third is created based on the second client mirror image and runs mirror image, and will be The boot entry started of uniting is changed to third by the second operation mirror image and runs mirror image.
Corresponding to the system reducing method in Fig. 1 to Fig. 3, the embodiment of the present application also provides a kind of terminal devices, such as Fig. 5 Shown, which includes memory 1000, processor 2000 and is stored on the memory 1000 and can be in the processor 2000 The computer program of upper operation, wherein above-mentioned processor 2000 realizes above system reduction side when executing above computer program The step of method.
Specifically, above-mentioned memory 1000 and processor 2000 can be general memory and processor, not do here It is specific to limit, when the computer program of 2000 run memory 1000 of processor storage, it is able to carry out above system reduction side Method carries out thin subterminal system reducing to solve the problems, such as not installing Recovery card at present, and then reaches without installation also System reducing, the stronger effect of adaptability can be realized in original card.
Corresponding to the system reducing method in Fig. 1 to Fig. 3, the embodiment of the present application also provides a kind of computer-readable storages Medium is stored with computer program on the computer readable storage medium, is executed when which is run by processor The step of stating system reducing method.
Specifically, which can be general storage medium, such as mobile disk, hard disk, on the storage medium Computer program when being run, above system restoring method is able to carry out, to solve not installing Recovery card progress at present The problem of thin subterminal system reducing, and then reach and system reducing can be realized without installing Recovery card, adaptability is stronger Effect.
The computer program product of system reducing method and device that the embodiment of the present application is provided, including store program The computer readable storage medium of code, the instruction that program code includes can be used for executing the method in previous methods embodiment, Specific implementation can be found in embodiment of the method, and details are not described herein.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description It with the specific work process of device, can refer to corresponding processes in the foregoing method embodiment, details are not described herein.
If function is realized in the form of SFU software functional unit and when sold or used as an independent product, can store In a computer read/write memory medium.Based on this understanding, the technical solution of the application is substantially in other words to existing There is the part for the part or the technical solution that technology contributes that can be expressed in the form of software products, the computer Software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be personal meter Calculation machine, server or network equipment etc.) execute each embodiment method of the application all or part of step.And it is above-mentioned Storage medium includes:USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory The various media that can store program code such as (RAM, Random Access Memory), magnetic disc or CD.
More than, the only specific implementation mode of the application, but the protection domain of the application is not limited thereto, and it is any to be familiar with Those skilled in the art can easily think of the change or the replacement in the technical scope that the application discloses, and should all cover Within the protection domain of the application.Therefore, the protection domain of the application should be subject to the protection scope in claims.

Claims (10)

1. a kind of system reducing method, which is characterized in that the method includes:
System file based on acquisition creates three class mirror-images;Three class mirror-image include foundation image, the first client mirror image and First operation mirror image, wherein the foundation image is the virtual disk files comprising operating system and driver;Described first Client mirror image is the first difference virtual disk files comprising client-side program created by stamper of the foundation image;Institute It is the second difference virtual disk files created by stamper of the first client mirror image to state the first operation mirror image, wherein including Required file and client-side program produce in operational process on an operating system when client-side program is run on an operating system Raw file;
The second operation mirror image is created based on the first client mirror image;The second operation mirror image is with first client Mirror image is the third difference virtual disk files that stamper creates, wherein required when being run on an operating system comprising client-side program File;
When executing system reducing, the client in the operating system is mounted on based on the second operation image starting operation Program.
2. the method as described in claim 1, which is characterized in that described to create the second operation based on the first client mirror image Mirror image, including:
After the client-side program being mounted in the operating system based on the first operation image starting operation, based on described First client mirror image creates the second operation mirror image, and the boot entry that system starts is run mirror image by described first and is changed to institute State the second operation mirror image.
3. the method as described in claim 1, which is characterized in that the method further includes:
When needing to upgrade the client-side program, the second client mirror image is created based on the foundation image;Described second Client mirror image be created by stamper of the foundation image comprising upgrading after client-side program the 4th difference virtual magnetic Disk file;
Third, which is created, based on the second client mirror image runs mirror image;It is with the second client mirror image that third, which runs mirror image, For stamper create the 5th difference virtual disk files, wherein comprising upgrading after client-side program run on an operating system when Required file;
Client-side program after the upgrading being mounted in the operating system based on third operation image starting operation.
4. method as claimed in claim 3, which is characterized in that determined and needed to the client-side program liter according to following steps Grade:
Obtain the client-side program version information of server end;
The client-side program version information of acquisition and local client-side program version information are compared;
If the client-side program version information of the server end is higher than the local client-side program version information, it is determined that It needs to upgrade the client-side program.
5. method as described in claim 3 or 4, which is characterized in that if client-side program upgrading is to execute the system System reduction executes later, then is based on the second client mirror image and creates third operation mirror image, including:
After the client-side program being mounted in the operating system based on the second operation image starting operation, based on described Second client mirror image creates third and runs mirror image, and the boot entry that system starts is run mirror image by described second and is changed to institute State third operation mirror image.
6. a kind of system reducing device, which is characterized in that described device includes:
Three class mirror-image creation modules are used for the system file based on acquisition, create three class mirror-images;Three class mirror-image includes basis Mirror image, the first client mirror image and the first operation mirror image, wherein the foundation image is comprising operating system and driver Virtual disk files;The first client mirror image is the comprising client-side program created by stamper of the foundation image One difference virtual disk files;The first operation mirror image is the second difference created using the first client mirror image as stamper Virtual disk files, wherein file and client-side program required when being run on an operating system comprising client-side program exists The file generated in operational process in operating system;
Mirror image creation module is run, for creating the second operation mirror image based on the first client mirror image;Second operation Mirror image is the third difference virtual disk files created using the first client mirror image as stamper, wherein including client-side program Required file when running on an operating system;
System reducing execution module, for when executing system reducing, being mounted on based on the second operation image starting operation Client-side program in the operating system.
7. device as claimed in claim 6, which is characterized in that the operation mirror image creation module is specifically used for based on institute The operation of the first operation image starting is stated after the client-side program in the operating system, is based on the first client end mirror As creating the second operation mirror image, and the boot entry that system starts is run into mirror image by described first and is changed to the second operation mirror Picture.
8. device as claimed in claim 6, which is characterized in that described device further includes:
Client upgrading operation module, for when needing to upgrade the client-side program, being created based on the foundation image Second client mirror image;The second client mirror image is to be created by stamper of the foundation image comprising the client after upgrading Hold the 4th difference virtual disk files of program;Third, which is created, based on the second client mirror image runs mirror image;Third is run Mirror image is the 5th difference virtual disk files created using the second client mirror image as stamper, wherein including the visitor after upgrading Family end program file required when running on an operating system;It is mounted on the behaviour based on third operation image starting operation Make the client-side program after the upgrading in system.
9. device as claimed in claim 8, which is characterized in that described device further includes:
Client upgrades determining module, the client-side program version information for obtaining server end;By the client of acquisition End program version information and local client-side program version information are compared;If the client-side program version of the server end This information is higher than the local client-side program version information, it is determined that needs to upgrade the client-side program.
10. device as claimed in claim 8 or 9, which is characterized in that the client upgrading operation module is specifically used for After the client-side program being mounted in the operating system based on the second operation image starting operation, based on second visitor Family end mirror picture creates third and runs mirror image, and the boot entry that system starts is run mirror image by described second and is changed to the third Run mirror image.
CN201810202009.9A 2018-03-12 2018-03-12 A kind of system reducing method and device Active CN108572889B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810202009.9A CN108572889B (en) 2018-03-12 2018-03-12 A kind of system reducing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810202009.9A CN108572889B (en) 2018-03-12 2018-03-12 A kind of system reducing method and device

Publications (2)

Publication Number Publication Date
CN108572889A true CN108572889A (en) 2018-09-25
CN108572889B CN108572889B (en) 2019-10-18

Family

ID=63573890

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810202009.9A Active CN108572889B (en) 2018-03-12 2018-03-12 A kind of system reducing method and device

Country Status (1)

Country Link
CN (1) CN108572889B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112463165A (en) * 2021-02-03 2021-03-09 北京并行科技股份有限公司 Program mirror image construction method, system, computing device and readable storage medium

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102037444A (en) * 2008-05-20 2011-04-27 思杰系统有限公司 Methods and systems for patching multiple disk images derived from a common base disk image
CN102193807A (en) * 2010-03-19 2011-09-21 联想(北京)有限公司 Method for upgrading image file, server and computer network system
US20120054743A1 (en) * 2010-08-31 2012-03-01 Yuji Fujiwara Information Processing Apparatus and Client Management Method
CN102419753A (en) * 2010-09-28 2012-04-18 联想(北京)有限公司 Information processing equipment, information processing method and information processing system
US20130031548A1 (en) * 2011-07-29 2013-01-31 Tatsuya Kurozumi Information processing apparatus and storage medium
CN103019802A (en) * 2012-11-20 2013-04-03 中标软件有限公司 Virtual machine management method and virtual machine management platform
CN103778032A (en) * 2014-01-26 2014-05-07 宝龙计算机系统(湖南)有限公司 Unix-like operating system backup method and device
US20150161151A1 (en) * 2007-10-11 2015-06-11 Parallels IP Holdings GmbH Method and system for creation, analysis and navigation of virtual snapshots
CN105094948A (en) * 2015-07-31 2015-11-25 杭州华为数字技术有限公司 System mirror image file updating method of virtual machine, cloud data center and system
CN105404506A (en) * 2015-10-30 2016-03-16 广州云晫信息科技有限公司 Construction method and system of cloud computing mirror image document
CN105450759A (en) * 2015-12-02 2016-03-30 浙江宇视科技有限公司 System mirror image management method and device
US20160357769A1 (en) * 2015-06-08 2016-12-08 Storagecraft Technology Corporation Capturing post-snapshot quiescence writes in a branching image backup chain

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150161151A1 (en) * 2007-10-11 2015-06-11 Parallels IP Holdings GmbH Method and system for creation, analysis and navigation of virtual snapshots
CN102037444A (en) * 2008-05-20 2011-04-27 思杰系统有限公司 Methods and systems for patching multiple disk images derived from a common base disk image
CN102193807A (en) * 2010-03-19 2011-09-21 联想(北京)有限公司 Method for upgrading image file, server and computer network system
US20120054743A1 (en) * 2010-08-31 2012-03-01 Yuji Fujiwara Information Processing Apparatus and Client Management Method
CN102419753A (en) * 2010-09-28 2012-04-18 联想(北京)有限公司 Information processing equipment, information processing method and information processing system
US20130031548A1 (en) * 2011-07-29 2013-01-31 Tatsuya Kurozumi Information processing apparatus and storage medium
CN103019802A (en) * 2012-11-20 2013-04-03 中标软件有限公司 Virtual machine management method and virtual machine management platform
CN103778032A (en) * 2014-01-26 2014-05-07 宝龙计算机系统(湖南)有限公司 Unix-like operating system backup method and device
US20160357769A1 (en) * 2015-06-08 2016-12-08 Storagecraft Technology Corporation Capturing post-snapshot quiescence writes in a branching image backup chain
CN105094948A (en) * 2015-07-31 2015-11-25 杭州华为数字技术有限公司 System mirror image file updating method of virtual machine, cloud data center and system
CN105404506A (en) * 2015-10-30 2016-03-16 广州云晫信息科技有限公司 Construction method and system of cloud computing mirror image document
CN105450759A (en) * 2015-12-02 2016-03-30 浙江宇视科技有限公司 System mirror image management method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112463165A (en) * 2021-02-03 2021-03-09 北京并行科技股份有限公司 Program mirror image construction method, system, computing device and readable storage medium

Also Published As

Publication number Publication date
CN108572889B (en) 2019-10-18

Similar Documents

Publication Publication Date Title
US10579355B2 (en) Docker container operating method and apparatus
US10289400B2 (en) Outdated resource handling and multiple-version upgrade of cloud software
CN107766050B (en) Heterogeneous application deployment method and device
CN106415494B (en) Enhanced updating of digital content
AU2014324086B2 (en) Virtual computing systems and methods
CN108132826B (en) Mirror image management method and device for cross-cloud server and server
EP2893441B1 (en) Generating native code from intermediate language code for an application
EP2815311B1 (en) Using an application cache to update resources of installed applications
US20080209275A1 (en) Test framework for testing an application
EP3005160B1 (en) Bundle package retrieving
CN107783821A (en) Vehicle-mounted integral virtual method and device
US9542174B2 (en) Deployment of software images with distinct configuration logic
CN103984575A (en) Rapid deployment method of cluster Linux operation system in cloud-computing environment
AU2014324086A1 (en) Virtual computing systems and methods
WO2012000879A1 (en) Hypervisor selection for hosting a virtual machine image
EP3005100A1 (en) Bundle package generation
US20150178105A1 (en) Method and System for Optimizing Virtual Disk Provisioning
CN103476002A (en) Method and device for data interaction
US20090210871A1 (en) System and method for software application migration
EP3005204A1 (en) Bundle package signing
CN111104201A (en) System migration method and device, electronic equipment and storage medium
CN106126303B (en) Installation method, the apparatus and system of (SuSE) Linux OS
CN108304209A (en) Firmware upgrade method and firmware upgrade system
CN110851143A (en) Source code deployment method, device, equipment and storage medium
CN108572889B (en) A kind of system reducing method and device

Legal Events

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