WO2018166108A1 - Procédé, terminal et dispositif de déploiement de logiciel de machine virtuelle, et support d'informations lisible par ordinateur - Google Patents
Procédé, terminal et dispositif de déploiement de logiciel de machine virtuelle, et support d'informations lisible par ordinateur Download PDFInfo
- Publication number
- WO2018166108A1 WO2018166108A1 PCT/CN2017/090921 CN2017090921W WO2018166108A1 WO 2018166108 A1 WO2018166108 A1 WO 2018166108A1 CN 2017090921 W CN2017090921 W CN 2017090921W WO 2018166108 A1 WO2018166108 A1 WO 2018166108A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- software
- script
- server
- virtual machine
- information
- Prior art date
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
- G06F2009/45562—Creating, deleting, cloning virtual machine instances
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
- G06F2009/45575—Starting, stopping, suspending or resuming virtual machine instances
Definitions
- the present invention relates to the field of computer technologies, and in particular, to a virtual machine software deployment method, a terminal, a device, and a computer readable storage medium.
- the software installation in the cloud environment is basically implemented by a template or a push tool. Since the template is only suitable for static installation, the push tool needs to install a corresponding client and needs manual triggering. Therefore, the software installation methods in the above two existing cloud environments are either narrow in application scope or complicated in the installation process, and the user experience is not good.
- the embodiment of the invention provides a virtual machine software deployment method, a terminal, a device and a computer readable storage medium, which can implement automatic installation of software in a cloud environment, and provide a better service for the user.
- an embodiment of the present invention provides a virtual machine software deployment method, where the method includes:
- creation instruction creating a virtual machine and uploading the second software script to a directory of a virtual router corresponding to the virtual machine
- the second software script is split to generate each first software script
- the corresponding software is installed according to the script information of the software in the first software script generated after the split and the address information of the server.
- the second software script includes a creation script; after the virtual machine is created, the creation script is called and the software is installed.
- the second software script further includes a boot script and a shutdown script; if the virtual machine is powered on or powered off, the boot script or the shutdown script is invoked and the software is installed.
- the second software script includes at least one of a creation script, a startup script, and a shutdown script.
- the method further includes:
- the area includes a plurality of servers
- the server and the software establish a mapping relationship, wherein the mapping relationship is: the area is associated with the server, and the server is associated with the software;
- the server is selected according to the mapping relationship according to the area and software selected by the user.
- an embodiment of the present invention provides a terminal, where the terminal includes:
- a first selecting unit configured to select a server and software to be deployed if receiving a user's selection instruction
- a first obtaining unit configured to acquire script information of each software and address information of a server corresponding to the software, and generate a first software script
- a second obtaining unit configured to acquire all the first software scripts and generate a second software script
- a creating unit if the creation instruction is received, creating a virtual machine and uploading the second software script to a directory of a virtual router corresponding to the virtual machine;
- a splitting unit configured to split the second software script to generate each first software script after the virtual machine is created
- the installation unit is configured to install the corresponding software according to the script information of the software in the first software script generated after the splitting and the address information of the server.
- the second software script includes a creation script; after the virtual machine is created, the creation script is called and the software is installed.
- the second software script further includes a boot script and a shutdown script; if the virtual machine is powered on or powered off, the boot script or the shutdown script is invoked and the software is installed.
- the second software script includes at least one of a creation script, a startup script, and a shutdown script.
- the terminal further includes:
- a display unit configured to display the area and the deployed software, where the area includes a plurality of servers, and the server and the software establish a mapping relationship, wherein the mapping relationship is: the area is associated with the server, and the server is associated with the software;
- a second selecting unit configured to select the server according to the mapping relationship according to the area and software selected by the user.
- the embodiment of the present invention further provides a virtual machine software deployment device, where the device includes: a memory and a processor;
- a memory for storing a program that implements virtual machine software deployment
- a processor configured to run the program stored in the memory to implement virtual machine software deployment, to perform the following operations:
- creation instruction creating a virtual machine and uploading the second software script to a directory of a virtual router corresponding to the virtual machine
- the second software script is split to generate each first software script
- the corresponding software is installed according to the script information of the software in the first software script generated after the split and the address information of the server.
- the second software script includes a creation script
- the creation script is invoked and the software is installed.
- the second software script further includes a boot script and a shutdown script
- the boot script or shutdown script is invoked and the software is installed.
- the second software script includes at least one of a creation script, a startup script, and a shutdown script.
- processor further performs the following operations:
- the area includes a plurality of servers
- the server and the software establish a mapping relationship, wherein the mapping relationship is: the area is associated with the server, and the server is associated with the software;
- the server is selected according to the mapping relationship according to the area and software selected by the user.
- an embodiment of the present invention further provides a computer readable storage medium storing one or more programs, the one or more programs being executable by one or more processors, To achieve the following steps:
- creation instruction creating a virtual machine and uploading the second software script to a directory of a virtual router corresponding to the virtual machine
- the second software script is split to generate each first software script
- the corresponding software is installed according to the script information of the software in the first software script generated after the split and the address information of the server.
- the second software script includes a creation script
- the creation script is invoked and the software is installed.
- the second software script further includes a boot script and a shutdown script
- the boot script or shutdown script is invoked and the software is installed.
- the second software script includes at least one of a creation script, a startup script, and a shutdown script.
- steps further include:
- the area includes a plurality of servers
- the server and the software establish a mapping relationship, wherein the mapping relationship is: the area is associated with the server, and the server is associated with the software;
- the server is selected according to the mapping relationship according to the area and software selected by the user.
- the present invention has the following beneficial effects: the present invention generates a first software script by acquiring script information of each software and address information of a server corresponding to the software, and generates a first The second software script uploads the second software script to the directory of the virtual router corresponding to the virtual machine when the virtual machine is created, and after the virtual machine is created, splits the second software script to generate each first software script.
- the software corresponding to the installation can be installed, thereby realizing the automatic installation of the software in the cloud environment, wherein the installation process of the automation software is simple and flexible.
- FIG. 1 is a schematic flowchart of a virtual machine software deployment method according to Embodiment 1 of the present invention.
- FIG. 2 is another schematic flowchart of a virtual machine software deployment method according to Embodiment 2 of the present invention.
- FIG. 3 is a schematic block diagram of a terminal according to an embodiment of the present invention.
- FIG. 4 is another schematic block diagram of a terminal according to an embodiment of the present invention.
- FIG. 5 is a schematic structural diagram of a virtual machine software deployment device according to an embodiment of the present invention.
- FIG. 1 is a schematic flowchart of a virtual machine software deployment method according to Embodiment 1 of the present invention. This method can be run on desktops, laptops, tablets, or other smart devices with virtual machine capabilities that run virtual machine functions. As shown in the figure, the steps of the method include S101 ⁇ S106.
- the server may include a file server, a database server, and an application server, where a plurality of softwares are stored, and the user may select a required server and corresponding to the server.
- Software which is used to implement user software deployment on virtual machines.
- the software may be system software, and the system software provides the most basic functions for computer use.
- the system software may be divided into an operating system and supporting software, wherein the operating system is the most basic software, and the operating system is Linux, Mac. OS, Unix, Windows, etc., supporting software is software that supports the development and maintenance of various software in the computer, supporting software such as an environmental database, various interface software, and a series of basic tools; the software can also be application software.
- Application software is developed by developers for a specific purpose, such as Office, WPS, AutoCAD, Photoshop, etc.
- the script information of the software is in one-to-one correspondence with the software, and the corresponding software is determined by the script information of the software, where the address information of the server is used to provide an address stored in the server by the software.
- the download and installation address of the corresponding software can be determined by the address information of the server. Therefore, the corresponding software can be found and downloaded from the server through the script information of the software and the address information of the server corresponding to the software.
- the first software script is generated by using the script information of the software and the address information of the server, for example, the script information of the software and the address information of the server are recorded into a script file, and the The script file is used as a first software script; the script information corresponding to each software and the address information of the software in the server are stored in the first software script, and the download information of each software can be downloaded by generating the first software script. Ordered storage prevents loss of software download and installation information and improves the efficiency of software download and installation.
- all first software scripts are acquired and a second software script is generated, and the second software script may include one or more first software scripts, where the second software scripts are stored.
- the first software script corresponding to each software can improve the data transmission efficiency by generating the second software script.
- the virtual router of the virtual machine is set, and the generated second software script is uploaded to the directory of the virtual router of the virtual machine, so that the virtual machine can obtain the virtual machine.
- the second software script completes the installation and configuration of the software.
- the uploading the second software script to the directory of the virtual router of the virtual machine means that in the case of virtual machine networking, the user can select a corresponding one in the directory of the virtual router of the virtual machine.
- the server selects a corresponding second software script in the server, selects the second software script, and uploads the second software script to a directory of the virtual machine's virtual router.
- the second software script uploaded into the virtual router directory of the virtual machine is split and each first software script is generated, because the second software script includes one or more And a first software script, wherein the second software script is a split unit, and one or more first software scripts in the second software script are split and each first software script is generated.
- the second software script includes a creation script. If the second software script includes a creation script, after the virtual machine is created, the creation script is invoked and the software is installed, specifically, The creation script is split to generate each first software script, and the software in the server is installed by the script information of the software in the first software script and the address information of the server; the second software script further includes booting a script and a shutdown script, if the virtual machine is powered on or off, the boot script or the shutdown script is invoked and the software is installed, specifically, the boot script or the shutdown script is split to generate each first software. a script, installing, by the script information of the software in the first software script and the address information of the server, the software in the server; more specifically, the second software script includes at least one of a creation script, a startup script, and a shutdown script One.
- S106 Install the corresponding software according to the script information of the software in the first software script generated after the splitting and the address information of the server.
- the corresponding software may be determined by using the script information of the software in the first software script, and the download and installation address of the corresponding software may be determined by using the address information of the server, and therefore, the software is The script information and the address information of the server corresponding to the software can be found from the server and downloaded and installed corresponding software.
- the embodiment of the present invention generates the first software script by acquiring the script information of each software and the address information of the server corresponding to the software, and generates the first software script according to the first software script.
- the second software script uploads the second software script to the directory of the virtual router corresponding to the virtual machine when the virtual machine is created, and after the virtual machine is created, splits the second software script to generate each first software.
- the script is used to install the corresponding software, so that the software can be automatically installed in the cloud environment, wherein the automation software installation process is simple and flexible.
- FIG. 2 is a schematic flowchart of a virtual machine software deployment method according to Embodiment 2 of the present invention. This method can be run on desktops, laptops, tablets, or other smart devices with virtual machine capabilities that run virtual machine functions. As shown in the figure, the steps of the method include S201 ⁇ S208.
- the server may include a file server, a database server, and an application server, where a plurality of softwares are stored, and the user may select a required server and corresponding to the server.
- Software which is used to implement user software deployment on virtual machines.
- the software may be system software, and the system software provides the most basic functions for computer use.
- the system software may be divided into an operating system and supporting software, wherein the operating system is the most basic software, and the operating system is Linux, Mac. OS, Unix, Windows, etc., supporting software is software that supports the development and maintenance of various software in the computer, supporting software such as an environmental database, various interface software, and a series of basic tools; the software can also be application software.
- Application software is developed by developers for a specific purpose, such as Office, WPS, AutoCAD, Photoshop, etc.
- the script information of the software is in one-to-one correspondence with the software, and the corresponding software is determined by the script information of the software, where the address information of the server is used to provide an address stored in the service by the software.
- the download and installation address of the corresponding software can be determined by the address information of the server. Therefore, the corresponding software can be found and downloaded from the server through the script information of the software and the address information of the server corresponding to the software.
- the first software script is generated by using the script information of the software and the address information of the server, for example, the script information of the software and the address information of the server are recorded into a script file, and the The script file is used as a first software script; the script information corresponding to each software and the address information of the software in the server are stored in the first software script, and the download information of each software can be downloaded by generating the first software script. Ordered storage prevents loss of software download and installation information and improves the efficiency of software download and installation.
- all first software scripts are acquired and a second software script is generated, and the second software script may include one or more first software scripts, where the second software scripts are stored.
- the first software script corresponding to each software can improve the data transmission efficiency by generating the second software script.
- the virtual router of the virtual machine is set, and the generated second software script is uploaded to the directory of the virtual router of the virtual machine, so that the virtual machine can obtain the virtual machine.
- the second software script completes the installation and configuration of the software.
- the uploading the second software script to the directory of the virtual router of the virtual machine means that in the case of virtual machine networking, the user can select a corresponding one in the directory of the virtual router of the virtual machine.
- the server selects a corresponding second software script in the server, selects the second software script, and uploads the second software script to a directory of the virtual machine's virtual router.
- the second software script uploaded into the virtual router directory of the virtual machine is split and each first software script is generated, because the second software script includes one or more And a first software script, wherein the second software script is a split unit, and one or more first software scripts in the second software script are split and each first software script is generated.
- the second software script includes a creation script. If the second software script includes a creation script, after the virtual machine is created, the creation script is invoked and the software is installed, specifically, The creation script is split to generate each first software script, and the software in the server is installed by the script information of the software in the first software script and the address information of the server; the second software script further includes booting a script and a shutdown script, if the virtual machine is powered on or off, the boot script or the shutdown script is invoked and the software is installed, specifically, the boot script or the shutdown script is split to generate each first software. a script, installing, by the script information of the software in the first software script and the address information of the server, the software in the server; more specifically, the second software script includes at least one of a creation script, a startup script, and a shutdown script One.
- the corresponding software may be determined by using the script information of the software in the first software script, and the download and installation address of the corresponding software may be determined by using the address information of the server, and therefore, the software is The script information and the address information of the server corresponding to the software can be found from the server and downloaded and installed corresponding software.
- S207 Display area and deployed software, where the area includes a plurality of servers, and the server and the software establish a mapping relationship, wherein the mapping relationship is: the area is associated with a server, and the server is associated with the software.
- the area refers to a distribution area of the server, and each area includes a plurality of servers, and the distributed area and the deployed software are displayed in the virtual machine, and the distribution may be displayed according to the virtual machine.
- the area and the software that has been deployed determine the server corresponding to the software. More specifically, the server and the software establish a mapping relationship, where the area is associated with the server, the server is associated with the software, and the mapping between the area and the server and the mapping between the server and the software may be performed. Relationship, determining the server corresponding to the software.
- the server is selected according to the mapping relationship according to the area and software selected by the user, thereby implementing the passing area and the deployed in the virtual machine.
- the software determines the corresponding server, preventing the server information of the software deployed in the virtual machine from being lost due to the loss of the corresponding server.
- the embodiment of the present invention further provides a terminal, where the terminal 100 includes: a first selection unit 101, a first obtaining unit 102, a second obtaining unit 103, and a creating unit. 104.
- the first selection unit 101 is configured to select a server and software to be deployed if a user's selection instruction is received.
- the server may include a file server, a database server, and an application server, where a plurality of softwares are stored, and the user may select a required server and corresponding to the server.
- Software which is used to implement user software deployment on virtual machines.
- the software may be system software, and the system software provides the most basic functions for computer use.
- the system software may be divided into an operating system and supporting software, wherein the operating system is the most basic software, and the operating system is Linux, Mac.
- supporting software is software that supports the development and maintenance of various software in the computer, supporting software such as an environmental database, various interface software, and a series of basic tools; the software can also be application software.
- Application software is developed by developers for a specific purpose, such as Office, WPS, AutoCAD, Photoshop, etc.
- the first obtaining unit 102 is configured to acquire script information of each software and address information of a server corresponding to the software, and generate a first software script.
- the script information of the software is in one-to-one correspondence with the software, and the corresponding software is determined by the script information of the software, where the address information of the server is used to provide an address stored in the service by the software.
- the download and installation address of the corresponding software can be determined by the address information of the server. Therefore, the corresponding software can be found and downloaded from the server through the script information of the software and the address information of the server corresponding to the software.
- the first software script is generated by using the script information of the software and the address information of the server, for example, the script information of the software and the address information of the server are recorded into a script file, and the The script file is used as a first software script; the script information corresponding to each software and the address information of the software in the server are stored in the first software script, and the download information of each software can be downloaded by generating the first software script. Ordered storage prevents loss of software download and installation information and improves the efficiency of software download and installation.
- the second obtaining unit 103 is configured to acquire all the first software scripts and generate a second software script.
- all first software scripts are acquired and a second software script is generated, and the second software script may include one or more first software scripts, where the second software scripts are stored.
- the first software script corresponding to each software can improve the data transmission efficiency by generating the second software script.
- the creating unit 104 is configured to: if a creation instruction is received, create a virtual machine and upload the second software script to a directory of a virtual router corresponding to the virtual machine. Specifically, in the embodiment of the present invention, after the virtual machine is created, the virtual router of the virtual machine is set, and the generated second software script is uploaded to the directory of the virtual router of the virtual machine, so that the virtual machine can obtain the virtual machine. The second software script completes the installation and configuration of the software.
- the uploading the second software script to the directory of the virtual router of the virtual machine means that in the case of virtual machine networking, the user can select a corresponding one in the directory of the virtual router of the virtual machine.
- the server selects a corresponding second software script in the server, selects the second software script, and uploads the second software script to a directory of the virtual machine's virtual router.
- the splitting unit 105 is configured to split the second software script to generate each first software script after the virtual machine is created. Specifically, in the embodiment of the present invention, the second software script uploaded into the virtual router directory of the virtual machine is split and each first software script is generated, because the second software script includes one or more And a first software script, wherein the second software script is a split unit, and one or more first software scripts in the second software script are split and each first software script is generated.
- the second software script includes a creation script. If the second software script includes a creation script, after the virtual machine is created, the creation script is invoked and the software is installed, specifically, The creation script is split to generate each first software script, and the software in the server is installed by the script information of the software in the first software script and the address information of the server; the second software script further includes booting a script and a shutdown script, if the virtual machine is powered on or off, the boot script or the shutdown script is invoked and the software is installed, specifically, the boot script or the shutdown script is split to generate each first software. a script, installing, by the script information of the software in the first software script and the address information of the server, the software in the server; more specifically, the second software script includes at least one of a creation script, a startup script, and a shutdown script One.
- the installation unit 106 is configured to install corresponding software according to the script information of the software in the first software script generated after the splitting and the address information of the server.
- the corresponding software may be determined by using the script information of the software in the first software script, and the download and installation address of the corresponding software may be determined by using the address information of the server, and therefore, the software is The script information and the address information of the server corresponding to the software can be found from the server and downloaded and installed corresponding software.
- the script information of each software and the address information of the server corresponding to the software are acquired, and the first software script is generated, and the second software script is generated according to the first software script.
- the second software script is uploaded to the directory of the virtual router corresponding to the virtual machine, and after the virtual machine is created, the second software script is split to generate each first software script for installation.
- the corresponding software can realize the automatic installation of software in the cloud environment, wherein the installation process of the automation software is simple and flexible.
- the embodiment of the present invention further provides a terminal, where the terminal 200 includes: a first selection unit 201, a first acquisition unit 202, a second acquisition unit 203, and a creation unit. 204, the splitting unit 205, the mounting unit 206, the display unit 207, and the second selecting unit 208.
- the first selection unit 201 is configured to select a server and software to be deployed if a user's selection instruction is received.
- the server may include a file server, a database server, and an application server, where a plurality of softwares are stored, and the user may select a required server and corresponding to the server.
- Software which is used to implement user software deployment on virtual machines.
- the software may be system software, and the system software provides the most basic functions for computer use.
- the system software may be divided into an operating system and supporting software, wherein the operating system is the most basic software, and the operating system is Linux, Mac.
- supporting software is software that supports the development and maintenance of various software in the computer, supporting software such as an environmental database, various interface software, and a series of basic tools; the software can also be application software.
- Application software is developed by developers for a specific purpose, such as Office, WPS, AutoCAD, Photoshop, etc.
- the first obtaining unit 202 is configured to acquire script information of each software and address information of a server corresponding to the software, and generate a first software script.
- the script information of the software is in one-to-one correspondence with the software, and the corresponding software is determined by the script information of the software, where the address information of the server is used to provide an address stored in the service by the software.
- the download and installation address of the corresponding software can be determined by the address information of the server. Therefore, the corresponding software can be found and downloaded from the server through the script information of the software and the address information of the server corresponding to the software.
- the first software script is generated by using the script information of the software and the address information of the server, for example, the script information of the software and the address information of the server are recorded into a script file, and the The script file is used as a first software script; the script information corresponding to each software and the address information of the software in the server are stored in the first software script, and the download information of each software can be downloaded by generating the first software script. Ordered storage prevents loss of software download and installation information and improves the efficiency of software download and installation.
- the second obtaining unit 203 is configured to acquire all the first software scripts and generate a second software script.
- all first software scripts are acquired and a second software script is generated, and the second software script may include one or more first software scripts, where the second software scripts are stored.
- the first software script corresponding to each software can improve the data transmission efficiency by generating the second software script.
- the creating unit 204 is configured to: if a creation instruction is received, create a virtual machine and upload the second software script to a directory of a virtual router corresponding to the virtual machine. Specifically, in the embodiment of the present invention, after the virtual machine is created, the virtual router of the virtual machine is set, and the generated second software script is uploaded to the directory of the virtual router of the virtual machine, so that the virtual machine can obtain the virtual machine. The second software script completes the installation and configuration of the software.
- the uploading the second software script to the directory of the virtual router of the virtual machine means that in the case of virtual machine networking, the user can select a corresponding one in the directory of the virtual router of the virtual machine.
- the server selects a corresponding second software script in the server, selects the second software script, and uploads the second software script to a directory of the virtual machine's virtual router.
- the splitting unit 205 is configured to split the second software script to generate each first software script after the virtual machine is created. Specifically, in the embodiment of the present invention, the second software script uploaded into the virtual router directory of the virtual machine is split and each first software script is generated, because the second software script includes one or more And a first software script, wherein the second software script is a split unit, and one or more first software scripts in the second software script are split and each first software script is generated.
- the second software script includes a creation script. If the second software script includes a creation script, after the virtual machine is created, the creation script is invoked and the software is installed, specifically, The creation script is split to generate each first software script, and the software in the server is installed by the script information of the software in the first software script and the address information of the server; the second software script further includes booting a script and a shutdown script, if the virtual machine is powered on or off, the boot script or the shutdown script is invoked and the software is installed, specifically, the boot script or the shutdown script is split to generate each first software. a script, installing, by the script information of the software in the first software script and the address information of the server, the software in the server; more specifically, the second software script includes at least one of a creation script, a startup script, and a shutdown script One.
- the installation unit 206 is configured to install corresponding software according to the script information of the software in the first software script generated after the splitting and the address information of the server.
- the corresponding software may be determined by using the script information of the software in the first software script, and the download and installation address of the corresponding software may be determined by using the address information of the server, and therefore, the software is The script information and the address information of the server corresponding to the software can be found from the server and downloaded and installed corresponding software.
- the display unit 207 is configured to display the area and the deployed software, where the area includes a plurality of servers, and the server and the software establish a mapping relationship, where the mapping relationship is: the area is associated with the server, and the server is associated with the software. .
- the second selecting unit 208 is configured to select the server according to the mapping relationship according to the area and software selected by the user.
- the area refers to a distribution area of the server, and each area includes a plurality of servers, and the distributed area and the deployed software are displayed in the virtual machine, and the distribution may be displayed according to the virtual machine.
- the area and the software that has been deployed determine the server corresponding to the software. More specifically, the server and the software establish a mapping relationship, where the area is associated with the server, the server is associated with the software, and the mapping between the area and the server and the mapping between the server and the software may be performed. Relationship, determining the server corresponding to the software.
- the server is selected according to the mapping relationship according to the area and software selected by the user, thereby implementing the passing area and the deployed in the virtual machine.
- the software determines the corresponding server, preventing the server information of the software deployed in the virtual machine from being lost due to the loss of the corresponding server.
- FIG. 5 is a schematic structural diagram of a virtual machine software deployment device according to the present invention.
- the device 300 can include an input device 301, an output device 302, a transceiver 303, a memory 304, and a processor 305, where:
- the input device 301 is configured to receive input data of an external access control device.
- the input device 301 of the embodiment of the present invention may include a keyboard, a mouse, a photoelectric input device, and a sound input.
- the output device 302 is configured to output output data of the access control device to the outside.
- the output device 302 is configured to output output data of the access control device to the outside.
- the output device 302 described in the embodiments of the present invention may include a display, a speaker, a printer, and the like.
- the transceiver device 303 is configured to send data to or receive data from other devices through a communication link.
- the transceiver 303 of the embodiment of the present invention may include a transceiver device such as a radio frequency antenna.
- the memory 304 is configured to store program data with various functions.
- the data stored by the memory 304 in the embodiment of the present invention includes program data that can be called and executed.
- the memory 304 of the embodiment of the present invention may be a system memory such as a volatile memory (such as RAM), a non-volatile memory (such as a ROM, a flash memory, etc.), or a combination of the two.
- the memory 304 of the embodiment of the present invention may also be an external memory outside the system, such as a magnetic disk, an optical disk, a magnetic tape, or the like.
- the processor 305 is configured to run program data stored in the memory 304 to perform the following operations:
- creation instruction creating a virtual machine and uploading the second software script to a directory of a virtual router corresponding to the virtual machine
- the second software script is split to generate each first software script
- the corresponding software is installed according to the script information of the software in the first software script generated after the split and the address information of the server.
- processor 305 also performs the following operations:
- the area includes a plurality of servers
- the server and the software establish a mapping relationship, wherein the mapping relationship is: the area is associated with the server, and the server is associated with the software;
- the server is selected according to the mapping relationship according to the area and software selected by the user.
- the second software script includes a creation script; after the virtual machine is created, the creation script is called and the software is installed.
- the second software script further includes a boot script and a shutdown script; if the virtual machine is powered on or powered off, the boot script or the shutdown script is invoked and the software is installed.
- the second software script includes at least one of a creation script, a startup script, and a shutdown script.
- the embodiment of the virtual machine software deployment device shown in FIG. 5 does not constitute a limitation on the specific configuration of the virtual machine software deployment device.
- the virtual machine software deployment device may include a comparison diagram. Show more or fewer parts, or combine some parts, or different parts.
- the virtual machine software deployment device may include only the memory and the processor. In such an embodiment, the structure and function of the memory and the processor are the same as those of the embodiment shown in FIG. 5, and details are not described herein again. .
- the present invention also provides a computer readable storage medium having stored one or more programs, the one or more programs being executable by one or more processors to implement the following steps:
- creation instruction creating a virtual machine and uploading the second software script to a directory of a virtual router corresponding to the virtual machine
- the second software script is split to generate each first software script
- the corresponding software is installed according to the script information of the software in the first software script generated after the split and the address information of the server.
- the second software script includes a creation script
- the creation script is invoked and the software is installed.
- the second software script further includes a boot script and a shutdown script
- the boot script or shutdown script is invoked and the software is installed.
- the second software script includes at least one of a creation script, a startup script, and a shutdown script.
- steps further include:
- the area includes a plurality of servers
- the server and the software establish a mapping relationship, wherein the mapping relationship is: the area is associated with the server, and the server is associated with the software;
- the server is selected according to the mapping relationship according to the area and software selected by the user.
- the foregoing storage medium of the present invention includes: a magnetic disk, an optical disk, and a read-only storage memory (Read-Only) Memory, ROM) or random access memory (RAM), etc., which can store various program codes.
- ROM read-only storage memory
- RAM random access memory
- the units in all embodiments of the present invention may be implemented by a general-purpose integrated circuit such as a CPU (Central Processing) Unit, central processing unit, or through ASIC (Application Specific Integrated circuit
- the units in the terminal in the embodiment of the present invention may be combined, divided, and deleted according to actual needs.
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
- Information Transfer Between Computers (AREA)
Abstract
L'invention concerne un procédé, un terminal, un dispositif de déploiement de logiciel de machine virtuelle et un support d'informations lisible par ordinateur. Le procédé comprend les étapes suivantes : si une instruction de sélection d'un utilisateur est reçue, sélectionner un serveur et un logiciel nécessitant un déploiement (S101) ; acquérir des informations de script de chaque élément de logiciel et des informations d'adresse du serveur correspondant et produire un premier script de logiciel (S102) ; acquérir tous les premiers scripts de logiciel et produire un second script de logiciel (S103) ; si une instruction de création est reçue, créer une machine virtuelle et télécharger le second script de logiciel vers un répertoire d'un routeur virtuel correspondant à la machine virtuelle (S104) ; lorsque la machine virtuelle est créée, diviser le second script de logiciel afin de produire les premiers scripts de logiciel (S105) ; et installer un logiciel correspondant sur la base des informations de script des premiers scripts de logiciel produits lors de la division et des informations d'adresse du serveur (S106). Le procédé met en œuvre une installation logicielle automatisée dans un environnement en nuage, l'installation logicielle automatisée étant un procédé simple et flexible.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710146730.6A CN107678751B (zh) | 2017-03-13 | 2017-03-13 | 一种虚拟机软件部署方法及终端 |
CN201710146730.6 | 2017-03-13 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2018166108A1 true WO2018166108A1 (fr) | 2018-09-20 |
Family
ID=61134101
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2017/090921 WO2018166108A1 (fr) | 2017-03-13 | 2017-06-29 | Procédé, terminal et dispositif de déploiement de logiciel de machine virtuelle, et support d'informations lisible par ordinateur |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN107678751B (fr) |
WO (1) | WO2018166108A1 (fr) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111475198A (zh) * | 2020-04-14 | 2020-07-31 | 中国人民解放军战略支援部队信息工程大学 | 一种网络服务器的拟态化方法及装置 |
CN113900670A (zh) * | 2021-12-08 | 2022-01-07 | 深圳市名竹科技有限公司 | 集群服务器应用部署系统 |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112269636B (zh) * | 2020-10-20 | 2022-11-11 | 苏州浪潮智能科技有限公司 | 云数据中心虚拟机安装软件的方法、系统、服务器及介质 |
CN114138411A (zh) * | 2021-11-25 | 2022-03-04 | 山东浪潮工业互联网产业股份有限公司 | 一体机部署方法、一体机、装置及介质 |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102932408A (zh) * | 2012-09-21 | 2013-02-13 | 中国电信股份有限公司云计算分公司 | 一种服务器集群的管理方法和平台 |
CN103530162A (zh) * | 2013-10-22 | 2014-01-22 | 中国科学院信息工程研究所 | 一种虚拟机在线自动软件安装的方法及系统 |
CN103677858A (zh) * | 2012-08-30 | 2014-03-26 | 中兴通讯股份有限公司 | 一种云环境中虚拟机软件管理的方法、系统及设备 |
US20140196029A1 (en) * | 2013-01-10 | 2014-07-10 | VCE Company LLC | Scripting language executor service for applications |
CN104572202A (zh) * | 2015-01-08 | 2015-04-29 | 浪潮电子信息产业股份有限公司 | 一种云计算下企业级应用软件部署的方法 |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7895348B2 (en) * | 2007-10-17 | 2011-02-22 | Dispersive Networks Inc. | Virtual dispersive routing |
CN103605570A (zh) * | 2013-11-18 | 2014-02-26 | 浪潮(北京)电子信息产业有限公司 | 一种基于虚拟机模板自动部署应用的方法及系统 |
CN104346195B (zh) * | 2014-06-05 | 2016-05-25 | 腾讯科技(深圳)有限公司 | 软件安装方法和系统 |
CN106055388A (zh) * | 2016-06-25 | 2016-10-26 | 国云科技股份有限公司 | 一种云平台应用自动部署框架 |
-
2017
- 2017-03-13 CN CN201710146730.6A patent/CN107678751B/zh active Active
- 2017-06-29 WO PCT/CN2017/090921 patent/WO2018166108A1/fr active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103677858A (zh) * | 2012-08-30 | 2014-03-26 | 中兴通讯股份有限公司 | 一种云环境中虚拟机软件管理的方法、系统及设备 |
CN102932408A (zh) * | 2012-09-21 | 2013-02-13 | 中国电信股份有限公司云计算分公司 | 一种服务器集群的管理方法和平台 |
US20140196029A1 (en) * | 2013-01-10 | 2014-07-10 | VCE Company LLC | Scripting language executor service for applications |
CN103530162A (zh) * | 2013-10-22 | 2014-01-22 | 中国科学院信息工程研究所 | 一种虚拟机在线自动软件安装的方法及系统 |
CN104572202A (zh) * | 2015-01-08 | 2015-04-29 | 浪潮电子信息产业股份有限公司 | 一种云计算下企业级应用软件部署的方法 |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111475198A (zh) * | 2020-04-14 | 2020-07-31 | 中国人民解放军战略支援部队信息工程大学 | 一种网络服务器的拟态化方法及装置 |
CN111475198B (zh) * | 2020-04-14 | 2023-01-24 | 中国人民解放军战略支援部队信息工程大学 | 一种网络服务器的拟态化方法及装置 |
CN113900670A (zh) * | 2021-12-08 | 2022-01-07 | 深圳市名竹科技有限公司 | 集群服务器应用部署系统 |
CN113900670B (zh) * | 2021-12-08 | 2022-03-18 | 深圳市名竹科技有限公司 | 集群服务器应用部署系统 |
Also Published As
Publication number | Publication date |
---|---|
CN107678751B (zh) | 2020-06-09 |
CN107678751A (zh) | 2018-02-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2015127859A1 (fr) | Procédé et appareil de détection de texte sensible | |
WO2019019378A1 (fr) | Procédé et appareil de traitement de service, adaptateur et support de stockage lisible par ordinateur | |
WO2019019340A1 (fr) | Procédé et appareil d'ouverture de page de programme d'application, terminal et support de mémoire lisible | |
WO2018058919A1 (fr) | Procédé, appareil, dispositif de génération d'informations d'identification, et support de stockage lisible par ordinateur | |
WO2019019374A1 (fr) | Procédé, appareil et système permettant de commander un appareil électroménager à l'aide d'un dispositif vocal intelligent | |
WO2018166108A1 (fr) | Procédé, terminal et dispositif de déploiement de logiciel de machine virtuelle, et support d'informations lisible par ordinateur | |
WO2019051890A1 (fr) | Procédé et dispositif de commande de terminal et support de stockage lisible par ordinateur | |
WO2017201899A1 (fr) | Procédé et appareil de connexion à un dispositif bluetooth | |
EP3844750A1 (fr) | Appareil ménager et procédé de reconnaissance vocale associé | |
WO2015139232A1 (fr) | Procédé, système et serveur de recommandation d'application | |
WO2019019376A1 (fr) | Procédé, appareil et dispositif de gestion de processus de service, et support d'informations lisible par ordinateur | |
WO2019085103A1 (fr) | Procédé de gestion de formation, dispositif, appareil informatique, et support de stockage | |
WO2018233367A1 (fr) | Procédé et appareil d'enregistrement de cas, terminal et support de stockage lisible par ordinateur | |
WO2018000856A1 (fr) | Procédé de mise en œuvre de transfert de message de réseau de recouvrement sdn, terminal, appareil et support d'informations lisible par ordinateur | |
WO2018082482A1 (fr) | Procédé de partage de réseau et procédé et système d'accès à un réseau | |
WO2019037319A1 (fr) | Procédé d'alerte rapide de quantité électrique, et serveur, terminal mobile et support de stockage | |
WO2015139639A1 (fr) | Procédé et appareil pour afficher des icônes d'application sur un terminal | |
WO2015007007A1 (fr) | Procédé et dispositif permettant une correction automatique d'un convertisseur analogique-numérique | |
WO2019051899A1 (fr) | Procédé et dispositif de commande de terminaux, et support d'informations | |
WO2015108283A1 (fr) | Procédé de détection d'erreurs d'applications pour service de diffusion continue en nuage, et appareil et système associés | |
WO2019062194A1 (fr) | Appareil ménager, procédé et système de commande d'appareil ménager, et support d'informations lisible par ordinateur | |
WO2019051895A1 (fr) | Procédé et dispositif de commande de terminal, et support de stockage | |
WO2019056462A1 (fr) | Procédé, appareil, et dispositif de distribution de liste nominative, et support de stockage lisible par ordinateur | |
WO2018166107A1 (fr) | Procédé de compatibilité à base hybride, adaptateur, appareil et système d'exploitation, et support de stockage lisible par ordinateur | |
WO2018149191A1 (fr) | Procédé, appareil et dispositif de souscription à des polices d'assurance, et support d'informations lisible par ordinateur |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 17900506 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 10.12.2019) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 17900506 Country of ref document: EP Kind code of ref document: A1 |