CN105487880A - Mirror image distribution and use method based on service request and mirror image distribution and use system based on service request - Google Patents
Mirror image distribution and use method based on service request and mirror image distribution and use system based on service request Download PDFInfo
- Publication number
- CN105487880A CN105487880A CN201510356744.1A CN201510356744A CN105487880A CN 105487880 A CN105487880 A CN 105487880A CN 201510356744 A CN201510356744 A CN 201510356744A CN 105487880 A CN105487880 A CN 105487880A
- Authority
- CN
- China
- Prior art keywords
- service
- mirror image
- client
- scripts
- request
- 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.)
- Withdrawn
Links
Abstract
The invention provides a mirror image distribution and use method based on a service request and a mirror image distribution and use system based on the service request. According to the method, a service file requested to run is resolved; an operating system required by running and a software runtime library are judged; a service mirror image request is sent to a mirror image pool according to the judging result; a corresponding service mirror image is downloaded; and finally, a virtualization environment is generated according to the corresponding service mirror image so that the service file can run in the environment. The method and the system provided by the invention have the advantages that the automatic distribution and use of the service mirror image is realized, and the human process is effectively reduced.
Description
Technical field
The present invention relates to mirror image distribution and operation technique field, particularly relate to the distribution of a kind of mirror image based on service request and using method and system.
Background technology
Mirror image is distributed in cloud application very consequence, for different business scenarios, virtual operating system environment is all not quite similar, some business just can be run in windows system environments, some business scenarios can only run in linux environment, Linux system is also divided into the system environments that centos, ubuntu etc. are different, and all operating system have 32 and 64 point.Existing mirror image distribution technology focuses on virtualized environment more and disposes, and seldom virtualized environment is disposed combining with automatic distributing, especially based on business mirror image automatic distributing and the use of concrete service request.
Summary of the invention
For the deficiencies in the prior art, the present invention proposes the distribution of a kind of mirror image based on service request and using method and system, according to different service request, from the mirrored pool safeguarded, obtain corresponding business mirror image, and generating virtual environment, for service operation.
Concrete summary of the invention comprises:
Based on mirror image distribution and the using method of service request, comprising:
Client is resolved the service scripts that request runs, and obtains static information, judges the operation system belonging to service scripts according to static information, and the running software storehouse needed for running;
Operation system belonging to service scripts and the running software storehouse needed for operation, the mirrored pool of client sends business mirror request;
Mirrored pool, according to business mirror request, is inquired about corresponding business Mirror Info and is returned to client, after client receives corresponding service Mirror Info, downloads corresponding service mirror image from mirrored pool;
Client, according to the corresponding service mirror image generating virtual environment downloaded, is run for service scripts.
Further, the described operation system judging belonging to service scripts according to static information, and the running software storehouse needed for running, be specially: the header information reading service scripts, obtain the file layout condition code of service scripts, judge service scripts form, judge the operation system belonging to service scripts and the running software storehouse needed for operation according to service scripts form.
Further, described mirrored pool is uploaded to the time of mirrored pool according to each business mirror image, for each business mirror image generates uniquely identified uuid, as the storaging mark of business mirror image at mirrored pool.
Further, described client, according to the corresponding service mirror image generating virtual environment downloaded, is also included in the virtualized environment snapshot that client preserves corresponding service mirror image.
Based on mirror image distribution and the system of use of service request, comprising:
Service resolution module, resolves the service scripts that request runs for client, obtains static information, judges the operation system belonging to service scripts according to static information, and the running software storehouse needed for running;
Image request module, for the running software storehouse needed for the operation system belonging to service scripts and operation, the mirrored pool of client sends business mirror request, mirrored pool is according to business mirror request, inquire about corresponding business Mirror Info and return to client, after client receives corresponding service Mirror Info, download corresponding service mirror image from mirrored pool;
Service operation module, for client according to the corresponding service mirror image generating virtual environment downloaded, runs for service scripts.
Further, the described operation system judging belonging to service scripts according to static information, and the running software storehouse needed for running, be specially: the header information reading service scripts, obtain the file layout condition code of service scripts, judge service scripts form, judge the operation system belonging to service scripts and the running software storehouse needed for operation according to service scripts form.
Further, described mirrored pool is uploaded to the time of mirrored pool according to each business mirror image, for each business mirror image generates uniquely identified uuid, as the storaging mark of business mirror image at mirrored pool.
Further, described service operation module, also for preserving the virtualized environment snapshot of corresponding service mirror image in client.
The invention has the beneficial effects as follows:
Existing mirror image distribution technology focuses on virtualized environment more and disposes, seldom virtualized environment is disposed and combine with automatic distributing, especially based on business mirror image automatic distributing and the use of concrete service request, for above-mentioned the deficiencies in the prior art, the present invention proposes the distribution of a kind of mirror image based on service request and using method and system, according to different service request, the corresponding business mirror image of automatic acquisition from the mirrored pool safeguarded, and generating virtual environment, for service operation.The present invention supports several operation systems and software runtime environment, and adaptive different system and environment figure place, be applicable to miscellaneous service scene, business mirror image in mirrored pool is marked by uuid, ensure that the uniqueness of each mirror image, be convenient to searching and the maintenance of mirror image when asking mirror image simultaneously, present invention achieves robotization distribution and the use of business mirror image, decrease artificial flow process, The invention also achieves virtual environment snapshot functions, the virtualized environment snapshot of used business mirror image is kept at this locality, be convenient to use in the future, eliminate the process again downloaded, reduce the pressure of server, improve response speed.
Accompanying drawing explanation
In order to be illustrated more clearly in the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, the accompanying drawing that the following describes is only some embodiments recorded in the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of distribution of the mirror image based on service request of the present invention and the method flow diagram used;
Fig. 2 is a kind of distribution of the mirror image based on service request of the present invention and the system construction drawing used.
Embodiment
In order to make those skilled in the art person understand technical scheme in the embodiment of the present invention better, and enable above-mentioned purpose of the present invention, feature and advantage become apparent more, below in conjunction with accompanying drawing, technical scheme in the present invention is described in further detail.
The present invention gives the distribution of a kind of mirror image based on service request and the embodiment of the method used, as shown in Figure 1, comprising:
S101: client is resolved the service scripts that request runs, obtains static information, comprises PE header file information, format information, structural information;
S102: judge the operation system belonging to service scripts according to static information, and the running software storehouse needed for running, as service scripts needs, by office2007 running software in the windows7 system of 32;
S103: the operation system belonging to service scripts and the running software storehouse needed for operation, the mirrored pool of client sends business mirror request;
S104: mirrored pool is according to business mirror request, inquire about corresponding business Mirror Info and return to client, conveniently inquiry business mirror image in mirrored pool, business mirror image adopts the combination of its respective operations system and operating software to name, as win7_office07_32, Linux_Nutch6.0_64, if the business mirror request information that server end mirrored pool receives is, the service scripts asked needs in 32 windows7 systems by office2007 running software, then in mirrored pool, inquiry is called the business Mirror Info of win7_office07_32, and return to client,
S105: after client receives corresponding service Mirror Info, downloads corresponding service mirror image from mirrored pool;
S106: client, according to the corresponding service mirror image generating virtual environment downloaded, is run for service scripts.
Preferably, the described operation system judging belonging to service scripts according to static information, and the running software storehouse needed for running, be specially: the header information reading service scripts, obtain the file layout condition code of service scripts, judge service scripts form, judge the operation system belonging to service scripts and the running software storehouse needed for operation according to service scripts form.
Preferably, described mirrored pool is uploaded to the time of mirrored pool according to each business mirror image, for each business mirror image generates uniquely identified uuid, as the storaging mark of business mirror image at mirrored pool.
Preferably, described client, according to the corresponding service mirror image generating virtual environment downloaded, is also included in the virtualized environment snapshot that client preserves corresponding service mirror image, so that Reusability in the future.
The present invention gives the distribution of a kind of mirror image based on service request and the system embodiment used, and as shown in Figure 2, comprising:
Service resolution module 201, resolves the service scripts that request runs for client, obtains static information, judges the operation system belonging to service scripts according to static information, and the running software storehouse needed for running;
Image request module 202, for the running software storehouse needed for the operation system belonging to service scripts and operation, the mirrored pool of client sends business mirror request, mirrored pool is according to business mirror request, inquire about corresponding business Mirror Info and return to client, after client receives corresponding service Mirror Info, download corresponding service mirror image from mirrored pool;
Service operation module 203, for client according to the corresponding service mirror image generating virtual environment downloaded, runs for service scripts.
Preferably, the described operation system judging belonging to service scripts according to static information, and the running software storehouse needed for running, be specially: the header information reading service scripts, obtain the file layout condition code of service scripts, judge service scripts form, judge the operation system belonging to service scripts and the running software storehouse needed for operation according to service scripts form.
Preferably, described mirrored pool is uploaded to the time of mirrored pool according to each business mirror image, for each business mirror image generates uniquely identified uuid, as the storaging mark of business mirror image at mirrored pool.
Preferably, described service operation module 203, also for preserving the virtualized environment snapshot of corresponding service mirror image in client.
In this instructions, the embodiment of method adopts the mode of going forward one by one to describe, and for the embodiment of system, because it is substantially similar to embodiment of the method, so description is fairly simple, relevant part illustrates see the part of embodiment of the method.The present invention proposes the distribution of a kind of mirror image based on service request and using method and system, according to different service request, the corresponding business mirror image of automatic acquisition from the mirrored pool safeguarded, and generating virtual environment, for service operation.The present invention supports several operation systems and software runtime environment, and adaptive different system and environment figure place, be applicable to miscellaneous service scene, business mirror image in mirrored pool is marked by uuid, ensure that the uniqueness of each mirror image, be convenient to searching and the maintenance of mirror image when asking mirror image simultaneously, present invention achieves robotization distribution and the use of business mirror image, decrease artificial flow process, The invention also achieves virtual environment snapshot functions, the virtualized environment snapshot of used business mirror image is kept at this locality, be convenient to use in the future, eliminate the process again downloaded, reduce the pressure of server, improve response speed.
Although depict the present invention by embodiment, those of ordinary skill in the art know, the present invention has many distortion and change and do not depart from spirit of the present invention, and the claim appended by wishing comprises these distortion and change and do not depart from spirit of the present invention.
Claims (8)
1., based on mirror image distribution and the using method of service request, it is characterized in that, comprising:
Client is resolved the service scripts that request runs, and obtains static information, judges the operation system belonging to service scripts according to static information, and the running software storehouse needed for running;
Operation system belonging to service scripts and the running software storehouse needed for operation, the mirrored pool of client sends business mirror request;
Mirrored pool, according to business mirror request, is inquired about corresponding business Mirror Info and is returned to client, after client receives corresponding service Mirror Info, downloads corresponding service mirror image from mirrored pool;
Client, according to the corresponding service mirror image generating virtual environment downloaded, is run for service scripts.
2. the method for claim 1, it is characterized in that, the described operation system judging belonging to service scripts according to static information, and the running software storehouse needed for running, be specially: the header information reading service scripts, obtain the file layout condition code of service scripts, judge service scripts form, judge the operation system belonging to service scripts and the running software storehouse needed for operation according to service scripts form.
3. the method for claim 1, is characterized in that, described mirrored pool is uploaded to the time of mirrored pool according to each business mirror image, for each business mirror image generates uniquely identified uuid, as the storaging mark of business mirror image at mirrored pool.
4. the method for claim 1, is characterized in that, described client, according to the corresponding service mirror image generating virtual environment downloaded, is also included in the virtualized environment snapshot that client preserves corresponding service mirror image.
5., based on mirror image distribution and the system of use of service request, it is characterized in that, comprising:
Service resolution module, resolves the service scripts that request runs for client, obtains static information, judges the operation system belonging to service scripts according to static information, and the running software storehouse needed for running;
Image request module, for the running software storehouse needed for the operation system belonging to service scripts and operation, the mirrored pool of client sends business mirror request, mirrored pool is according to business mirror request, inquire about corresponding business Mirror Info and return to client, after client receives corresponding service Mirror Info, download corresponding service mirror image from mirrored pool;
Service operation module, for client according to the corresponding service mirror image generating virtual environment downloaded, runs for service scripts.
6. system as claimed in claim 5, it is characterized in that, the described operation system judging belonging to service scripts according to static information, and the running software storehouse needed for running, be specially: the header information reading service scripts, obtain the file layout condition code of service scripts, judge service scripts form, judge the operation system belonging to service scripts and the running software storehouse needed for operation according to service scripts form.
7. system as claimed in claim 5, it is characterized in that, described mirrored pool is uploaded to the time of mirrored pool according to each business mirror image, for each business mirror image generates uniquely identified uuid, as the storaging mark of business mirror image at mirrored pool.
8. system as claimed in claim 5, is characterized in that, described service operation module, also for preserving the virtualized environment snapshot of corresponding service mirror image in client.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510356744.1A CN105487880A (en) | 2015-06-25 | 2015-06-25 | Mirror image distribution and use method based on service request and mirror image distribution and use system based on service request |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510356744.1A CN105487880A (en) | 2015-06-25 | 2015-06-25 | Mirror image distribution and use method based on service request and mirror image distribution and use system based on service request |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105487880A true CN105487880A (en) | 2016-04-13 |
Family
ID=55674878
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510356744.1A Withdrawn CN105487880A (en) | 2015-06-25 | 2015-06-25 | Mirror image distribution and use method based on service request and mirror image distribution and use system based on service request |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105487880A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107783814A (en) * | 2016-08-29 | 2018-03-09 | 中国石油化工股份有限公司 | Software asset concentrated protection method and system |
CN107819802A (en) * | 2016-09-13 | 2018-03-20 | 华为软件技术有限公司 | A kind of mirror image acquisition methods, node device and server in node cluster |
CN107888695A (en) * | 2017-11-23 | 2018-04-06 | 新华三云计算技术有限公司 | Cloud platform creates the method and cloud platform equipment of mirror image |
CN109495536A (en) * | 2017-09-13 | 2019-03-19 | 互联企信公司 | Dynamic computing environment distribution for liaison centre's interaction |
CN113407308A (en) * | 2021-06-24 | 2021-09-17 | 龙芯中科(合肥)技术有限公司 | Container mirror image obtaining method and device |
CN114625486A (en) * | 2022-05-12 | 2022-06-14 | 武汉四通信息服务有限公司 | ISO medium management system, method and device, information service easy cloud and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030217131A1 (en) * | 2002-05-17 | 2003-11-20 | Storage Technology Corporation | Processing distribution using instant copy |
US20090100420A1 (en) * | 2007-09-10 | 2009-04-16 | Moka5, Inc. | Automatic Acquisition and Installation of Software Upgrades for Collections of Virtual Machines |
CN101621535A (en) * | 2009-06-19 | 2010-01-06 | 许继集团有限公司 | Network communication method and device of real-time monitoring system |
CN102110009A (en) * | 2009-12-28 | 2011-06-29 | 中国移动通信集团公司 | Method for deploying application in virtual platform and virtual platform manager |
CN104142847A (en) * | 2013-05-06 | 2014-11-12 | 中国银联股份有限公司 | Stateless virtual machine under cloud computation environment and application thereof |
-
2015
- 2015-06-25 CN CN201510356744.1A patent/CN105487880A/en not_active Withdrawn
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030217131A1 (en) * | 2002-05-17 | 2003-11-20 | Storage Technology Corporation | Processing distribution using instant copy |
US20090100420A1 (en) * | 2007-09-10 | 2009-04-16 | Moka5, Inc. | Automatic Acquisition and Installation of Software Upgrades for Collections of Virtual Machines |
CN101621535A (en) * | 2009-06-19 | 2010-01-06 | 许继集团有限公司 | Network communication method and device of real-time monitoring system |
CN102110009A (en) * | 2009-12-28 | 2011-06-29 | 中国移动通信集团公司 | Method for deploying application in virtual platform and virtual platform manager |
CN104142847A (en) * | 2013-05-06 | 2014-11-12 | 中国银联股份有限公司 | Stateless virtual machine under cloud computation environment and application thereof |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107783814A (en) * | 2016-08-29 | 2018-03-09 | 中国石油化工股份有限公司 | Software asset concentrated protection method and system |
CN107819802A (en) * | 2016-09-13 | 2018-03-20 | 华为软件技术有限公司 | A kind of mirror image acquisition methods, node device and server in node cluster |
CN109495536A (en) * | 2017-09-13 | 2019-03-19 | 互联企信公司 | Dynamic computing environment distribution for liaison centre's interaction |
CN107888695A (en) * | 2017-11-23 | 2018-04-06 | 新华三云计算技术有限公司 | Cloud platform creates the method and cloud platform equipment of mirror image |
CN107888695B (en) * | 2017-11-23 | 2019-09-13 | 新华三云计算技术有限公司 | The method and cloud platform equipment of cloud platform creation mirror image |
CN113407308A (en) * | 2021-06-24 | 2021-09-17 | 龙芯中科(合肥)技术有限公司 | Container mirror image obtaining method and device |
CN114625486A (en) * | 2022-05-12 | 2022-06-14 | 武汉四通信息服务有限公司 | ISO medium management system, method and device, information service easy cloud and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105487880A (en) | Mirror image distribution and use method based on service request and mirror image distribution and use system based on service request | |
US9513949B2 (en) | Machine identity persistence for users of non-persistent virtual desktops | |
US9854045B2 (en) | Generic cloud enabling of stateful applications | |
US10455003B2 (en) | Method, server, and system for sharing resource data | |
US9760448B1 (en) | Hot recovery of virtual machines | |
CN105975413B (en) | For migrating the controller and method that the RDMA memory of virtual machine maps | |
US20170249141A1 (en) | Hot deployment in a distributed cluster system | |
US20160378456A1 (en) | Method for offline updating virtual machine images | |
CN101944129B (en) | Diskless system, workstation thereof, and building method of local root file by workstation | |
WO2017106722A8 (en) | Methods and systems of a sponsored mobile data usage platform | |
US10356212B2 (en) | Application delivery to a computing device using dynamic application volume creation and streaming | |
SG11201908347WA (en) | Rental vehicle operation management system | |
US10038752B2 (en) | Method and system for execution of client-initiated operations on file handles in a distributed server system | |
WO2014022555A3 (en) | Image repository systems and methods | |
US20150310735A1 (en) | Systems and Methods for Multi-Device Interaction | |
WO2017124027A3 (en) | Collaborative platform communication, application development and use | |
CN103077034B (en) | hybrid virtualization platform JAVA application migration method and system | |
CN105278972A (en) | A system and method using a dynamic install package to allow users to fast become friends | |
CN107071007B (en) | Method, device and client for obtaining configuration resources | |
CN105955805A (en) | Application container transferring method and device | |
US10757179B2 (en) | Assigning client virtual machines based on location | |
US8510423B2 (en) | Install system and install method | |
CN108255500B (en) | Cobbler-based operating system automatic installation method compatible with virtualization architecture | |
CN107229647A (en) | Official documents and correspondence update method and device | |
CN114124739B (en) | Method and device for deploying FreeWITCH service, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20160413 |
|
WW01 | Invention patent application withdrawn after publication |