CN109725986B - Graphical and containerized virtual network environment construction and batch deployment method - Google Patents

Graphical and containerized virtual network environment construction and batch deployment method Download PDF

Info

Publication number
CN109725986B
CN109725986B CN201910084374.9A CN201910084374A CN109725986B CN 109725986 B CN109725986 B CN 109725986B CN 201910084374 A CN201910084374 A CN 201910084374A CN 109725986 B CN109725986 B CN 109725986B
Authority
CN
China
Prior art keywords
virtual
virtual network
network environment
resource
template
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
CN201910084374.9A
Other languages
Chinese (zh)
Other versions
CN109725986A (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.)
Sun Yat Sen University
Original Assignee
Sun Yat Sen University
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 Sun Yat Sen University filed Critical Sun Yat Sen University
Priority to CN201910084374.9A priority Critical patent/CN109725986B/en
Publication of CN109725986A publication Critical patent/CN109725986A/en
Application granted granted Critical
Publication of CN109725986B publication Critical patent/CN109725986B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Stored Programmes (AREA)

Abstract

The invention relates to the technical field of cloud computing and containers, in particular to a method for constructing and deploying graphical and containerized virtual network environments in batches, which comprises the following steps: designing a virtual network topological graph and configuring virtual resource attributes based on a graphical tool; verifying the availability of the template and deploying the containerized virtual network environment in batch; lifecycle management of a runtime virtual network environment. The invention simplifies the construction and management process of the virtual network environment, overcomes the defects of complicated configuration steps and single application scene in the prior art, accelerates the deployment speed of the batch virtual network environment, and improves the efficiency of network teaching and research of colleges and universities or research institutions.

Description

Graphical and containerized virtual network environment construction and batch deployment method
Technical Field
The invention relates to the technical field of cloud computing and containers, in particular to a graphical and containerized virtual network environment construction and batch deployment method.
Background
The cloud computing technology becomes a new technical trend and a huge change in the internet field by virtue of the characteristics of virtualization, universality, low resource price and the like, a user can conveniently simulate a real network environment through various virtual resources provided by a cloud computing platform to perform related experiments and researches, and the hardware acquisition and maintenance cost is greatly reduced. As a lightweight virtualization technology, compared with a virtual machine, the container technology has the advantages of being fast in starting, flexible in stretching and the like, and the defects existing in the virtualization technology based on the virtual machine are overcome.
The existing virtual network environment building platform and system based on the cloud computing technology make up the defects of a physical network experimental environment to a certain extent, but have some problems, including: the application scene is single; when teachers or research institutions design and create new experiment environments, the configuration is complicated, the steps are complex, and a complex network topological structure is difficult to support; the experimental environment in use cannot be backed up and restored; the batch deployment and the start of the virtual network environment based on the pure virtual machine are time-consuming and occupy more resources.
Disclosure of Invention
The invention aims to overcome the problems of cost and safety of the traditional real network and the defects of complex configuration, single application scene and incapability of multiplexing and reproducing of the existing virtual network solution based on a pure virtual machine, and provides a graphical and containerized virtual network environment construction and batch deployment method.
In order to solve the problems, the technical scheme adopted by the invention is as follows: a graphical and containerized virtual network environment construction and batch deployment method comprises the following steps:
designing a virtual network topological graph and configuring virtual resource attributes based on a graphical tool;
verifying the availability of the template and deploying the containerized virtual network environment in batch;
lifecycle management for runtime virtual network environments.
In a preferred embodiment, the graphical tool comprises a resource bar, a display stand and a control bar, wherein the resource bar displays all virtual resources available for a user; the display platform is used for placing virtual resources dragged and added by a user from the resource bar and displaying the current network topological structure; the control bar displays management operation buttons for the current topological graph, including saving, clearing, saving as draft, and verifying availability.
In a preferred embodiment, the virtual network topology design and virtual resource configuration based on the graphical tool includes the following steps:
a) Selecting to edit an existing template or a newly-built template to enter a graphical tool, reading corresponding template information and displaying a corresponding network topological graph by a display stand when selecting to edit the existing template, and displaying the display stand as blank when selecting to newly build the template;
b) Placing the virtual resource icons of the required types and numbers on a display platform by dragging the virtual resource icons from the resource bar;
c) Determining the associated information among the virtual resources by adding straight lines among the virtual resource icons, thereby obtaining a preliminary network topological graph;
d) Sequentially clicking virtual resource icons in the display stand to complete attribute configuration of all virtual resources;
e) Click save translates the topology map into text format.
In a preferred embodiment, the template availability verification and containerized virtual network environment batch deployment includes the following steps:
a) Selecting and deploying templates from the generated templates;
b) Carrying out availability verification on the selected template, including verifying whether the resource type described in the template exists and is available, whether the resource size requirement can be met and whether the configuration of the mandatory resource attribute is complete;
c) If the availability passes the verification, the batch deployment can be carried out, otherwise, error information is prompted and the step a) is returned, and the template selection is carried out again;
d) Determining the deployment quantity required by the virtual network environment;
e) Setting the starting use time and the automatic destruction time of the virtual network environment;
f) Generating a deployment task in advance according to the set starting use time, and transmitting the deployment task into a message queue;
g) The server side obtains tasks from the message queue and executes the tasks asynchronously;
h) And after the task is completed, returning a batch deployment result.
Compared with the prior art, the invention has the following advantages and effects:
1. according to the virtual network topological graph design method based on the graphical tool, the complex virtual resources are subjected to unified modeling description and are displayed in a simpler and more visual form of icons and connecting lines, and the working efficiency is improved.
2. By combining the cloud computing technology and the container technology, a containerized application scene is provided on the premise of supporting the pure virtual machine, and the containerized application is used for replacing the pure virtual machine, so that the deployment speed is increased, the resource utilization rate is improved, and the maintenance and the migration are facilitated.
3. The resource configuration information is templated and persisted, so that the resource configuration information can be repeatedly used and deployed in batches.
4. The provided life cycle management aiming at the running virtual network environment supports state information viewing and one-key destruction, and supports rapid backup and recovery of the environment in use.
Drawings
FIG. 1 is a general flow diagram of one embodiment of the present invention;
FIG. 2 is a graphical virtual network topology design and virtual resource attribute configuration flow diagram of one embodiment of the present invention;
FIG. 3 is a flowchart of batch deployment of a virtual environment for template availability verification and containerization according to one embodiment of the invention.
Detailed Description
The advantages and features of the present invention will become more apparent from the following description and claims, taken in conjunction with the accompanying drawings and the following examples, although the embodiments of the invention are not limited thereto.
Examples
As shown in fig. 1, the method for constructing and deploying a graphical and containerized virtual network environment in batch provided by the present invention includes the steps of: designing a virtual network topological graph and configuring virtual resource attributes based on a graphical tool; verifying the availability of the template and rapidly deploying the containerized virtual network environment in batch; lifecycle management of a runtime virtual network environment.
The graphical tool comprises a resource bar, a display platform and a control bar, wherein the resource bar displays all virtual resources available for a user; the display platform is used for placing virtual resources dragged and added by a user from the resource bar and displaying the current network topological structure; the control bar shows management operation buttons that can be performed on the current topology graph, including save, clear, save as draft, and verify availability.
The virtual resources include containerized applications (e.g., mySQL, wordPress, etc.), pure virtual machines (e.g., windows or Ubuntu), virtual networks, virtual routers, virtual storage, and key peering. The virtual resource attributes comprise a mandatory attribute and an optional attribute, the mandatory attribute is a core parameter on which the resource is created, such as a container mirror image type, an IP address field of a virtual network, and the optional attribute is a parameter on which the resource is created without dependence or with a default value, such as a security group, a dependency relationship between resources, and the like. The dependency relationship refers to the sequence of resource generation, and if the resource 1 depends on the resource 2, the resource 2 is generated in preference to the resource 1. In terms of filling, the resource attributes are divided into a custom attribute that requires the user to fill in (such as a subnet IP address field) and a restrictive attribute that can be selected from only a few options provided (such as system mirroring).
In this embodiment, the process of designing a virtual network topology diagram and configuring virtual resources based on a graphical tool is shown in fig. 2, and includes the following steps:
a) Selecting and editing the existing template or creating a new template to enter a graphical tool, wherein the display stand of the former (selecting and editing the existing template) reads corresponding template information and displays a corresponding network topological graph, and the display stand of the latter (selecting and creating the new template) displays a blank;
b) Placing the virtual resource icons of the required types and numbers on a display platform by dragging the virtual resource icons from a resource bar;
c) Determining the associated information among the virtual resources by adding straight lines among the virtual resource icons, thereby obtaining a preliminary network topological graph;
d) Sequentially clicking virtual resource icons in the display stand to complete the configuration of all virtual resource attributes, including the requisite attributes and the optional attributes;
e) Click save translates the topology map into a text format for use in saving and deployment.
The template availability verification and containerized virtual network environment batch deployment method comprises the following steps:
a) Selecting and deploying templates from the generated templates;
b) Carrying out availability verification on the selected template, including verifying whether the resource type described in the template exists and is available, whether the resource size requirement can be met and whether the configuration of the mandatory resource attribute is complete;
c) If the availability passes the verification, the batch deployment can be carried out, otherwise, error information is prompted and the step a) is returned, and the template selection is carried out again;
d) Determining the deployment quantity required by the virtual network environment;
e) Setting the starting use time and the automatic destruction time of the virtual network environment;
f) Generating a deployment task in advance according to the set starting use time, and transmitting the deployment task into a message queue;
g) A consumer (a server) acquires a task from a message queue and executes the task asynchronously;
h) And after the task is completed, returning a batch deployment result.
The life cycle management of the runtime virtual network environment refers to real-time operation performed on the virtual network environment which is successfully deployed and normally used, and includes checking basic state information (such as an operating state and a topological graph), and prolonging the use time or destroying the virtual network environment in advance based on backup and restoration of a snapshot.
In general, the method simplifies the construction and management process of the virtual network environment, overcomes the defects of complicated configuration steps and single application scene of the prior art, accelerates the deployment speed of the batch virtual network environment, and improves the efficiency of network teaching and research of colleges and universities or research institutions.
The above embodiments are preferred embodiments of the present invention, but the present invention is not limited to the above embodiments, and any other changes, modifications, substitutions, combinations, and simplifications which do not depart from the spirit and principle of the present invention should be construed as equivalents thereof, and all such changes, modifications, substitutions, combinations, and simplifications are intended to be included in the scope of the present invention.

Claims (3)

1. A graphical and containerized virtual network environment construction and batch deployment method is characterized by comprising the following steps: designing a virtual network topological graph and configuring virtual resource attributes based on a graphical tool;
verifying the availability of the template and deploying the containerized virtual network environment in batch;
lifecycle management of the runtime virtual network environment;
the graphical tool comprises a resource bar, a display platform and a control bar, wherein the resource bar displays all virtual resources available for a user; the display platform is used for placing virtual resources dragged and added by a user from the resource bar and displaying the current network topological structure; the control bar displays management operation buttons for the current topological graph, and the management operation buttons comprise storage, clearing, draft storage and availability verification;
the virtual network topology graph design and virtual resource configuration based on the graphical tool comprises the following steps:
a) Selecting to edit an existing template or a newly-built template to enter a graphical tool, reading corresponding template information and displaying a corresponding network topological graph by a display stand when selecting to edit the existing template, and displaying the display stand as blank when selecting to newly build the template;
b) Placing the virtual resource icons of the required types and numbers on a display platform by dragging the virtual resource icons from a resource bar;
c) Determining the associated information among the virtual resources by adding straight lines among the virtual resource icons, thereby obtaining a preliminary network topological graph;
d) Sequentially clicking virtual resource icons in the display stand to complete attribute configuration of all virtual resources;
e) Clicking to store and translating the topological graph into a text format;
the template availability verification and containerized virtual network environment batch deployment method comprises the following steps:
a) Selecting and deploying templates from the generated templates;
b) Carrying out availability verification on the selected template, including verifying whether the resource type described in the template exists and is available, whether the resource size requirement can be met and whether the configuration of the mandatory resource attribute is complete;
c) If the availability passes the verification, the batch deployment can be carried out, otherwise, error information is prompted and the step a) is returned, and the template selection is carried out again;
d) Determining the deployment quantity required by the virtual network environment;
e) Setting the starting use time and the automatic destruction time of the virtual network environment;
f) Generating a deployment task in advance according to the set starting use time, and transmitting the deployment task into a message queue;
g) The server side obtains tasks from the message queue and executes the tasks asynchronously;
h) And after the task is completed, returning a batch deployment result.
2. The virtual network environment construction and batch deployment method of claim 1, wherein the lifecycle management of the runtime virtual network environment is a real-time operation performed on the successfully deployed and normally used virtual network environment, and the real-time operation includes checking basic state information, and prolonging a service time or destroying the virtual network environment in advance based on backup and restoration of a snapshot.
3. The virtual network environment construction and bulk deployment method of claim 1, wherein the virtual resources comprise containerized applications, pure virtual machines, virtual networks, virtual routers, virtual storage, and key pairs.
CN201910084374.9A 2019-01-29 2019-01-29 Graphical and containerized virtual network environment construction and batch deployment method Active CN109725986B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910084374.9A CN109725986B (en) 2019-01-29 2019-01-29 Graphical and containerized virtual network environment construction and batch deployment method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910084374.9A CN109725986B (en) 2019-01-29 2019-01-29 Graphical and containerized virtual network environment construction and batch deployment method

Publications (2)

Publication Number Publication Date
CN109725986A CN109725986A (en) 2019-05-07
CN109725986B true CN109725986B (en) 2023-01-20

Family

ID=66300273

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910084374.9A Active CN109725986B (en) 2019-01-29 2019-01-29 Graphical and containerized virtual network environment construction and batch deployment method

Country Status (1)

Country Link
CN (1) CN109725986B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110177016A (en) * 2019-05-27 2019-08-27 北京计算机技术及应用研究所 A kind of network security experimental enviroment fast construction method
CN110427248B (en) * 2019-07-12 2021-10-01 中国人民解放军国防科技大学 Container-based lightweight user environment construction method, system and medium
CN111046243B (en) * 2019-11-29 2023-01-06 苏州浪潮智能科技有限公司 Method, equipment and medium for configuring SONIC (self-organizing network) based on network topology map
CN111739368A (en) * 2020-06-12 2020-10-02 深圳市讯方技术股份有限公司 5G communication simulation method and electronic equipment
CN112636982A (en) * 2020-12-28 2021-04-09 中孚安全技术有限公司 Network countermeasure environment configuration method and experiment cloud platform system for network countermeasure

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103001823A (en) * 2012-11-13 2013-03-27 中国科学院信息工程研究所 Method and system for establishing virtual network on basis of multi-grit abstract theory
CN104283870A (en) * 2014-09-18 2015-01-14 广东顺德中山大学卡内基梅隆大学国际联合研究院 Cloud desktop network access control method
CN105681454A (en) * 2016-02-29 2016-06-15 广东顺德中山大学卡内基梅隆大学国际联合研究院 Method and system for self-adaptively connecting cloud desktop
CN107105003A (en) * 2017-02-14 2017-08-29 广州云晫信息科技有限公司 Cloud system is melted automatically in the super fusion thin cloud data center of one kind
CN107316515A (en) * 2017-08-23 2017-11-03 广州云晫信息科技有限公司 A kind of experiment teaching system based on cloud computing
CN108388460A (en) * 2018-02-05 2018-08-10 中国人民解放军战略支援部队航天工程大学 Long-range real-time rendering platform construction method based on graphics cluster
CN108924217A (en) * 2018-06-29 2018-11-30 中山大学 A kind of distribution cloud system Automation arranging method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9311160B2 (en) * 2011-11-10 2016-04-12 Verizon Patent And Licensing Inc. Elastic cloud networking
US9047690B2 (en) * 2012-04-11 2015-06-02 Myriata, Inc. System and method for facilitating creation of a rich virtual environment
KR102105690B1 (en) * 2016-04-27 2020-04-28 한국전자통신연구원 Network Computing Testbed System Based on Open Source Virtualized Cloud Environment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103001823A (en) * 2012-11-13 2013-03-27 中国科学院信息工程研究所 Method and system for establishing virtual network on basis of multi-grit abstract theory
CN104283870A (en) * 2014-09-18 2015-01-14 广东顺德中山大学卡内基梅隆大学国际联合研究院 Cloud desktop network access control method
CN105681454A (en) * 2016-02-29 2016-06-15 广东顺德中山大学卡内基梅隆大学国际联合研究院 Method and system for self-adaptively connecting cloud desktop
CN107105003A (en) * 2017-02-14 2017-08-29 广州云晫信息科技有限公司 Cloud system is melted automatically in the super fusion thin cloud data center of one kind
CN107316515A (en) * 2017-08-23 2017-11-03 广州云晫信息科技有限公司 A kind of experiment teaching system based on cloud computing
CN108388460A (en) * 2018-02-05 2018-08-10 中国人民解放军战略支援部队航天工程大学 Long-range real-time rendering platform construction method based on graphics cluster
CN108924217A (en) * 2018-06-29 2018-11-30 中山大学 A kind of distribution cloud system Automation arranging method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
一种自适应文件系统元数据服务负载均衡策略;佘楚玉 等;《软件学报》;20170112;第1952-1967页 *

Also Published As

Publication number Publication date
CN109725986A (en) 2019-05-07

Similar Documents

Publication Publication Date Title
CN109725986B (en) Graphical and containerized virtual network environment construction and batch deployment method
CN110795148B (en) Method and device for generating layout file and electronic equipment
Medvidovic et al. Using software evolution to focus architectural recovery
CN106502699A (en) A kind of five application page processing method, apparatus and system
US10691320B2 (en) Simulation of cloud platform integration testing in a visual interface
CN109359033A (en) Method for testing pressure, testing service device, management server and system
US20070266040A1 (en) Architecture solution map builder
CN102073536A (en) Method for editing template into warehouse by cloud platform and generating virtual machines in bulk
CN103049317A (en) Highly-concurrent data fast write system and method based on queues in cloud environment
CN106202006A (en) Document generating method and device
WO2021096953A1 (en) Computerized system and method for a distributed low-code / no-code computing environment
US11733973B2 (en) Interactive graphic design system to enable creation and use of variant component sets for interactive objects
WO2018076946A1 (en) Method and system for displaying physical object based on configuration, and computer program and storage medium
CN106888264B (en) A kind of method for interchanging data and device
CN105933154A (en) Management method of cloud calculation resources
CN115333787A (en) Automatic safety testing method, system and storage medium for 5G industrial control network system
CN109408322B (en) A kind of automatic business process implementation method of cloud platform
CN112925555A (en) Model management method, device, equipment and storage medium
CN104717175B (en) The processing method and system of virtual desktop
US20170011322A1 (en) Business process managment
WO2017096951A1 (en) Virtual machine update method and device
CN111125451A (en) Data production processing method and device, electronic equipment and storage medium
CN110618815A (en) Construction method of industrial system network topological graph
CN115051846A (en) Deployment method of K8S cluster based on super fusion platform and electronic equipment
CN111625379B (en) Information processing method and device, electronic equipment and readable storage medium

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