CN110362385A - Virtual machine configuration creation method and device, virtual machine creation method and device - Google Patents

Virtual machine configuration creation method and device, virtual machine creation method and device Download PDF

Info

Publication number
CN110362385A
CN110362385A CN201910666848.0A CN201910666848A CN110362385A CN 110362385 A CN110362385 A CN 110362385A CN 201910666848 A CN201910666848 A CN 201910666848A CN 110362385 A CN110362385 A CN 110362385A
Authority
CN
China
Prior art keywords
configuration
virtual machine
information
item
software
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
CN201910666848.0A
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.)
Tianjin Huayun Software Co Ltd
Original Assignee
Tianjin Huayun Software 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 Tianjin Huayun Software Co Ltd filed Critical Tianjin Huayun Software Co Ltd
Priority to CN201910666848.0A priority Critical patent/CN110362385A/en
Publication of CN110362385A publication Critical patent/CN110362385A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45562Creating, deleting, cloning virtual machine instances

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

This application provides a kind of virtual machine creation methods, this method is by the way that configuration information item to be shown in user interface in a manner of visual, and an input control is added for each configuration information item, user is that configuration information item inputs configuration instruction information by input control, and then this method generates configuration information content according to configuration instruction information, and configuration information content is handled by script and generates configuration file.As it can be seen that this method visualizes configuration information item, user need to only input required configuration instruction information in visualization interface, that is, the configuration file of virtual machine be produced, to simplify the generating process of configuration file, better user experience.In addition, present invention also provides a kind of relevant device of virtual machine creating, to guarantee the application and realization of the method in practice.

Description

Virtual machine configuration creation method and device, virtual machine creation method and device
Technical field
This application involves virtual machine technique fields, more specifically, being virtual machine configuration creation method and device, virtual Machine creation method and device.
Background technique
Software development, which needs to rely on, develops environment, and more and more people carry out software using the exploitation environment that virtual machine constructs Development.Specifically, Software Development Tools is installed, developer can be directly using virtual on virtual machine created Software Development Tools on machine carries out the exploitation of software project.
It is understood that creation virtual machine is needed using configuration file, configuration file is used to indicate which type of is created Virtual machine.Currently, configuration file is that developer writes manually, specifically, developer needs to write work in configuration file Input code in tool, so that configuration file authoring tool generates configuration file, this mode for writing configuration file is relatively complicated, User experience is not good enough.
Summary of the invention
In view of this, this application provides a kind of virtual machine configuration creation method, to solve to write manually among the above Code, the cumbersome problem of bring process.In addition, present invention also provides a kind of virtual machine creation methods;And the application is also Virtual machine configuration creating device and virtual machine creating device are provided, to guarantee the application of the method in practice And it realizes.
In order to achieve the object, technical solution provided by the present application is as follows:
In a first aspect, this application provides a kind of virtual machine configuration creation methods, comprising:
Virtual machine configuration interface is shown, wherein the virtual machine configuration interface includes: needed for creation virtual machine with confidence Cease the corresponding input control of item;
Obtain the configuration instruction information that user inputs in the input control;
Based on the configuration instruction information, the corresponding configuration information content of the configuration information item is generated;
Script processing is carried out to the configuration information item and the corresponding configuration information content of the configuration information item, is used In the configuration file of creation virtual machine.
Second aspect, this application provides a kind of virtual machine creation methods, comprising:
The configuration file for creating virtual machine is obtained, the configuration file includes configuration information item and configuration information item Corresponding configuration information content, the configuration information content are to be generated based on configuration instruction information, and the configuration instruction is believed Breath is that user passes through the input control input in virtual machine configuration interface;
The configuration file is input in virtual machine creating tool, to trigger the virtual machine creating tool according to described in Configuration file creates virtual machine.
The third aspect, this application provides a kind of virtual machine creating devices, comprising:
Configuration interface display module, for showing virtual machine configuration interface, wherein the virtual machine configuration interface includes: wound The corresponding input control of configuration information item needed for building virtual machine;
Indicate data obtaining module, the configuration instruction information inputted in the input control for obtaining user;
Information content generation module, for generating based on the configuration instruction information, the configuration information item is corresponding to match Set the information content;
Configuration file creation module, for in the configuration information item and the corresponding configuration information of the configuration information item Hold and carry out script processing, obtains the configuration file for creating virtual machine.
Fourth aspect, this application provides a kind of virtual machine creating devices, comprising:
Configuration file obtains module, and for obtaining the configuration file for creating virtual machine, the configuration file includes matching Item of information and the corresponding configuration information content of configuration information item are set, the configuration information content is raw based on configuration instruction information At, and the configuration instruction information is that user passes through the input control input in virtual machine configuration interface;
Virtual machine creating module, for the configuration file to be input in virtual machine creating tool, to trigger the void Quasi- machine creation tool creates virtual machine according to the configuration file.
By above scheme it is found that this application provides a kind of virtual machine creation method, this method is by by configuration information item It is shown in user interface in a manner of visual, and adds an input control, Yong Hutong for each configuration information item Crossing input control is that configuration information item inputs configuration instruction information, and then this method generates configuration information according to configuration instruction information Content, and configuration information content is handled by script and generates configuration file.As it can be seen that this method visualizes configuration information item, User need to only input required configuration instruction information in visualization interface, that is, the configuration file of virtual machine be produced, thus simple The generating process of configuration file, better user experience are changed.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The embodiment of application for those of ordinary skill in the art without creative efforts, can also basis The attached drawing of offer obtains other attached drawings.
Fig. 1 is a flow chart of virtual machine configuration creation method provided by the present application;
Fig. 2 is the visualization interface of popular software typing provided by the present application;
Fig. 3 is the visualization interface of popular software management provided by the present application;
Fig. 4 is the visualization interface of popular software provided by the present application selection;
Fig. 5 is a flow chart of virtual machine creation method provided by the present application;
Fig. 6 is a structure chart of virtual machine configuration creating device provided by the present application.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on Embodiment in the application, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall in the protection scope of this application.
Before creating virtual machine, the configuration file of virtual machine is first generated, and in the prior art, configuration file is by opening Made of hair personnel write manually, the mode for writing configuration file is excessively cumbersome.
For this purpose, this application provides a kind of virtual machine configuration creation method, to solve to write configuration file generation manually The cumbersome problem of code.Referring to Fig. 1, this method specifically includes step S101-S104.
S101: display virtual machine configuration interface, wherein virtual machine configuration interface includes: needed for creation virtual machine with confidence Cease the corresponding input control of item.
Specifically, virtual machine configuration interface is by the pre-set visual configuration interface of developer.At this In visual configuration interface, there are several configuration information items, configuration information item is matching of creating that virtual machine may use Set item of information.Several configuration information items are shown to user, so that user inputs the corresponding content of configuration information item.
In addition to configuration information item to be set in virtual machine configuration interface, developer is also each configuration information item creation Corresponding input control, so that user can input the corresponding content of configuration information item.User is realized by input control Data input, so that this method can generate configuration file according to the data that user inputs.Wherein, input control can wrap It includes: the control of selection control, text control and other forms.
Configuration information item may include two classes: first is that virtual machine attribute item of information, such as virtual machine title, virtual machine IP address The attribute information of equal virtual machines;Second is that installation software item, such as Apache, PHP, Nginx developing instrument.It should be noted that In the application scenarios of the application, the virtual machine of creation is mainly used for the exploitation of software, therefore the software installed is for developing The software or tool of software.
It should be noted that all configuration information items in virtual machine configuration interface are developers according in the prior art Virtual machine in configuration information item and the configuration information item that may be related to set, developer will be collected into advance Configuration information item all addition is in virtual machine configuration interface, to generate configuration interface.
A kind of generating mode of configuration interface are as follows: Visual Production interface is provided for user, so that user is in visual metaplasia At input configuration information item in interface.As shown in Fig. 2, user can be in the visualization interface of the popular software typing, it will be some To the visualization interface, the information of institute's typing has dbase, software version and the description to software for common software typing Etc. information, after information above is all filled in, then click the typing button in the visualization interface, complete the record of the software Enter.Operation can be managed to the software after success typing, as shown in figure 3, can be in the visualization interface of popular software management In the software of typing is managed, such as modification, delete relevant management and operate.These software informations of typing may include So that user selects in configuration interface.For example, need to only match in as shown in Figure 4 when user needs to create virtual machine Software needed for selection installation in interface is set, the software of user's selection can be used for generating configuration file.
S102: the configuration instruction information that user inputs in input control is obtained.
Specifically, input control and configuration information item have corresponding relationship, i.e., each configuration information item has corresponding defeated Enter control.User inputs configuration instruction information in input control, i.e. expression user and background program carries out data interaction, to refer to Show the associated configuration information content of configuration information item.As it can be seen that configuration information item indicates the item of information that creation virtual machine needs, user The data inputted in input control are configuration instruction information, and configuration instruction information is used to indicate the associated configuration of configuration information item The information content.It should be noted that configuration instruction information is used to indicate configuration information content, believe why it is referred to as configuration instruction Breath is because configuration instruction information can be also possible to obtain by configuration instruction information directly as configuration information content To configuration information content.
It is illustrated with how user inputs configuration instruction information.For example, user is by selection control to software PHP's It chooses when being chosen at window, background program can receive the configuration instruction information that user is inputted based on input control, More specifically, if user has chosen installation instruction frame, the configuration instruction information that background program receives at this time for the PHP software To install this software, i.e. background program will continue to execute following step according to this configuration instruction information.Other than selecting control, There is also other input controls, such as text control at the virtual machine configuration interface.
S103: being based on configuration instruction information, generates the corresponding configuration information content of configuration information item.
Specifically, it after background program receives configuration instruction information, generates corresponding with the configuration instruction information with confidence Cease content.Such as: certain user has selected PHP software in virtual machine configuration interface, from the background can according to the selected software of user, Generate the corresponding configuration information content of the software.PHP software needs to install on a virtual machine as configuration information content, expression PHP software.
S104: script processing is carried out to configuration information item and the corresponding configuration information content of configuration information item, is used for Create the configuration file of virtual machine.
Specifically, configuration information content can not directly carry out virtual machine creating, need to lead to the configuration information content It crosses after script processing and generates configuration file, configuration file generated could be by virtual machine creating equipment using creating void Quasi- machine.In particular it is required that configuration information content is packaged into configuration information file, which needs script to configuration information content It is packaged, to obtain configuration file.
Configuration file has certain format, and script processing is configuration information item and configuration information content according to this lattice Formula is organized, to obtain configuration file.It should be noted that configuration file can be the file of text formatting, such as txt lattice Formula.
By above scheme it is found that this application provides a kind of virtual machine configuration creation method, this method will be by that will match It sets item of information to be shown in user interface in a manner of visual, and adds an input control for each configuration information item Part, user are that configuration information item inputs configuration instruction information, and then this method is raw according to configuration instruction information by input control At configuration information content, and configuration information content is handled by script and generates configuration file.As it can be seen that this method is by configuration information Item visualization, user need to only input required configuration instruction information in visualization interface, that is, produce the configuration text of virtual machine Part, to simplify the creation process of configuration file, better user experience.
In practical applications, configuration information item may include: virtual machine attribute item of information;Correspondingly, in configuration interface Input control specifically includes: text control.That is, corresponding virtual machine attribute item of information is text control in configuration interface Part, so that user directly inputs the particular content of virtual machine attribute item of information in text control.
In one example, the configuration instruction information that user inputs in input control is obtained, configuration instruction information is based on, The corresponding configuration information content of configuration information item is generated, is specifically comprised the following steps:
Obtain the virtual machine attribute value of information that user inputs in text control;The virtual machine attribute value of information is determined as void The quasi- corresponding configuration information content of machine attribute information item.
Specifically, it is provided with text control for virtual machine attribute item of information in configuration interface, text control can receive use The content of the virtual machine attribute item of information of family input.For example, virtual machine attribute item of information includes virtual machine title, user can be Customized virtual machine title is inputted in text control, if user is that the virtual machine title that will be created is set as virtual machine A, i.e., The text information that " virtual machine A " is inputted in text control can extract the text after receiving the configuration instruction information from the background The content that user is inputted in control, and the configuration by " virtual machine A " as this virtual machine attribute item of information of virtual machine title The information content.
It should be noted that there may be multiple for virtual machine attribute item of information.For this purpose, the generation of the configuration file in the later period In the process, it needs all configuration information contents of virtual machine attribute item of information being packaged into a configuration file by script.
In practical applications, configuration information item may include: installation software item;Correspondingly, the input control in configuration interface Part specifically includes: selection control.That is, it is selection control that it is corresponding, which to install software item, in configuration interface, control is selected It is different from other controls, select control result can generate different configuration information contents according to the user's choice.
In one example, the configuration instruction information that user inputs in input control is obtained, configuration instruction information is based on, The corresponding configuration information content of configuration information item is generated, is specifically comprised the following steps:
It obtains the target that user selects in selection control and software is installed;In pre-set software information, mesh is obtained The corresponding software information of mark installation software;The software information of acquisition is determined as the corresponding configuration information content of software item is installed.
Specifically, configuration interface can provide multiple exploitation softwares alternately item so that user selection think it is to be mounted Develop software.In order to realize selection, configuration interface is that exploitation software alternate item is provided with selection control, selects control can be multiple Selected control is also possible to single choice control.
The implementation of single choice control specifically: each exploitation software can be corresponded to there are two configuration instruction information, wherein One is user by this exploitation software of selection control selection installation, another is then to select not install this exploitation software.If User selects the exploitation software of installation, which is then considered as target installation software, and backstage is then according to the selected mesh of user Mark installation software, obtains the corresponding software information of target installation software, which can be the name of target installation software Title, version, software installation packet position etc., are determined as configuration information content for the software information.
It should be noted that the selected target installation software of user may be multiple.For this purpose, backstage is needed each mesh The corresponding configuration information content of mark installation software and the configuration information content of virtual machine attribute item are packaged into one by script Configuration file.
Based on the virtual machine configuration of above-mentioned creation, present invention also provides a kind of virtual machine creation methods.Referring to figure 5, virtual machine creation method specifically includes step S501-S502.
S501: obtaining the configuration file for creating virtual machine, and configuration file includes configuration information item and configuration information The corresponding configuration information content of item, configuration information content are to be generated based on configuration instruction information, and configuration instruction information is to use Family passes through the input control input in virtual machine configuration interface.
S502: configuration file is input in virtual machine creating tool, to trigger virtual machine creating tool according to configuration text Part creates virtual machine.
It include: the fortune of virtual machine in template file furthermore it is also possible to which the relevant information of virtual machine is exported as template file The download address for the target software installed in row information and virtual machine.And template file can also be input to virtual machine In running equipment, to trigger virtual machine running equipment according to operation information operation virtual machine and according to download address downloading target Software and on a virtual machine installation targets software.
In the prior art, configuration file is written in virtual machine creating tool, is created by creation tool according to configuration file Virtual machine needed for building out user.To prevent virtual machine from occurring in the process of running, race flies or other expendable failures are existing As needing to export image file from virtual machine created, which includes: the operation information of virtual machine and described The target software installed on virtual machine.The image file can be used for initializing virtual machine, to realize that virtual machine appearance can not Troubleshooting when recovery.The image file can be also used for being created that new virtual machine in some equipment.But existing skill Include the mount message of software in the image file derived from art, causes the image file excessively too fat to move, and export process is slower.
For this purpose, in the present embodiment, derived from virtual machine created is template file, which includes: The download address for the target software installed on the operation information of virtual machine and the virtual machine, because derived is virtual machine phase The download address for closing information, so template file is smaller.If in some cases as unrecoverable failure occurs in virtual machine, it is desirable to New virtual machine is created using template file, need to only be pacified according on the operation information and virtual machine of the virtual machine in template file The download address of the target software of dress carries out creation operation to the virtual machine.
Specifically, carrying out creation operating process to virtual machine is virtual machine running equipment first according in the template file Virtual machine operation information is created that a virtual machine, virtual machine at this time are a virtual casing, is not present in the virtual machine Any developing instrument can not carry out software development work on the virtual machine.Therefore, virtual machine running equipment is according to template text Target software download address in part, the installation kit of target software is downloaded in newly created virtual machine and on a virtual machine into Row installation targets software.
It should be noted that the tool of creation virtual machine may include: virtual box, vagrant and other creations The tool of virtual machine.And configuration file corresponding to each creation tool be it is different, for vagrant tool, give birth to At configuration file be vagrantfile, this document, which is input to vagrant tool, can be created that the corresponding void of configuration file Quasi- machine.
Referring to Fig. 6, the embodiment of the present application also provides a kind of virtual machine configuration creating devices, comprising: configuration interface Display module 601, instruction data obtaining module 602, information content generation module 603 and configuration file creation module 604.Its In:
Configuration interface display module 601, for showing virtual machine configuration interface, wherein virtual machine configuration interface includes: wound The corresponding input control of configuration information item needed for building virtual machine.
Indicate data obtaining module 602, the configuration instruction information inputted in input control for obtaining user.
Information content generation module 603 generates the corresponding configuration information of configuration information item for being based on configuration instruction information Content.
Configuration file creation module 604, for configuration information item and the corresponding configuration information content of configuration information item into It travels far and wide present treatment, obtains the configuration file for creating virtual machine.
By above scheme it is found that this application provides a kind of virtual machine configuration creating device, the equipment will be by that will match It sets item of information to be shown in user interface in a manner of visual, and adds an input control for each configuration information item Part, user are that configuration information item inputs configuration instruction information, and then this method is raw according to configuration instruction information by input control At configuration information content, and configuration information content is handled by script and generates configuration file.As it can be seen that the equipment is by configuration information Item visualization, user need to only input required configuration instruction information in visualization interface, that is, produce the configuration text of virtual machine Part, to simplify the generating process of configuration file, better user experience.
In one example, configuration information item includes: virtual machine attribute item of information;Input control includes: text control;
Then indicate data obtaining module the step of executing the configuration instruction information that acquisition user inputs in input control When, it is specifically used for: obtains the virtual machine attribute value of information that user inputs in text control.
Information content generation module is being executed based on configuration instruction information, is generated in the corresponding configuration information of configuration information item When the step of appearance, it is specifically used for: the virtual machine attribute value of information is determined as in the corresponding configuration information of virtual machine attribute item of information Hold.
In one example, configuration information item includes: installation software item;Input control includes: selection control;
Then indicate data obtaining module the step of executing the configuration instruction information that acquisition user inputs in input control When, it is specifically used for: obtains the target that user selects in selection control and software is installed;
Information content generation module is being executed based on configuration instruction information, is generated in the corresponding configuration information of configuration information item When the step of appearance, it is specifically used for: in pre-set software information, obtains the corresponding software information of target installation software;It will The software information of acquisition is determined as installing the corresponding configuration information content of software item.
Present invention also provides a kind of virtual machine creating devices, including configuration file to obtain module and virtual machine creating mould Block.:
Configuration file obtains module, and for obtaining the configuration file for creating virtual machine, the configuration file includes matching Item of information and the corresponding configuration information content of configuration information item are set, the configuration information content is raw based on configuration instruction information At, and the configuration instruction information is that user passes through the input control input in virtual machine configuration interface;
Virtual machine creating module, for configuration file to be input in virtual machine creating tool, to trigger virtual machine creating Tool creates virtual machine according to configuration file.
In one example, virtual machine creating device can also include: template file export module and/or input module.
Template file export module includes: in template file for the relevant information of virtual machine to be exported as template file The download address for the target software installed on the operation information and virtual machine of virtual machine.
Input module, for template file to be input to virtual machine running equipment, with trigger virtual machine running equipment according to Virtual machine is run according to operation information and downloads target software and on a virtual machine installation targets software according to download address.
It should be noted that all the embodiments in this specification are described in a progressive manner, each embodiment weight Point explanation is the difference from other embodiments, and the same or similar parts between the embodiments can be referred to each other.
It should also be noted that, herein, relational terms such as first and second and the like are used merely to one Entity or operation are distinguished with another entity or operation, without necessarily requiring or implying between these entities or operation There are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant are intended to contain Lid non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that There is also other identical elements in process, method, article or equipment including above-mentioned element.
The foregoing description of the disclosed embodiments makes professional and technical personnel in the field can be realized or use the application. Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the application.Therefore, the application It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one The widest scope of cause.

Claims (12)

1. a kind of creation method of virtual machine configuration characterized by comprising
Virtual machine configuration interface is shown, wherein the virtual machine configuration interface includes: configuration information item needed for creation virtual machine Corresponding input control;
Obtain the configuration instruction information that user inputs in the input control;
Based on the configuration instruction information, the corresponding configuration information content of the configuration information item is generated;
Script processing is carried out to the configuration information item and the corresponding configuration information content of the configuration information item, is obtained for creating Build the configuration file of virtual machine.
2. the creation method of virtual machine configuration according to claim 1, which is characterized in that the configuration information item packet It includes: virtual machine attribute item of information;The input control includes: text control;
The then configuration instruction information for obtaining user and being inputted in the input control, comprising:
Obtain the virtual machine attribute value of information that user inputs in the text control;
It is described to be based on the configuration instruction information, generate the corresponding configuration information content of the configuration information item, comprising:
The virtual machine attribute value of information is determined as the corresponding configuration information content of virtual machine attribute item of information.
3. the creation method of virtual machine configuration according to claim 1, which is characterized in that the configuration information item packet It includes: installation software item;The input control includes: selection control;
The then configuration instruction information for obtaining user and being inputted in the input control, comprising:
It obtains the target that user selects in the selection control and software is installed;
It is described to be based on the configuration instruction information, generate the corresponding configuration information content of the configuration information item, comprising:
In pre-set software information, the corresponding software information of the target installation software is obtained;
The software information of acquisition is determined as the corresponding configuration information content of software item is installed.
4. a kind of virtual machine creation method characterized by comprising
The configuration file for creating virtual machine is obtained, the configuration file includes that configuration information item and configuration information item are corresponding Configuration information content, the configuration information content is to be generated based on configuration instruction information, and the configuration instruction information is User passes through the input control input in virtual machine configuration interface;
The configuration file is input in virtual machine creating tool, to trigger the virtual machine creating tool according to the configuration Document creation virtual machine.
5. virtual machine creation method according to claim 4, which is characterized in that further include:
The relevant information of the virtual machine is exported as into template file, includes: the operation of the virtual machine in the template file The download address for the target software installed in information and the virtual machine.
6. virtual machine creation method according to claim 5, which is characterized in that further include:
The template file is input in virtual machine running equipment, to trigger the virtual machine running equipment according to the operation Information runs the virtual machine and downloads target software according to the download address and install the mesh on the virtual machine Mark software.
7. a kind of creating device of virtual machine configuration characterized by comprising
Configuration interface display module, for showing virtual machine configuration interface, wherein the virtual machine configuration interface includes: that creation is empty The corresponding input control of configuration information item needed for quasi- machine;
Indicate data obtaining module, the configuration instruction information inputted in the input control for obtaining user;
It is corresponding with confidence to generate the configuration information item for being based on the configuration instruction information for information content generation module Cease content;
Configuration file creation module, for the configuration information item and the corresponding configuration information content of the configuration information item into It travels far and wide present treatment, obtains the configuration file for creating virtual machine.
8. the creating device of virtual machine configuration according to claim 7, which is characterized in that the configuration information item packet It includes: virtual machine attribute item of information;The input control includes: text control;
It is specific to use when then the instruction data obtaining module obtains the configuration instruction information that user inputs in the input control In the virtual machine attribute value of information that acquisition user inputs in the text control;
The information content generation module is based on the configuration instruction information, generates the corresponding configuration information of the configuration information item When content, specifically for the virtual machine attribute value of information is determined as in the corresponding configuration information of virtual machine attribute item of information Hold.
9. the creating device of virtual machine configuration according to claim 7, which is characterized in that the configuration information item packet It includes: installation software item;The input control includes: selection control;
Then the instruction data obtaining module obtains the configuration instruction information that user inputs in the input control, is specifically used for It obtains the target that user selects in the selection control and software is installed;
The information content generation module is based on the configuration instruction information, generates the corresponding configuration information of the configuration information item When content, it is specifically used in pre-set software information, obtains the corresponding software information of the target installation software;It will obtain The software information obtained is determined as installing the corresponding configuration information content of software item.
10. a kind of virtual machine creating device characterized by comprising
Configuration file obtains module, and for obtaining the configuration file for creating virtual machine, the configuration file includes matching confidence Item and the corresponding configuration information content of configuration information item are ceased, the configuration information content is generated based on configuration instruction information , and the configuration instruction information is that user passes through the input control input in virtual machine configuration interface;
Virtual machine creating module, for the configuration file to be input in virtual machine creating tool, to trigger the virtual machine Creation tool creates virtual machine according to the configuration file.
11. virtual machine creating device according to claim 10, which is characterized in that further include:
Template file export module, for the relevant information of the virtual machine to be exported as template file, in the template file It include: the download address of target software installed on the operation information and the virtual machine of the virtual machine.
12. virtual machine creating device according to claim 11, which is characterized in that further include:
Input module is set for the template file to be input to virtual machine running equipment with triggering the virtual machine operation For according to the operation information operation virtual machine and according to download address downloading target software and described virtual The target software is installed on machine.
CN201910666848.0A 2019-07-23 2019-07-23 Virtual machine configuration creation method and device, virtual machine creation method and device Pending CN110362385A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910666848.0A CN110362385A (en) 2019-07-23 2019-07-23 Virtual machine configuration creation method and device, virtual machine creation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910666848.0A CN110362385A (en) 2019-07-23 2019-07-23 Virtual machine configuration creation method and device, virtual machine creation method and device

Publications (1)

Publication Number Publication Date
CN110362385A true CN110362385A (en) 2019-10-22

Family

ID=68219665

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910666848.0A Pending CN110362385A (en) 2019-07-23 2019-07-23 Virtual machine configuration creation method and device, virtual machine creation method and device

Country Status (1)

Country Link
CN (1) CN110362385A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102646041A (en) * 2011-02-17 2012-08-22 腾讯科技(深圳)有限公司 Software installation method and system
US20150178113A1 (en) * 2013-12-24 2015-06-25 Red Hat, Inc. Loading runtime configuration files into virtual machine instances
CN106775946A (en) * 2016-12-16 2017-05-31 无锡华云数据技术服务有限公司 A kind of virtual machine Method of Creation Process
CN107423117A (en) * 2017-08-04 2017-12-01 郑州云海信息技术有限公司 The creation method and device of virtual machine in cloud storage system
CN107729117A (en) * 2016-08-10 2018-02-23 中国移动通信集团重庆有限公司 A kind of virtual machine generation method and system
US20190188418A1 (en) * 2005-09-19 2019-06-20 Vmware, Inc. Enforcing restrictions related to a virtualized computer environment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190188418A1 (en) * 2005-09-19 2019-06-20 Vmware, Inc. Enforcing restrictions related to a virtualized computer environment
CN102646041A (en) * 2011-02-17 2012-08-22 腾讯科技(深圳)有限公司 Software installation method and system
US20150178113A1 (en) * 2013-12-24 2015-06-25 Red Hat, Inc. Loading runtime configuration files into virtual machine instances
CN107729117A (en) * 2016-08-10 2018-02-23 中国移动通信集团重庆有限公司 A kind of virtual machine generation method and system
CN106775946A (en) * 2016-12-16 2017-05-31 无锡华云数据技术服务有限公司 A kind of virtual machine Method of Creation Process
CN107423117A (en) * 2017-08-04 2017-12-01 郑州云海信息技术有限公司 The creation method and device of virtual machine in cloud storage system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
刘振宇,蔡立志,陈文捷: "《信息系统热点实践系列丛书 CloudStack技术指南》", 31 December 2015, 哈尔滨工程大学出版社 *
梅雪松,宋士权,陈云龙: "《SoC FPGA 嵌入式设计和开发教程》", 31 March 2019, 北京航空航天大学出版社 *

Similar Documents

Publication Publication Date Title
CN109918607A (en) Page building method and device, medium and calculating equipment
US20040160464A1 (en) System and method for providing a graphical user interface and alternate mappings of management information base objects
US8726233B1 (en) System and method of using an active link in a state programming environment to locate an element
CN102124445A (en) Method and system for creating HMI applications for an automation process
WO2005116823A2 (en) System and method for developing animated visualization interfaces
CN103890727A (en) Simulation of Web applications and secondary devices in a Web browser, Web application development tools, and methods using the same
US20160117160A1 (en) Preparing installations and updates for software systems
WO2004012082A1 (en) Bi-directional programming system/method for program development
TW201621719A (en) Systems and methods for a metadata driven user interface framework
CN104081347A (en) Graphical representation of an order of operations
KR20150066377A (en) Simulation framework system based on DEVS and simulation method using the same
CN105893018A (en) Executable program generation method and apparatus
CN110362385A (en) Virtual machine configuration creation method and device, virtual machine creation method and device
CN107608672A (en) A kind of UI module managements, UI module management methods and system
Simonsen PetriCode: a tool for template-based code generation from CPN models
Hoque Full-stack react projects: Modern web development using react 16, node, express, and mongodb
CN110516185A (en) The processing method and processing device of dynamic website
Uytterhoeven et al. Zabbix 4 Network Monitoring: Monitor the performance of your network devices and applications using the all-new Zabbix 4.0
KR20140041603A (en) Creating logic using pre-built controls
Nassiet et al. Paprika: Rapid UI development of scientific dataset editors for high performance computing
CN112799660A (en) Application program generation method and device
Hansen et al. Tinyinventor: A holistic approach to sensor network application development
KR101525510B1 (en) An apparatus for cooperating authoring tool with integrated development environment and the control method by using the same
US20210271458A1 (en) Managing an app method and system
CN111708522B (en) Video playing component development method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20191022

RJ01 Rejection of invention patent application after publication