CN113965515A - Virtualized network link visualization method, system, computer and storage medium - Google Patents

Virtualized network link visualization method, system, computer and storage medium Download PDF

Info

Publication number
CN113965515A
CN113965515A CN202111129845.7A CN202111129845A CN113965515A CN 113965515 A CN113965515 A CN 113965515A CN 202111129845 A CN202111129845 A CN 202111129845A CN 113965515 A CN113965515 A CN 113965515A
Authority
CN
China
Prior art keywords
information
virtualized network
link
node
network link
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.)
Granted
Application number
CN202111129845.7A
Other languages
Chinese (zh)
Other versions
CN113965515B (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.)
DBAPPSecurity Co Ltd
Original Assignee
DBAPPSecurity 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 DBAPPSecurity Co Ltd filed Critical DBAPPSecurity Co Ltd
Priority to CN202111129845.7A priority Critical patent/CN113965515B/en
Publication of CN113965515A publication Critical patent/CN113965515A/en
Application granted granted Critical
Publication of CN113965515B publication Critical patent/CN113965515B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/12Discovery or management of network topologies
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/22Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks comprising specially adapted graphical user interfaces [GUI]
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The application relates to a visualization method, a visualization system, a computer and a storage medium for a virtualized network link, wherein the method comprises the following steps: acquiring virtualization information of each node through the OVS, and carrying out serialization processing on the virtualization information; calling a link information query interface of each node to collect link data and gather the link data; and integrating the virtualization information and the link data to construct a virtualized network link and displaying the virtualized network link on a preset canvas through a preset visualization algorithm. By the visualization method for the virtualized network link, the user can visually check the virtualized network link related to the service topology, and when the user checks the virtualized network link, the user can quickly and accurately find the wrong node, so that the working efficiency is greatly improved, and the operation and maintenance cost is reduced.

Description

Virtualized network link visualization method, system, computer and storage medium
Technical Field
The present application relates to the field of data processing technologies, and in particular, to a method, a system, a computer, and a storage medium for visualizing a virtualized network link.
Background
Nowadays, with the progress of productivity and the rapid development of science and technology, the internet is popularized in daily life of people, so that people can study, entertain, work and the like on the internet, and great convenience is brought to the life of people.
Cloud computing is a popular direction for development in the internet at present, and with rapid development of computing node virtualization in cloud computing, the demand for configuration of a virtualization network responsible for virtual node communication is increased accordingly.
However, in the prior art, after the virtualized network is configured, the entire virtualized topology link cannot be visually checked, and when a configuration error occurs in a node, the node where the error occurs can only be found by checking the configuration condition of each node one by one, which is low in efficiency, thereby increasing the cost of operation and maintenance.
Disclosure of Invention
Based on this, embodiments of the present application provide a virtualized network link visualization method, system, computer, and storage medium, so as to at least solve the problem in the related art that after a virtualized network is configured, the entire virtualized link cannot be viewed intuitively.
In a first aspect, an embodiment of the present application provides a virtualized network link visualization method, where the method includes:
acquiring virtualization information of each node through an OVS (orthogonal frequency transform system), and carrying out serialization processing on the virtualization information;
calling a link information query interface of each node to collect link data and gather the link data;
and integrating the virtualization information and the link data to construct a virtualized network link and displaying the virtualized network link on a preset canvas through a preset visualization algorithm.
In some embodiments, the step of obtaining the virtualization information of each node through the OVS includes:
acquiring the virtualized network equipment contained in each node through an OVS-vsctl show command, and screening out target network equipment according to a preset rule;
and acquiring virtualization information of the target network equipment, wherein the virtualization information comprises an equipment name, an equipment type and an equipment drive.
In some embodiments, after the step of obtaining the virtualization information of the target network device, the method includes:
querying flow table information on bridges within each of the nodes through OVS-ofctl, and collecting the virtualization information and the flow table information through a collector.
In some embodiments, after the step of obtaining virtualization information of each node through the OVS and performing serialization processing on the virtualization information, the method includes:
collecting search data in the search box and triggering a search event;
inquiring corresponding topology information according to the search event, and transmitting the topology information serving as search data to each node;
and when the node receives the search data, taking the search data as a screening basis of an external-ids field in the OVS-db.
In some embodiments, the step of invoking a link information query interface of each of the nodes to collect and aggregate link data includes:
calling a link information query interface of each node according to preset node IP information;
returning each link information query interface to JSON data to perform deserialization processing and serve as local picture information;
and merging the local picture information returned by each node to generate overall picture information.
In some embodiments, the integrating the virtualization information and the link data to construct a virtualized network link and displaying the virtualized network link on a preset canvas through a preset visualization algorithm includes:
and uniformly displaying the acquired virtualization information and the link data in a preset JavaFX canvas through a preset display algorithm in a graphstream component, and displaying corresponding node names below the nodes.
In a second aspect, an embodiment of the present application provides a virtualized network link visualization system, where the system specifically includes:
the system comprises a collecting module, a transmitting module and a receiving module, wherein the collecting module is used for acquiring virtualization information of each node through an OVS (OVS) and carrying out serialization processing on the virtualization information;
the calling module is used for calling the link information inquiry interface of each node so as to collect link data and gather the link data;
and the construction module is used for integrating the virtualization information and the link data so as to construct a virtualized network link and display the virtualized network link on a preset canvas through a preset visualization algorithm.
In the above virtualized network link visualization system, the collection module is specifically configured to:
acquiring the virtualized network equipment contained in each node through an OVS-vsctl show command, and screening out target network equipment according to a preset rule;
and acquiring virtualization information of the target network equipment, wherein the virtualization information comprises an equipment name, an equipment type and an equipment drive.
In the above virtualized network link visualization system, the virtualized network link visualization system further includes a query module, where the query module is specifically configured to:
querying flow table information on bridges within each of the nodes through OVS-ofctl, and collecting the virtualization information and the flow table information through a collector.
In the above virtualized network link visualization system, the virtualized network link visualization system further includes a search module, where the search module is specifically configured to:
collecting search data in the search box and triggering a search event;
inquiring corresponding topology information according to the search event, and transmitting the topology information serving as search data to each node;
and when the node receives the search data, taking the search data as a screening basis of an external-ids field in the OVS-db.
In the above virtualized network link visualization system, the invoking module is specifically configured to:
calling a link information query interface of each node according to preset node IP information;
returning each link information query interface to JSON data to perform deserialization processing and serve as local picture information;
and merging the local picture information returned by each node to generate overall picture information.
In the above virtualized network link visualization system, the building module is specifically configured to:
and uniformly displaying the acquired virtualization information and the link data in a preset JavaFX canvas through a preset display algorithm in a graphstream component, and displaying corresponding node names below the nodes.
In a third aspect, the present application provides a computer, which includes a memory, a processor, and a computer program stored on the memory and executable on the processor, and the processor implements the virtualized network link visualization method described above when executing the computer program.
In a fourth aspect, the present application provides a storage medium, on which a computer program is stored, which when executed by a processor implements the virtualized network link visualization method described above.
Compared with the related art, the virtualized network link visualization method, the virtualized network link visualization system, the virtualized network link visualization computer, and the storage medium provided in the embodiments of the present application first obtain the virtualized information of each node through the OVS, perform serialization processing on the virtualized information, further collect and aggregate the required link data by calling the link information query interface of each node, and finally integrate the virtualized information and the link data to construct the corresponding virtualized network link, which can be completely displayed on the preset canvas through the preset algorithm. By the visualization method for the virtualized network link, the user can visually check the virtualized network link related to the service topology, and when the user checks the virtualized network link, the user can quickly and accurately find the wrong node, so that the working efficiency is greatly improved, and the operation and maintenance cost is reduced.
The details of one or more embodiments of the application are set forth in the accompanying drawings and the description below to provide a more thorough understanding of the application.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
fig. 1 is a flowchart of a visualization method for a virtualized network link according to a first embodiment of the present application;
fig. 2 is a flowchart of a visualization method for a virtualized network link according to a second embodiment of the present application;
fig. 3 is a block diagram illustrating a virtualized network link visualization system according to a third embodiment of the present disclosure;
fig. 4 is a block diagram of a computer according to a fourth embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be described and illustrated below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments provided in the present application without any inventive step are within the scope of protection of the present application.
It is obvious that the drawings in the following description are only examples or embodiments of the present application, and that it is also possible for a person skilled in the art to apply the present application to other similar contexts on the basis of these drawings without inventive effort. Moreover, it should be appreciated that in the development of any such actual implementation, as in any engineering or design project, numerous implementation-specific decisions must be made to achieve the developers' specific goals, such as compliance with system-related and business-related constraints, which may vary from one implementation to another.
Reference in the specification to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the specification. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of ordinary skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments without conflict.
Unless defined otherwise, technical or scientific terms referred to herein shall have the ordinary meaning as understood by those of ordinary skill in the art to which this application belongs. Reference to "a," "an," "the," and similar words throughout this application are not to be construed as limiting in number, and may refer to the singular or the plural. The present application is directed to the use of the terms "including," "comprising," "having," and any variations thereof, which are intended to cover non-exclusive inclusions; for example, a process, method, system, article, or apparatus that comprises a list of steps or modules (elements) is not limited to the listed steps or elements, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus. Reference to "connected," "coupled," and the like in this application is not intended to be limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. The term "plurality" as referred to herein means two or more. "and/or" describes an association relationship of associated objects, meaning that three relationships may exist, for example, "A and/or B" may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. Reference herein to the terms "first," "second," "third," and the like, are merely to distinguish similar objects and do not denote a particular ordering for the objects.
In the prior art, after a virtualization network is configured, the whole virtualization topology link cannot be visually checked, when a node has a configuration error, the node having the error can be searched only by checking the configuration condition of each node one by one, so that the efficiency is low, and the operation and maintenance cost is increased.
Referring to fig. 1, it is shown that the visualization method for a virtualized network link according to the first embodiment of the present invention can completely display the virtualized network link on a canvas in real time, so that a user can conveniently view the virtualized network link, and can find out a node with an error in time, so as to improve the work efficiency, and reduce the operation and maintenance cost.
Specifically, the visualization method for the virtualized network link specifically includes the following steps:
step S10, acquiring virtualization information of each node through OVS, and carrying out serialization processing on the virtualization information;
in this embodiment, it should be noted that, OpenvSwitch: called OVS for short, is a virtual switch. Specifically, in this step, firstly, the OVS is used to acquire the virtualization information of each node in the network link, where it is to be noted that each node is equivalent to one server or one network device, and therefore, in this embodiment, firstly, the information of each node, that is, the virtualization information, needs to be acquired, and further, the OVS is used to perform the preset serialization processing on the virtualization information, so that the required virtualization information can be acquired.
Step S20, calling the link information inquiry interface of each node to collect link data and converge the link data;
specifically, in this step, after obtaining the virtualization information of each node in the network link, the connection relationship between each node, that is, the link data, needs to be obtained.
Therefore, in this step, the OVS calls the link information query interface preset in each node, and collects link data corresponding to each node through the link information query interface, and then aggregates the collected link data, so as to obtain the required link data.
Step S30, integrating the virtualization information and the link data to construct a virtualized network link and displaying the virtualized network link on a preset canvas through a preset visualization algorithm.
In this step, it should be noted that, when the required virtualization information and the link data are respectively acquired in the above step S10 and step S20, the virtualization information and the link data need to be integrated to acquire a complete virtualized network link.
Further, the virtualized network link is visualized through a visualization algorithm preset in the OVS, so that the virtualized network link is completely displayed on a canvas preset in the OVS, and finally the virtualized network link can be clearly and completely displayed on the canvas.
When the method is used, firstly, the virtualization information of each node is obtained through the OVS, the virtualization information is subjected to serialization processing, further, required link data can be collected and subjected to aggregation processing by calling a link information query interface of each node, and finally, the virtualization information and the link data are integrated to construct a corresponding virtualization network link and the corresponding virtualization network link can be completely displayed on a preset canvas through a preset algorithm. By the visualization method for the virtualized network link, the user can visually check the virtualized network link related to the service topology, and when the user checks the virtualized network link, the user can quickly and accurately find the wrong node, so that the working efficiency is greatly improved, and the operation and maintenance cost is reduced.
It should be noted that the implementation process described above is only for illustrating the applicability of the present application, but this does not represent that the virtualized network link visualization method of the present application has only the above-mentioned implementation flow, and on the contrary, the virtualized network link visualization method of the present application can be incorporated into a feasible embodiment of the present application as long as the virtualized network link visualization method of the present application can be implemented.
In summary, the visualization method for the virtualized network link in the above embodiment of the present invention enables the user to visually check the virtualized network link related to the service topology, and the user can quickly and accurately find the node with the error when checking the virtualized network link, thereby greatly improving the working efficiency and reducing the operation and maintenance cost.
Referring to fig. 2, a visualization method for a virtualized network link according to a second embodiment of the present invention is shown, which specifically includes the following steps:
step S11, obtaining the virtualized network devices included in each node through an OVS-vsctl show (view bridge and port) command, and screening out a target network device according to a preset rule to obtain virtualized information of the target network device, where the virtualized information includes a device name, a device type, and a device driver.
In this embodiment, it should be noted that the OVS provided in this embodiment is constructed based on a Java Spring Boot framework, and a plurality of query interfaces are preset in the OVS.
Further, in this step, firstly, the virtualized Network device included in each node is obtained through the OVS-vsctl show command, where the virtualized Network device may be a bridge, a TUN/TAP, a VETH (Virtual ETHernet), a VXLAN (Virtual extended Local Area Network), and the like. Wherein the TUN/TAP is a virtual network device provided by a Linux operating system, and the TUN and the TAP use the same kernel driver. The network bridge, the VETH and the TUN/TAP all belong to Linux kernel virtual network equipment. VXLAN is a tunneling protocol supported by OVS, and can look up specific VXLAN information in OVS ports.
Furthermore, the target network device is screened out according to a preset rule in the OVS so as to obtain the virtualization information of the target network device. Specifically, in this step, a network device related to a service topology, that is, the target network device, is screened out through a content defined in external-ids configured for the service in an OVS-db (OpenvSwitch Database), and virtualization information of the target network device is checked through tools such as ip (Internet Protocol, Internet interconnection Protocol) and ethahtool (network card diagnosis and adjustment tool) preset in the OVS, where the virtualization information includes a device name, a device type, and a device driver. Wherein, external-ids is a field in ovs-db, which can be used to store custom data.
In this embodiment, it should be noted that, after the step of acquiring the virtualized network device included in each node through the OVS-vsctl show command, and screening out the target network device according to the preset rule to acquire the virtualization information of the target network device, the method further includes:
step S21, querying flow table information on the bridge within each of the nodes through OVS-ofctl (flow table operation command), and collecting the virtualization information and the flow table information through a collector.
Further, in this step, flow table information on the bridge in each node is also queried through an OVS-ofctl tool preset inside the OVS, where the flow table is a rule for data forwarding in an operation process of an OpenFlow (internet communication protocol) switch.
Furthermore, the collector collects and arranges the various information, and forwards the virtualization information through the flow table, and integrates the connection information among the nodes, so as to construct the nodes and the connection data image of the virtualization network link.
In this embodiment, it should be noted that, after the step of acquiring virtualization information of each node through the OVS and performing serialization processing on the virtualization information, the method further includes:
step S31, collecting the search data in the search box and triggering the search event; inquiring corresponding topology information according to the search event, and transmitting the topology information serving as search data to each node; and when the node receives the search data, taking the search data as a screening basis of an external-ids field in the OVS-db.
Specifically, in this step, the visualization method for the virtualized network link further has a search function, and in specific implementation, first, search data in a search box is collected and a search event is triggered, where the search event can be triggered when a search button is clicked; further, inquiring corresponding topology information according to the search event, and transmitting the topology information serving as search data to each node; and finally, when the node receives the search data, taking the search data as a screening basis of an external-ids field in the OVS-db.
Step S41, according to the preset node IP information, calling the link information inquiry interface of each node; returning each link information query interface to JSON (JavaScript Object Notation) data to perform deserialization processing and serve as local picture information; and merging the local picture information returned by each node to generate overall picture information.
In this step, first, a link information query interface inside each node needs to be called according to node IP information preset inside the OVS, and JSON data returned by each link information query interface is deserialized and used as local picture information.
Furthermore, local picture information returned by all nodes is checked, the nodes corresponding to the local picture information with the same content are treated as the same node, then the entry in-port and the exit out-port in the flow table are compared with port number ofport information of the target network device, and the graph with the same in-port and other out-ports is regarded as the same topological graph.
And finally, combining the local picture information returned by each node to generate overall picture information.
Step S51, the obtained virtualization information and the link data are uniformly displayed in a preset JavaFX canvas by a preset display algorithm in a graphics stream (dynamic graphics management library) component, and a corresponding node name is displayed below each node.
In this step, it should be noted that, first, the obtained virtualization information and the link data need to be uniformly displayed in a preset JavaFX canvas through a preset display algorithm in the graphstream component, further, a corresponding node name is displayed below each node, and finally, the virtualized network link is rendered yellow to complete the display of the virtualized network link.
Therefore, a user can visually check the virtualized network link related to the service topology, and when the user checks the virtualized network link, the user can quickly and accurately find the wrong node, so that the working efficiency is greatly improved, and the operation and maintenance cost is reduced.
It should be noted that, the method provided by the second embodiment of the present invention, which implements the same principle and produces some technical effects as the first embodiment, can refer to the corresponding contents in the first embodiment for the sake of brief description, where this embodiment is not mentioned.
In summary, the visualization method for the virtualized network link in the above embodiment of the present invention enables the user to visually check the virtualized network link related to the service topology, and the user can quickly and accurately find the node with the error when checking the virtualized network link, thereby greatly improving the working efficiency and reducing the operation and maintenance cost.
Referring to fig. 3, a virtualized network link visualization system according to a third embodiment of the present invention is shown, where the virtualized network link visualization system specifically includes:
the collecting module 12 is configured to obtain virtualization information of each node through the OVS, and perform serialization processing on the virtualization information;
the calling module 22 is configured to call a link information query interface of each node to collect link data and aggregate the link data;
a building module 32, configured to integrate the virtualization information and the link data to build a virtualized network link, and display the virtualized network link on a preset canvas through a preset visualization algorithm.
The above modules may be functional modules or program modules, and may be implemented by software or hardware. For a module implemented by hardware, the modules may be located in the same processor; or the modules can be respectively positioned in different processors in any combination.
In the above virtualized network link visualization system, the collection module 12 is specifically configured to:
acquiring the virtualized network equipment contained in each node through an OVS-vsctl show command, and screening out target network equipment according to a preset rule to acquire the virtualized information of the target network equipment, wherein the virtualized information comprises equipment names, equipment types and equipment drivers.
In the above visualization system for a virtualized network link, the visualization system for a virtualized network link further includes a query module 42, where the query module 42 is specifically configured to:
querying flow table information on bridges within each of the nodes through OVS-ofctl, and collecting the virtualization information and the flow table information through a collector.
In the above visualization system for a virtualized network link, the visualization system for a virtualized network link further includes a search module 52, where the search module 52 is specifically configured to:
collecting search data in the search box and triggering a search event;
inquiring corresponding topology information according to the search event, and transmitting the topology information serving as search data to each node;
and when the node receives the search data, taking the search data as a screening basis of an external-ids field in the OVS-db.
In the above virtualized network link visualization system, the invoking module 22 is specifically configured to:
calling a link information query interface of each node according to preset node IP information;
returning each link information query interface to JSON data to perform deserialization processing and serve as local picture information;
and merging the local picture information returned by each node to generate overall picture information.
In the above virtualized network link visualization system, the building module 32 is specifically configured to:
and uniformly displaying the acquired virtualization information and the link data in a preset JavaFX canvas through a preset display algorithm in a graphstream component, and displaying corresponding node names below the nodes.
Referring to fig. 4, a block diagram of a computer according to a fourth embodiment of the present invention is shown, wherein the computer includes a processor, a memory, a network interface and a database connected by a system bus. Wherein the processor of the computer is configured to provide computational and control capabilities. The memory of the computer comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer is used for storing a preset configuration information set. The network interface of the computer is used for communicating with an external terminal through network connection. The computer program is executed by a processor to implement the above-described virtualized network link visualization method.
Those skilled in the art will appreciate that the architecture shown in FIG. 4 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computers to which the disclosed aspects may be applied, and that a particular computer may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
A fifth embodiment of the present invention provides a storage medium, on which a computer program is stored, where the computer program is executed by a processor to implement the virtualized network link visualization method provided in the first embodiment or the second embodiment.
In summary, the virtualized network link visualization method, the virtualized network link visualization system, the virtualized network link visualization computer, and the storage medium in the embodiments of the present invention enable a user to visually check the virtualized network link related to the service topology, and the user can quickly and accurately find the node where the error occurs when checking the virtualized network link, thereby greatly improving the working efficiency and reducing the operation and maintenance cost.
In addition, the visualization method of the virtualized network link provided in the first embodiment or the second embodiment of the present application described in conjunction with fig. 1 may be implemented by the computer provided in the fourth embodiment. Fig. 4 is a schematic hardware structure diagram of a computer provided according to an embodiment of the present application.
The computer may execute the virtualized network link visualization method provided in the first embodiment or the second embodiment of the present application based on the storage medium acquired in the fifth embodiment, so as to implement the virtualized network link visualization method described in conjunction with fig. 1.
In addition, in combination with the virtualized network link visualization method in the foregoing embodiment, the present application embodiment may provide a computer-readable storage medium to implement. The computer readable storage medium having stored thereon computer program instructions; the computer program instructions, when executed by a processor, implement any of the virtualized network link visualization methods in the above embodiments.
The memory may be used to store software programs and modules, and the processor may execute various functional applications and data processing of the mobile terminal by operating the software programs and modules stored in the memory. The memory may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function, and the like; the storage data area may store data created according to the use of the mobile terminal, and the like. Further, the memory may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
Further, the memory may include mass storage for data or instructions. By way of example, and not limitation, memory may include a Hard Disk Drive (Hard Disk Drive, abbreviated to HDD), a floppy Disk Drive, a Solid State Drive (SSD), flash memory, an optical Disk, a magneto-optical Disk, tape, or a Universal Serial Bus (USB) Drive or a combination of two or more of these. The memory may include removable or non-removable (or fixed) media, where appropriate. The memory may be internal or external to the data processing apparatus, where appropriate. In a particular embodiment, the memory is a Non-Volatile (Non-Volatile) memory. In particular embodiments, the Memory includes Read-Only Memory (ROM) and Random Access Memory (RAM). The ROM may be mask-programmed ROM, Programmable ROM (PROM), Erasable PROM (EPROM), Electrically Erasable PROM (EEPROM), Electrically rewritable ROM (EAROM), or FLASH Memory (FLASH), or a combination of two or more of these, where appropriate. The RAM may be a Static Random-Access Memory (SRAM) or a Dynamic Random-Access Memory (DRAM), where the DRAM may be a Fast Page Mode Dynamic Random-Access Memory (FPMDRAM), an Extended data output Dynamic Random-Access Memory (EDODRAM), a Synchronous Dynamic Random-Access Memory (SDRAM), and the like.
And the memory may be used to store or cache various data files for processing and/or communication purposes, as well as possibly computer program instructions for execution by the processor.
Further, the processor reads and executes the computer program instructions stored in the memory to implement the virtualized network link visualization method provided in the first embodiment or the second embodiment.
The processor is a control center of the mobile terminal, connects various parts of the whole mobile terminal by various interfaces and lines, and executes various functions and processes data of the mobile terminal by running or executing software programs and/or modules stored in the memory and calling the data stored in the memory, thereby performing overall monitoring on the mobile terminal. Alternatively, the processor may include one or more processing units; preferably, the processor may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor.
In particular, the processor may include a Central Processing Unit (CPU), or A Specific Integrated Circuit (ASIC), or may be configured to implement one or more Integrated circuits of the embodiments of the present Application.
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A virtualized network link visualization method, the method comprising:
acquiring virtualization information of each node through an OVS (orthogonal frequency transform system), and carrying out serialization processing on the virtualization information;
calling a link information query interface of each node to collect link data and gather the link data;
and integrating the virtualization information and the link data to construct a virtualized network link and displaying the virtualized network link on a preset canvas through a preset visualization algorithm.
2. The virtualized network link visualization method of claim 1 wherein: the step of obtaining the virtualization information of each node through the OVS includes:
acquiring the virtualized network equipment contained in each node through an OVS-vsctl show command, and screening out target network equipment according to a preset rule;
and acquiring virtualization information of the target network equipment, wherein the virtualization information comprises an equipment name, an equipment type and an equipment drive.
3. The virtualized network link visualization method of claim 2 wherein: after the step of obtaining the virtualization information of the target network device, the method includes:
querying flow table information on bridges within each of the nodes through OVS-ofctl, and collecting the virtualization information and the flow table information through a collector.
4. The virtualized network link visualization method of claim 1 wherein: after the step of obtaining the virtualization information of each node through the OVS and performing serialization processing on the virtualization information, the method includes:
collecting search data in the search box and triggering a search event;
inquiring corresponding topology information according to the search event, and transmitting the topology information serving as search data to each node;
and when the node receives the search data, taking the search data as a screening basis of an external-ids field in the OVS-db.
5. The virtualized network link visualization method of claim 1 wherein: the step of calling the link information query interface of each node to collect and aggregate link data comprises:
calling a link information query interface of each node according to preset node IP information;
returning each link information query interface to JSON data to perform deserialization processing and serve as local picture information;
and merging the local picture information returned by each node to generate overall picture information.
6. The virtualized network link visualization method of claim 1 wherein: the step of integrating the virtualization information and the link data to construct a virtualized network link and displaying the virtualized network link on a preset canvas through a preset visualization algorithm comprises:
and uniformly displaying the acquired virtualization information and the link data in a preset JavaFX canvas through a preset display algorithm in a graphstream component, and displaying corresponding node names below the nodes.
7. A virtualized network link visualization system, the system comprising:
the system comprises a collecting module, a transmitting module and a receiving module, wherein the collecting module is used for acquiring virtualization information of each node through an OVS (OVS) and carrying out serialization processing on the virtualization information;
the calling module is used for calling the link information inquiry interface of each node so as to collect link data and gather the link data;
and the construction module is used for integrating the virtualization information and the link data so as to construct a virtualized network link and display the virtualized network link on a preset canvas through a preset visualization algorithm.
8. The virtualized network link visualization system of claim 7 wherein: the collection module is specifically configured to:
acquiring the virtualized network equipment contained in each node through an OVS-vsctl show command, and screening out target network equipment according to a preset rule;
and acquiring virtualization information of the target network equipment, wherein the virtualization information comprises an equipment name, an equipment type and an equipment drive.
9. A computer comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor implements the virtualized network link visualization method as recited in any one of claims 1 to 6 when executing the computer program.
10. A storage medium on which a computer program is stored which, when being executed by a processor, carries out a method for visualizing a virtualized network link according to any one of claims 1 to 6.
CN202111129845.7A 2021-09-26 2021-09-26 Virtualized network link visualization method, system, computer and storage medium Active CN113965515B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111129845.7A CN113965515B (en) 2021-09-26 2021-09-26 Virtualized network link visualization method, system, computer and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111129845.7A CN113965515B (en) 2021-09-26 2021-09-26 Virtualized network link visualization method, system, computer and storage medium

Publications (2)

Publication Number Publication Date
CN113965515A true CN113965515A (en) 2022-01-21
CN113965515B CN113965515B (en) 2023-04-18

Family

ID=79462292

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111129845.7A Active CN113965515B (en) 2021-09-26 2021-09-26 Virtualized network link visualization method, system, computer and storage medium

Country Status (1)

Country Link
CN (1) CN113965515B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117240600A (en) * 2023-11-08 2023-12-15 国家工业信息安全发展研究中心 Vulnerability detection method and device for industrial control system

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150043378A1 (en) * 2013-08-07 2015-02-12 Harris Corporation Network management system generating virtual network map and related methods
CN104363159A (en) * 2014-07-02 2015-02-18 北京邮电大学 Virtual open network building system and method based on software definition network
US20170070594A1 (en) * 2015-09-08 2017-03-09 At&T Intellectual Property I, L.P. Visualization for Network Virtualization Platform
CN107959689A (en) * 2018-01-10 2018-04-24 北京工业大学 A kind of cloud platform tenant network isolation test
CN108123818A (en) * 2016-11-30 2018-06-05 江南大学 A kind of emulation mode of the expansible fusion of actual situation network agile
US20180302343A1 (en) * 2017-04-14 2018-10-18 Argela Yazilim ve Bilisim Teknolojileri San. ve Tic. A.S. System and method for convergence of software defined network (sdn) and network function virtualization (nfv)
CN108923958A (en) * 2018-06-15 2018-11-30 西安电子科技大学 Virtual network mapped system and method based on SDN
CN109831318A (en) * 2018-12-26 2019-05-31 中兴通讯股份有限公司 A kind of system, method and server obtaining network topology

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150043378A1 (en) * 2013-08-07 2015-02-12 Harris Corporation Network management system generating virtual network map and related methods
CN104363159A (en) * 2014-07-02 2015-02-18 北京邮电大学 Virtual open network building system and method based on software definition network
US20170070594A1 (en) * 2015-09-08 2017-03-09 At&T Intellectual Property I, L.P. Visualization for Network Virtualization Platform
CN108123818A (en) * 2016-11-30 2018-06-05 江南大学 A kind of emulation mode of the expansible fusion of actual situation network agile
US20180302343A1 (en) * 2017-04-14 2018-10-18 Argela Yazilim ve Bilisim Teknolojileri San. ve Tic. A.S. System and method for convergence of software defined network (sdn) and network function virtualization (nfv)
CN107959689A (en) * 2018-01-10 2018-04-24 北京工业大学 A kind of cloud platform tenant network isolation test
CN108923958A (en) * 2018-06-15 2018-11-30 西安电子科技大学 Virtual network mapped system and method based on SDN
CN109831318A (en) * 2018-12-26 2019-05-31 中兴通讯股份有限公司 A kind of system, method and server obtaining network topology

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117240600A (en) * 2023-11-08 2023-12-15 国家工业信息安全发展研究中心 Vulnerability detection method and device for industrial control system
CN117240600B (en) * 2023-11-08 2024-03-19 国家工业信息安全发展研究中心 Vulnerability detection method and device for industrial control system

Also Published As

Publication number Publication date
CN113965515B (en) 2023-04-18

Similar Documents

Publication Publication Date Title
US20190363926A1 (en) Systems and methods for performing computer network service chain analytics
CN111131379B (en) Distributed flow acquisition system and edge calculation method
CN115037575A (en) Message processing method and device
US9886445B1 (en) Datacenter entity information system
US20160330080A1 (en) Method of discovering network topology
WO2017008578A1 (en) Data check method and device in network function virtualization framework
US20160269428A1 (en) Data processing
CN114363144B (en) Fault information association reporting method and related equipment for distributed system
CN113965515B (en) Virtualized network link visualization method, system, computer and storage medium
CN112615746A (en) Edge calculation method, device and system
CN117176802B (en) Full-link monitoring method and device for service request, electronic equipment and medium
CN112165505B (en) Decentralized data processing method, electronic device and storage medium
CN115145806A (en) Data acquisition method and device and computer readable storage medium
CN117591294A (en) Service dynamic load access method and device, internet of things platform and medium
EP3010194B1 (en) Method of tracing a transaction in a network
CN114070755A (en) Virtual machine network flow determining method and device, electronic equipment and storage medium
CN110955604A (en) Information display method, device, server and storage medium
CN107404410B (en) Method and device for constructing virtual network function platform in cloud environment
CN110708209A (en) Virtual machine flow acquisition method and device, electronic equipment and storage medium
JP6412641B2 (en) Communication link transmission method, apparatus and terminal
CN112822075A (en) Service link tracking method and related device
US20180183695A1 (en) Performance monitoring
CN111953565B (en) Method, system, device and medium for detecting bandwidth in virtualized environment
US20240129204A1 (en) Graphical user interface for representing tunnels and stretched networks in a virtual entity pathway visualization
CN111124923B (en) Running state query method and device, server equipment and 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