CN102929625A - Grabbing method and device for application template - Google Patents

Grabbing method and device for application template Download PDF

Info

Publication number
CN102929625A
CN102929625A CN2012104212378A CN201210421237A CN102929625A CN 102929625 A CN102929625 A CN 102929625A CN 2012104212378 A CN2012104212378 A CN 2012104212378A CN 201210421237 A CN201210421237 A CN 201210421237A CN 102929625 A CN102929625 A CN 102929625A
Authority
CN
China
Prior art keywords
template
virtual machine
file system
root
mapping relations
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2012104212378A
Other languages
Chinese (zh)
Inventor
李瑞平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SHADOWIN TECHNOLOGIES Inc
BEIJING SHADOWIN TECHNOLOGIES Co Ltd
Original Assignee
SHADOWIN TECHNOLOGIES Inc
BEIJING SHADOWIN 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 SHADOWIN TECHNOLOGIES Inc, BEIJING SHADOWIN TECHNOLOGIES Co Ltd filed Critical SHADOWIN TECHNOLOGIES Inc
Priority to CN2012104212378A priority Critical patent/CN102929625A/en
Publication of CN102929625A publication Critical patent/CN102929625A/en
Pending legal-status Critical Current

Links

Images

Landscapes

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

Abstract

The invention provides a grabbing method and a grabbing device for a template of an application program. The method includes receiving an instruction of grabbing a software application template, changing a mapping relation of a root of a virtual machine file system, waiting until the software installation process execution is completed, redirecting newly increased files in the installation process to the real position pointed by the mapping relation, finding out the real position of the root mapping of the virtual machine file system, and packaging the files and contents included in the real position contents to obtain a template file. According to the grabbing method and the grabbing device for the application template, required space for grabbing template is saved, the speed of grabbing template is improved, the obtained template is good in universality and convenient to share among multiple users, and the user resource is saved.

Description

Applying template grasping means and device
Technical field
The present invention relates to the template of application program, especially the grasping means of the template of application program and device.
Background technology
Applying template, it is exactly the template of application program, be exactly that our frequent seen some exempt to install the software of version, unzip to the application that hard disk just can directly use, green cracks version etc. this application and all belongs to applying template, and some applying templates that present market can be seen all are some small tools or game etc.
The method for making of applying template in the prior art: the template of generally making an application, be exactly nothing but before application is installed, file is done a mirror image, store the information of current file system, use the mirror image that tries again afterwards Deng installation, by the before and after image contrast, newly-increased file is grasped.The file that crawls out is exactly an applying template.
If be unlikely substantially but will make a general template of exempting to install as the software of Office and Adobe series, because application program also can record a large amount of registry information except generating necessary file in the process of installing, wherein a series of registry information relevant with the active user become the key that can not make general template.So it is not that briefly the file that produces in the installation process to be extracted be exactly a template that template is used, except file also has registration table, the software and hardware configuration of current system and active user's relevant information have been recorded in the registration table, if stiff taking goes to use the problem that certainly has among another user.In addition, because spanned file is many in the above-mentioned software installation process, it is large to take up room.Therefore, making repeatedly mirror image, need to take disk space huge, and relatively mirror image obtains chronic that newly-increased file needs.Need to expend the very long stand-by period when user need to make template, need to prepare a large amount of storage spaces.
The characteristic of ShadoWin virtual machine has determined that he is a virtual machine that is fit to the crawl common template, at first the system of each Virtual User is consistent with user profile, so do not need the problem of considering that user profile there are differences, template not only can grasp, template after the crawl realizes general can also for each user of ShadoWin, next is according to the characteristic of ShadoWin virtual machine, template for such crawl can be so that load, can realize template " sharing ", this also is an exclusive template mechanism of ShadoWin virtual machine.
Bright shared characteristics for instance, a company has a station server to use to 100 employees, each employee's computer the inside requires these application, Office for example, Photoshop, Skype etc., these are used shared network hard disc resource size estimates and is 10G, if a station server has 100 users' situation to illustrate, each user will install these application just needs 1000G, if the user only installs some and uses the space of just having wasted 10G in the cloud desktop, user network dish resource for an inch of land is an inch of gold on the cloud desktop, this probably is that the user can not accept, and exclusive template and the load mode of ShadoWin exactly solved this difficult problem, only needs to keep this 10G template on the server and gets final product, each user can load this template, do not take any user network disk space, and the load time is short, speed is fast, and this is the characteristics that the method obtains applying template.
The crawl of template becomes solve the problems of the technologies described above basic and crucial, therefore proposes a kind of grasping means of template, can generate quickly and easily the software application template.
Summary of the invention
A kind of grasping means of applying template may further comprise the steps:
Steps A receives the instruction of crawl software application template;
Step B, the mapping relations of the root of change virtual machine file system;
Step C waits for that the installation process of described software is finished, and the newly-increased file in the installation process is redirected to the actual position that described mapping relations are pointed to;
Step D finds the actual position of the root mapping of virtual machine file system, and file and catalogue packing that this actual position is comprised obtain template file.
Aforesaid grasping means, wherein the instruction in the steps A comprises that the user triggers indication information, is used to indicate system, requires the applying template of the one or more softwares of crawl.
Aforesaid grasping means, the mapping relations among the step B are arranged by a corresponding table of actual situation relation, and the path in the virtual machine file system is mapped to real position on the network hard disc.
Aforesaid grasping means before above-mentioned steps B, is preserved the original mappings relation of the root of virtual machine file system, and after step D finished, then the mapping relations with the root of virtual machine file system reverted to the original mappings relation.
A kind of grabbing device of applying template comprises with lower module:
Receiver module receives the instruction of crawl software application template;
The change module, the mapping relations of change virtual machine file system;
Installation module waits for that the installation process of described software is finished, and the newly-increased file in the installation process is redirected to the actual position that described mapping relations are pointed to;
Packetization module finds the actual position of the root mapping of virtual machine file system, and file and the catalogue packing that comprises in this actual position catalogue obtained template file.
Aforesaid grabbing device, wherein the instruction of receiver module reception comprises indication information, is used to indicate system, requires the applying template of the one or more softwares of crawl.
Aforesaid grabbing device, the mapping relations in the change are arranged by a corresponding table of actual situation relation, and the path in the virtual machine file system is mapped to real position on the network hard disc.
Description of drawings
Fig. 1 is according to applying template grabbing device synoptic diagram of the present invention
Fig. 2 is according to applying template grasping means synoptic diagram of the present invention
Fig. 3 is according to path of the present invention mapping relations synoptic diagram
Embodiment
The invention provides a kind of grasping means of applying template, may further comprise the steps:
Steps A receives the instruction of crawl software application template;
Step B, the mapping relations of the root of change virtual machine file system;
Step C waits for that the installation process of described software is finished, and the newly-increased file in the installation process is redirected to the actual position that described mapping relations are pointed to;
Step D finds the actual position of the root mapping of virtual machine file system, and file and catalogue packing that this actual position is comprised obtain template file.
Below explain in detail above-mentioned steps by illustrative rather than restrictive embodiment.
Steps A, system receive the instruction of crawl software application template.This instruction comprises indication information, can clear and definite indication mechanism, require the applying template of the one or more softwares of crawl.
Step B, the mapping relations of the root of change virtual machine file system.The virtual machine file system is actually a virtual file system, and each catalogue in this document system or file are corresponding with real position on the network hard disc, and namely each virtual route is mapped to true path.This mapping relations are arranged by a corresponding table of actual situation relation in system.The root of file system can be understood as the first degree root directory of whole file system, and each logical drive in the file system can be used as the sub-directory of this root directory.Sub-directory or the file that certainly, can also comprise again more multi-layered level in each logical drive.For example a typical catalogue can be in the virtual machine file system: " C: windows system ", it is corresponding the position of a reality on network hard disc, for example be "@(NTROOT) C windows system ".Mapping relations between the two are to be stipulated by the corresponding table of the relation of the actual situation in the system.Therefore usually the actual position that then can be mapped in the network hard disc of the write operation in the virtual machine file system carries out.In step B, the mapping relations of the root of virtual machine file system are changed, be mapped in the true catalogue of a default network hard disc, for example can be "@(NTMODULE) ".Preferably, the true catalogue of this default network hard disc should be an empty list.
Step C, the installation process of the software of waiting step A indicating is finished.At this moment, the installation source file of described one or more softwares is started respectively operation, may be to writing in files in a plurality of logical drives of virtual machine file system, if existence then can write in the registry file modification or the increase of registration table in the software installation process.Because in step B, the mapping relations of the root of virtual machine file system are modified, and therefore, the file in the middle of the above-mentioned installation process writes, and all are redirected on the actual position in the network hard disc of mapping.For example can be in "@(NTMODULE) " catalogue.
Step D, the actual position that finds root to shine upon obtains template file with the file packing that comprises in this actual position catalogue.After end is installed, newly-increased All Files in the installation process comprises registry file, all can be kept in the actual position catalogue in the network hard disc of mapping of root of virtual machine file system, with all the newly-increased files in the catalogue of this position and catalogue packing, template namely is applied.
On the basis of above-described embodiment, the present invention also provides further the optional embodiment to function optimization and enhancing.
Preferably, before above-mentioned steps B, can preserve the original mappings relation of the root of virtual machine file system, after step D finished, then the mapping relations with the root of virtual machine file system reverted to the original mappings relation.
Preferably, in above-mentioned steps D, in order to save storage space, the applying template that above-mentioned packing obtains can be compressed.
Preferably, in above-mentioned steps A, can obtain described software needed spatial content is installed, after the step B before the step C, judge the remaining spatial content of actual position of the root mapping of virtual machine file system, the crawl of prompting template may be failed when the remaining space off-capacity, and whether prompting user needs the Extended Spaces capacity.When the user determines the Extended Spaces capacity, for the actual position of the root of virtual machine file system mapping distributes enough spatial contents.
The present invention also provides a kind of grabbing device of applying template, comprises with lower module:
Receiver module receives the instruction of crawl software application template;
The change module, the mapping relations of the root of change virtual machine file system;
Installation module waits for that the installation process of described software is finished, and the newly-increased file in the installation process is redirected to the actual position that described mapping relations are pointed to;
Packetization module finds the actual position of the root mapping of virtual machine file system, and file and the catalogue packing that comprises in this actual position catalogue obtained template file.
Aforesaid grabbing device, wherein the instruction of receiver module reception comprises indication information, is used to indicate system, requires the applying template of the one or more softwares of crawl.
Aforesaid grabbing device, the mapping relations in the change are arranged by a corresponding table of actual situation relation, and the path in the virtual machine file system is mapped to real position on the network hard disc.
By applying template grasping means and the device that adopts the present invention to describe, can once grasp the template of needed one or more application programs, the crawl process has not only contained newly-increased file and directory information, but also comprised the change information of registration table, the template versatility of crawl is good, be convenient to sharing between the multi-user and share, and needn't each user grasp voluntarily.It is little to grasp required spatial content, needn't expend large quantity space and be used for preserving the mirror image contrast that front and back are installed, and has also improved the speed of crawl simultaneously owing to saved above-mentioned steps.
Compare with tradition crawl template method, the present invention can save the required space of crawl template, improve crawl template speed, and the template versatility of acquisition is good, is convenient to share between the multi-user, saves user resources.Solve all the time pendent technical matters, obtained significant technique effect.
Method in the embodiments of the present invention and/or module all can realize by one or more the combination in software, firmware, the hardware, are not limited to realize with a certain mode.Above embodiment is exemplary description, is not the restriction to protection domain of the present invention.

Claims (7)

1. the grasping means of an applying template may further comprise the steps:
Steps A receives the instruction of crawl software application template;
Step B, the mapping relations of the root of change virtual machine file system;
Step C waits for that the installation process of described software is finished, and the newly-increased file in the installation process is redirected to the actual position that described mapping relations are pointed to;
Step D finds the actual position of the root mapping of virtual machine file system, and file and the catalogue packing that comprises in this actual position catalogue obtained template file.
2. grasping means as claimed in claim 1, wherein the instruction in the steps A comprises indication information, is used to indicate system, requires the applying template of the one or more softwares of crawl.
3. grasping means as claimed in claim 1, the mapping relations among the step B are arranged by a corresponding table of actual situation relation, and the path in the virtual machine file system is mapped to real position on the network hard disc.
4. grasping means as claimed in claim 1 before above-mentioned steps B, is preserved the original mappings relation of the root of virtual machine file system, and after step D finished, then the mapping relations with the root of virtual machine file system reverted to the original mappings relation.
5. the grabbing device of an applying template comprises with lower module:
Receiver module receives the instruction of crawl software application template;
The change module, the mapping relations of the root of change virtual machine file system;
Installation module waits for that the installation process of described software is finished, and the newly-increased file in the installation process is redirected to the actual position that described mapping relations are pointed to;
Packetization module finds the actual position of the root mapping of virtual machine file system, and file and the catalogue packing that comprises in this actual position catalogue obtained template file.
6. grabbing device as claimed in claim 5, wherein the instruction that receives of receiver module comprises indication information, is used to indicate system, requires the applying template of the one or more softwares of crawl.
7. grabbing device as claimed in claim 5, the mapping relations in the change are arranged by a corresponding table of actual situation relation, and the path in the virtual machine file system is mapped to real position on the network hard disc.
CN2012104212378A 2012-10-30 2012-10-30 Grabbing method and device for application template Pending CN102929625A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012104212378A CN102929625A (en) 2012-10-30 2012-10-30 Grabbing method and device for application template

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012104212378A CN102929625A (en) 2012-10-30 2012-10-30 Grabbing method and device for application template

Publications (1)

Publication Number Publication Date
CN102929625A true CN102929625A (en) 2013-02-13

Family

ID=47644437

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012104212378A Pending CN102929625A (en) 2012-10-30 2012-10-30 Grabbing method and device for application template

Country Status (1)

Country Link
CN (1) CN102929625A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109564473A (en) * 2016-08-23 2019-04-02 谷歌有限责任公司 System and method for placement of the virtual role in enhancing/reality environment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101710290A (en) * 2009-12-17 2010-05-19 东南大学 Method for implementing portable mobile desktop terminal
US20100293193A1 (en) * 2001-06-01 2010-11-18 Landnet Corporation Document geospatial shape tagging, searching, archiving, and retrieval software

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100293193A1 (en) * 2001-06-01 2010-11-18 Landnet Corporation Document geospatial shape tagging, searching, archiving, and retrieval software
CN101710290A (en) * 2009-12-17 2010-05-19 东南大学 Method for implementing portable mobile desktop terminal

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
XXY171070: "WMware ThinApp使用教程", 《HTTP://WENKU.BAIDU.COM/LINK?URL=CVFVOQGSEYFJD3WNDBWWBLAIDSJ7SILIIGFGVARN-HW9PW3RBVWLWVYLV9WHL2U4CANFT771YYR6JN3-LK1BL507BH-5QWR7PEP2ZHFVJ3G》, 25 September 2011 (2011-09-25), pages 1 - 8 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109564473A (en) * 2016-08-23 2019-04-02 谷歌有限责任公司 System and method for placement of the virtual role in enhancing/reality environment

Similar Documents

Publication Publication Date Title
US11599545B2 (en) Stream retention in a data storage system
CN105872078B (en) Mixed cloud desktop system and management method
US10764202B2 (en) Container-based mobile code offloading support system in cloud environment and offloading method thereof
US7971049B2 (en) Systems and methods for managing user configuration settings
KR101930117B1 (en) Volatile memory representation of nonvolatile storage device set
US9389932B2 (en) Systems and methods for remote storage management
EP2972893B1 (en) Caching content addressable data chunks for storage virtualization
US10754632B2 (en) Converting desktop applications into cloud services
US9792075B1 (en) Systems and methods for synthesizing virtual hard drives
US9851991B2 (en) Isolation of virtual machine I/O in multi-disk hosts
US9646020B2 (en) Integrated format conversion during disk upload
US9459897B2 (en) System and method for providing data analysis service in cloud environment
US8707005B2 (en) Data control systems for virtual environments
CN103605562A (en) Method for migrating kernel-based virtual machine (KVM) between physical hosts
CN102915270B (en) Method for recording storage I/O (input/output) requirement and verifying pressure simulation
US20200192539A1 (en) System and method for operating system event redirection
US20140201481A1 (en) Domain protection and virtualization for sata
CN104601666A (en) Log service method and cloud platform
CN103207817A (en) Automatic reduction method for virtual machine
CN102929625A (en) Grabbing method and device for application template
CN103019847A (en) Method and system for migrating data of virtual machine
CN102968366B (en) The local storage means of a kind of Blu-ray player daily record and device
US20140297953A1 (en) Removable Storage Device Identity and Configuration Information
US9483294B2 (en) Deferring the cost of virtual storage
US20080244219A1 (en) Method and apparatus for controlling a single-user application in a multi-user operating system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20130213