CN102193807B - Method for upgrading image file, server and computer network system - Google Patents

Method for upgrading image file, server and computer network system Download PDF

Info

Publication number
CN102193807B
CN102193807B CN201010129889.5A CN201010129889A CN102193807B CN 102193807 B CN102193807 B CN 102193807B CN 201010129889 A CN201010129889 A CN 201010129889A CN 102193807 B CN102193807 B CN 102193807B
Authority
CN
China
Prior art keywords
mirror image
increment
foundation
image
client
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.)
Active
Application number
CN201010129889.5A
Other languages
Chinese (zh)
Other versions
CN102193807A (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201010129889.5A priority Critical patent/CN102193807B/en
Publication of CN102193807A publication Critical patent/CN102193807A/en
Application granted granted Critical
Publication of CN102193807B publication Critical patent/CN102193807B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention provides a method for upgrading an image file, a server and a computer network system. The method comprises the following steps of: upgrading a first basic image and obtaining a second basic image; and obtaining a second gain image according to a first gain file and the second basic image, wherein the first gain file is a gain of the first basic image on a file system level, and the second gain image is combined with the second basic image so as to generate a second virtual disk. By the method, a new second gain image is generated on the basis of the new upgraded second basic image according to the first gain file of a user, so individual data of a client is stored; therefore, after a shared basic image is upgraded, the individual data of the client cannot lose.

Description

Method, server and computer network system that a kind of image file is upgraded
Technical field
The present invention relates to mirror image technology field, be specifically related to the method for a kind of image file upgrading, server and computer network system.
Background technology
Inside enterprise computing environment, the centralized management of data can increase data security and the reliability of enterprise effectively, can also greatly reduce the maintenance of keeper simultaneously.A feature of this way to manage is exactly user data face all on the server, and the damage of client machine and hardware are lost and can not be brought any loss to the data of enterprise.If the mirror image of computer operating system is also placed on above server, generate a unified foundation image, this foundation image is shared by multiple client, each client can both start the operating system based on this foundation image and normally run, then more can reduce the maintenance workload of keeper.A foundation image file, is just equivalent to a virtual physical hard disk, by shared foundation image mode, is just equivalent to the hard disk of user to be all put on server, concentrates and provides data, services.Image file is all the file based on sector level usually, namely comprising there being sector auxiliary information.
The method of uniform operating system mirror image is provided now to have a lot, as thin-client (thin client), virtual desktop infrastructure (VDI, Virtual Desktop Infrastructure), non-disk workstation etc., and two kinds are mainly contained to the management maintenance of image file:
As shown in Figure 1, face provides a general foundation image shared to the first scheme on the server, and each user uses this same foundation image to start.In operational process, server will generate corresponding interim increment image file to each user conversation.After conversation end, interim increment image file will be deleted, and ensures that the foundation image file shared can not be modified.The benefit of this method is that keeper arbitrarily can upgrade and control foundation image file, and shortcoming is configuration information and the data file that user can not preserve oneself.
First scheme as shown in Figure 2, face provides a general foundation image shared on the server, time each user uses, capital generates the increment image file of personal according to this foundation image, is combined into a new virtual disk mirror image by this foundation image and increment image file.Increment image file is the delta file based on sector level, and namely user can be kept at corresponding sector in increment image file to the write operation of any sector of foundation image.The benefit of such way is, by shared foundation image, can greatly reduce the operating system file that user shares, thus reduce the storage space of these repeating datas.Again by increment image file, the data of differentiation can also be provided to preserve for each user, make each user can record oneself important configuration information and data file.But the shortcoming of this method is, form the increment image file (i.e. incremental data dish) of oneself user after, if keeper upgrades foundation image file again, the increment image file based on former foundation image will be caused to lose efficacy, cause the loss of the individuation data of user.
Summary of the invention
Embodiment of the present invention technical matters to be solved is to provide method, server and the computer network system that a kind of image file is upgraded, and after upgrading to foundation image, still can retain the individuation data of user.
For solving the problems of the technologies described above, the embodiment of the present invention provides scheme as follows:
A kind of method of image file upgrading, be applied to a server end, wherein, described server end has first foundation mirror image and the first increment mirror image, described first increment mirror image is at the increment of sector level to described first foundation mirror image, can generate the first virtual disk based on described first foundation mirror image and described first increment mirror image, described method comprises:
Described first foundation mirror image of upgrading obtains the second foundation image;
The second increment mirror image is obtained according to the first delta file and described second foundation image, described first delta file is at the increment of file system level to described first foundation mirror image, and described second increment mirror image can be used in being combined to generate the second virtual disk with described second foundation image.
Preferably, in said method,
Described foundation first delta file and described second foundation image obtain the second increment mirror image and comprise:
According to described second foundation image, generate the 3rd virtual disk and create the 3rd increment mirror image;
According to described first delta file, the respective file in described 3rd virtual disk is modified;
Record in described 3rd mirror image increment and preserve the described amendment record revising corresponding sector, obtaining described second increment mirror image.
Preferably, in said method, before described upgrading, also comprise:
Client with increment mirror image can WriteMode start after, according to described first foundation mirror image and described first increment mirror image, generate described first virtual disk;
According to the write operation of described client to described first virtual disk, revise sector corresponding in described first increment mirror image, and in described first delta file, preserve the amendment record of file corresponding to described write operation.
Preferably, in said method, also comprise:
After client starts with a reading mode of increment mirror image, according to described first foundation mirror image and described first increment mirror image, generate described first virtual disk and an interim increment mirror image;
According to the write operation of described client to described first virtual disk, revise sector corresponding in described interim increment mirror image;
After described client is closed, delete described interim increment mirror image.
The embodiment of the present invention additionally provides a kind of server, comprising:
First foundation mirror image, the first increment mirror image and the first delta file, described first increment mirror image is at the increment of sector level to described first foundation mirror image, can generate the first virtual disk based on described first foundation mirror image and described first increment mirror image, described first delta file is at the increment of file system level to described first foundation mirror image;
Described server also comprises:
Image upgrade unit, for upgrading, described first foundation mirror image obtains the second foundation image;
Increment obtains unit, and for obtaining the second increment mirror image according to the first delta file and described second foundation image, described second increment mirror image can be used in being combined to generate the second virtual disk with described second foundation image.
Preferably, in above-mentioned server, described increment obtains unit and comprises:
First generation unit, for according to described second foundation image, generates the 3rd virtual disk and creates the 3rd increment mirror image;
Disk amendment unit, for according to described first delta file, modifies to the respective file in described 3rd virtual disk;
Record storage unit, for recording in described 3rd mirror image increment and preserving the described amendment record revising corresponding sector, obtains described second increment mirror image.
Preferably, in above-mentioned server, also comprise:
Second generation unit, for client with increment mirror image can WriteMode start after, according to described first foundation mirror image and described first increment mirror image, generate described first virtual disk;
First write operation unit, for according to the write operation of described client to described first virtual disk, revises sector corresponding in described first increment mirror image, and in described first delta file, preserves the amendment record of file corresponding to described write operation.
Preferably, in above-mentioned server, also comprise:
3rd generation unit, for after client starts with a reading mode of increment mirror image, according to described first foundation mirror image and described first increment mirror image, generates described first virtual disk and an interim increment mirror image;
Second write operation unit, for according to the write operation of described client to described first virtual disk, revises sector corresponding in described interim increment mirror image;
Mirror image delete cells, for after described client is closed, deletes described interim increment mirror image.
The embodiment of the present invention additionally provides a kind of computer network system, comprising:
Server, and
At least one client be connected with described server;
Described server comprises:
First foundation mirror image, the first increment mirror image and the first delta file, described first increment mirror image is at the increment of sector level to described first foundation mirror image, can generate the first virtual disk for described client based on described first foundation mirror image and described first increment mirror image, described first delta file is at the increment of file system level to described first foundation mirror image;
Image upgrade unit, for upgrading, described first foundation mirror image obtains the second foundation image;
Increment obtains unit, and for obtaining the second increment mirror image according to the first delta file and described second foundation image, described second increment mirror image can be used in being combined with described second foundation image with the second virtual disk generated for described client.
Preferably, in above-mentioned system, described increment obtains unit and comprises:
First generation unit, for according to described second foundation image, generates the 3rd virtual disk and creates the 3rd increment mirror image;
Disk amendment unit, for according to described first delta file, modifies to the respective file in described 3rd virtual disk;
Record storage unit, for recording in described 3rd mirror image increment and preserving the described amendment record revising corresponding sector, obtains described second increment mirror image.
Preferably, in above-mentioned system, described server also comprises:
Second generation unit, for after WriteMode starts described first foundation mirror image, according to described first foundation mirror image and described first increment mirror image, generating described first virtual disk in described client with increment mirror image;
First write operation unit, for according to the write operation of described client to described first virtual disk, revises sector corresponding in described first increment mirror image, and in described first delta file, preserves the amendment record of file corresponding to described write operation.
Preferably, in above-mentioned system, described server also comprises:
3rd generation unit, for after described client starts described first foundation mirror image with a reading mode for increment mirror image, according to described first foundation mirror image and described first increment mirror image, generates described first virtual disk and an interim increment mirror image;
Second write operation unit, for according to the write operation of described client to described first virtual disk, revises sector corresponding in described interim increment mirror image;
Mirror image delete cells, for after described client is closed, deletes described interim increment mirror image.
As can be seen from the above, method, server and computer network system that a kind of image file that the embodiment of the present invention provides is upgraded, by preserving the individuation data of client based on user's delta file of file-level, after first foundation image upgrade, according to user's delta file, the basis of the second foundation image of new upgrading generates new increment image file, thus save the individuation data of client, can not the individuation data of lost customer end after the foundation image upgrading making to share.And, when in the embodiment of the present invention, client starts at every turn, all the foundation image based on sector level and increment image file, relative to prior art in client terminal start-up process, all configurations of client and the Starting mode of data file is loaded by initial configuration driver, embodiment of the present invention tool is short for systematic start-up time, the advantage that Consumer's Experience is good.
Accompanying drawing explanation
Fig. 1 is the method schematic diagram of a kind of management maintenance image file in prior art;
Fig. 2 is the method schematic diagram of another kind of management maintenance image file in prior art;
Fig. 3 is the schematic diagram of the method for image file upgrading described in the embodiment of the present invention;
Fig. 4 is the structural representation of server described in the embodiment of the present invention.
Embodiment
Embodiment of the present invention server end, while the increment image file preserving client, also preserves one based on other user's delta file of file system level; After to foundation image upgrading, according to this user's delta file, upgrade the increment image file of client, ensure that the individuation data of this client can not be lost.Below with reference to accompanying drawing, by specific embodiment, the present invention is further illustrated.
Please refer to Fig. 3, the method of image file upgrading described in the embodiment of the present invention, be applied to a server end, wherein, described server end has first foundation mirror image and the first increment mirror image, described first increment mirror image is at the increment of sector level to described first foundation mirror image, the first virtual disk can be generated based on described first foundation mirror image and described first increment mirror image, described first virtual disk can as the system disk of client or data disks, for client provides system file or data, services, said method comprising the steps of:
Step 31, described first foundation mirror image of upgrading obtains the second foundation image;
Step 32, the second increment mirror image is obtained according to the first delta file and described second foundation image, described first delta file is at the increment of file system level to described first foundation mirror image, and described second increment mirror image can be used in being combined to generate the second virtual disk with described second foundation image.
Here, after first foundation image upgrade is the second foundation image, according to the first delta file and described second foundation image of client, for described client generates the new increment image file (the second increment mirror image) based on sector level.
After above-mentioned steps 32, server can also according to described second foundation image and described second increment image file, and generate the second virtual disk for client, this second virtual disk can be system disk or data disks.Virtual disk (as first, second virtual disk etc.) is a kind of logic function that server provides for client, but not in esse physical disk.Use for user, virtual disk is transparent, and user uses virtual disk as use local disk.
Below above-mentioned steps is described in detail.
In the present embodiment, described first foundation mirror image can be the foundation image that multiple client is shared, and for each client, server preserves the first increment mirror image and first delta file of this client respectively.Described first increment mirror image is the delta file based on sector level, wherein preserves the amendment record of client to the sector in first foundation mirror image.The records such as described first delta file is based on other delta file of file system level, wherein preserves the amendment record of client to the file in first foundation mirror image, the increase and decrease of such as operating system configuration, data file.Here, first foundation mirror image is read-only for client, and any amendment of client to foundation image is all realized by the first increment mirror image of this client.In the present embodiment, first foundation mirror image page: 7
Can be for client provides the mirror image of system disk, support the os starting of client; Also can be the mirror image for clients providing data dish, support the data access of client.Server, according to the startup command of client, based on the first mirror image increment of first foundation mirror image with this client, generates the first virtual disk for this client.
At some time, keeper can upgrade to first foundation mirror image as required, such as, when first foundation mirror image is operating system mirror image, keeper may need regularly to operating system patch installing or increase new application program etc., these all can cause the upgrading of foundation image, from first foundation image upgrade before to the second foundation image.After foundation image upgrades to the second foundation image, by unavailable for the first increment mirror image based on sector-level before causing, therefore the present embodiment is by above-mentioned steps 32, and regenerate a new increment image file (the second increment mirror image), above-mentioned steps 32 specifically comprises:
Step 321, according to described second foundation image, generates the 3rd virtual disk and creates the 3rd increment mirror image.
Here, server directly generates one the 3rd virtual disk according to the second foundation image, and creates one the 3rd increment mirror image based on the 3rd virtual disk.The first virtual disk is not generated according to the second foundation image and the first increment mirror image in this step.Relative to the first virtual disk, in the 3rd virtual disk, do not comprise the amendment of the sector of recording in the first increment mirror image.
Step 322, according to described first delta file, modifies to the respective file in described 3rd virtual disk.
Here, the first increment mirror image and the first delta file record the increment to first foundation mirror image all respectively, and difference is, the first increment mirror image is the increment based on sector level, have recorded the amendment information of disk sector; First delta file be then based on file system level other, have recorded the amendment information of disk file system.Therefore, after foundation image upgrading causes sector to change, the first increment mirror image based on the sector of first foundation mirror image will lose efficacy, and what record due to it based on the first delta file of higher level (file system level) is other increment of file system level, therefore can be applied on the 3rd virtual disk, the file system of the 3rd virtual disk is modified, thus recovers the legacy data of the client recorded in the first delta file.
Step 323, records and preserves the described amendment record revising corresponding sector, obtaining described second increment mirror image in described 3rd mirror image increment.
Here, in the process of modifying according to the file of the first delta file to the 3rd virtual disk, by preserving the amendment record of the sector involved by this amendment in the 3rd increment mirror image, obtain the second increment mirror image, this second increment mirror image have recorded the increment of the first delta file to the second foundation image from sector level.
As can be seen from the above, due to new increment image file be based on upgrading before user's delta file obtain, wherein preserve the individuation data of client, therefore can not the individuation data of lost customer end after the present embodiment foundation image upgrading that can ensure to share.Simultaneously, due to the image file that the second increment mirror image and the second foundation image are all based on sector level, therefore when client starts at every turn, all the foundation image based on sector level and increment mirror image, relative to prior art in client terminal start-up process, load all configurations of client and the Starting mode of data file by initial configuration driver, the start-up time that the present embodiment has long system is short, the advantage that user's experience is good.
The present embodiment before upgrading obtains above-mentioned second foundation image, server place preserve each client, based on the first increment mirror image of sector level, also preserve simultaneously each client, based on other first delta file of file system intercaste.First increment mirror image of each client and the first delta file, all create when this client initiating switchup.The present embodiment support client with increment mirror image can WriteMode or only reading mode start, be described respectively below.
(1) with increment mirror image can after WriteMode starts described client, server according to the described client of described first foundation mirror image and current preservation, based on the first increment mirror image of sector level, generate the first virtual disk of described client; Server, according to the write operation of described client to described first virtual disk, is revised sector corresponding in described first increment mirror image, and in described first delta file, is preserved the amendment record of file corresponding to described write operation.
Can under WriteMode, client, to the write operation of the first virtual disk, will cause the first mirror image increment of this client that corresponding change occurs, thus save the individuation data of this client.
(2) after starting described client with a reading mode for increment mirror image, according to the described client of described first foundation mirror image and current preservation, based on the increment image file of sector level, generate virtual disk mirror image and an interim increment image file of described client; According to the write operation of described client to described first virtual disk, revise sector corresponding in described interim increment mirror image; After described client is closed, delete described interim increment image file.
Under reading mode, client is to the write operation of the first virtual disk, the first mirror image delta file of this client can't be caused to change, in described first delta file, now no longer preserve the amendment record of file corresponding to described write operation, namely can't preserve the individuation data that client write operation produces under only reading mode.
Based on the method that above-described image file is upgraded, the present embodiment additionally provides a kind of server.As shown in Figure 4, this server 40 comprises:
First foundation mirror image, the first increment mirror image and the first delta file, described first increment mirror image is at the increment of sector level to described first foundation mirror image, can generate the first virtual disk based on described first foundation mirror image and described first increment mirror image, described first delta file is at the increment of file system level to described first foundation mirror image;
Described server also comprises:
Image upgrade unit, for upgrading, described first foundation mirror image obtains the second foundation image;
Increment obtains unit, and for obtaining the second increment mirror image according to the first delta file and described second foundation image, described second increment mirror image can be used in being combined to generate the second virtual disk with described second foundation image.
Preferably, in above-mentioned server, described increment obtains unit and comprises:
First generation unit, for according to described second foundation image, generates the 3rd virtual disk and creates the 3rd increment mirror image;
Disk amendment unit, for according to described first delta file, modifies to the respective file in described 3rd virtual disk;
Record storage unit, for recording in described 3rd mirror image increment and preserving the described amendment record revising corresponding sector, obtains described second increment mirror image.
Server described in the present embodiment can support client with increment mirror image can the startup of WriteMode, now, described server also comprises:
Second generation unit, for client with increment mirror image can WriteMode start after, according to described first foundation mirror image and described first increment mirror image, generate described first virtual disk;
First write operation unit, for according to the write operation of described client to described first virtual disk, revises sector corresponding in described first increment mirror image, and in described first delta file, preserves the amendment record of file corresponding to described write operation.
Server described in the present embodiment also can support that client is with the startup of a reading mode of increment mirror image, and now, described server also comprises:
3rd generation unit, for after client starts with a reading mode of increment mirror image, according to described first foundation mirror image and described first increment mirror image, generates described first virtual disk and an interim increment mirror image;
Second write operation unit, for according to the write operation of described client to described first virtual disk, revises sector corresponding in described interim increment mirror image;
Mirror image delete cells, for after described client is closed, deletes described interim increment mirror image.
Finally, the embodiment of the present invention additionally provides a kind of computer network system, comprising:
Server, and
At least one client be connected with described server;
Described server specifically comprises again:
First foundation mirror image, the first increment mirror image and the first delta file, described first increment mirror image is at the increment of sector level to described first foundation mirror image, can generate the first virtual disk for described client based on described first foundation mirror image and described first increment mirror image, described first delta file is at the increment of file system level to described first foundation mirror image;
Image upgrade unit, for upgrading, described first foundation mirror image obtains the second foundation image;
Increment obtains unit, and for obtaining the second increment mirror image according to the first delta file and described second foundation image, described second increment mirror image can be used in being combined with described second foundation image with the second virtual disk generated for described client.
Preferably, in above computer network system, described increment obtains unit and comprises:
First generation unit, for according to described second foundation image, generates the 3rd virtual disk and creates the 3rd increment mirror image;
Disk amendment unit, for according to described first delta file, modifies to the respective file in described 3rd virtual disk;
Record storage unit, for recording in described 3rd mirror image increment and preserving the described amendment record revising corresponding sector, obtains described second increment mirror image.
Preferably, in above computer network system, described server also comprises:
Second generation unit, for after WriteMode starts described first foundation mirror image, according to described first foundation mirror image and described first increment mirror image, generating described first virtual disk in described client with increment mirror image;
First write operation unit, for according to the write operation of described client to described first virtual disk, revises sector corresponding in described first increment mirror image, and in described first delta file, preserves the amendment record of file corresponding to described write operation.
Preferably, in above computer network system, described server also comprises:
3rd generation unit, for after described client starts described first foundation mirror image with a reading mode for increment mirror image, according to described first foundation mirror image and described first increment mirror image, generates described first virtual disk and an interim increment mirror image;
Second write operation unit, for according to the write operation of described client to described first virtual disk, revises sector corresponding in described interim increment mirror image;
Mirror image delete cells, for after described client is closed, deletes described interim increment mirror image.
Finally, it is pointed out that the client described in the present embodiment, can be the client not having hard disk, also can have the client of hard disk.Concrete, described client can be thin-client (thin client) or virtual desktop infrastructure (VDI, Virtual Desktop Infrastructure) client.Such as VDI client, be the client having operating system and hard disk with oneself, operating system is provided with dummy machine system, dummy machine system may correspond to the virtual disk of runtime server.
The above is only embodiments of the present invention; it should be pointed out that for those skilled in the art, under the premise without departing from the principles of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (9)

1. the method for an image file upgrading, be applied to a server end, wherein, described server end has first foundation mirror image and the first increment mirror image, described first increment mirror image is at the increment of sector level to described first foundation mirror image, can generate the first virtual disk based on described first foundation mirror image and described first increment mirror image, it is characterized in that, described method comprises:
Described first foundation mirror image of upgrading obtains the second foundation image;
Obtain the second increment mirror image according to the first delta file and described second foundation image, comprising: according to described second foundation image, generate the 3rd virtual disk and create the 3rd increment mirror image; According to described first delta file, the respective file in described 3rd virtual disk is modified; Record in described 3rd increment mirror image and preserve the described amendment record revising corresponding sector, obtaining described second increment mirror image; Described first delta file is at the increment of file system level to described first foundation mirror image, and described second increment mirror image can be used in being combined to generate the second virtual disk with described second foundation image.
2. the method for claim 1, is characterized in that, before described upgrading, also comprises:
Client with increment mirror image can WriteMode start after, according to described first foundation mirror image and described first increment mirror image, generate described first virtual disk;
According to the write operation of described client to described first virtual disk, revise sector corresponding in described first increment mirror image, and in described first delta file, preserve the amendment record of file corresponding to described write operation.
3. the method for claim 1, is characterized in that, before described upgrading, also comprises:
After client starts with a reading mode of increment mirror image, according to described first foundation mirror image and described first increment mirror image, generate described first virtual disk and an interim increment mirror image;
According to the write operation of described client to described first virtual disk, revise sector corresponding in described interim increment mirror image;
After described client is closed, delete described interim increment mirror image.
4. a server, is characterized in that, comprising:
First foundation mirror image, the first increment mirror image and the first delta file, described first increment mirror image is at the increment of sector level to described first foundation mirror image, can generate the first virtual disk based on described first foundation mirror image and described first increment mirror image, described first delta file is at the increment of file system level to described first foundation mirror image;
Described server also comprises:
Image upgrade unit, for upgrading, described first foundation mirror image obtains the second foundation image;
Increment obtains unit, and for obtaining the second increment mirror image according to the first delta file and described second foundation image, described second increment mirror image can be used in being combined to generate the second virtual disk with described second foundation image; Increment obtains unit and comprises the first generation unit, disk amendment unit and record storage unit:
First generation unit, for according to described second foundation image, generates the 3rd virtual disk and creates the 3rd increment mirror image;
Disk amendment unit, for according to described first delta file, modifies to the respective file in described 3rd virtual disk;
Record storage unit, for recording in described 3rd increment mirror image and preserving the described amendment record revising corresponding sector, obtains described second increment mirror image.
5. server as claimed in claim 4, is characterized in that, also comprise:
Second generation unit, for client with increment mirror image can WriteMode start after, according to described first foundation mirror image and described first increment mirror image, generate described first virtual disk;
First write operation unit, for according to the write operation of described client to described first virtual disk, revises sector corresponding in described first increment mirror image, and in described first delta file, preserves the amendment record of file corresponding to described write operation.
6. server as claimed in claim 4, is characterized in that, also comprise:
3rd generation unit, for after client starts with a reading mode of increment mirror image, according to described first foundation mirror image and described first increment mirror image, generates described first virtual disk and an interim increment mirror image;
Second write operation unit, for according to the write operation of described client to described first virtual disk, revises sector corresponding in described interim increment mirror image;
Mirror image delete cells, for after described client is closed, deletes described interim increment mirror image.
7. a computer network system, comprising:
Server, and
At least one client be connected with described server;
It is characterized in that, described server comprises:
First foundation mirror image, the first increment mirror image and the first delta file, described first increment mirror image is at the increment of sector level to described first foundation mirror image, can generate the first virtual disk for described client based on described first foundation mirror image and described first increment mirror image, described first delta file is at the increment of file system level to described first foundation mirror image;
Image upgrade unit, for upgrading, described first foundation mirror image obtains the second foundation image;
Increment obtains unit, and for obtaining the second increment mirror image according to the first delta file and described second foundation image, described second increment mirror image can be used in being combined with the second virtual disk generated for described client with described second foundation image; Comprise the first generation unit, disk amendment unit and record storage unit:
First generation unit, for according to described second foundation image, generates the 3rd virtual disk and creates the 3rd increment mirror image;
Disk amendment unit, for according to described first delta file, modifies to the respective file in described 3rd virtual disk;
Record storage unit, for recording in described 3rd increment mirror image and preserving the described amendment record revising corresponding sector, obtains described second increment mirror image.
8. computer network system as claimed in claim 7, it is characterized in that, described server also comprises:
Second generation unit, for after WriteMode starts described first foundation mirror image, according to described first foundation mirror image and described first increment mirror image, generating described first virtual disk in described client with increment mirror image;
First write operation unit, for according to the write operation of described client to described first virtual disk, revises sector corresponding in described first increment mirror image, and in described first delta file, preserves the amendment record of file corresponding to described write operation.
9. computer network system as claimed in claim 7, it is characterized in that, described server also comprises:
3rd generation unit, for after described client starts described first foundation mirror image with a reading mode for increment mirror image, according to described first foundation mirror image and described first increment mirror image, generates described first virtual disk and an interim increment mirror image;
Second write operation unit, for according to the write operation of described client to described first virtual disk, revises sector corresponding in described interim increment mirror image;
Mirror image delete cells, for after described client is closed, deletes described interim increment mirror image.
CN201010129889.5A 2010-03-19 2010-03-19 Method for upgrading image file, server and computer network system Active CN102193807B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010129889.5A CN102193807B (en) 2010-03-19 2010-03-19 Method for upgrading image file, server and computer network system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010129889.5A CN102193807B (en) 2010-03-19 2010-03-19 Method for upgrading image file, server and computer network system

Publications (2)

Publication Number Publication Date
CN102193807A CN102193807A (en) 2011-09-21
CN102193807B true CN102193807B (en) 2015-04-29

Family

ID=44601925

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010129889.5A Active CN102193807B (en) 2010-03-19 2010-03-19 Method for upgrading image file, server and computer network system

Country Status (1)

Country Link
CN (1) CN102193807B (en)

Families Citing this family (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8904113B2 (en) * 2012-05-24 2014-12-02 International Business Machines Corporation Virtual machine exclusive caching
CN102999369B (en) * 2012-12-25 2016-08-17 杭州华三通信技术有限公司 The method and device of virtual machine upgrading
CN103970585B (en) * 2013-01-31 2017-10-27 新华三技术有限公司 Create the method and device of virtual machine
CN103777987B (en) * 2014-01-26 2017-09-15 北京国电通网络技术有限公司 The upgrade method and device of one species unix operating systems
CN103777953B (en) * 2014-01-26 2017-07-14 北京国电通网络技术有限公司 A kind of method and apparatus for making class Unix operating system update bags
CN103778033A (en) * 2014-01-26 2014-05-07 宝龙计算机系统(湖南)有限公司 Method and device for backing up Unix-like operating system at multiple time points
CN103777986B (en) * 2014-01-26 2017-12-12 江苏智光创业投资有限公司 One species Unix operating systems preserve the method and device of modification
CN103778032A (en) * 2014-01-26 2014-05-07 宝龙计算机系统(湖南)有限公司 Unix-like operating system backup method and device
CN103970572B (en) * 2014-05-21 2017-05-31 浪潮(北京)电子信息产业有限公司 A kind of server component upgrade method, equipment and system
CN104156256A (en) * 2014-08-22 2014-11-19 成都致云科技有限公司 Efficient and flexible cloud mainframe magnetic disk cloning method
CN106293512B (en) * 2016-07-27 2020-07-31 福建升腾资讯有限公司 Method for realizing trans-regional storage and distribution of basic mirror image based on Xen virtualization platform
CN106569873A (en) * 2016-10-17 2017-04-19 深圳市深信服电子科技有限公司 Deriving method and device of virtual machine
WO2018107361A1 (en) * 2016-12-13 2018-06-21 华为技术有限公司 Image processing method and computing device
CN109542493A (en) 2017-09-22 2019-03-29 华为技术有限公司 A kind of image upgrade method and apparatus
CN107608735A (en) * 2017-09-27 2018-01-19 郑州云海信息技术有限公司 A kind of container mirror image integrated approach and its device
CN108572889B (en) * 2018-03-12 2019-10-18 新华三云计算技术有限公司 A kind of system reducing method and device
CN109358857A (en) * 2018-08-22 2019-02-19 华为技术有限公司 Mirror image building, mirrored storage, mirror image distribution method and device
CN111221537A (en) * 2018-11-23 2020-06-02 中兴通讯股份有限公司 Cloud desktop upgrading method and device, cloud server and storage medium
CN111382136B (en) * 2018-12-29 2024-03-15 华为技术有限公司 File system mirror image and file request method
CN112882729A (en) * 2019-11-29 2021-06-01 顺丰科技有限公司 Application image upgrading method and device, computer equipment and storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1952902A (en) * 2005-10-21 2007-04-25 上海普宝网络科技有限公司 Operating system of digital multimedia network terminal and a protection method of operating system based on virtual file system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005301497A (en) * 2004-04-08 2005-10-27 Hitachi Ltd Storage management system, restoration method and its program
EP2283422B1 (en) * 2008-05-20 2018-07-18 Citrix Systems, Inc. Methods and systems for patching multiple disk images derived from a common base disk image

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1952902A (en) * 2005-10-21 2007-04-25 上海普宝网络科技有限公司 Operating system of digital multimedia network terminal and a protection method of operating system based on virtual file system

Also Published As

Publication number Publication date
CN102193807A (en) 2011-09-21

Similar Documents

Publication Publication Date Title
CN102193807B (en) Method for upgrading image file, server and computer network system
CN102142024B (en) Use in distributed data base and increase progressively seizure to carry out logical data backup and rollback
CN101460930B (en) Maintenance of link level consistency between database and file system
US10592354B2 (en) Configurable recovery states
CN104142847A (en) Stateless virtual machine under cloud computation environment and application thereof
CN104158858A (en) Method and system for accessing distributed cluster file system
CN102521114A (en) File system log storage system under virtualization environment
CN101136825A (en) Asynchronous configuration information management method and system for client terminal/server structure
CN104182257A (en) Application software installation method and device
US9207966B2 (en) Method and system for providing a high-availability application
CN102419753B (en) Information processing equipment, information processing method and information processing system
CN115686932B (en) Backup set file recovery method and device and computer equipment
CN101655805B (en) Method and device for constructing multilayered virtual operating system
US10635489B2 (en) Proxy object system
US8650160B1 (en) Systems and methods for restoring multi-tier applications
JP2013030128A (en) Information processing device and program
EP3769225B1 (en) Free space pass-through
CN103389909A (en) Rendering farm node virtualization deployment system and application thereof
CN111143302B (en) Method and device for tracking Office document content change
CN111026452B (en) Method and system for remote 32-bit process injection of 64-bit process
CN111913916A (en) File recombination method and equipment
CN111241042B (en) Distributed lock implementation method, system and equipment based on Etcd
Wang et al. Ensuring readability of electronic records based on virtualization technology in cloud storage
KR102618274B1 (en) Management system for data included in a container and control method thereof
CN202662000U (en) Node virtualization deployment device of render farm

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant