CN114706659B - Virtual machine software deployment method and system - Google Patents

Virtual machine software deployment method and system Download PDF

Info

Publication number
CN114706659B
CN114706659B CN202210347358.6A CN202210347358A CN114706659B CN 114706659 B CN114706659 B CN 114706659B CN 202210347358 A CN202210347358 A CN 202210347358A CN 114706659 B CN114706659 B CN 114706659B
Authority
CN
China
Prior art keywords
software
virtual machine
data
environment
transplantation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210347358.6A
Other languages
Chinese (zh)
Other versions
CN114706659A (en
Inventor
缪晓东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yandong Technology Guangdong Co ltd
Original Assignee
Yandong Technology Guangdong 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 Yandong Technology Guangdong Co ltd filed Critical Yandong Technology Guangdong Co ltd
Priority to CN202210347358.6A priority Critical patent/CN114706659B/en
Publication of CN114706659A publication Critical patent/CN114706659A/en
Application granted granted Critical
Publication of CN114706659B publication Critical patent/CN114706659B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5061Partitioning or combining of resources
    • G06F9/5077Logical partitioning of resources; Management or configuration of virtualized resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 
    • 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/45575Starting, stopping, suspending or resuming virtual machine instances
    • 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/45595Network integration; Enabling network access in virtual machine instances

Abstract

The invention discloses a virtual machine software deployment method and a system, comprising the following steps: reading a software driving system mirror image compression package and installing a software driving system mirror image through a native virtual machine; recognizing that a software development kit is installed in a native virtual machine, and configuring an environment variable according to a software driving system mirror image; software data migration is carried out through a software source code application server, a software database is imported into a native virtual machine, and native end data migration software is obtained; accessing a local virtual machine in a large-scale network through a network virtual machine, and carrying out large-scale network deployment on local end data transplanting software through optical fiber communication and/or 5G mobile communication; the virtual deployment of the mobile terminal can be further carried out, and the scale level of the virtual machine software deployment can be further improved.

Description

Virtual machine software deployment method and system
Technical Field
The invention relates to the technical field of intelligent software deployment of virtual machines, in particular to a method and a system for deploying virtual machine software.
Background
At present, the common software deployment is basically installed and deployed through manual loading or artificial setting, and how to automatically install a software driving system through a local virtual machine needs to be further solved; how to automatically configure environment variables and import a software database into a native virtual machine is still to be improved; how to access the local virtual machine in a large-scale network and carry out large-scale network deployment still needs further improvement and perfection; therefore, there is a need to provide a method and system for deploying virtual machine software, so as to at least partially solve the problems in the prior art.
Disclosure of Invention
In the summary section, a series of concepts in a simplified form are introduced, which will be described in further detail in the detailed description section; this summary of the invention is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used as an aid in determining the scope of the claimed subject matter.
In order to at least partially solve the above problem, the present invention provides a virtual machine software deployment method, including:
s100, reading a software driving system mirror image compression package and installing a software driving system mirror image through a local virtual machine;
s200, identifying that a software development kit is installed in a native virtual machine, and configuring an environment variable according to a software driving system mirror image;
s300, performing software data transplantation through a software source code application server, importing a software database into a native virtual machine, and obtaining native end data transplantation software;
s400, accessing the local virtual machine in the large-scale network through the network virtual machine, and carrying out large-scale network deployment on the local data transplanting software through optical fiber communication and/or 5G mobile communication.
Preferably, the S100 includes:
s101, connecting a local virtual machine through a remote virtual machine tool, and reading a software driving system mirror image compression package;
s102, connecting a local virtual machine through a file transmission program, selecting to create an installation path, creating a corresponding installation path folder, and transmitting a downloaded software driving system image compression package to the installation path folder;
s103, decompressing the software driving system mirror image compression package and installing the software driving system mirror image through the compression package operation instruction.
Preferably, the S200 includes:
s201, selecting a first installation directory through a local virtual machine system, and setting a software development kit configuration mode to install a software development kit;
s202, after the software development toolkit is installed, selecting a second installation catalog, and loading software development environment data;
and S203, loading the software development environment data and then configuring the environment variables.
Preferably, the S300 includes:
s301, installing target deployment software to a native virtual machine through a software source code application server to perform software data migration;
s302, exporting data in a software database of the target deployment software to an intermediate data storage unit;
and S303, importing the data in the software database into the local virtual machine through the intermediate data storage unit to obtain local data transplanting software.
Preferably, the S400 includes:
s401, editing virtual machine settings through a local virtual machine, and adding a network adapter;
s402, after a network adapter is added to the native virtual machine, a large-scale network connection mode is set through an automatic program;
and S403, under the large-scale network connection mode, sharing and isolating the local end data transplanting software and the network, and performing large-scale network deployment on the local end data transplanting software through optical fiber communication and/or 5G mobile communication.
A virtual machine software deployment system, comprising:
the virtual machine system mirror image module is used for reading the software driving system mirror image compression package and installing the software driving system mirror image through the local virtual machine;
the tool kit environment configuration module is used for identifying the installation of a software development tool kit in a local virtual machine and configuring environment variables according to the mirror image of a software driving system;
the server data transplantation module is used for performing software data transplantation through the software source code application server, importing the software database into the native virtual machine and obtaining native end data transplantation software;
and the large-scale software deployment module accesses the local virtual machine in a large-scale network through the network virtual machine, and performs large-scale network deployment on the local data transplanting software through optical fiber communication and/or 5G mobile communication.
Preferably, the virtual machine system mirroring module includes:
the virtual machine tool remote reading submodule is connected with a local virtual machine through a remote virtual machine tool and reads a software driving system mirror image compression packet;
the path selection transmission file clip module is connected with a local virtual machine through a file transmission program to select an installation path to create a corresponding installation path folder, and transmits a downloaded software drive system mirror image compression package to the installation path folder;
and the compression packet instruction operation installation submodule decompresses the software drive system mirror image through the compression packet operation instruction and installs the software drive system mirror image.
Preferably, the kit environment configuration module includes:
the system selection development configuration submodule selects a first installation directory through a local virtual machine system and sets a software development kit configuration mode to install a software development kit;
the installation catalog loading environment submodule selects a second installation catalog after installing the software development toolkit and loads software development environment data;
the development environment variable configuration submodule is used for configuring the environment variables after the software development environment data is loaded; performing configuration environment variables includes: setting environment variables of a virtual machine environment, adding a virtual machine software list control for displaying the currently configured virtual machine environment in a demonstration version application interface of a software development kit, and monitoring a configuration instruction of the virtual machine software list control; the configuration instruction for monitoring the virtual machine software list control comprises the following steps: monitoring and acquiring the running state of a configuration instruction of a virtual machine software list control in a virtual machine environment; determining whether the configuration instruction is a non-safe environment variable instruction or not according to the running state; the monitoring and acquiring the running state of the configuration instruction of the virtual machine software list control in the virtual machine environment comprises the following steps: monitoring a designated function in the virtual machine environment; when the designated function is called, recording parameters and values returned by the designated function; determining whether the running state of the configuration instruction of the virtual machine software list control in the virtual machine environment is safe or not according to the parameters and values returned by the specified function; when the running state of the configuration instruction of the virtual machine software list control in the virtual machine environment is safe, defining a switchable environment list, and storing the switchable virtual machine environment in the switchable environment list; listing a switchable environment list in the environment configuration dialog box; when a configuration instruction is monitored, selecting a virtual machine environment to be switched, and storing a selection result into an environment variable; and updating the second environment variable of the virtual machine according to the value of the environment variable so that the service function of the software development kit can access the environment address of the virtual machine corresponding to the second environment variable of the virtual machine to configure the environment variable.
Preferably, the server data migration module includes:
the software data migration submodule is used for installing the target deployment software into the native virtual machine through the software source code application server to carry out software data migration; the software data migration comprises the following steps: acquiring target deployment software data to be transplanted, and performing pre-supervision processing on the target deployment software data through an instruction interpreter; transplanting target deployment software data which is subjected to pre-supervision, wherein in the transplanting process, the software data transplanting is subjected to transplanting process supervision according to a transplanting rule, and the target deployment software data is subjected to software data transplanting classification; the software data transplantation classification comprises a software data transplantation main class, a software data transplantation sub class and a software data transplantation intermediate generation class; the software data migration intermediate generation class comprises the following steps: a software data migration classification list, a migration abnormal data intermediate generation list and a supervision result list; when the target deployment software data is transplanted, designing a corresponding supervision instruction for the generated data after the transplantation and the data before the transplantation through an instruction interpreter to generate a supervision result; extracting abnormal data in the supervision result and performing abnormal processing; the pre-supervision processing comprises designing a corresponding supervision instruction for the target deployment software data through an instruction interpreter, operating the supervision instruction, and calling a preset automatic processing instruction to adjust the difference data according to the difference data when the instruction interpreter generates the difference data; in the data transplantation process of the target deployment software, designing corresponding supervision instructions for each software data transplantation classification and data before transplantation through an instruction interpreter, carrying out supervision on software data transplantation, and inputting supervision results into a transplantation abnormal data intermediate generation list; after the target deployment software data is transplanted, designing a corresponding supervision instruction for the generated data after the transplantation and the data before the transplantation through an instruction interpreter, generating a supervision result and inputting the supervision result into a supervision result list until the software data transplantation is completed;
the intermediate data storage submodule is used for exporting data in a software database of the target deployment software to an intermediate data storage unit;
and the intermediate storage import sub-module imports data in the software database into the local virtual machine through the intermediate data storage unit to obtain local data transplantation software.
Preferably, the large-scale software deployment module includes:
the virtual machine network adaptation submodule edits the virtual machine setting through the local virtual machine and adds a network adapter;
the large-scale network connection submodule sets a large-scale network connection mode through an automatic program after a network adapter is added to a local virtual machine;
and the large-scale isolation deployment submodule shares and runs in isolation between the local end data transplanting software and the network in a large-scale network connection mode, and performs large-scale network deployment on the local end data transplanting software through optical fiber communication and/or 5G mobile communication.
Compared with the prior art, the invention at least comprises the following beneficial effects:
the invention relates to a virtual machine software deployment method, which comprises the steps of reading a software driving system mirror image compression package and installing a software driving system mirror image through a native virtual machine; recognizing that a software development kit is installed in a native virtual machine, and configuring an environment variable according to a software driving system mirror image; software data migration is carried out through a software source code application server, a software database is imported into a native virtual machine, and native end data migration software is obtained; accessing a local virtual machine in a large-scale network through a network virtual machine, and carrying out large-scale network deployment on local end data transplanting software through optical fiber communication and/or 5G mobile communication; connecting a local virtual machine through a remote virtual machine tool, and reading a software driving system mirror image compression packet; transmitting the downloaded software driving system mirror image compression package to an installation path folder; setting a software development kit configuration mode through a native virtual machine system and installing the software development kit; after loading the software development environment data, configuring the environment variables; installing target deployment software into a native virtual machine through a software source code application server to perform software data migration, so that native-end data migration software can be obtained; editing virtual machine settings through a local virtual machine, and adding a network adapter; setting a large-scale network connection mode through an automatic program; the local end data transplanting software and the network are shared and run in an isolated mode, and large-scale network deployment is carried out on the local end data transplanting software through optical fiber communication and/or 5G mobile communication; and the virtual deployment of the mobile terminal can be further carried out, and the scale level of the virtual machine software deployment can be further improved.
Additional advantages, objects, and features of the invention will be set forth in part in the description which follows and in part will become apparent to those having ordinary skill in the art upon examination of the following or may be learned from practice of the invention.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention and not to limit the invention. In the drawings:
fig. 1 is a step diagram of a virtual machine software deployment method according to the present invention.
Fig. 2 is a block diagram of a virtual machine software deployment system according to the present invention.
Fig. 3 is a diagram of an embodiment of a virtual machine software deployment system according to the present invention.
Detailed Description
The present invention is further described in detail below with reference to the drawings and examples, so that those skilled in the art can implement the invention with reference to the description; as shown in fig. 1-3, the present invention provides a virtual machine software deployment method, including:
s100, reading a software driving system mirror image compression package and installing a software driving system mirror image through a local virtual machine;
s200, identifying that a software development kit is installed in a native virtual machine, and configuring an environment variable according to a software driving system mirror image;
s300, performing software data transplantation through a software source code application server, importing a software database into a native virtual machine, and obtaining native end data transplantation software;
s400, accessing the local virtual machine in the large-scale network through the network virtual machine, and carrying out large-scale network deployment on the local data transplanting software through optical fiber communication and/or 5G mobile communication.
The working principle of the technical scheme is that a virtual machine software deployment method comprises the steps of reading a software driving system mirror image compression package and installing a software driving system mirror image through a native virtual machine; recognizing that a software development kit is installed in a native virtual machine, and configuring an environment variable according to a software driving system mirror image; software data migration is carried out through a software source code application server, a software database is imported into a native virtual machine, and native end data migration software is obtained; accessing a local virtual machine in a large-scale network through a network virtual machine, and carrying out large-scale network deployment on local end data transplanting software through optical fiber communication and/or 5G mobile communication; transmitting the mirror image data of the software driving system through remote transmission and local area communication, decompressing a software driving system mirror image compression packet and installing a software driving system mirror image through a local virtual machine; identifying the installation of a software development kit to be installed in a local virtual machine through the search of an installation directory, and configuring an environment variable; the software source code application server comprises: a cluster server and a cloud server; after the native virtual machine software is deployed, large-scale network deployment can be carried out through optical fiber communication and/or 5G mobile communication.
The technical scheme has the advantages that the software driving system mirror image compression package is read, and the software driving system mirror image is installed through the native virtual machine; identifying that a software development kit is installed in a native virtual machine, and configuring an environment variable according to a software driving system mirror image; software data migration is carried out through a software source code application server, a software database is imported into a native virtual machine, and native end data migration software is obtained; accessing a local virtual machine in a large-scale network through a network virtual machine, and carrying out large-scale network deployment on local end data transplanting software through optical fiber communication and/or 5G mobile communication; connecting a local virtual machine through a remote virtual machine tool, and reading a software driving system mirror image compression packet; transmitting the downloaded software driving system mirror image compression package to an installation path folder; setting a software development kit configuration mode through a native virtual machine system and installing the software development kit; after loading the software development environment data, configuring the environment variables; installing target deployment software into a native virtual machine through a software source code application server to perform software data migration, so that native-end data migration software can be obtained; editing virtual machine settings through a local virtual machine, and adding a network adapter; setting a large-scale network connection mode through an automatic program; the local data transplanting software and the network are shared and run in an isolated mode, and the local data transplanting software is subjected to large-scale network deployment through optical fiber communication and/or 5G mobile communication; and the virtual deployment of the mobile terminal can be further carried out, and the scale level of the virtual machine software deployment can be further improved.
In one embodiment, the S100 includes:
s101, connecting a local virtual machine through a remote virtual machine tool, and reading a software driving system mirror image compression package;
s102, connecting a local virtual machine through a file transmission program, selecting to create an installation path, creating a corresponding installation path folder, and transmitting a downloaded software driving system image compression package to the installation path folder;
s103, decompressing a software driving system mirror image compression package and installing a software driving system mirror image through a compression package operation instruction; calculating the image evaluation index value of the virtual machine system, wherein the calculation formula is as follows:
Figure BDA0003577240190000061
the method comprises the following steps that PCjx is a virtual machine system image evaluation index value, CUai is a software drive system image first layer ith-level compression weight value, CVbj is a software drive system image second layer jth-level compression weight value, n is a software drive system image first layer compression total level, m is a software drive system image second layer compression total level, and Vbj is a software drive system image second layer jth-level compression index value; by calculating the system image evaluation index value of the virtual machine, the image compression of the software driving system is closer to the physical machine compression of the software driving system.
The working principle of the technical scheme is that a remote virtual machine tool is connected with a local virtual machine, and a software driving system image compression packet is read; connecting a local virtual machine through a file transmission program, selecting to create an installation path, creating a corresponding installation path folder, and transmitting a downloaded software driving system image compression package to the installation path folder; decompressing a software driving system mirror image compression package and installing a software driving system mirror image through a compression package operation instruction; calculating the image evaluation index value of the virtual machine system, wherein the calculation formula is as follows:
Figure BDA0003577240190000062
the method comprises the following steps that PCjx is a virtual machine system image evaluation index value, CUai is a software drive system image first layer ith-level compression weight value, CVbj is a software drive system image second layer jth-level compression weight value, n is a software drive system image first layer compression total level, m is a software drive system image second layer compression total level, and Vbj is a software drive system image second layer jth-level compression index value; by calculating the system image evaluation index value of the virtual machine, the image compression of the software driving system is closer to the physical machine compression of the software driving system.
The technical scheme has the advantages that the remote virtual machine tool is connected with the local virtual machine, and the software driving system image compression packet is read; connecting a local virtual machine through a file transmission program, selecting to create an installation path, creating a corresponding installation path folder, and transmitting a downloaded software driving system image compression package to the installation path folder; decompressing a software driving system mirror image compression package and installing a software driving system mirror image through a compression package operation instruction; calculating a virtual machine system image evaluation index value, wherein PCjx is the virtual machine system image evaluation index value, CUai is an ith-level compression weight value of a first layer of a software driving system image, CVbj is a jth-level compression weight value of a second layer of the software driving system image, n is a total compression level of the first layer of the software driving system image, m is a total compression level of the second layer of the software driving system image, and Vbj is a jth-level compression index value of the second layer of the software driving system image; by calculating the system image evaluation index value of the virtual machine, the image compression of the software driving system is closer to the physical machine compression of the software driving system, and the data loss of compression reduction is reduced.
In one embodiment, the S200 includes:
s201, selecting a first installation directory through a local virtual machine system, and setting a software development kit configuration mode to install a software development kit;
s202, after the software development kit is installed, selecting a second installation catalog, and loading software development environment data;
s203, configuring environment variables after loading the software development environment data; performing configuration environment variables includes: setting environment variables of a virtual machine environment, adding a virtual machine software list control for displaying the currently configured virtual machine environment in a demonstration version application interface of a software development kit, and monitoring a configuration instruction of the virtual machine software list control; the configuration instruction for monitoring the virtual machine software list control comprises the following steps: monitoring and acquiring the running state of a configuration instruction of a virtual machine software list control in a virtual machine environment; determining whether the configuration instruction is a non-safe environment variable instruction or not according to the running state; the monitoring and acquiring the running state of the configuration instruction of the virtual machine software list control in the virtual machine environment comprises the following steps: monitoring a designated function in the virtual machine environment; when the designated function is called, recording parameters and values returned by the designated function; determining whether the running state of the configuration instruction of the virtual machine software list control in the virtual machine environment is safe or not according to the parameters and values returned by the specified function; when the running state of the configuration instruction of the virtual machine software list control in the virtual machine environment is safe, defining a switchable environment list, and storing the switchable virtual machine environment in the switchable environment list; listing a switchable context list in a context configuration dialog box; when a configuration instruction is monitored, selecting a virtual machine environment to be switched, and storing a selection result into an environment variable; and updating the second environment variable of the virtual machine according to the value of the environment variable so that the service function of the software development kit can access the environment address of the virtual machine corresponding to the second environment variable of the virtual machine to configure the environment variable.
The operating principle of the above technical solution is that the S200 includes:
s201, selecting a first installation directory through a local virtual machine system, and setting a software development kit configuration mode to install a software development kit;
s202, after the software development toolkit is installed, selecting a second installation catalog, and loading software development environment data;
s203, configuring environment variables after loading the software development environment data; performing configuration environment variables includes: setting environment variables of a virtual machine environment, adding a virtual machine software list control for displaying the currently configured virtual machine environment in a demonstration version application interface of a software development kit, and monitoring a configuration instruction of the virtual machine software list control; the configuration instruction for monitoring the virtual machine software list control comprises the following steps: monitoring and acquiring the running state of a configuration instruction of a virtual machine software list control in a virtual machine environment; determining whether the configuration instruction is a non-safe environment variable instruction or not according to the running state; the monitoring and acquiring the running state of the configuration instruction of the virtual machine software list control in the virtual machine environment comprises the following steps: monitoring a designated function in the virtual machine environment; when the designated function is called, recording parameters and values returned by the designated function; determining whether the running state of the configuration instruction of the virtual machine software list control in the virtual machine environment is safe or not according to the parameters and values returned by the specified function; when the running state of a configuration instruction of the virtual machine software list control in the virtual machine environment is safe, defining a switchable environment list, and storing a switchable virtual machine environment in the switchable environment list; listing a switchable context list in a context configuration dialog box; when a configuration instruction is monitored, selecting a virtual machine environment to be switched, and storing a selection result into an environment variable; updating the second environment variable of the virtual machine according to the value of the environment variable so that the service function of the software development kit can access the environment address of the virtual machine corresponding to the second environment variable of the virtual machine to configure the environment variable; the method comprises the steps of selecting a multi-level installation catalog through a local virtual machine system, setting a software development kit configuration mode, loading software development environment data, and carrying out multi-environment variable configuration through virtual machine environment safety risk monitoring.
The technical scheme has the advantages that the first installation catalog is selected through the local virtual machine system, and the software development kit configuration mode is set to install the software development kit; after the software development kit is installed, selecting a second installation directory and loading software development environment data; after loading the software development environment data, configuring the environment variables; performing configuration environment variables includes: setting environment variables of a virtual machine environment, adding a virtual machine software list control for displaying the currently configured virtual machine environment in a demonstration version application interface of a software development kit, and monitoring a configuration instruction of the virtual machine software list control; the configuration instruction for monitoring the virtual machine software list control comprises the following steps: monitoring and acquiring the running state of a configuration instruction of a virtual machine software list control in a virtual machine environment; determining whether the configuration instruction is a non-safe environment variable instruction or not according to the running state; the monitoring and acquiring the running state of the configuration instruction of the virtual machine software list control in the virtual machine environment comprises the following steps: monitoring a designated function in the virtual machine environment; when the designated function is called, recording parameters and values returned by the designated function; determining whether the running state of the configuration instruction of the virtual machine software list control in the virtual machine environment is safe or not according to the parameters and values returned by the specified function; when the running state of the configuration instruction of the virtual machine software list control in the virtual machine environment is safe, defining a switchable environment list, and storing the switchable virtual machine environment in the switchable environment list; listing a switchable context list in a context configuration dialog box; when a configuration instruction is monitored, selecting a virtual machine environment to be switched, and storing a selection result into an environment variable; updating the second environment variable of the virtual machine according to the value of the environment variable so that the service function of the software development kit can access the environment address of the virtual machine corresponding to the second environment variable of the virtual machine to configure the environment variable; selecting a multi-level installation catalog through a local virtual machine system, setting a configuration mode of a software development kit, loading software development environment data, and carrying out multi-environment variable configuration through monitoring of virtual machine environment security risks; the safety of the virtual machine software deployment environment is further improved.
In one embodiment, the S300 includes:
s301, installing target deployment software to a native virtual machine through a software source code application server to perform software data migration; the software data migration comprises the following steps: acquiring target deployment software data to be transplanted, and performing pre-supervision processing on the target deployment software data through an instruction interpreter; transplanting target deployment software data which is subjected to pre-supervision, wherein in the transplanting process, the software data transplanting is subjected to transplanting process supervision according to a transplanting rule, and the target deployment software data is subjected to software data transplanting classification; the software data transplantation classification comprises a software data transplantation main class, a software data transplantation sub class and a software data transplantation intermediate generation class; the software data migration intermediate generation class comprises the following steps: a software data transplantation classification list, a transplantation abnormal data intermediate generation list and a supervision result list; when the target deployment software data is transplanted, designing a corresponding supervision instruction for the generated data after the transplantation and the data before the transplantation through an instruction interpreter to generate a supervision result; extracting abnormal data in the supervision result and performing exception handling; the pre-supervision processing comprises designing a corresponding supervision instruction for the target deployment software data through an instruction interpreter, operating the supervision instruction, and calling a preset automatic processing instruction to adjust the difference data according to the difference data when the instruction interpreter generates the difference data; in the data transplantation process of the target deployment software, designing corresponding supervision instructions for each software data transplantation classification and data before transplantation through an instruction interpreter, carrying out supervision on software data transplantation, and inputting supervision results into a transplantation abnormal data intermediate generation list; after the target deployment software data is transplanted, designing a corresponding supervision instruction for the generated data after the transplantation and the data before the transplantation through an instruction interpreter, generating a supervision result and inputting the supervision result into a supervision result list until the software data transplantation is completed;
s302, exporting data in a software database of the target deployment software to an intermediate data storage unit;
and S303, importing the data in the software database into the local virtual machine through the intermediate data storage unit to obtain local data transplanting software.
The working principle of the technical scheme is that target deployment software is installed to a native virtual machine through a software source code application server to carry out software data transplantation; the software data migration comprises the following steps: acquiring target deployment software data to be transplanted, and performing pre-supervision processing on the target deployment software data through an instruction interpreter; transplanting target deployment software data which is subjected to pre-supervision, wherein in the transplanting process, the software data transplanting is subjected to transplanting process supervision according to a transplanting rule, and the target deployment software data is subjected to software data transplanting classification; the software data transplantation classification comprises a software data transplantation main class, a software data transplantation sub class and a software data transplantation intermediate generation class; the software data migration intermediate generation class comprises the following steps: a software data transplantation classification list, a transplantation abnormal data intermediate generation list and a supervision result list; when the target deployment software data is transplanted, designing a corresponding supervision instruction for the generated data after the transplantation and the data before the transplantation through an instruction interpreter to generate a supervision result; extracting abnormal data in the supervision result and performing abnormal processing; the pre-supervision processing comprises designing a corresponding supervision instruction for the target deployment software data through an instruction interpreter, operating the supervision instruction, and calling a preset automatic processing instruction to adjust the difference data according to the difference data when the instruction interpreter generates the difference data; in the data transplantation process of the target deployment software, designing corresponding supervision instructions for each software data transplantation classification and data before transplantation through an instruction interpreter, carrying out supervision on software data transplantation, and inputting supervision results into a transplantation abnormal data intermediate generation list; after the target deployment software data is transplanted, designing a corresponding supervision instruction for the generated data after the transplantation and the data before the transplantation through an instruction interpreter, generating a supervision result and inputting the supervision result into a supervision result list until the software data transplantation is completed; exporting data in a software database of the target deployment software to an intermediate data storage unit; and importing the data in the software database into the native virtual machine through the intermediate data storage unit to obtain the native data transplanting software.
The technical scheme has the advantages that the target deployment software is installed to the native virtual machine through the software source code application server to carry out software data transplantation; the software data migration comprises the following steps: acquiring target deployment software data to be transplanted, and performing pre-supervision processing on the target deployment software data through an instruction interpreter; transplanting target deployment software data which is subjected to pre-supervision, wherein in the transplanting process, the software data transplanting is subjected to transplanting process supervision according to a transplanting rule, and the target deployment software data is subjected to software data transplanting classification; the software data transplantation classification comprises a software data transplantation main class, a software data transplantation sub class and a software data transplantation intermediate generation class; the software data migration intermediate generation class comprises the following steps: a software data transplantation classification list, a transplantation abnormal data intermediate generation list and a supervision result list; when the target deployment software data is transplanted, designing a corresponding supervision instruction for the generated data after the transplantation and the data before the transplantation through an instruction interpreter to generate a supervision result; extracting abnormal data in the supervision result and performing abnormal processing; the pre-supervision processing comprises designing a corresponding supervision instruction for the target deployment software data through an instruction interpreter, operating the supervision instruction, and calling a preset automatic processing instruction to adjust the difference data according to the difference data when the instruction interpreter generates the difference data; in the data transplantation process of the target deployment software, designing corresponding supervision instructions for each software data transplantation classification and data before transplantation through an instruction interpreter, carrying out supervision on software data transplantation, and inputting supervision results into a transplantation abnormal data intermediate generation list; after the target deployment software data is transplanted, designing a corresponding supervision instruction for the generated data after the transplantation and the data before the transplantation through an instruction interpreter, generating a supervision result and inputting the supervision result into a supervision result list until the software data transplantation is completed; exporting data in a software database of the target deployment software to an intermediate data storage unit; importing data in a software database into a local virtual machine through an intermediate data storage unit to obtain local end data transplanting software; the process data of the data transplanting software at the local end is more complete through the data transplanting of the supervision software, and the data transplanting program is more complete.
In one embodiment, the S400 includes:
s401, editing virtual machine settings through a local virtual machine, and adding a network adapter;
s402, after a network adapter is added to the native virtual machine, a large-scale network connection mode is set through an automatic program;
and S403, under the large-scale network connection mode, sharing and isolating the local end data transplanting software and the network, and performing large-scale network deployment on the local end data transplanting software through optical fiber communication and/or 5G mobile communication.
The working principle of the technical scheme is that the virtual machine setting is edited through the local virtual machine, and a network adapter is added; after a network adapter is added to a native virtual machine, a large-scale network connection mode is set through an automatic program; under a large-scale network connection mode, the local end data migration software and the network share and run in an isolated mode, and the local end data migration software is subjected to large-scale network deployment through optical fiber communication and/or 5G mobile communication.
The technical scheme has the advantages that the virtual machine setting is edited through the local virtual machine, and the network adapter is added; after a network adapter is added to a native virtual machine, a large-scale network connection mode is set through an automatic program; under a large-scale network connection mode, the local-end data migration software and the network are shared and run in an isolated mode, and the local-end data migration software is subjected to large-scale network deployment through optical fiber communication and/or 5G mobile communication.
The invention discloses a virtual machine software deployment system, which comprises:
the virtual machine system mirror image module reads the software driving system mirror image compression package and installs the software driving system mirror image through the local virtual machine;
the system comprises a tool package environment configuration module, a software development tool package, a software driving system mirror image configuration module and a software development tool package configuration module, wherein the tool package environment configuration module is used for identifying that a software development tool package is installed in a native virtual machine and configuring an environment variable according to the software driving system mirror image;
the server data transplantation module is used for performing software data transplantation through the software source code application server, importing the software database into the local virtual machine and obtaining local end data transplantation software;
and the large-scale software deployment module accesses the local virtual machine in a large-scale network through the network virtual machine, and performs large-scale network deployment on the local data transplanting software through optical fiber communication and/or 5G mobile communication.
The working principle of the technical scheme is that a software driving system mirror image compression packet is read through a virtual machine system mirror image module, and a software driving system mirror image is installed through a native virtual machine; the tool kit environment configuration module is used for identifying the installation of a software development tool kit in a local virtual machine and configuring environment variables according to the mirror image of a software driving system; the server data transplantation module is used for performing software data transplantation through the software source code application server, importing the software database into the local virtual machine and obtaining local end data transplantation software; the large-scale software deployment module accesses a local virtual machine in a large-scale network through the network virtual machine, and performs large-scale network deployment on local end data transplanting software through optical fiber communication and/or 5G mobile communication; transmitting software driving system mirror image data through remote transmission and local area communication, decompressing a software driving system mirror image compression packet and installing a software driving system mirror image through a native virtual machine; identifying the installation of a software development kit to be installed in a local virtual machine through the search of an installation directory, and configuring an environment variable; the software source code application server comprises: a cluster server and a cloud server; after the native virtual machine software is deployed, large-scale network deployment can be carried out through optical fiber communication and/or 5G mobile communication.
The technical scheme has the beneficial effects that the software driving system mirror image compression package is read through the virtual machine system mirror image module, and the software driving system mirror image is installed through the native virtual machine; the system comprises a tool package environment configuration module, a software development tool package, a software driving system mirror image configuration module and a software development tool package configuration module, wherein the tool package environment configuration module is used for identifying that a software development tool package is installed in a native virtual machine and configuring an environment variable according to the software driving system mirror image; the server data transplantation module is used for performing software data transplantation through the software source code application server, importing the software database into the local virtual machine and obtaining local end data transplantation software; the large-scale software deployment module accesses a local virtual machine in a large-scale network through the network virtual machine, and performs large-scale network deployment on local end data transplanting software through optical fiber communication and/or 5G mobile communication; connecting a local virtual machine through a remote virtual machine tool, and reading a software driving system mirror image compression packet; transmitting the downloaded software driving system mirror image compression package to an installation path folder; setting a software development kit configuration mode through a native virtual machine system and installing the software development kit; after loading the software development environment data, configuring the environment variables; installing target deployment software into a native virtual machine through a software source code application server to perform software data migration, so that native-end data migration software can be obtained; editing the virtual machine setting through a native virtual machine, and adding a network adapter; setting a large-scale network connection mode through an automatic program; the local end data transplantation software and the network are shared and run in an isolated mode, and the local end data transplantation software is subjected to large-scale network deployment through optical fiber communication and/or 5G mobile communication.
In one embodiment, the virtual machine system image module comprises:
the virtual machine tool remote reading submodule is connected with a local virtual machine through a remote virtual machine tool and reads a software driving system mirror image compression packet;
the path selection transmission file clip module is connected with a local virtual machine through a file transmission program to select and create an installation path and create a corresponding installation path folder, and transmits a downloaded software driving system mirror image compression package to the installation path folder;
the compression packet instruction operation installation submodule decompresses the software drive system mirror image through the compression packet operation instruction and installs the software drive system mirror image; calculating the image evaluation index value of the virtual machine system, wherein the calculation formula is as follows:
Figure BDA0003577240190000121
the method comprises the following steps that PCjx is a virtual machine system image evaluation index value, CUai is a software drive system image first layer ith-level compression weight value, CVbj is a software drive system image second layer jth-level compression weight value, n is a software drive system image first layer compression total level, m is a software drive system image second layer compression total level, and Vbj is a software drive system image second layer jth-level compression index value; by calculating the system image evaluation index value of the virtual machine, the image compression of the software driving system is closer to the physical machine compression of the software driving system, and the data loss of compression reduction is reduced.
The working principle of the technical scheme is that the submodule is read remotely through a virtual machine tool, the local virtual machine is connected through the remote virtual machine tool, and a software driving system mirror image compression packet is read; the path selection transmission file clip module is connected with a local virtual machine through a file transmission program to select and create an installation path and create a corresponding installation path folder, and transmits a downloaded software driving system mirror image compression package to the installation path folder; the compression packet instruction operation installation submodule decompresses the software drive system mirror image through the compression packet operation instruction and installs the software drive system mirror image; calculating the image evaluation index value of the virtual machine system, wherein the calculation formula is as follows:
Figure BDA0003577240190000122
the method comprises the following steps that PCjx is a virtual machine system image evaluation index value, CUai is a software drive system image first layer ith-level compression weight value, CVbj is a software drive system image second layer jth-level compression weight value, n is a software drive system image first layer compression total level, m is a software drive system image second layer compression total level, and Vbj is a software drive system image second layer jth-level compression index value; by calculating the system image evaluation index value of the virtual machine, the image compression of the software driving system is closer to the physical machine compression of the software driving system, and the data loss of compression reduction is reduced.
The beneficial effect of the above technical scheme is that the virtual machine system mirror image module comprises: the virtual machine tool remote reading submodule is connected with a local virtual machine through a remote virtual machine tool and reads a software driving system mirror image compression packet; the path selection transmission file clip module is connected with a local virtual machine through a file transmission program to select and create an installation path and create a corresponding installation path folder, and transmits a downloaded software driving system mirror image compression package to the installation path folder; the compression packet instruction operation installation submodule decompresses the software drive system mirror image through the compression packet operation instruction and installs the software drive system mirror image; calculating a virtual machine system image evaluation index value, wherein PCjx is the virtual machine system image evaluation index value, CUai is an ith-level compression weight value of a first layer of a software driving system image, CVbj is a jth-level compression weight value of a second layer of the software driving system image, n is a total compression level of the first layer of the software driving system image, m is a total compression level of the second layer of the software driving system image, and Vbj is a jth-level compression index value of the second layer of the software driving system image; by calculating the system image evaluation index value of the virtual machine, the image compression of the software driving system is closer to the physical machine compression of the software driving system, and the data loss of compression reduction is reduced.
In one embodiment, the toolkit environment configuration module comprises:
the system selection development configuration submodule selects a first installation directory through a local virtual machine system and sets a software development kit configuration mode to install a software development kit;
the installation catalog loading environment submodule selects a second installation catalog after installing the software development toolkit and loads software development environment data;
the development environment variable configuration submodule loads software development environment data and then configures environment variables; performing configuration environment variables includes: setting environment variables of a virtual machine environment, adding a virtual machine software list control for displaying the currently configured virtual machine environment in a demonstration version application interface of a software development kit, and monitoring a configuration instruction of the virtual machine software list control; the configuration instruction for monitoring the virtual machine software list control comprises the following steps: monitoring and acquiring the running state of a configuration instruction of a virtual machine software list control in a virtual machine environment; determining whether the configuration instruction is a non-safe environment variable instruction or not according to the running state; the monitoring and acquiring the running state of the configuration instruction of the virtual machine software list control in the virtual machine environment comprises the following steps: monitoring a designated function in the virtual machine environment; when the designated function is called, recording parameters and values returned by the designated function; determining whether the running state of the configuration instruction of the virtual machine software list control in the virtual machine environment is safe or not according to the parameters and values returned by the specified function; when the running state of the configuration instruction of the virtual machine software list control in the virtual machine environment is safe, defining a switchable environment list, and storing the switchable virtual machine environment in the switchable environment list; listing a switchable context list in a context configuration dialog box; when a configuration instruction is monitored, selecting a virtual machine environment to be switched, and storing a selection result into an environment variable; and updating the second environment variable of the virtual machine according to the value of the environment variable so that the service function of the software development kit can access the environment address of the virtual machine corresponding to the second environment variable of the virtual machine to configure the environment variable.
The working principle of the technical scheme is that a system selection development configuration submodule selects a first installation directory through a local virtual machine system, and sets a software development kit configuration mode to install a software development kit; the installation catalog loading environment submodule selects a second installation catalog after installing the software development toolkit and loads software development environment data; the development environment variable configuration submodule is used for configuring the environment variables after the software development environment data is loaded; performing configuration environment variables includes: setting environment variables of a virtual machine environment, adding a virtual machine software list control for displaying the currently configured virtual machine environment in a demonstration version application interface of a software development kit, and monitoring a configuration instruction of the virtual machine software list control; the configuration instruction for monitoring the virtual machine software list control comprises the following steps: monitoring and acquiring the running state of a configuration instruction of a virtual machine software list control in a virtual machine environment; determining whether the configuration instruction is a non-safe environment variable instruction or not according to the running state; the monitoring and acquiring the running state of the configuration instruction of the virtual machine software list control in the virtual machine environment comprises the following steps: monitoring a designated function in the virtual machine environment; when the designated function is called, recording parameters and values returned by the designated function; determining whether the running state of the configuration instruction of the virtual machine software list control in the virtual machine environment is safe or not according to the parameters and values returned by the specified function; when the running state of the configuration instruction of the virtual machine software list control in the virtual machine environment is safe, defining a switchable environment list, and storing the switchable virtual machine environment in the switchable environment list; listing a switchable environment list in the environment configuration dialog box; when a configuration instruction is monitored, selecting a virtual machine environment to be switched, and storing a selection result into an environment variable; updating the second environment variable of the virtual machine according to the value of the environment variable so that the service function of the software development kit can access the virtual machine environment address corresponding to the second environment variable of the virtual machine to configure the environment variable; the method comprises the steps of selecting a multi-level installation directory through a local virtual machine system, setting a software development kit configuration mode, loading software development environment data, and carrying out multi-environment variable configuration through virtual machine environment safety risk monitoring.
The technical scheme has the advantages that the system selects a development configuration submodule, the local virtual machine system selects a first installation directory, and a software development kit configuration mode is set to install the software development kit; the installation catalog loading environment submodule selects a second installation catalog after installing the software development toolkit and loads software development environment data; the development environment variable configuration submodule is used for configuring the environment variables after the software development environment data is loaded; performing configuration environment variables includes: setting environment variables of a virtual machine environment, adding a virtual machine software list control for displaying the currently configured virtual machine environment in a demonstration version application interface of a software development kit, and monitoring a configuration instruction of the virtual machine software list control; the configuration instruction for monitoring the virtual machine software list control comprises the following steps: monitoring and acquiring the running state of a configuration instruction of a virtual machine software list control in a virtual machine environment; determining whether the configuration instruction is a non-safe environment variable instruction or not according to the running state; the monitoring and acquiring the running state of the configuration instruction of the virtual machine software list control in the virtual machine environment comprises the following steps: monitoring a designated function in the virtual machine environment; when the designated function is called, recording parameters and values returned by the designated function; determining whether the running state of the configuration instruction of the virtual machine software list control in the virtual machine environment is safe or not according to the parameter and the value returned by the specified function; when the running state of the configuration instruction of the virtual machine software list control in the virtual machine environment is safe, defining a switchable environment list, and storing the switchable virtual machine environment in the switchable environment list; context configuration dialog box middle column outputting a switchable environment list; when a configuration instruction is monitored, selecting a virtual machine environment to be switched, and storing a selection result into an environment variable; updating the second environment variable of the virtual machine according to the value of the environment variable so that the service function of the software development kit can access the environment address of the virtual machine corresponding to the second environment variable of the virtual machine to configure the environment variable; the safety of the virtual machine software deployment environment is further improved.
In one embodiment, the server data migration module comprises:
the software data migration submodule is used for installing the target deployment software into a native virtual machine through a software source code application server to carry out software data migration; the software data migration comprises the following steps: acquiring target deployment software data to be transplanted, and performing pre-supervision processing on the target deployment software data through an instruction interpreter; transplanting the target deployment software data which is subjected to pre-supervision, and in the transplanting process, performing transplanting process supervision on software data transplantation according to transplanting rules and performing software data transplanting classification on the target deployment software data; the software data migration classification comprises a software data migration main class, a software data migration sub class and a software data migration intermediate generation class; the software data migration intermediate generation class comprises the following steps: a software data transplantation classification list, a transplantation abnormal data intermediate generation list and a supervision result list; when the target deployment software data is transplanted, designing a corresponding supervision instruction for the generated data after the transplantation and the data before the transplantation through an instruction interpreter to generate a supervision result; extracting abnormal data in the supervision result and performing abnormal processing; the pre-supervision processing comprises designing a corresponding supervision instruction for the target deployment software data through an instruction interpreter, operating the supervision instruction, and calling a preset automatic processing instruction to adjust the difference data according to the difference data when the instruction interpreter generates the difference data; in the process of transplanting the target deployment software data, designing corresponding supervision instructions for each software data transplanting classification and the data before transplanting through an instruction interpreter, carrying out software data transplanting supervision, and inputting supervision results into a transplanting abnormal data intermediate generation list; after the target deployment software data is transplanted, designing a corresponding supervision instruction for the generated data after the transplantation and the data before the transplantation through an instruction interpreter, generating a supervision result and inputting the supervision result into a supervision result list until the software data transplantation is completed;
the intermediate data storage submodule is used for exporting data in a software database of the target deployment software to an intermediate data storage unit;
and the intermediate storage import sub-module imports data in the software database into the local virtual machine through the intermediate data storage unit to obtain local data transplantation software.
The working principle of the technical scheme is that target deployment software is installed to a native virtual machine for software data migration through a software data migration submodule and a software source code application server; the software data migration comprises the following steps: acquiring target deployment software data to be transplanted, and performing pre-supervision processing on the target deployment software data through an instruction interpreter; transplanting target deployment software data which is subjected to pre-supervision, wherein in the transplanting process, the software data transplanting is subjected to transplanting process supervision according to a transplanting rule, and the target deployment software data is subjected to software data transplanting classification; the software data transplantation classification comprises a software data transplantation main class, a software data transplantation sub class and a software data transplantation intermediate generation class; the software data migration intermediate generation class comprises the following steps: a software data transplantation classification list, a transplantation abnormal data intermediate generation list and a supervision result list; when the target deployment software data is transplanted, designing corresponding supervision instructions for the generated data after transplantation and the data before transplantation through an instruction interpreter, and generating supervision results; extracting abnormal data in the supervision result and performing abnormal processing; the pre-supervision processing comprises designing a corresponding supervision instruction for the target deployment software data through an instruction interpreter, operating the supervision instruction, and calling a preset automatic processing instruction to adjust the difference data according to the difference data when the instruction interpreter generates the difference data; in the data transplantation process of the target deployment software, designing corresponding supervision instructions for each software data transplantation classification and data before transplantation through an instruction interpreter, carrying out supervision on software data transplantation, and inputting supervision results into a transplantation abnormal data intermediate generation list; after the target deployment software data is transplanted, designing a corresponding supervision instruction for the generated data after the transplantation and the data before the transplantation through an instruction interpreter, generating a supervision result and inputting the supervision result into a supervision result list until the software data transplantation is completed; the intermediate data storage submodule is used for exporting data in a software database of the target deployment software to an intermediate data storage unit; and the intermediate storage import sub-module imports data in the software database into the local virtual machine through the intermediate data storage unit to obtain local data transplantation software.
The beneficial effects of the above technical scheme are that, the server data transplantation module includes: the software data migration submodule is used for installing the target deployment software into the native virtual machine through the software source code application server to carry out software data migration; the software data migration comprises the following steps: acquiring target deployment software data to be transplanted, and performing pre-supervision processing on the target deployment software data through an instruction interpreter; transplanting the target deployment software data which is subjected to pre-supervision, and in the transplanting process, performing transplanting process supervision on software data transplantation according to transplanting rules and performing software data transplanting classification on the target deployment software data; the software data transplantation classification comprises a software data transplantation main class, a software data transplantation sub class and a software data transplantation intermediate generation class; the software data migration intermediate generation class comprises the following steps: a software data migration classification list, a migration abnormal data intermediate generation list and a supervision result list; when the target deployment software data is transplanted, designing a corresponding supervision instruction for the generated data after the transplantation and the data before the transplantation through an instruction interpreter to generate a supervision result; extracting abnormal data in the supervision result and performing abnormal processing; the pre-supervision processing comprises designing a corresponding supervision instruction for the target deployment software data through an instruction interpreter, operating the supervision instruction, and calling a preset automatic processing instruction to adjust the difference data according to the difference data when the instruction interpreter generates the difference data; in the data transplantation process of the target deployment software, designing corresponding supervision instructions for each software data transplantation classification and data before transplantation through an instruction interpreter, carrying out supervision on software data transplantation, and inputting supervision results into a transplantation abnormal data intermediate generation list; after the target deployment software data is transplanted, designing corresponding supervision instructions for the generated data after the transplantation and the data before the transplantation through an instruction interpreter, generating supervision results and inputting a supervision result list until the software data transplantation is completed; the intermediate data storage submodule is used for exporting data in a software database of the target deployment software to an intermediate data storage unit; the intermediate storage import submodule imports data in the software database into the local virtual machine through the intermediate data storage unit to obtain local end data transplanting software; the process data of the data transplanting software at the local end is more complete through the data transplanting of the supervision software, and the data transplanting program is more complete.
In one embodiment, the large-scale software deployment module comprises:
the virtual machine network adapter submodule edits the virtual machine setting through a local virtual machine and adds a network adapter;
the large-scale network connection sub-module is used for setting a large-scale network connection mode through an automatic program after a network adapter is added to a local virtual machine;
and the large-scale isolation deployment submodule shares and runs in isolation between the local end data transplanting software and the network in a large-scale network connection mode, and performs large-scale network deployment on the local end data transplanting software through optical fiber communication and/or 5G mobile communication.
The working principle of the technical scheme is that the virtual machine setting is edited through the local virtual machine and a network adapter is added through the virtual machine network adapter submodule; the large-scale network connection submodule sets a large-scale network connection mode through an automatic program after a network adapter is added to a local virtual machine; and the large-scale isolation deployment submodule shares and runs in isolation between the local end data transplanting software and the network in a large-scale network connection mode, and performs large-scale network deployment on the local end data transplanting software through optical fiber communication and/or 5G mobile communication.
The technical scheme has the advantages that the virtual machine of the computer edits the setting of the virtual machine and adds a network adapter through the network adapter submodule of the virtual machine; the large-scale network connection submodule sets a large-scale network connection mode through an automatic program after a network adapter is added to a local virtual machine; the large-scale isolation deployment submodule shares and runs in isolation between the local end data transplanting software and a network in a large-scale network connection mode, and carries out large-scale network deployment on the local end data transplanting software through optical fiber communication and/or 5G mobile communication; and the virtual deployment of the mobile terminal can be further carried out, and the scale level of the software deployment of the virtual machine can be further improved.
While embodiments of the invention have been disclosed above, it is not limited to the applications set forth in the description and the embodiments, which are fully applicable in various fields of endeavor to which the invention pertains, and further modifications may readily be made by those skilled in the art, it being understood that the invention is not limited to the details shown and described herein without departing from the general concept defined by the appended claims and their equivalents.

Claims (6)

1. A virtual machine software deployment method is characterized by comprising the following steps:
s100, reading a software driving system mirror image compression package and installing a software driving system mirror image through a local virtual machine;
s200, identifying that a software development kit is installed in a local virtual machine, and configuring an environment variable according to a software driving system mirror image;
s300, performing software data migration through a software source code application server, importing a software database into a local virtual machine, and obtaining local end data migration software;
s400, accessing a local virtual machine in a large-scale network through a network virtual machine, and carrying out large-scale network deployment on local data transplanting software through optical fiber communication and/or 5G mobile communication;
the S200 includes:
s201, selecting a first installation directory through a local virtual machine system, and setting a software development kit configuration mode to install a software development kit;
s202, after the software development toolkit is installed, selecting a second installation catalog, and loading software development environment data;
s203, configuring environment variables after loading the software development environment data;
the S300 includes:
s301, installing target deployment software to a native virtual machine through a software source code application server to perform software data migration;
s302, exporting data in a software database of the target deployment software to an intermediate data storage unit;
and S303, importing the data in the software database into the local virtual machine through the intermediate data storage unit to obtain local data transplantation software.
2. The virtual machine software deployment method according to claim 1, wherein the S100 includes:
s101, connecting a local virtual machine through a remote virtual machine tool, and reading a software driving system mirror image compression package;
s102, connecting a local virtual machine through a file transmission program, selecting to create an installation path, creating a corresponding installation path folder, and transmitting a downloaded software driving system image compression package to the installation path folder;
s103, decompressing the software driving system mirror image compression package and installing the software driving system mirror image through the compression package operation instruction.
3. The virtual machine software deployment method according to claim 1, wherein the S400 includes:
s401, editing virtual machine settings through a local virtual machine, and adding a network adapter;
s402, after a network adapter is added to the native virtual machine, a large-scale network connection mode is set through an automatic program;
and S403, under the large-scale network connection mode, sharing and isolating the local end data transplanting software and the network, and performing large-scale network deployment on the local end data transplanting software through optical fiber communication and/or 5G mobile communication.
4. A virtual machine software deployment system, comprising:
the virtual machine system mirror image module is used for reading the software driving system mirror image compression package and installing the software driving system mirror image through the local virtual machine;
the tool kit environment configuration module is used for identifying the installation of a software development tool kit in a local virtual machine and configuring environment variables according to the mirror image of a software driving system;
the server data transplantation module is used for performing software data transplantation through the software source code application server, importing the software database into the local virtual machine and obtaining local end data transplantation software;
the large-scale software deployment module accesses a local virtual machine in a large-scale network through the network virtual machine, and performs large-scale network deployment on local end data transplanting software through optical fiber communication and/or 5G mobile communication;
the toolkit environment configuration module comprises:
the system selection development configuration submodule selects a first installation directory through a local virtual machine system and sets a software development kit configuration mode to install a software development kit;
the installation catalog loading environment submodule selects a second installation catalog after installing the software development toolkit and loads software development environment data;
the development environment variable configuration submodule is used for configuring the environment variables after the software development environment data is loaded; performing configuration environment variables includes: setting an environment variable of a virtual machine environment, adding a virtual machine software list control for displaying the currently configured virtual machine environment in a demonstration version application interface of a software development kit, and monitoring a configuration instruction of the virtual machine software list control; the configuration instruction for monitoring the virtual machine software list control comprises the following steps: monitoring and acquiring the running state of a configuration instruction of a virtual machine software list control in a virtual machine environment; determining whether the configuration instruction is a non-safe environment variable instruction or not according to the running state; the monitoring and obtaining the running state of the configuration instruction of the virtual machine software list control in the virtual machine environment comprises the following steps: monitoring a designated function in the virtual machine environment; when the designated function is called, recording parameters and values returned by the designated function; determining whether the running state of the configuration instruction of the virtual machine software list control in the virtual machine environment is safe or not according to the parameter and the value returned by the specified function; when the running state of the configuration instruction of the virtual machine software list control in the virtual machine environment is safe, defining a switchable environment list, and storing the switchable virtual machine environment in the switchable environment list; listing a switchable context list in a context configuration dialog box; when a configuration instruction is monitored, selecting a virtual machine environment to be switched, and storing a selection result into an environment variable; updating the second environment variable of the virtual machine according to the value of the environment variable so that the service function of the software development kit can access the environment address of the virtual machine corresponding to the second environment variable of the virtual machine to configure the environment variable;
the server data migration module comprises:
the software data migration submodule is used for installing the target deployment software into the native virtual machine through the software source code application server to carry out software data migration; the software data migration comprises the following steps: acquiring target deployment software data to be transplanted, and performing pre-supervision processing on the target deployment software data through an instruction interpreter; transplanting target deployment software data which is subjected to pre-supervision, wherein in the transplanting process, the software data transplanting is subjected to transplanting process supervision according to a transplanting rule, and the target deployment software data is subjected to software data transplanting classification; the software data transplantation classification comprises a software data transplantation main class, a software data transplantation sub class and a software data transplantation intermediate generation class; the software data migration intermediate generation class comprises the following steps: a software data transplantation classification list, a transplantation abnormal data intermediate generation list and a supervision result list; when the target deployment software data is transplanted, designing a corresponding supervision instruction for the generated data after the transplantation and the data before the transplantation through an instruction interpreter to generate a supervision result; extracting abnormal data in the supervision result and performing abnormal processing; the pre-supervision processing comprises designing a corresponding supervision instruction for the target deployment software data through an instruction interpreter, operating the supervision instruction, and calling a preset automatic processing instruction to adjust the difference data according to the difference data when the instruction interpreter generates the difference data; in the data transplantation process of the target deployment software, designing corresponding supervision instructions for each software data transplantation classification and data before transplantation through an instruction interpreter, carrying out supervision on software data transplantation, and inputting supervision results into a transplantation abnormal data intermediate generation list; after the target deployment software data is transplanted, designing a corresponding supervision instruction for the generated data after the transplantation and the data before the transplantation through an instruction interpreter, generating a supervision result and inputting the supervision result into a supervision result list until the software data transplantation is completed;
the intermediate data storage submodule is used for exporting data in a software database of the target deployment software to an intermediate data storage unit;
and the intermediate storage import sub-module imports data in the software database into the local virtual machine through the intermediate data storage unit to obtain local data transplantation software.
5. The virtual machine software deployment system according to claim 4, wherein the virtual machine system mirroring module comprises:
the virtual machine tool remote reading submodule is connected with a local virtual machine through a remote virtual machine tool and reads a software driving system mirror image compression packet;
the path selection transmission file clip module is connected with a local virtual machine through a file transmission program to select and create an installation path and create a corresponding installation path folder, and transmits a downloaded software driving system mirror image compression package to the installation path folder;
and the compression packet instruction operation installation submodule decompresses the software drive system mirror image through the compression packet operation instruction and installs the software drive system mirror image.
6. The virtual machine software deployment system according to claim 4, wherein the large-scale software deployment module includes:
the virtual machine network adaptation submodule edits the virtual machine setting through the local virtual machine and adds a network adapter;
the large-scale network connection submodule sets a large-scale network connection mode through an automatic program after a network adapter is added to a local virtual machine;
and the large-scale isolation deployment submodule shares and runs in isolation between the local end data transplanting software and the network in a large-scale network connection mode, and performs large-scale network deployment on the local end data transplanting software through optical fiber communication and/or 5G mobile communication.
CN202210347358.6A 2022-04-01 2022-04-01 Virtual machine software deployment method and system Active CN114706659B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210347358.6A CN114706659B (en) 2022-04-01 2022-04-01 Virtual machine software deployment method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210347358.6A CN114706659B (en) 2022-04-01 2022-04-01 Virtual machine software deployment method and system

Publications (2)

Publication Number Publication Date
CN114706659A CN114706659A (en) 2022-07-05
CN114706659B true CN114706659B (en) 2022-12-09

Family

ID=82171767

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210347358.6A Active CN114706659B (en) 2022-04-01 2022-04-01 Virtual machine software deployment method and system

Country Status (1)

Country Link
CN (1) CN114706659B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103514023A (en) * 2013-10-22 2014-01-15 中国科学院信息工程研究所 Method and system for off-line and automatically installing software of virtual machine
CN103530162A (en) * 2013-10-22 2014-01-22 中国科学院信息工程研究所 Automatic online virtual machine software installing method and system
CN104636189A (en) * 2015-02-25 2015-05-20 哈尔滨工业大学 Xen-based virtual machine deployment system and Xen-based virtual machine deployment method
CN107992355A (en) * 2017-12-21 2018-05-04 中兴通讯股份有限公司 A kind of method, apparatus and virtual machine of application deployment software
CN109491677A (en) * 2018-11-15 2019-03-19 郑州云海信息技术有限公司 A kind of method and apparatus for installing software for virtual machine

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8924954B2 (en) * 2011-11-22 2014-12-30 Huawei Technologies Co., Ltd. Application software installation method and application software installation apparatus

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103514023A (en) * 2013-10-22 2014-01-15 中国科学院信息工程研究所 Method and system for off-line and automatically installing software of virtual machine
CN103530162A (en) * 2013-10-22 2014-01-22 中国科学院信息工程研究所 Automatic online virtual machine software installing method and system
CN104636189A (en) * 2015-02-25 2015-05-20 哈尔滨工业大学 Xen-based virtual machine deployment system and Xen-based virtual machine deployment method
CN107992355A (en) * 2017-12-21 2018-05-04 中兴通讯股份有限公司 A kind of method, apparatus and virtual machine of application deployment software
CN109491677A (en) * 2018-11-15 2019-03-19 郑州云海信息技术有限公司 A kind of method and apparatus for installing software for virtual machine

Also Published As

Publication number Publication date
CN114706659A (en) 2022-07-05

Similar Documents

Publication Publication Date Title
US9965562B2 (en) Industrial automation app-store
CN107239392A (en) A kind of method of testing, device and terminal
CN104133699A (en) Equipment system software updating method and equipment system software updating system
CN114706659B (en) Virtual machine software deployment method and system
CN112015408A (en) Component rendering method and device, storage medium and electronic device
CN103107919B (en) A kind of Internet resources modeling method and system
CN112202909B (en) Online upgrading method and system for computer storage system
US7644259B2 (en) Customization of option ROM images
Su et al. The risk of industrial control system programmable logic controller default configurations
CN116049000A (en) Environment parameter configuration method, device, equipment, storage medium and product
EP3418913A1 (en) System and method for merging a source data from a source application into a target data of a target application
CN109960526A (en) A kind of application program packaging method and device
CN109429100A (en) A kind of storage method of page path, apparatus and system
CN114756276A (en) Software version control method based on baseline
CN114282620A (en) Multi-source information physical twin data fusion management method and management system
CN112578305A (en) Aircraft power supply characteristic testing method and system, electronic equipment and storage medium
CN112527306A (en) Method, device, equipment and medium for realizing independence of modules in project development
CN109669699A (en) Application program distribution method, AC, AP and Radio Network System
CN112995250A (en) Data management system and method for data network bureau
CN114327503B (en) Automatic filling method, system and device for operating system of secret-related computer
CN112783604B (en) PaaS-based application scheduling and workflow arrangement method and system
CN114968408A (en) Configurable marine multi-source multi-channel information screening system and method
EP3995909A1 (en) Configuring modular industrial plants
CN113590237A (en) Resource updating method, device and equipment
CN116502195A (en) User permission configuration 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
GR01 Patent grant
GR01 Patent grant