CN113727379A - Network visualization processing method and device, computer equipment and storage medium - Google Patents

Network visualization processing method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN113727379A
CN113727379A CN202111139732.5A CN202111139732A CN113727379A CN 113727379 A CN113727379 A CN 113727379A CN 202111139732 A CN202111139732 A CN 202111139732A CN 113727379 A CN113727379 A CN 113727379A
Authority
CN
China
Prior art keywords
node
nodes
forwarding
network
equipment
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.)
Pending
Application number
CN202111139732.5A
Other languages
Chinese (zh)
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.)
Shenzhen Lumi United Technology Co Ltd
Lumi United Technology Co Ltd
Original Assignee
Lumi United Technology 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 Lumi United Technology Co Ltd filed Critical Lumi United Technology Co Ltd
Priority to CN202111139732.5A priority Critical patent/CN113727379A/en
Publication of CN113727379A publication Critical patent/CN113727379A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/06Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention relates to the technical field of networks, and provides a network visualization processing method, a device, computer equipment and a storage medium, wherein the method comprises the following steps: displaying a network visual interface; the network visualization interface is used for visually displaying a wireless network, the wireless network comprises a plurality of equipment nodes, and the equipment nodes comprise forwarding nodes with the communication capacity with the boundary router; in a network visual interface, showing a topological structure among equipment nodes generated on the basis of a neighbor table forwarded by forwarding nodes through a boundary router; the neighbor table comprises adjacent communication links existing in the equipment node and corresponding forwarding nodes and signal intensity corresponding to each communication link; the topology includes information on the communication status between the device nodes in the wireless network. The invention can effectively improve troubleshooting and network optimization of the wireless network including the wireless Mesh network by visualizing the wireless network.

Description

Network visualization processing method and device, computer equipment and storage medium
Technical Field
The present invention relates to the field of network technologies, and in particular, to a network visualization processing method and apparatus, a computer device, and a storage medium.
Background
Mesh networks, also known as Mesh networks, in which all nodes are interconnected and each node connects at least two other nodes, all forming an integrated network between them.
The Mesh network is mainly applied to a wireless network at present, the wireless Mesh network has self-healing, quick deployment and low-cost installation, and overcomes the defects of other network structures, but the wireless Mesh network also has defects, such as complex network construction and flexible and dynamic network change, so that the difficulty of troubleshooting and network optimization is increased, and the efficiency of troubleshooting and network optimization on the wireless network is lower.
Disclosure of Invention
The invention aims to provide a network visualization processing method, a network visualization processing device, computer equipment and a storage medium, which are used for conveniently and efficiently carrying out troubleshooting and network optimization on a wireless network including a wireless Mesh network by visualizing the wireless network.
In a first aspect, an embodiment of the present invention provides a network visualization processing method, which is applied to a display terminal, and the method includes: displaying a network visual interface; the network visualization interface is used for visually displaying a wireless network, the wireless network comprises a plurality of equipment nodes, and the equipment nodes comprise forwarding nodes capable of communicating with a boundary router; displaying a topological structure between the equipment nodes generated based on a neighbor table forwarded by the forwarding nodes through the boundary router in the network visualization interface; the neighbor table comprises adjacent communication links existing in the equipment node and corresponding forwarding nodes and signal strength corresponding to each communication link; the topology structure includes communication state information between device nodes in the wireless network.
In a second aspect, an embodiment of the present invention provides a network visualization processing method, which is applied to a server, where the server is in communication connection with a border router in a wireless network, the wireless network includes device nodes, and the device nodes further include forwarding nodes having a capability of communicating with the border router, where the method includes: receiving a neighbor table sent by each forwarding node through the boundary router; the neighbor table comprises adjacent communication links existing with corresponding forwarding nodes in the equipment node and the signal strength of each communication link; generating a topological structure of the wireless network according to the neighbor table; the topology structure comprises communication state information among all the equipment nodes in the wireless network, and the communication state information comprises communication links among all the equipment nodes and signal strength of all the communication links; and sending the topological structure to a display terminal, so that the display terminal can visually display the topological structure and the communication state information.
In a third aspect, an embodiment of the present invention provides a wireless network visualization apparatus, which is applied to a display terminal, and the apparatus includes: the display module is used for displaying a network visual interface; the network visualization interface is used for visually displaying a wireless network, the wireless network comprises a plurality of equipment nodes, and the equipment nodes comprise forwarding nodes capable of communicating with a boundary router; the display module is further configured to display, in the network visualization interface, a topology structure between the device nodes generated based on a neighbor table forwarded by each forwarding node through a border router; the neighbor table comprises adjacent communication links existing in the equipment node and corresponding forwarding nodes and signal strength corresponding to each communication link; the topology structure includes communication state information between device nodes in the wireless network.
Further, the topological structure comprises vertexes, edges between the vertexes and weights of the edges between the vertexes; wherein vertices in the topology characterize the device nodes; an edge between two vertices in the topology characterizes a physical link between the device nodes characterized by the two vertices; the weight of an edge between two vertices in the topology characterizes the signal strength of a physical link between the device nodes characterized by the two vertices.
Further, the display module is specifically configured to: acquiring a routing table in the wireless network; the routing table is forwarded to the boundary router by the forwarding node, the routing table comprises a previous hop node corresponding to the forwarding node and a next hop node corresponding to the previous hop node, the previous hop node represents a device node which sends data to be forwarded to the forwarding node, and the next hop node represents a device node which the forwarding node needs to send the data to be forwarded to; determining a forwarding path corresponding to the data to be forwarded from the previous hop node to the next hop node according to the routing table; the presentation module, when configured to present, in the network visualization interface, a topology structure between the device nodes generated based on the neighbor table forwarded by each forwarding node through the border router, is further specifically configured to: and displaying a neighbor table forwarded by each forwarding node through a boundary router and a topology structure corresponding to the wireless network generated based on the forwarding path in the network visualization interface.
Further, the equipment nodes comprise household equipment nodes; the home device nodes include a first home device node serving as a forwarding node and a second home device node serving as a border router, and the display module is further specifically configured to: acquiring a spatial layout diagram; the spatial layout diagram comprises position information of each household equipment node, and the position information is used for determining a link relation between the household equipment nodes; each household equipment node and the link relation form a household network; when the displaying module is used in the network visualization interface to display the topology structure between the device nodes generated based on the neighbor table forwarded by each forwarding node through the border router, the displaying module is further specifically configured to: and displaying a topological structure between the household equipment nodes generated based on the neighbor table forwarded by the first household equipment through the second household equipment in the network visual interface.
In a fourth aspect, an embodiment of the present invention provides a wireless network visualization apparatus, which is applied to a server, where the server is in communication connection with a border router in a wireless network, the wireless network includes device nodes, and the device nodes further include forwarding nodes having a capability of communicating with the border router, and the apparatus includes: a receiving module, configured to receive a neighbor table sent by each forwarding node through the border router, where the neighbor table includes adjacent communication links existing with the corresponding forwarding node in the device node and signal strength of each communication link; the generating module is used for generating a topological structure of the wireless network according to the neighbor table; the topology structure comprises communication state information among all the equipment nodes in the wireless network, and the communication state information comprises communication links among all the equipment nodes and signal strength of all the communication links; and the sending module is used for sending the topological structure to a display terminal so that the display terminal can visually display the topological structure and the communication state information.
Further, the wireless network visualization apparatus further includes a corresponding module, and the corresponding module is configured to: acquiring receiving time for receiving the neighbor table, and establishing a corresponding relation between the receiving time and the topological structure; and determining the communication state information of each equipment node in the topological structure at the receiving time according to the corresponding relation.
Further, the receiving module is further configured to: receiving a routing table sent by the boundary router, wherein the routing table is sent by the forwarding node to the boundary router, the routing table comprises a previous hop node corresponding to the forwarding node and a next hop node corresponding to the previous hop node, the previous hop node is used for representing an equipment node which sends data to be forwarded to the forwarding node, and the next hop node is used for representing an equipment node which the forwarding node needs to send the data to be forwarded to.
Further, the receiving module is further configured to: and receiving connection information sent by the boundary router, wherein the connection information is sent to the boundary router by the forwarding node and is used for representing the connection condition between the forwarding node and the equipment node.
Further, the generating module is specifically configured to: determining a forwarding path corresponding to the data to be forwarded from the previous hop node to the next hop node according to the routing table; the generating module, when configured to generate the topology structure of the wireless network according to the neighbor table, is specifically configured to: generating a topological structure corresponding to the wireless network according to the neighbor table and the forwarding path; the topology also includes forwarding paths between the device nodes in the wireless network.
Further, the generating module is specifically configured to: and taking the connection condition as the weight of the corresponding edge in the topological structure, wherein the forwarding node and the equipment node are characterized by a vertex in the topological structure, a physical link between the forwarding node and the equipment node is characterized by an edge between the vertices in the topological structure, and the connection information between the forwarding node and the equipment node is characterized by the weight of the edge between the vertices in the topological structure.
Furthermore, the forwarding nodes include a plurality of forwarding nodes, the forwarding nodes are all in communication connection with the border router, each forwarding node corresponds to one neighbor sub-table, and the neighbor sub-tables sent by the forwarding nodes are summarized by the border router.
In a fifth aspect, an embodiment of the present invention provides a computer device, which includes a memory and a processor, where the memory stores a computer program, and the processor implements the network visualization processing method as described above when executing the computer program.
In a sixth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the network visualization processing method as described above.
In the embodiment of the invention, through visually displaying the wireless network, a topological structure between equipment nodes generated on the basis of a neighbor table forwarded by forwarding nodes through a boundary router is displayed in a network visual interface; the neighbor table comprises adjacent communication links existing in the equipment node and corresponding forwarding nodes and signal intensity corresponding to each communication link; the topological structure comprises communication state information among equipment nodes in the wireless network, and the efficiency of troubleshooting and network optimization of the wireless network can be effectively improved based on the visual wireless network.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
Fig. 1 is an exemplary diagram of a wireless zigbee Mesh network according to an embodiment of the present invention.
Fig. 2 is an exemplary screenshot of a captured forwarding packet according to an embodiment of the present invention.
Fig. 3 shows a schematic diagram of an application scenario applicable to the embodiment of the present invention.
Fig. 4 shows a schematic diagram of a home scene applicable to the embodiment of the present invention.
Fig. 5 is a block diagram illustrating a hardware configuration of a computer device according to an embodiment of the present invention.
Fig. 6 shows a network visualization processing method applied to a server according to an embodiment of the present invention.
Fig. 7 illustrates an exemplary diagram of a visualization of a wireless network provided by an embodiment of the invention.
Fig. 8 shows another network visualization processing method applied to a server according to an embodiment of the present invention.
Fig. 9 shows another network visualization processing method applied to a server according to an embodiment of the present invention.
Fig. 10 illustrates an exemplary diagram of a forwarding path visualization provided by an embodiment of the invention.
Fig. 11 is a diagram illustrating an example of a visualization provided by an embodiment of the present invention after a change in a wireless network.
Fig. 12 shows another network visualization processing method applied to a server according to an embodiment of the present invention.
Fig. 13 shows a network visualization processing method applied to a display terminal according to an embodiment of the present invention.
Fig. 14 shows another network visualization processing method applied to a display terminal according to an embodiment of the present invention.
Fig. 15 shows another network visualization processing method applied to a display terminal according to an embodiment of the present invention.
Fig. 16 is a block diagram illustrating a first network visualization processing apparatus according to an embodiment of the present invention.
Fig. 17 is a block diagram illustrating a second wireless network visualization apparatus according to an embodiment of the present invention.
Icon: 10-a server; 20-a display terminal; 30-a device node; 301-smart wall sockets; 302-smart wall switches; 303-temperature and humidity sensor; 304-TVOC sensor; 40-border routers; 401-home border router; 50-a computer device; 51-a processor; 52-a memory; 53-bus; 54-a communication interface; 100-a first network visualization processing means; 110-a receiving module; 120-a generation module; 130-a sending module; 140-a corresponding module; 200-a second network visualization processing means; 210-display module.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
In the description of the present invention, it should be noted that if the terms "upper", "lower", "inside", "outside", etc. indicate an orientation or a positional relationship based on that shown in the drawings or that the product of the present invention is used as it is, this is only for convenience of description and simplification of the description, and it does not indicate or imply that the device or the element referred to must have a specific orientation, be constructed in a specific orientation, and be operated, and thus should not be construed as limiting the present invention.
Furthermore, the appearances of the terms "first," "second," and the like, if any, are used solely to distinguish one from another and are not to be construed as indicating or implying relative importance.
It should be noted that the features of the embodiments of the present invention may be combined with each other without conflict.
With the development of network technology, star structures, ring structures, bus structures, tree structures and the like of traditional local area networks all play a role in various fields, and stable network connection and a large amount of data traffic are provided for billions of people all over the world. But the inherent network property deficiency of these network structures is also gradually emerging. For example, in a star structure, once a single point failure problem of a central node occurs, the whole network is broken down, and for example, in a bus structure, many buses need to be deployed to connect all communication nodes, which results in a large deployment cost and a large implementation difficulty.
In view of the above problems in the network structure, Mesh networks, which are Mesh networks, have been developed, and Mesh networks are mainly used in wireless networks, such as bluetooth Mesh, Wifi Mesh, and Zigbee Mesh.
However, while overcoming the defects existing in other network structures, the Mesh network also has some problems, for example, the network construction is complex, and the network is flexible and dynamic, so that the difficulty of troubleshooting and network optimization is high, and how to quickly troubleshoot the wireless Mesh network, improve the stability and optimize the reliability becomes the problem that the technicians need to solve most urgently.
In order to solve the above problems, in the prior art, a wireless packet capturing tool is generally used to analyze the network condition of the wireless Mesh network. Because the wireless Mesh network is complex to construct and the network structure is flexible in dynamic change, the current mainstream investigation method usually performs packet capturing analysis by matching a hardware packet capturing device and a computer, and the method can analyze the interactive message content of each node in the network in detail and can also examine the communication condition between each node, such as the signal strength, routing relationship, time consumption and other information.
Referring to fig. 1, fig. 1 is an exemplary diagram of a wireless zigbee Mesh network according to an embodiment of the present invention, the zigbee Mesh network in fig. 1 includes 4 nodes, which are respectively node 0x378A, node 0xC691, node 0x9FBD, and node 0x0000, and when the node 0x378A needs to send a packet to the node 0x0000, the wireless packet capturing tool is used to capture a forwarding packet in the wireless Mesh network.
Referring to fig. 2, fig. 2 is an exemplary screenshot of a captured forwarding packet according to an embodiment of the present invention. The Timestamp in fig. 2 is generally represented by Timestamp, the Stack is generally represented by Stack, the Packet Information is generally represented by Packet Information, the destination node group is generally represented by PAN dst, the source MAC is generally represented by MAC dst, the destination MAC is generally represented by MAC dst, the MAC sequence is generally represented by MAC seq, the source NWK is generally represented by NWK src, and the destination NWK is generally represented by NWK dst, where NWK is the network layer of ZigBee, and as can be seen from the Packet in fig. 2, the network layer address is node 0x378A and wants to send a command to node 0x0000, and first, node 0x378A sends the Packet to node 0xC691, node 0xC fb691 sends the Packet to node 0x9FBD, and then node 0x9 d sends the Packet Information to node 0x 0000. For each message, the consumption duration, routing relation, signal strength and the like of the message transmitted by the message can be obtained through a packet capturing tool.
An example of the transmission of the second packet in fig. 2 is as follows:
Figure BDA0003283316400000071
as can be seen from the example of the transmission condition of the second packet, the communication duration Time Delta when the second packet is transmitted is 0.00876s, and the connection Quality Link Quality is-55 dBm.
According to the method for analyzing the network condition through the packet capturing tool, the analysis message pays too much attention to details, the overall form of the network structure is ignored, the overall network structure of the network cannot be analyzed from multiple dimensions, the routing relation and the communication quality of different nodes of the whole network cannot be analyzed rapidly and parallelly, and the attribute change condition and the coupling parameter dynamic change condition between the nodes cannot be checked directly. Once data reporting is abnormal, it is difficult to analyze through a captured single message.
In view of this, the embodiment of the present invention analyzes the wireless network from another aspect, that is, the wireless network is firstly visualized, and troubleshooting and network optimization are performed based on the visualized wireless network, so that difficulty of troubleshooting and network optimization is greatly reduced, which will be described in detail below.
Referring to fig. 3, fig. 3 is a schematic view illustrating an application scenario applicable to an embodiment of the present invention, in fig. 3, a wireless network includes a border router 40 and a device node 30, which communicate with each other in a wireless communication manner, which may be, but is not limited to, bluetooth, Wifi, Zigbee, and the like. The border router 40 communicates with the server 10 via a network, and the server 10 communicates with the display terminal 20 via a network, and the network communication may be wireless communication or wired communication, or may be directly connected or indirectly connected.
The server 10 may be a physical computer, or may be a virtual machine capable of implementing the same function as the server 10, or may be an independent physical server, or may be a server cluster or a distributed system formed by a plurality of physical servers, and the like, the server 10 may generate a topology structure, and transmit the topology structure to the display terminal 20 for visual display, the server 10 may also provide a web address to the display terminal 20, the display terminal 20 displays a visual result by accessing the web address, and a user may also directly view the visual result by using a web browser of the server 10.
The display terminal 20 is a device having a display function, and may specifically be, but is not limited to, an intelligent control panel, a smart phone, a tablet computer, a notebook computer, a desktop computer, and a smart watch.
The border router 40 is also called an edge router, and is a device that routes data packets between one or more local area networks and a backbone network, and in the wireless network according to the embodiment of the present invention, the border router 40 mainly functions as a gateway thereof, and maintains address allocation and the like of the whole wireless Mesh network.
The device nodes 30 include forwarding nodes having a capability of communicating with the border router, for example, the device nodes 30 directly connected to the border router 40 in fig. 3, where the forwarding nodes are nodes with a forwarding function and are used to implement a packet forwarding function between nodes in the wireless network. The forwarding node stores neighbor table and routing table information, and the neighbor table records the device nodes with physical links between the device nodes and the forwarding node. In the smart home field, the forwarding node may be a smart socket, a smart wall socket, or the like.
The device nodes 30 may also include end nodes, which refer to devices with low power consumption and no forwarding functionality. In the intelligent home field, the terminal nodes can be temperature and humidity sensors, human body sensors, dynamic and static sticking sensors and the like.
The device node 30 may also include one or more of an end node and a forwarding node, and of course, one forwarding node may also have a physical link with a plurality of other forwarding nodes at the same time, or a physical link with a plurality of end nodes at the same time, and so on. The routing table records the node information to be forwarded by the forwarding node, and ensures that the data packet is forwarded by selecting a proper next-hop forwarding path according to the forwarding path description of the routing table after reaching the forwarding node through the previous hop.
Taking a home application scenario as an example, please refer to fig. 4, fig. 4 shows a schematic view of a home scenario applicable to the embodiment of the present invention, in fig. 4, a wireless network includes a home border router 401, an intelligent wall socket 301, a temperature and humidity sensor 303, and a Total Volatile Organic compound TVOC (TVOC) sensor 304, and a dotted line in fig. 4 represents a wireless connection, for example, the TVOC sensor 304 is wirelessly connected to the intelligent wall socket 301.
It is understood that although the server 10 and the display terminal 20 are not shown in fig. 4, in practice, the home border router 401 may be in communication with the server 10 to transmit the neighbor list to the server 10 through the home border router 401, so that the server 10 generates the topology of the wireless network according to the neighbor list and visualizes the wireless network, and the display terminal 20 may be in communication with the server 10 to visualize the topology and the communication status information transmitted by the server 10.
In the application scenarios of fig. 3 and fig. 4, an embodiment of the present invention further provides a hardware structure block diagram of a computer device 50, where the computer device 50 may be the server 10 in fig. 3 and fig. 4, or may be the display terminal 20 in fig. 3 and fig. 4. Referring to fig. 5, fig. 5 is a block diagram illustrating a hardware structure of a computer device 50 according to an embodiment of the present invention, where the computer device 50 includes a processor 51, a memory 52, a bus 53, and a communication interface 54. The processor 51 and the memory 52 are connected by a bus 53, and the processor 51 communicates with an external device via a communication interface 54.
The processor 51 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 51. The Processor 51 may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; but may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components.
The memory 52 is used for storing a program, for example, the first network visualization processing apparatus 100 or the second network visualization processing apparatus 200 in the embodiment of the present invention, and each of the first network visualization processing apparatus 100 or the second network visualization processing apparatus 200 includes at least one software functional module which can be stored in the memory 52 in the form of software or firmware (firmware), and the processor 51 executes the program after receiving the execution instruction to implement the network visualization processing method in the embodiment of the present invention.
The Memory 52 may include a Random Access Memory (RAM) and may also include a non-volatile Memory (non-volatile Memory). Alternatively, the memory 52 may be a storage device built in the processor 51, or may be a storage device independent of the processor 51.
The bus 53 may be an ISA bus, a PCI bus, an EISA bus, or the like. Fig. 5 is indicated by only one double-headed arrow, but does not indicate only one bus or one type of bus.
It will be understood by those skilled in the art that the structure shown in fig. 5 is merely illustrative and is not intended to limit the structure of the computer device 50 described above. For example, computer device 50 may also include more or fewer components than shown in FIG. 5, or have a different configuration than shown in FIG. 5.
Based on the application scenarios in fig. 3 and fig. 4, an embodiment of the present invention further provides a network visualization processing method applied to the server 10 in fig. 3 and fig. 4, please refer to fig. 6, and fig. 6 shows a network visualization processing method applied to a server according to an embodiment of the present invention, where the method includes the following steps:
step S100, receiving a neighbor table sent by each forwarding node through a boundary router, wherein the neighbor table comprises adjacent communication links existing in the equipment node and corresponding forwarding nodes and signal strengths of the communication links.
In this embodiment, as a specific implementation manner, the device node may include one or more terminal nodes, may also include one or more forwarding nodes, or includes both a terminal node and other forwarding nodes.
In this embodiment, the neighbor table of the forwarding node is used to store link information between the forwarding node and each device node adjacent to the forwarding node, where the link information includes communication links between the forwarding node and each device node adjacent to the forwarding node and signal strengths of the communication links. As a specific implementation manner, the forwarding node may actively send a probe request frame or a frame listen preset frame to each device node in the wireless network to collect information of its neighbor, and once a response frame of another device node to the probe request frame is received or the received preset frame of another device node is analyzed, if a neighbor matching relationship is met, a neighbor relationship may be established with the device node, and link information between the forwarding node and the neighbor is updated to a neighbor table.
In this embodiment, each forwarding node may send its own neighbor table to the border router in real time or periodically, and the border router 40 summarizes the neighbor tables of each forwarding node and sends the summarized neighbor tables to the server 10.
In this embodiment, the signal strength between the forwarding node and the device node 30 is different because the relative positions of the forwarding node and the device node 30 are different, or the communication performance of the forwarding node and the device node 30 is different, and the signal strength between the forwarding node and the device node 30 is also different, for example, when a wall exists between the forwarding node and the device node 30 and when no wall exists, the corresponding signal strength is different, the antenna quality of the device node 30 is different, and the signal strength between the device node and the forwarding node is also different. Taking a forwarding node as an intelligent wall switch as an example, table 1 is an example of a neighbor table of the intelligent wall switch.
TABLE 1
Figure BDA0003283316400000101
Figure BDA0003283316400000111
Step S110, generating a topological structure of the wireless network according to the neighbor table; the topology structure comprises communication state information among equipment nodes in the wireless network, and the communication state information comprises communication links among the equipment nodes and signal strength of the communication links.
In the present embodiment, the topology is an abstract representation method that describes actual positions and relationships of a plurality of objects using only points or lines, regardless of physical attributes such as sizes and shapes of the objects. The topological structure does not concern the details of objects and the mutual proportion relation, but only represents the mutual relation among a plurality of objects in a certain range in the form of a graph. As a specific implementation, the device nodes 30 (including forwarding nodes and end nodes) may be characterized by points (also referred to as vertices) in the topology, the communication links between the device nodes 30 characterized by two vertices in the topology are represented by edges between the two vertices, and the signal strengths of the communication links between the device nodes 30 are characterized by weights of the edges between the two vertices in the topology.
And step S120, sending the topological structure to a display terminal, and enabling the display terminal to visually display the topological structure and the communication state information.
In this embodiment, the server 10 sends the topology structure to the display terminal 20, and the display terminal 20 visually displays the topology structure and the communication status information.
In this embodiment, please refer to fig. 7, fig. 7 shows an exemplary diagram of a wireless network visualization provided by an embodiment of the present invention, in fig. 7, in a topology structure, a temperature and humidity sensor, a TVOC sensor, an intelligent wall socket, and an edge router are all represented by a vertex in the topology structure, taking the TVOC sensor and the intelligent wall socket as an example, an edge between the two represents that a communication link exists between the two, and a number shown on the edge is a signal strength during signal transmission, that is, the signal strength of a signal transmitted from the TVOC sensor to the intelligent wall socket is 121.
According to the method provided by the embodiment of the invention, the visualization of the wireless network is realized by visually displaying the topological structure, so that the efficiency of troubleshooting and network optimization is improved based on the visualized wireless network.
It should be noted that, in this embodiment, the number of forwarding nodes may be one or multiple, when there are multiple forwarding nodes, the multiple forwarding nodes are all in communication connection with the border router, at this time, each forwarding node corresponds to one neighbor sub-table, and the border router aggregates the multiple neighbor sub-tables sent by the multiple forwarding nodes to obtain a neighbor table.
In this embodiment, because the structure of the wireless network has a characteristic of flexible change, in order to facilitate a user to perform troubleshooting and network optimization according to dynamic changes of the wireless network, an embodiment of the present invention further provides a method for corresponding a topology structure to a corresponding time point, so that the user can query the topology structure at a specified time point, please refer to fig. 8, which shows another network visualization processing method applied to a server provided by the embodiment of the present invention, where the method includes the following steps:
step S130, acquiring the receiving time of the receiving neighbor table, and establishing the corresponding relation between the receiving time and the topological structure.
In this embodiment, the topology corresponding to the reception time is generated from the neighbor table received at the reception time. As a specific expression, an identifier may be set for each topology, and a corresponding relationship between the identifier and the corresponding receiving time is stored, for example, the corresponding relationship is shown in table 2:
TABLE 2
Topology identification Receiving time
1 2021-9-9 09:30
Meaning that the topology identified as 1 is generated from the neighbor table received 2021-9-909: 30, which represents the communication state information at 2021-9-909: 30.
Step S140, determining the communication state information of each device node in the topology structure at the receiving time according to the corresponding relationship.
In this embodiment, after the corresponding relationship between the receiving time and the topology structure is established, the corresponding relationship may be stored, so that the user may query the topology structure at a specified time point or within a specified time range, and further perform more accurate and more comprehensive backtracking or tracking on the dynamic change of the topology structure of the wireless network. For example, a neighbor table and a router generated by each forwarding node are collected in real time or according to a preset period, then a topology structure representing the communication state between equipment nodes in the wireless network is generated based on the neighbor table and the router table collected at the moment, and by comparing the topology structures at different moments, the change situation of the topology structure of the wireless network in a certain period can be known, and then the change situation of the communication state between the equipment nodes in the wireless network can be known, so that the fault investigation can be performed on the equipment nodes with the communication state changed from connection to disconnection, or the performance optimization can be performed on the equipment nodes with the communication state optimized to poor.
In this embodiment, in order to more vividly display a forwarding path selected between node devices and more intuitively display the forwarding path, so as to facilitate a maintenance worker to quickly locate a problem, an embodiment of the present invention further provides another method for visually displaying the forwarding path, please refer to fig. 9, where fig. 9 shows another network visualization processing method applied to a server, provided by an embodiment of the present invention, the method includes the following steps:
step S150, receiving a routing table sent by the boundary router, wherein the routing table is sent by the forwarding node to the boundary router, the routing table comprises a previous-hop node corresponding to the forwarding node and a next-hop node corresponding to the previous-hop node, the previous-hop node is used for sending an equipment node of data to be forwarded to the forwarding node, and the next-hop node is used for representing the equipment node to which the forwarding node needs to send the data to be forwarded.
In this embodiment, the forwarding node includes a neighbor table and a routing table, the forwarding node transmits the neighbor table to the boundary router 40 and also transmits the routing table to the boundary router 40, the routing table includes a previous-hop node corresponding to the forwarding node and a next-hop node corresponding to the previous-hop node, the previous-hop node of the forwarding node is one of the device nodes that transmits data to be transmitted to the forwarding node, the next-hop node of the forwarding node is one of the device nodes that transmits data to be transmitted to the forwarding node, that is, the data to be transmitted is transmitted to the forwarding node from the previous-hop node, and the forwarding node forwards the data to be transmitted to the next-hop node corresponding to the previous-hop node. Taking the forwarding node as an intelligent wall switch as an example, table 3 is an example of a routing table of the intelligent wall switch.
TABLE 3
Last hop node Next hop node
TVOC sensor Boundary router
It should be noted that, routing algorithms adopted by the wireless network are different, the selection of forwarding paths is also different, and accordingly, information in the previous-hop node and the next-hop node in the routing table is also different. Taking the wireless Mesh network as an example, factors affecting the routing path of the wireless Mesh network are many, such as the communication signal strength of a link, the routing layer number of communication, the power consumption consumed by communication, and the like. For example, the topology of the wireless network can be visually displayed for flooding routing relationships.
Step S160, determining a forwarding path corresponding to the data to be forwarded from the previous-hop node to the next-hop node according to the routing table.
In this embodiment, by visually displaying the forwarding paths, all reachable paths from a certain node to other nodes and how many route transit nodes are required for each reachable path can be intuitively known.
Step S170, generating a topological structure corresponding to the wireless network according to the neighbor table and the forwarding path; the topology also includes forwarding paths between device nodes in the wireless network.
To show the visualization of the forwarding path more clearly, please refer to fig. 10, where fig. 10 shows an exemplary diagram of the visualization of the forwarding path provided by the embodiment of the present invention, in fig. 10, the TVOC reports the reported data to the border router through the node intelligent wall switch with forwarding function, and the forwarding path of the data is shown as a solid line with an arrow in fig. 10: TVOC- > smart wall switch- > border router.
In this embodiment, as a specific implementation manner, in order to more vividly display the forwarding path, the forwarding path may be presented in an animation or highlight manner, and when a mouse stays on any forwarding node or terminal node, the forwarding node or terminal node may be highlighted, and the forwarding path of data in the forwarding node or terminal node may be animated or highlighted, so that a maintenance worker can quickly locate a problem.
It should be noted that, in this embodiment, there may be one or more forwarding nodes, and when there are multiple forwarding nodes, the multiple forwarding nodes are all in communication connection with the border router, at this time, each forwarding node corresponds to one routing sub-table, and the border router summarizes the multiple routing sub-tables sent by the multiple forwarding nodes to obtain a routing table.
In this embodiment, as a specific application mode, a technician may also visually check multiple path selection relationships of data communication according to a visualized display condition of a topology structure before and after a change of a wireless network, and if data to be forwarded cannot be forwarded as expected, may analyze the signal strength in a graph, for example, because the communication quality of a certain link is poor, the link needs to be optimized, and at this time, the technician may have a basis that is real enough to adjust the position of a device or adjust the sensitivity of the device to receive signals or the communication links between device nodes, so as to perform network optimization. The following provides an example of analyzing wireless network communication conditions according to the visual display conditions of the topology structures before and after the wireless network changes.
With fig. 7 as a visual example before the wireless network changes, it can be seen from fig. 7 that the connection relationship of all the devices and the reachable paths and connection signal quality of the communication between the devices, for example, the signal from the TVOC sensor 304 to the smart wall socket 301 is 121, which is a premium signal, and the signal strength from the smart wall socket 301 to the smart wall socket 301 is 127 and 123, which are also premium signals.
In fig. 7, two smart wall switches 302 and 1 TVOC sensor 304 are added, please refer to fig. 11, fig. 11 shows a visual example diagram after the wireless network is changed according to the embodiment of the present invention, and it can be seen from fig. 11 that, in the changed wireless network, the signal strength from the TVOC sensor 304 to the smart wall socket 301 is changed from 121 (excellent) to 102 (excellent). Meanwhile, the connection relationship between the smart wall socket 301 and the smart wall switch 302 is also increased, and the message reported by the newly added TVOC sensor 304 reaches the home border router 401 through the smart wall switch 302.
As can be analyzed by comparing fig. 7 with fig. 11, when the message reported by the newly added TVOC sensor is sent to the smart wall switch 302, the smart wall switch 302 compares all the paths that can be forwarded to the home border router 401, and after evaluation, it is found that the signal from the smart wall switch 302 to the smart wall socket 301 is only 85 (good), and the signal strength reaching the other smart wall switch 302 is 77 (medium), so that the link of 142 (good) directly reported to the home border router 401 is finally selected.
Through the analysis, technicians can visually check the selection relationship of multiple paths of data communication and the root cause why a certain path is not selected, and in addition, once the message reported by the TVOC sensor cannot directly reach the home border router 401 and the message is lost midway, the message can be analyzed from the signal strength in the graph, which is caused by the poor communication quality of a certain link and needs to be optimized.
In this embodiment, in addition to showing information in a neighbor table and/or a routing table in a visualized form, an embodiment of the present invention further provides another method for visually showing connection information between a forwarding node and a device node, please refer to fig. 12, where fig. 12 shows another network visualization processing method applied to a server according to an embodiment of the present invention, the method includes the following steps:
and step S180, receiving connection information sent by the boundary router, wherein the connection information is sent to the boundary router by the forwarding node and is used for representing the connection condition between the forwarding node and the equipment node.
In this embodiment, the connection information includes, but is not limited to, signal strength, communication link time consumption, retransmission times, communication quality, and the like, and as a specific implementation, the forwarding node may periodically acquire the connection information according to the forwarding condition of the forwarding data.
Step S190, the connection condition is taken as the weight of the corresponding edge in the topological structure, wherein the forwarding node and the equipment node are represented by the vertex in the topological structure, the physical link between the forwarding node and the equipment node is represented by the edge between the vertices in the topological structure, and the connection information between the forwarding node and the equipment node is represented by the weight of the edge between the vertices in the topological structure.
In this embodiment, as a specific implementation manner, different connection information may be visually displayed in different colors.
In this embodiment, dynamic changes of the wireless network may be selectively shown as needed, for example, the wireless network at a specified time point or in a specified time period may be visualized through the neighbor table, dynamic changes of neighbor relations of each node in the wireless network may be intuitively known, the wireless network at the specified time point or in the specified time period may be visualized through the routing table, dynamic changes of communication path selection between each node in the wireless network may be intuitively known, the wireless network at the specified time point or in the specified time period may be visualized through the connection information, dynamic changes of connection conditions between nodes may be intuitively known, so that coupling parameters and selection parameters related to each change factor may be more comprehensively analyzed, and the efficiency of optimizing the network is improved from another dimension.
Based on the same inventive concept, the embodiment of the present invention also provides a network visualization processing method applied to the display terminal 20 in fig. 3 and 4, which will be described in detail below.
Referring to fig. 13, fig. 13 shows a network visualization processing method applied to a display terminal according to an embodiment of the present invention, where the method includes the following steps:
step S200, displaying a network visual interface; the network visualization interface is used for visually displaying a wireless network, the wireless network comprises a plurality of equipment nodes, and the equipment nodes comprise forwarding nodes capable of communicating with the boundary router.
Step S210, in a network visual interface, showing a topological structure between equipment nodes generated on the basis of a neighbor table forwarded by forwarding nodes through a boundary router; the neighbor table comprises adjacent communication links existing in the equipment node and corresponding forwarding nodes and signal intensity corresponding to each communication link; the topology includes information on the communication status between the device nodes in the wireless network.
In order to more intuitively represent physical links between equipment nodes and signal strength of the physical links, as a specific implementation manner, a topological structure comprises vertexes, edges between the vertexes and weights of the edges between the vertexes, and the equipment nodes are represented by the vertexes in the topological structure; representing a physical link between equipment nodes represented by two vertexes by using an edge between the two vertexes in the topological structure; the weight of an edge between two vertices in the topology characterizes the signal strength of a physical link between device nodes characterized by the two vertices.
According to the method provided by the embodiment of the invention, the wireless network can be efficiently subjected to troubleshooting and network optimization by visually displaying the communication links and the signal intensity of the communication links between the equipment nodes and the forwarding nodes in the wireless network and the adjacent equipment nodes.
In this embodiment, in order to more vividly display a forwarding path selected between node devices and more intuitively display the forwarding path, so as to facilitate a maintenance worker to quickly locate a problem, an embodiment of the present invention further provides another method for visually displaying the forwarding path, which is applied to a display terminal 20, please refer to fig. 14, where fig. 14 shows another network visualization processing method applied to the display terminal, which is provided by the embodiment of the present invention, and the method further includes the following steps:
step S220, obtaining a routing table in the wireless network; and the routing table is forwarded to the boundary router by the forwarding node, the routing table comprises a previous-hop node corresponding to the forwarding node and a next-hop node corresponding to the previous-hop node, the previous-hop node represents the equipment node for sending the data to be forwarded to the forwarding node, and the next-hop node represents the equipment node to which the forwarding node needs to send the data to be forwarded.
Step S230, determining a forwarding path corresponding to the data to be forwarded from the previous-hop node to the next-hop node according to the routing table.
Step S240, displaying, in a network visualization interface, a topology structure corresponding to the wireless network generated based on the neighbor table forwarded by each forwarding node through the border router and the forwarding path.
It should be noted that, in order to more intuitively display the communication state of the device node, as a specific implementation manner, a user may trigger a click operation of each device node displayed in a communication interface of the display terminal, that is, may display the communication state of the clicked device node, and as another specific implementation manner, if the clicked device node is a forwarding node, a neighbor table and a routing table of the device node may be displayed.
Based on the same inventive concept, in order to more clearly show the network topology in the actual application environment deployment, an embodiment of the present invention further provides a home network visualization method based on a spatial layout diagram, please refer to fig. 15, where fig. 15 shows another network visualization processing method provided by the embodiment of the present invention, the method includes the following steps:
step S250, obtaining a spatial layout diagram; the spatial layout diagram comprises position information of each household equipment node, and the position information is used for determining the link relation between the household equipment nodes; and the home network is formed by the home equipment nodes and the link relation.
In this embodiment, the spatial layout diagram may be a home-type diagram, the link relationship between the home device nodes may be a communication connection relationship or a physical link relationship between the home device nodes, and the home network is composed of the home device nodes having the link relationship.
Step S260, a topological structure between the home equipment nodes generated based on the neighbor table forwarded by the first home equipment through the second home equipment is displayed in the network visual interface.
In this embodiment, the first home device is the server 10 in fig. 4, and the second home device may be a boundary router in fig. 4.
In this embodiment, a topology structure of the home network is generated and is superimposed on a spatial layout diagram of actual environment deployment for display, so that the communication process of each home device can be checked more intuitively based on the actual environment, and more accurate sources of interference signals, such as the influence of walls on the wireless Mesh network, can be known according to the actual environment, and therefore, maintenance personnel can reasonably and reasonably adjust the network condition, and the purpose of efficiently tuning and optimizing the network is achieved.
In order to perform the corresponding steps applied to the server 10 in the above embodiments and in various possible embodiments, an implementation applied to the server 10 wireless network visualization apparatus is given below. Referring to fig. 16, fig. 16 is a schematic block diagram illustrating a first network visualization processing apparatus 100 applied to a server according to an embodiment of the present application. It should be noted that the basic principle and the generated technical effect of the first network visualization processing apparatus 100 provided in the present embodiment are the same as those of the foregoing embodiments, and for the sake of brief description, no reference is made to this embodiment portion.
The first network visualization processing apparatus 100 includes a receiving module 110, a generating module 120, a sending module 130, and a corresponding module 140.
The receiving module 110 is configured to receive a neighbor table sent by each forwarding node through the border router, where the neighbor table includes adjacent communication links existing with the corresponding forwarding node in the device node and signal strengths of the communication links.
As a specific implementation manner, the receiving module 110 is further configured to receive a routing table sent by the boundary router, where the routing table is sent by the forwarding node to the boundary router, and the routing table includes a previous-hop node corresponding to the forwarding node and a next-hop node corresponding to the previous-hop node, where the previous-hop node is used to represent an equipment node that sends data to be forwarded to the forwarding node, and the next-hop node is used to represent an equipment node that the forwarding node needs to send the data to be forwarded to.
As a specific implementation manner, the receiving module 110 is further configured to receive connection information sent by the border router, where the connection information is sent by the forwarding node to the border router, and the connection information is used to characterize a connection situation between the forwarding node and the device node.
As a specific implementation manner, the forwarding nodes include a plurality of forwarding nodes, the plurality of forwarding nodes are all in communication connection with the border router, each forwarding node corresponds to one neighbor sub-table, and the neighbor sub-tables sent by the plurality of forwarding nodes are summarized by the border router.
A generating module 120, configured to generate a topology structure of the wireless network according to the neighbor table; the topology structure comprises communication state information among equipment nodes in the wireless network, and the communication state information comprises communication links among the equipment nodes and signal strength of the communication links.
As a specific implementation, the generating module 120 is specifically configured to: determining a forwarding path corresponding to the data to be forwarded from the previous hop node to the next hop node according to the routing table; the generating module 120 is specifically further configured to, when configured to generate the topology structure of the wireless network according to the neighbor table: generating a topological structure corresponding to the wireless network according to the neighbor table and the forwarding path; the topology also includes forwarding paths between device nodes in the wireless network.
As a specific implementation, the generating module 120 is further specifically configured to: and taking the connection condition as the weight of the corresponding edge in the topological structure, wherein the forwarding node and the equipment node are represented by a vertex in the topological structure, the physical link between the forwarding node and the equipment node is represented by an edge between the vertices in the topological structure, and the connection information between the forwarding node and the equipment node is represented by the weight of the edge between the vertices in the topological structure.
And the sending module 130 is configured to send the topology structure to the display terminal, so that the display terminal performs visual display on the topology structure and the communication state information.
As a specific implementation manner, the sending module 130 is further configured to perform visual display on a forwarding path for forwarding data to be forwarded from a previous-hop node to a next-hop node according to the routing table.
As a specific embodiment, the sending module 130 is further configured to visually display the connection condition as a weight of a corresponding edge in the topology.
A corresponding module 140 for: acquiring receiving time for receiving a neighbor table; and establishing a corresponding relation between the receiving time and the topological structure.
In order to execute the corresponding steps applied to the display terminal 20 in the above embodiments and in various possible embodiments, an implementation of the network visualization processing apparatus applied to the display terminal 20 is given below. Referring to fig. 17, fig. 17 is a block schematic diagram illustrating a second network visualization processing apparatus 200 according to an embodiment of the present application. It should be noted that the basic principle and the generated technical effect of the second network visualization processing apparatus 200 provided in the present embodiment are the same as those of the foregoing embodiments, and for the sake of brief description, no reference is made to this embodiment portion.
The second network visualization processing device 200 includes a presentation module 210.
A display module 210, configured to display a network visualization interface; the network visualization interface is used for visually displaying a wireless network, the wireless network comprises a plurality of equipment nodes, and the equipment nodes comprise forwarding nodes capable of communicating with the boundary router.
The display module 210 is further configured to display, in a network visualization interface, a topology structure between the device nodes generated based on the neighbor table forwarded by each forwarding node through the boundary router; the neighbor table comprises adjacent communication links existing in the equipment node and corresponding forwarding nodes and signal intensity corresponding to each communication link; the topology includes information on the communication status between the device nodes in the wireless network.
As a specific implementation manner, the topology structure includes vertices, edges between the vertices, and weights of the edges between the vertices, where the vertices in the topology structure represent device nodes; an edge between two vertexes in the topological structure represents a physical link between equipment nodes represented by the two vertexes; the weight of an edge between two vertices in the topology characterizes the signal strength of a physical link between device nodes characterized by the two vertices.
As a specific embodiment, the display module 210 is further configured to: acquiring a routing table in a wireless network; the routing table is forwarded to the boundary router by the forwarding node, the routing table comprises a previous hop node corresponding to the forwarding node and a next hop node corresponding to the previous hop node, the previous hop node represents a device node which sends data to be forwarded to the forwarding node, and the next hop node represents a device node which the forwarding node needs to send the data to be forwarded to; determining a forwarding path corresponding to the data to be forwarded from the previous hop node to the next hop node according to the routing table; the displaying module 210 is specifically configured to, when configured to display, in a network visualization interface, a topology structure between each device node generated based on a neighbor table forwarded by each forwarding node through a boundary router: and displaying a topology structure corresponding to the wireless network generated based on the neighbor table forwarded by each forwarding node through the boundary router and the forwarding path in a network visualization interface.
As a specific implementation, the device node includes a home device node; the home device nodes include a first home device node serving as a forwarding node and a second home device node serving as a border router, and the presentation module 210 is further configured to: acquiring a spatial layout diagram; the spatial layout diagram comprises position information of each household equipment node, and the position information is used for determining the link relation between the household equipment nodes; each household equipment node and the link relation form a household network; the displaying module 210 is configured to, when displaying, in a network visualization interface, a topology structure between device nodes generated based on a neighbor table forwarded by forwarding nodes through a boundary router, specifically: and displaying a topological structure among the household equipment nodes generated on the basis of the neighbor table forwarded by the first household equipment through the second household equipment in a network visual interface.
The embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the visualization method embodiment of the wireless network, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
In summary, embodiments of the present invention provide a network visualization processing method, an apparatus, a computer device, and a storage medium, which are applied to a display terminal, and the method includes: displaying a network visual interface; the network visualization interface is used for visually displaying a wireless network, the wireless network comprises a plurality of equipment nodes, and the equipment nodes comprise forwarding nodes with the communication capacity with the boundary router; in a network visual interface, showing a topological structure among equipment nodes generated on the basis of a neighbor table forwarded by forwarding nodes through a boundary router; the neighbor table comprises adjacent communication links existing in the equipment node and corresponding forwarding nodes and signal intensity corresponding to each communication link; the topology includes information on the communication status between the device nodes in the wireless network. Compared with the prior art, the embodiment of the invention can conveniently carry out troubleshooting and network optimization on the wireless network including the wireless Mesh network by visualizing the wireless network.
The above description is only for the specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (13)

1. A network visualization processing method is applied to a display terminal, and comprises the following steps:
displaying a network visual interface; the network visualization interface is used for visually displaying a wireless network, the wireless network comprises a plurality of equipment nodes, and the equipment nodes comprise forwarding nodes capable of communicating with a boundary router;
displaying a topological structure between the equipment nodes generated based on a neighbor table forwarded by the forwarding nodes through the boundary router in the network visualization interface; the neighbor table comprises adjacent communication links existing in the equipment node and corresponding forwarding nodes and signal strength corresponding to each communication link; the topology structure includes communication state information between device nodes in the wireless network.
2. The network visualization processing method according to claim 1, wherein the topology includes vertices, edges between vertices, and weights of the edges between the vertices;
wherein vertices in the topology characterize the device nodes; an edge between two vertices in the topology characterizes a physical link between the device nodes characterized by the two vertices; the weight of an edge between two vertices in the topology characterizes the signal strength of a physical link between the device nodes characterized by the two vertices.
3. The network visualization processing method of claim 1, wherein the method further comprises:
acquiring a routing table in the wireless network; the routing table is forwarded to the boundary router by the forwarding node, the routing table comprises a previous hop node corresponding to the forwarding node and a next hop node corresponding to the previous hop node, the previous hop node represents a device node which sends data to be forwarded to the forwarding node, and the next hop node represents a device node which the forwarding node needs to send the data to be forwarded to;
determining a forwarding path corresponding to the data to be forwarded from the previous hop node to the next hop node according to the routing table;
the displaying, in the network visualization interface, a topology structure between the device nodes generated based on a neighbor table forwarded by the forwarding nodes through the border router includes:
and displaying a neighbor table forwarded by each forwarding node through a boundary router and a topology structure corresponding to the wireless network generated based on the forwarding path in the network visualization interface.
4. The network visualization processing method according to any one of claims 1 to 3, wherein the device node comprises a home device node; the home equipment nodes comprise a first home equipment node serving as a forwarding node and a second home equipment node serving as a boundary router;
the method further comprises the following steps:
acquiring a spatial layout diagram; the spatial layout diagram comprises position information of each household equipment node, and the position information is used for determining a link relation between the household equipment nodes; each household equipment node and the link relation form a household network;
the displaying, in the network visualization interface, a topology structure between the device nodes generated based on a neighbor table forwarded by the forwarding nodes through the border router includes:
and displaying a topological structure between the household equipment nodes generated based on the neighbor table forwarded by the first household equipment through the second household equipment in the network visual interface.
5. A network visualization processing method is applied to a server, the server is in communication connection with a border router in a wireless network, the wireless network comprises device nodes, the device nodes further comprise forwarding nodes with the capability of communicating with the border router, and the method comprises the following steps:
receiving a neighbor table sent by each forwarding node through the boundary router; the neighbor table comprises adjacent communication links existing with corresponding forwarding nodes in the equipment node and the signal strength of each communication link;
generating a topological structure of the wireless network according to the neighbor table; the topology structure comprises communication state information among all the equipment nodes in the wireless network, and the communication state information comprises communication links among all the equipment nodes and signal strength of all the communication links;
and sending the topological structure to a display terminal, so that the display terminal can visually display the topological structure and the communication state information.
6. The network visualization processing method of claim 5, wherein the method further comprises:
acquiring receiving time for receiving the neighbor table, and establishing a corresponding relation between the receiving time and the topological structure;
and determining the communication state information of each equipment node in the topological structure at the receiving time according to the corresponding relation.
7. The network visualization processing method of claim 5, wherein the method further comprises:
receiving a routing table sent by the boundary router, wherein the routing table is sent by the forwarding node to the boundary router, the routing table comprises a previous hop node corresponding to the forwarding node and a next hop node corresponding to the previous hop node, the previous hop node is used for representing an equipment node which sends data to be forwarded to the forwarding node, and the next hop node is used for representing an equipment node which the forwarding node needs to send the data to be forwarded to;
determining a forwarding path corresponding to the data to be forwarded from the previous hop node to the next hop node according to the routing table;
the generating the topology structure of the wireless network according to the neighbor table comprises:
generating a topological structure corresponding to the wireless network according to the neighbor table and the forwarding path; the topology also includes forwarding paths between the device nodes in the wireless network.
8. The network visualization processing method of claim 5, wherein the method further comprises:
receiving connection information sent by the boundary router, wherein the connection information is sent by the forwarding node to the boundary router and is used for representing the connection condition between the forwarding node and the equipment node;
and taking the connection condition as the weight of the corresponding edge in the topological structure, wherein the forwarding node and the equipment node are characterized by a vertex in the topological structure, a physical link between the forwarding node and the equipment node is characterized by an edge between the vertices in the topological structure, and the connection information between the forwarding node and the equipment node is characterized by the weight of the edge between the vertices in the topological structure.
9. The method for processing network visualization of any one of claims 5 to 8, wherein the forwarding nodes include a plurality of forwarding nodes, each of the forwarding nodes is communicatively connected to the border router, each of the forwarding nodes corresponds to a neighbor sub-table, and the neighbor sub-tables are obtained by summarizing, by the border router, the plurality of neighbor sub-tables sent by the forwarding nodes.
10. A network visualization processing device is applied to a display terminal, and the device comprises:
the display module is used for displaying a network visual interface; the network visualization interface is used for visually displaying a wireless network, the wireless network comprises a plurality of equipment nodes, and the equipment nodes comprise forwarding nodes capable of communicating with a boundary router;
the display module is further configured to display, in the network visualization interface, a topology structure between the device nodes generated based on a neighbor table forwarded by each forwarding node through a border router; the neighbor table comprises adjacent communication links existing in the equipment node and corresponding forwarding nodes and signal strength corresponding to each communication link; the topology structure includes communication state information between device nodes in the wireless network.
11. A wireless network visualization apparatus, applied to a server, where the server is in communication connection with a border router in a wireless network, the wireless network includes device nodes, and the device nodes further include a forwarding node having a capability of communicating with the border router, where the apparatus includes:
a receiving module, configured to receive a neighbor table sent by each forwarding node through the border router, where the neighbor table includes adjacent communication links existing with the corresponding forwarding node in the device node and signal strength of each communication link;
the generating module is used for generating a topological structure of the wireless network according to the neighbor table; the topology structure comprises communication state information among all the equipment nodes in the wireless network, and the communication state information comprises communication links among all the equipment nodes and signal strength of all the communication links;
and the sending module is used for sending the topological structure to a display terminal so that the display terminal can visually display the topological structure and the communication state information.
12. A computer device comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the network visualization processing method according to any one of claims 1 to 4 or the network visualization processing method according to claims 5 to 9 when executing the computer program.
13. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the network visualization processing method according to one of claims 1 to 4 or the network visualization processing method according to one of claims 5 to 9.
CN202111139732.5A 2021-09-28 2021-09-28 Network visualization processing method and device, computer equipment and storage medium Pending CN113727379A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111139732.5A CN113727379A (en) 2021-09-28 2021-09-28 Network visualization processing method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111139732.5A CN113727379A (en) 2021-09-28 2021-09-28 Network visualization processing method and device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113727379A true CN113727379A (en) 2021-11-30

Family

ID=78685128

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111139732.5A Pending CN113727379A (en) 2021-09-28 2021-09-28 Network visualization processing method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113727379A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114465935A (en) * 2022-01-11 2022-05-10 深圳绿米联创科技有限公司 Method for generating network topological graph for network system and related equipment
CN114630361A (en) * 2022-03-14 2022-06-14 浙江瑞瀛物联科技有限公司 Zigbee wireless communication analysis system based on imaging

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100232317A1 (en) * 2009-03-11 2010-09-16 Xiangpeng Jing Method and apparatus for a wireless home mesh network with network topology visualizer
CN102025621A (en) * 2010-12-07 2011-04-20 南京邮电大学 Routing selection method of cognitive network based on mapping mechanism
CN103532736A (en) * 2013-08-29 2014-01-22 华为技术有限公司 Visual network management method and user terminal
US20140280921A1 (en) * 2013-03-15 2014-09-18 Trane International Inc. Device and method for detecting and visualizing network health
CN107787022A (en) * 2016-08-26 2018-03-09 马维尔国际贸易有限公司 The Remote configuration of radio node and the method and apparatus of management
CN110139319A (en) * 2019-05-25 2019-08-16 西南电子技术研究所(中国电子科技集团公司第十研究所) High dynamic time-delay network propagation delay time minimizes method for routing
CN111541576A (en) * 2020-05-13 2020-08-14 珠海迈科智能科技股份有限公司 Zigbee network-based equipment visualization method and system
CN112333092A (en) * 2020-10-22 2021-02-05 华能阜新风力发电有限责任公司 Method and system for routing addressing of multi-hop ad hoc network

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100232317A1 (en) * 2009-03-11 2010-09-16 Xiangpeng Jing Method and apparatus for a wireless home mesh network with network topology visualizer
CN102025621A (en) * 2010-12-07 2011-04-20 南京邮电大学 Routing selection method of cognitive network based on mapping mechanism
US20140280921A1 (en) * 2013-03-15 2014-09-18 Trane International Inc. Device and method for detecting and visualizing network health
CN103532736A (en) * 2013-08-29 2014-01-22 华为技术有限公司 Visual network management method and user terminal
CN107787022A (en) * 2016-08-26 2018-03-09 马维尔国际贸易有限公司 The Remote configuration of radio node and the method and apparatus of management
CN110139319A (en) * 2019-05-25 2019-08-16 西南电子技术研究所(中国电子科技集团公司第十研究所) High dynamic time-delay network propagation delay time minimizes method for routing
CN111541576A (en) * 2020-05-13 2020-08-14 珠海迈科智能科技股份有限公司 Zigbee network-based equipment visualization method and system
CN112333092A (en) * 2020-10-22 2021-02-05 华能阜新风力发电有限责任公司 Method and system for routing addressing of multi-hop ad hoc network

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114465935A (en) * 2022-01-11 2022-05-10 深圳绿米联创科技有限公司 Method for generating network topological graph for network system and related equipment
CN114465935B (en) * 2022-01-11 2024-05-14 深圳绿米联创科技有限公司 Method for generating network topological graph for network system and related equipment
CN114630361A (en) * 2022-03-14 2022-06-14 浙江瑞瀛物联科技有限公司 Zigbee wireless communication analysis system based on imaging

Similar Documents

Publication Publication Date Title
US8259615B2 (en) Method, apparatus and system for displaying topology information of wireless sensor network
JP6651463B2 (en) Fine-grained network monitoring
CN108809696A (en) Intelligent sequencing for the multiple radio nodes shifted between the wireless mesh network in Process Control System
CN113727379A (en) Network visualization processing method and device, computer equipment and storage medium
US20130103739A1 (en) Obtaining Dynamic Connected-Network Topology Via any Node in Network
US8355341B2 (en) Delay time measurement apparatus, storage medium storing delay time measurement program and network system
US20110085449A1 (en) Network path discovery and analysis
CN102449957B (en) Ip network fault locating method, apparatus, and system
US10411972B2 (en) Determining impact of network failures
CN111934936B (en) Network state detection method and device, electronic equipment and storage medium
JP5725866B2 (en) A system for visualizing wireless mesh network design and organization in physical space
CN108429625B (en) Method and device for realizing fault diagnosis
CN105530115B (en) A kind of method and device for realizing operation management maintainance function
Ma et al. Link scanner: Faulty link detection for wireless sensor networks
CN104427543A (en) System and method for finding wireless Mesh node and network topology structure of wireless Mesh node
CN108770009A (en) Periodic line fault location method, device, equipment and readable storage medium storing program for executing
CN114465935B (en) Method for generating network topological graph for network system and related equipment
US20040158780A1 (en) Method and system for presenting neighbors of a device in a network via a graphical user interface
CN105591787B (en) Basic reason analysis method, device and system in a kind of network
US8467301B2 (en) Router misconfiguration diagnosis
CN103460759B (en) Communicator and method for searching path
JP7448000B2 (en) Server device, sensor device, and data display method
Kumata et al. Mesh net viewer: A visualization system for wireless mesh networks
CN105763347A (en) Method for obtaining parameter, network equipment and system
JP2005524368A (en) A system and method for generating network graphs from a node perspective.

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