Movatterモバイル変換


[0]ホーム

URL:


CN107135095B - Visual editing method and system for virtual machine network topology - Google Patents

Visual editing method and system for virtual machine network topology
Download PDF

Info

Publication number
CN107135095B
CN107135095BCN201710229572.0ACN201710229572ACN107135095BCN 107135095 BCN107135095 BCN 107135095BCN 201710229572 ACN201710229572 ACN 201710229572ACN 107135095 BCN107135095 BCN 107135095B
Authority
CN
China
Prior art keywords
virtual machine
network topology
agent
structured data
information
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
CN201710229572.0A
Other languages
Chinese (zh)
Other versions
CN107135095A (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.)
Tsinghua University
Original Assignee
Tsinghua 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 Tsinghua UniversityfiledCriticalTsinghua University
Priority to CN201710229572.0ApriorityCriticalpatent/CN107135095B/en
Publication of CN107135095ApublicationCriticalpatent/CN107135095A/en
Application grantedgrantedCritical
Publication of CN107135095BpublicationCriticalpatent/CN107135095B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Classifications

Landscapes

Abstract

Translated fromChinese

本申请提出虚拟机网络拓扑的可视化编辑方法及装置,本发明通过在虚拟机所在宿主机上和一台任意主机上分别设置代理,通过两个代理之间彼此交互实现对虚拟机网络拓扑可视化查看和编辑的功能。有助于用户直观观察与理解虚拟机网络等配置信息,并对虚拟机网络进行配置操作,提高配置虚拟机网络和操作虚拟机的效率,大幅提升使用体验。

Figure 201710229572

This application proposes a method and device for visual editing of virtual machine network topology. In the present invention, agents are respectively set on the host machine where the virtual machine is located and on an arbitrary host, and the virtual machine network topology can be visually viewed through interaction between the two agents. and editing functions. It helps users to intuitively observe and understand configuration information such as virtual machine networks, and perform configuration operations on virtual machine networks, improve the efficiency of configuring virtual machine networks and operating virtual machines, and greatly improve user experience.

Figure 201710229572

Description

Translated fromChinese
虚拟机网络拓扑的可视化编辑方法及系统Visual editing method and system for virtual machine network topology

技术领域technical field

本发明涉及虚拟机管理技术领域,更具体地,涉及虚拟机网络拓扑的可视化编辑方法及系统。The present invention relates to the technical field of virtual machine management, and more particularly, to a method and system for visual editing of virtual machine network topology.

背景技术Background technique

虚拟机的应用日趋广泛,利用虚拟机可以进行网络实验、网络程序和协议的测试,以及提供虚拟化的网格计算环境。如果不利用虚拟机进行网络实验会浪费大量的人力物力。如果利用仿真模拟或仿真软件进行网络实验,则模拟或仿真出来的网络情况不会很接近真实情况,对于测试者或者实验结果产生较大的影响。The application of virtual machines is becoming more and more extensive, and virtual machines can be used to conduct network experiments, test network programs and protocols, and provide a virtualized grid computing environment. If you do not use virtual machines to conduct network experiments, a lot of manpower and material resources will be wasted. If the simulation or simulation software is used to conduct network experiments, the simulated or simulated network conditions will not be very close to the real conditions, which will have a greater impact on testers or experimental results.

同时,随着云计算热潮的兴起,作为云服务中最常见的虚拟机服务,越来越受到人们的追捧。虚拟机具有可靠性高,隔离性好等优点。但在当前的各类云服务中,在虚拟机数量较大时,存在虚拟机信息显示不直观、目标虚拟机难以查找、虚拟机网络拓扑信息难以理解和虚拟机网络不方便配置等问题。At the same time, with the rise of the cloud computing boom, as the most common virtual machine service in cloud services, it is more and more sought after by people. Virtual machines have the advantages of high reliability and good isolation. However, in the current various cloud services, when the number of virtual machines is large, there are problems such as unintuitive display of virtual machine information, difficult to find target virtual machines, difficult to understand virtual machine network topology information, and inconvenient configuration of virtual machine networks.

现有技术中,存在虚拟机网络拓扑的展示方法,所述方法基于虚拟机网络拓扑信息,数据结构化方法将所述虚拟机网络拓扑的信息进行结构化展示。使用者可以根据展示的虚拟机网络拓扑信息,对于所述虚拟机网络按照自己的需求进行相应的配置修改。In the prior art, there is a method for displaying the network topology of a virtual machine. The method is based on the network topology information of the virtual machine, and the data structuring method displays the information of the network topology of the virtual machine in a structured manner. The user can configure and modify the virtual machine network according to his own needs according to the displayed virtual machine network topology information.

但上述现有技术中的虚拟机网络拓扑展示方法并不能很直观的向观众展示待管理虚拟机王拓拓扑的数据信息,同时使用者也不能快速便捷的对虚拟机网络进行配置修改。However, the above-mentioned method for displaying the virtual machine network topology in the prior art cannot intuitively display the data information of the virtual machine to be managed to the audience, and the user cannot quickly and conveniently modify the configuration of the virtual machine network.

发明内容SUMMARY OF THE INVENTION

本发明为克服上述问题或者至少部分地解决上述问题,提供虚拟机网络拓扑的可视化编辑方法及装置。In order to overcome the above problems or at least partially solve the above problems, the present invention provides a visual editing method and device for virtual machine network topology.

根据本发明的一个方面,提供一种虚拟机网络拓扑的可视化编辑方法,包括:According to an aspect of the present invention, a visual editing method for virtual machine network topology is provided, including:

步骤1,第二代理将虚拟机网络拓扑信息转化为结构化数据,将所述结构化数据发送给第一代理;以供所述第一代理基于所述结构化数据将所述虚拟机网络拓扑进行图形展示,将包含修改信息的图形化虚拟机网络拓扑图以结构化数据的形式发送给第二代理;Step 1, the second agent converts the virtual machine network topology information into structured data, and sends the structured data to the first agent; for the first agent to convert the virtual machine network topology information based on the structured data. Perform a graphical display, and send the graphical virtual machine network topology map containing the modification information to the second agent in the form of structured data;

步骤2,接收所述第一代理发送来包含修改信息的结构化数据,解析所述包含修改信息的结构化数据,根据解析后的数据修改所述虚拟网络的配置信息。Step 2: Receive structured data containing modification information sent by the first agent, parse the structured data containing modification information, and modify the configuration information of the virtual network according to the parsed data.

根据本发明的一个方面,提供一种虚拟机网络拓扑的可视化编辑方法,包括:According to an aspect of the present invention, a visual editing method for virtual machine network topology is provided, including:

步骤1’,第一代理接收所述虚拟机网络拓扑信息的结构化数据,基于所述结构化数据解析得到结构化数据中的网络拓扑信息,基于所述网络拓扑信息生成图形化的虚拟机网络拓扑图;Step 1', the first agent receives the structured data of the virtual machine network topology information, parses and obtains the network topology information in the structured data based on the structured data, and generates a graphical virtual machine network based on the network topology information Topology;

步骤2’,第一代理接收对于所述图形化的虚拟机网络拓扑图的修改操作,基于所述修改操作编辑所述图形化的虚拟机网络拓扑图,将所述编辑后过的虚拟机网络拓扑图转化为结构化数据;将所述编辑过的结构化数据发送给第二代理,以供所述第二代理解析所述编辑过的结构化数据,根据解析后的数据修改所述虚拟网络的配置信息。Step 2', the first agent receives a modification operation on the graphical virtual machine network topology, edits the graphical virtual machine network topology based on the modification operation, and converts the edited virtual machine network The topology map is converted into structured data; the edited structured data is sent to the second agent for the second agent to parse the edited structured data, and the virtual network is modified according to the parsed data configuration information.

根据本发明的一个方面,提供一种虚拟机网络拓扑的可视化编辑装置,包括:According to one aspect of the present invention, there is provided a visual editing device for virtual machine network topology, including:

获取模块,用于将虚拟机网络拓扑信息转化为结构化数据,将所述结构化数据发送给第一代理;以供所述第一代理基于所述结构化数据将所述虚拟机网络拓扑进行图形展示,将包含修改信息的图形化虚拟机网络拓扑图以结构化数据的形式发送给第二代理;An acquisition module, configured to convert the virtual machine network topology information into structured data, and send the structured data to the first agent; for the first agent to perform the virtual machine network topology analysis based on the structured data Graphical display, sending the graphical virtual machine network topology map containing modification information to the second agent in the form of structured data;

修改模块,用于接收所述第一代理发送来包含修改信息的结构化数据,解析所述包含修改信息的结构化数据,根据解析后的数据修改所述虚拟网络的配置信息。A modification module, configured to receive structured data containing modification information sent by the first agent, parse the structured data containing modification information, and modify the configuration information of the virtual network according to the parsed data.

根据本发明的一个方面,提供一种虚拟机网络拓扑的可视化编辑装置,包括:According to one aspect of the present invention, there is provided a visual editing device for virtual machine network topology, including:

生成模块,用于接收所述虚拟机网络拓扑信息的结构化数据,基于所述结构化数据解析得到结构化数据中的网络拓扑信息,基于所述网络拓扑信息生成图形化的虚拟机网络拓扑图;A generating module is configured to receive structured data of the virtual machine network topology information, parse and obtain network topology information in the structured data based on the structured data, and generate a graphical virtual machine network topology map based on the network topology information ;

配置模块,用于接收对于所述图形化的虚拟机网络拓扑图的修改操作,基于所述修改操作编辑所述图形化的虚拟机网络拓扑图,将所述编辑后过的虚拟机网络拓扑图转化为结构化数据;将所述编辑过的结构化数据发送给第二代理,以供所述第二代理解析所述编辑过的结构化数据,根据解析后的数据修改所述虚拟网络的配置信息。A configuration module, configured to receive a modification operation on the graphical virtual machine network topology, edit the graphical virtual machine network topology based on the modification operation, and edit the edited virtual machine network topology Converting into structured data; sending the edited structured data to a second agent for the second agent to parse the edited structured data, and modify the configuration of the virtual network according to the parsed data information.

本申请提出虚拟机网络拓扑的可视化编辑方法及装置,本发明通过在虚拟机所在宿主机上和一台任意主机上分别设置代理,通过两个代理之间彼此交互实现对虚拟机网络拓扑可视化查看和编辑的功能。有助于用户直观观察与理解虚拟机网络等配置信息,并对虚拟机网络进行配置操作,提高配置虚拟机网络和操作虚拟机的效率,大幅提升使用体验。This application proposes a method and device for visual editing of virtual machine network topology. In the present invention, agents are respectively set on the host machine where the virtual machine is located and on an arbitrary host, and the virtual machine network topology can be visually viewed through interaction between the two agents. and editing functions. It helps users to intuitively observe and understand configuration information such as virtual machine networks, and perform configuration operations on virtual machine networks, improve the efficiency of configuring virtual machine networks and operating virtual machines, and greatly improve user experience.

附图说明Description of drawings

图1为根据本发明实施例一种虚拟机网络拓扑的可视化编辑方法总体流程示意图;1 is a schematic overall flow diagram of a method for visual editing of virtual machine network topology according to an embodiment of the present invention;

图2为根据本发明实施例一种虚拟机网络拓扑的可视化编辑方法总体流程示意图;2 is a schematic overall flowchart of a method for visual editing of virtual machine network topology according to an embodiment of the present invention;

图3为根据本发明实施例一种虚拟机网络拓扑的可视化编辑装置的总体框架示意图。FIG. 3 is a schematic diagram of an overall framework of an apparatus for visual editing of virtual machine network topology according to an embodiment of the present invention.

具体实施方式Detailed ways

下面结合附图和实施例,对本发明的具体实施方式作进一步详细描述。以下实施例用于说明本发明,但不用来限制本发明的范围。The specific embodiments of the present invention will be described in further detail below with reference to the accompanying drawings and embodiments. The following examples are intended to illustrate the present invention, but not to limit the scope of the present invention.

图1中,示出本发明一个具体实施例中,一种虚拟机网络拓扑的可视化编辑方法总体流程示意图。总体上,包括:FIG. 1 shows a schematic overall flow diagram of a method for visual editing of a virtual machine network topology in a specific embodiment of the present invention. In general, it includes:

步骤1,第二代理将虚拟机网络拓扑信息转化为结构化数据,将所述结构化数据发送给第一代理;以供所述第一代理基于所述结构化数据将所述虚拟机网络拓扑进行图形展示,将包含修改信息的图形化虚拟机网络拓扑图以结构化数据的形式发送给第二代理;Step 1, the second agent converts the virtual machine network topology information into structured data, and sends the structured data to the first agent; for the first agent to convert the virtual machine network topology information based on the structured data. Perform a graphical display, and send the graphical virtual machine network topology map containing the modification information to the second agent in the form of structured data;

步骤2,接收所述第一代理发送来包含修改信息的结构化数据,解析所述包含修改信息的结构化数据,根据解析后的数据修改所述虚拟网络的配置信息。Step 2: Receive structured data containing modification information sent by the first agent, parse the structured data containing modification information, and modify the configuration information of the virtual network according to the parsed data.

在本发明另一个具体实施例中,一种虚拟机网络拓扑的可视化编辑方法,所述第二代理设置在所述虚拟机网络中虚拟机宿主机上,所述第一代理设置在所述虚拟机网络中任一主机上。In another specific embodiment of the present invention, a method for visual editing of virtual machine network topology, the second proxy is set on a virtual machine host in the virtual machine network, and the first proxy is set on the virtual machine on any host on the network.

在本发明另一个具体实施例中,一种虚拟机网络拓扑的可视化编辑方法,所述步骤1中的虚拟机网络拓扑信息通过以下步骤获取:第二代理利用虚拟机软件的编程接口,收集虚拟机网络拓扑信息。In another specific embodiment of the present invention, a method for visual editing of virtual machine network topology, the virtual machine network topology information in the step 1 is obtained through the following steps: the second agent uses the programming interface of virtual machine software to collect virtual machine network topology information. machine network topology information.

在本发明另一个具体实施例中,一种虚拟机网络拓扑的可视化编辑方法,所述步骤1中的虚拟机网络拓扑信息通过以下步骤获取:设置在所述虚拟机网络中虚拟机宿主机上的第二代理利用虚拟机软件的编程接口,收集虚拟机网络拓扑信息。In another specific embodiment of the present invention, in a method for visual editing of virtual machine network topology, the virtual machine network topology information in step 1 is obtained by the following steps: setting the virtual machine network on the virtual machine host in the virtual machine network. The second agent uses the programming interface of the virtual machine software to collect the network topology information of the virtual machine.

在本发明另一个具体实施例中,一种虚拟机网络拓扑的可视化编辑方法,所述步骤1中将虚拟机网络拓扑信息转化为结构化数据的步骤进一步包括:利用XML或JSON数据格式将虚拟机网络拓扑信息转化为结构化数据。In another specific embodiment of the present invention, a method for visual editing of virtual machine network topology, the step of converting virtual machine network topology information into structured data in step 1 further includes: using XML or JSON data format to The computer network topology information is converted into structured data.

在本发明另一个具体实施例中,一种虚拟机网络拓扑的可视化编辑方法,所述步骤2中根据解析后的数据修改所述虚拟网络的配置信息的步骤进一步包括:所述第二代理根据解析后的数据,调用虚拟机软件的编程接口,修改虚拟网络中相应虚拟机的配置信息。In another specific embodiment of the present invention, in a method for visual editing of virtual machine network topology, the step of modifying the configuration information of the virtual network according to the parsed data in step 2 further includes: the second agent according to The parsed data calls the programming interface of the virtual machine software to modify the configuration information of the corresponding virtual machine in the virtual network.

图1中,示出本发明一个具体实施例中,一种虚拟机网络拓扑的可视化编辑方法总体流程示意图。总体上,包括:FIG. 1 shows a schematic overall flow diagram of a method for visual editing of a virtual machine network topology in a specific embodiment of the present invention. In general, it includes:

步骤1’,第一代理接收所述虚拟机网络拓扑信息的结构化数据,基于所述结构化数据解析得到结构化数据中的网络拓扑信息,基于所述网络拓扑信息生成图形化的虚拟机网络拓扑图;Step 1', the first agent receives the structured data of the virtual machine network topology information, parses and obtains the network topology information in the structured data based on the structured data, and generates a graphical virtual machine network based on the network topology information Topology;

步骤2’,第一代理接收对于所述图形化的虚拟机网络拓扑图的修改操作,基于所述修改操作编辑所述图形化的虚拟机网络拓扑图,将所述编辑后过的虚拟机网络拓扑图转化为结构化数据;将所述编辑过的结构化数据发送给第二代理,以供所述第二代理解析所述编辑过的结构化数据,根据解析后的数据修改所述虚拟网络的配置信息。Step 2', the first agent receives a modification operation on the graphical virtual machine network topology, edits the graphical virtual machine network topology based on the modification operation, and converts the edited virtual machine network The topology map is converted into structured data; the edited structured data is sent to the second agent for the second agent to parse the edited structured data, and the virtual network is modified according to the parsed data configuration information.

在本发明另一个具体实施例中,一种虚拟机网络拓扑的可视化编辑方法,所述图形化的虚拟机网络拓扑图进一步包括:In another specific embodiment of the present invention, a method for visual editing of virtual machine network topology, the graphical virtual machine network topology diagram further includes:

利用特定形状的结点表示单个虚拟机,利用所述结点间的线表示所述虚拟机之间的网络连接;A single virtual machine is represented by a node of a specific shape, and a network connection between the virtual machines is represented by a line between the nodes;

利用不同形状、颜色、动画、交互效果的节点表示各虚拟机的不同信息;利用不同形状、颜色、动画、交互效果的连线表示网络连接的不同信息。Nodes with different shapes, colors, animations, and interactive effects are used to represent different information of each virtual machine; connections with different shapes, colors, animations, and interactive effects are used to represent different information of network connections.

在本发明另一个具体实施例中,一种虚拟机网络拓扑的可视化编辑方法,所述图形化的虚拟机网络拓扑图在网页中能够利用数据可视化工具D3.js生成。In another specific embodiment of the present invention, a method for visual editing of virtual machine network topology is provided, wherein the graphical virtual machine network topology map can be generated in a web page by using a data visualization tool D3.js.

在本发明又一个具体实施例中,一种虚拟机网络拓扑的可视化编辑方法。所述实施例方法详细如下:In yet another specific embodiment of the present invention, a method for visual editing of virtual machine network topology is provided. The embodiment method is detailed as follows:

本发明巧妙地通过在虚拟机所在宿主机上和一台任意主机上分别设置代理,通过两个代理之间彼此交互实现对虚拟机网络拓扑可视化查看和编辑的功能。适用于各类虚拟机软件、操作系统和虚拟网络类型,简单易用。本具体实施例中的方法包括设置在任意主机上的第一代理和设置在虚拟机的宿主机上的第二代理,该方法包括步骤:The invention skillfully sets up agents on the host machine where the virtual machine is located and an arbitrary host computer, and realizes the functions of visual viewing and editing of the network topology of the virtual machine through the interaction between the two agents. Simple and easy to use for all types of virtual machine software, operating systems, and virtual network types. The method in this specific embodiment includes a first agent set on any host and a second agent set on the host machine of the virtual machine, and the method includes the steps:

所述第二代理在虚拟机宿主机上使用虚拟机软件的编程接口,收集虚拟机网络拓扑信息;The second agent uses the programming interface of the virtual machine software on the virtual machine host to collect the virtual machine network topology information;

所述第二代理将收集到的网络拓扑信息转化为结构化数据,可使用XML和JSON等格式;The second agent converts the collected network topology information into structured data, and formats such as XML and JSON can be used;

所述第一代理使用HTTP和TCP等通信协议,通过网络通信获取到该结构化数据;The first agent uses communication protocols such as HTTP and TCP to obtain the structured data through network communication;

所述第一代理解析结构化中的网络拓扑信息;The first agent parses the network topology information in the structure;

所述第一代理根据网络拓扑信息,借助如D3.js等数据可视化工具,在网页中生成图形化的虚拟机网络拓扑图;The first agent generates a graphical virtual machine network topology map in the web page with the help of data visualization tools such as D3.js according to the network topology information;

用户在所述第一代理中提供的虚拟机网络拓扑图上进行交互和编辑,包含鼠标左右键单击、键盘输入和触控屏操作等;The user interacts and edits the virtual machine network topology map provided in the first agent, including left and right mouse button clicks, keyboard input and touch screen operations, etc.;

所述第一代理将编辑后的虚拟机网络拓扑图转换为结构化数据,可使用XML和JSON等格式;The first agent converts the edited virtual machine network topology map into structured data, and formats such as XML and JSON can be used;

所述第二代理使用HTTP和TCP等通信协议,通过网络获取该结构化数据;The second agent uses communication protocols such as HTTP and TCP to obtain the structured data through the network;

所述第二代理解析该结构化数据;the second agent parses the structured data;

所述第二代理根据解析后的数据,调用虚拟机软件的编程接口,修改虚拟机的网络配置,使二者保持一致。The second agent invokes the programming interface of the virtual machine software according to the parsed data, and modifies the network configuration of the virtual machine to keep the two consistent.

为了实现上述方法,本发明实施例还提供了一种虚拟机网络拓扑的可视化编辑装置,如图3所示,包括设置在任意主机上的第一代理模块和设置在宿主机上的第二代理模块,其中:In order to implement the above method, an embodiment of the present invention also provides a visual editing device for virtual machine network topology, as shown in FIG. 3 , including a first proxy module set on any host and a second proxy set on the host machine module, where:

所述第二代理在虚拟机宿主机上使用虚拟机软件的编程接口,收集虚拟机网络拓扑信息;The second agent uses the programming interface of the virtual machine software on the virtual machine host to collect the virtual machine network topology information;

所述第二代理将收集到的网络拓扑信息转化为结构化数据,可使用XML和JSON等格式;The second agent converts the collected network topology information into structured data, and formats such as XML and JSON can be used;

所述第一代理使用HTTP或TCP等通信协议,通过网络通信获取到该结构化数据;The first agent uses communication protocols such as HTTP or TCP to obtain the structured data through network communication;

所述第一代理解析结构化中的网络拓扑信息;The first agent parses the network topology information in the structure;

所述第一代理根据网络拓扑信息,借助如D3.js等数据可视化工具,在网页中生成图形化的虚拟机网络拓扑图;The first agent generates a graphical virtual machine network topology map in the web page with the help of data visualization tools such as D3.js according to the network topology information;

用户在所述第一代理中提供的虚拟机网络拓扑图上进行交互和编辑,包含鼠标左右键单击、键盘输入和触控屏操作等;The user interacts and edits the virtual machine network topology map provided in the first agent, including left and right mouse button clicks, keyboard input and touch screen operations, etc.;

所述第一代理将编辑后的虚拟机网络拓扑图转换为结构化数据,可使用XML和JSON等格式;The first agent converts the edited virtual machine network topology map into structured data, and formats such as XML and JSON can be used;

所述第二代理使用HTTP和TCP等通信协议,通过网络获取该结构化数据;The second agent uses communication protocols such as HTTP and TCP to obtain the structured data through the network;

所述第二代理解析该结构化数据;the second agent parses the structured data;

所述第二代理根据解析后的数据,调用虚拟机软件的编程接口,修改虚拟机的网络配置,使二者保持一致。The second agent invokes the programming interface of the virtual machine software according to the parsed data, and modifies the network configuration of the virtual machine to keep the two consistent.

在本发明另一个具体实施例中,一种虚拟机网络拓扑的可视化编辑装置,包括:In another specific embodiment of the present invention, a visual editing device for a virtual machine network topology includes:

获取模块,用于将虚拟机网络拓扑信息转化为结构化数据,将所述结构化数据发送给第一代理;以供所述第一代理基于所述结构化数据将所述虚拟机网络拓扑进行图形展示,将包含修改信息的图形化虚拟机网络拓扑图以结构化数据的形式发送给第二代理;An acquisition module, configured to convert the virtual machine network topology information into structured data, and send the structured data to the first agent; for the first agent to perform the virtual machine network topology analysis based on the structured data Graphical display, sending the graphical virtual machine network topology map containing modification information to the second agent in the form of structured data;

修改模块,用于接收所述第一代理发送来包含修改信息的结构化数据,解析所述包含修改信息的结构化数据,根据解析后的数据修改所述虚拟网络的配置信息。A modification module, configured to receive structured data containing modification information sent by the first agent, parse the structured data containing modification information, and modify the configuration information of the virtual network according to the parsed data.

在本发明另一个具体实施例中,一种虚拟机网络拓扑的可视化编辑装置,所述获取模块还用于:利用虚拟机软件的编程接口,收集虚拟机网络拓扑信息。In another specific embodiment of the present invention, in a visual editing device for virtual machine network topology, the acquisition module is further configured to: collect virtual machine network topology information by using a programming interface of virtual machine software.

在本发明另一个具体实施例中,一种虚拟机网络拓扑的可视化编辑装置,所述获取模块还用于:利用XML或JSON数据格式将虚拟机网络拓扑信息转化为结构化数据。In another specific embodiment of the present invention, in a visual editing device for virtual machine network topology, the obtaining module is further configured to: convert virtual machine network topology information into structured data using XML or JSON data format.

在本发明另一个具体实施例中,一种虚拟机网络拓扑的可视化编辑装置,所述修改模块还用于:根据解析后的数据,调用虚拟机软件的编程接口,修改虚拟网络中相应虚拟机的配置信息。In another specific embodiment of the present invention, a visual editing device for virtual machine network topology, the modification module is further used for: calling a programming interface of virtual machine software according to the parsed data, and modifying the corresponding virtual machine in the virtual network configuration information.

在本发明另一个具体实施例中,一种虚拟机网络拓扑的可视化编辑装置,包括:In another specific embodiment of the present invention, a visual editing device for a virtual machine network topology includes:

生成模块,用于接收所述虚拟机网络拓扑信息的结构化数据,基于所述结构化数据解析得到结构化数据中的网络拓扑信息,基于所述网络拓扑信息生成图形化的虚拟机网络拓扑图;A generating module is configured to receive structured data of the virtual machine network topology information, parse and obtain network topology information in the structured data based on the structured data, and generate a graphical virtual machine network topology map based on the network topology information ;

配置模块,用于接收对于所述图形化的虚拟机网络拓扑图的修改操作,基于所述修改操作编辑所述图形化的虚拟机网络拓扑图,将所述编辑后过的虚拟机网络拓扑图转化为结构化数据;将所述编辑过的结构化数据发送给第二代理,以供所述第二代理解析所述编辑过的结构化数据,根据解析后的数据修改所述虚拟网络的配置信息。A configuration module, configured to receive a modification operation on the graphical virtual machine network topology, edit the graphical virtual machine network topology based on the modification operation, and edit the edited virtual machine network topology Converting into structured data; sending the edited structured data to a second agent for the second agent to parse the edited structured data, and modify the configuration of the virtual network according to the parsed data information.

在本发明另一个具体实施例中,一种虚拟机网络拓扑的可视化编辑装置,所述图形化的虚拟机网络拓扑图进一步包括:In another specific embodiment of the present invention, a visual editing device for virtual machine network topology, the graphical virtual machine network topology diagram further includes:

利用特定形状的结点表示单个虚拟机,利用所述结点间的线表示所述虚拟机之间的网络连接;A single virtual machine is represented by a node of a specific shape, and a network connection between the virtual machines is represented by a line between the nodes;

利用不同形状、颜色、动画、交互效果的节点表示各虚拟机的不同信息;利用不同形状、颜色、动画、交互效果的连线表示网络连接的不同信息。Nodes with different shapes, colors, animations, and interactive effects are used to represent different information of each virtual machine; connections with different shapes, colors, animations, and interactive effects are used to represent different information of network connections.

在本发明另一个具体实施例中,一种虚拟机网络拓扑的可视化编辑装置,所述图形化的虚拟机网络拓扑图在网页中能够利用数据可视化工具D3.js生成。In another specific embodiment of the present invention, a visual editing device for virtual machine network topology, the graphical virtual machine network topology map can be generated in a web page by using a data visualization tool D3.js.

最后,本申请的方法仅为较佳的实施方案,并非用于限定本发明的保护范围。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。Finally, the method of the present application is only a preferred embodiment, and is not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included within the protection scope of the present invention.

Claims (10)

CN201710229572.0A2017-04-102017-04-10Visual editing method and system for virtual machine network topologyActiveCN107135095B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201710229572.0ACN107135095B (en)2017-04-102017-04-10Visual editing method and system for virtual machine network topology

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201710229572.0ACN107135095B (en)2017-04-102017-04-10Visual editing method and system for virtual machine network topology

Publications (2)

Publication NumberPublication Date
CN107135095A CN107135095A (en)2017-09-05
CN107135095Btrue CN107135095B (en)2020-06-12

Family

ID=59716309

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201710229572.0AActiveCN107135095B (en)2017-04-102017-04-10Visual editing method and system for virtual machine network topology

Country Status (1)

CountryLink
CN (1)CN107135095B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN114697319B (en)*2020-12-302023-06-16华为云计算技术有限公司Tenant service management method and device for public cloud
CN112799654B (en)*2021-04-132021-06-29南京雷电信息技术有限公司JSON-based graph agent implementation method

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101043380B (en)*2007-04-202010-07-21北京航空航天大学 Method and device for processing virtual machine network topology information
US20110072487A1 (en)*2009-09-232011-03-24Computer Associates Think, Inc.System, Method, and Software for Providing Access Control Enforcement Capabilities in Cloud Computing Systems
CN103118127A (en)*2013-02-222013-05-22浪潮电子信息产业股份有限公司Method for positioning topology view of virtual resource rapidly based on color and state identification
CN104243193A (en)*2013-06-182014-12-24阿里巴巴集团控股有限公司Network topology dynamic allocation and display method and device
US9836284B2 (en)*2014-06-182017-12-05Vmware, Inc.HTML5 graph layout for application topology
CN104363159B (en)*2014-07-022018-04-06北京邮电大学A kind of opening virtual network constructing system and method based on software defined network

Also Published As

Publication numberPublication date
CN107135095A (en)2017-09-05

Similar Documents

PublicationPublication DateTitle
CN104811331B (en)A kind of visual network O&M method and apparatus
US20140365196A1 (en)Infrastructure Model Generation System And Method
CN106777086B (en)Dynamic management method and device for webpage embedded points
CN107766042A (en)A kind of visual data manager and device of the model file based on CSAR
CN105468573B (en)Configurable type chart application system
CN106557457A (en)A kind of system for automatically generating cross-platform Complicated Flow figure based on QT
CN107610238A (en)A kind of power equipment AR dynamic modeling systems and its method of work
CN104104734A (en) Log analysis method and device
CN107135095B (en)Visual editing method and system for virtual machine network topology
US8745537B1 (en)Graphical interface for managing and monitoring the status of a graphical model
CN104717095A (en)Multiple controllers integrated visualized SDN management method
WO2013153629A1 (en)Information processing device, information processing method, and program
CN105227375B (en)A kind of method and system building virtual switch network
CN105893116A (en)Visual process management system and method oriented to real-time data flow processing
CN112667795B (en)Dialogue tree construction method and device, dialogue tree operation method, device and system
CN106982140B (en)Information flow simulation method and system
CN106302524B (en)A method of manipulation distal end application software
CN111130864A (en) Method for collecting formatable network metadata by using template
CN102929592B (en)The method and device of the three-dimension interaction of equipment based on monitoring system
CN104484093A (en)Graphical interface arrangement display method and graphical interface arrangement display device
CN107590044A (en)A kind of method of testing, device and the equipment of distributed storage cluster
CN105099745B (en) A business process tracking method and device
CN116932616A (en)Visual report generation method and device based on data index microservice
Ma et al.A distributed system monitoring tool with virtual reality
Joglekar et al.An open simulator framework for 3d visualization of digital twins

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp