CN112994936B - Networking information display method, device and system and routing equipment - Google Patents

Networking information display method, device and system and routing equipment Download PDF

Info

Publication number
CN112994936B
CN112994936B CN202110178515.0A CN202110178515A CN112994936B CN 112994936 B CN112994936 B CN 112994936B CN 202110178515 A CN202110178515 A CN 202110178515A CN 112994936 B CN112994936 B CN 112994936B
Authority
CN
China
Prior art keywords
sub
routing device
networking
information
routing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110178515.0A
Other languages
Chinese (zh)
Other versions
CN112994936A (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.)
Bowei Technology Co ltd
Original Assignee
Bowei 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 Bowei Technology Co ltd filed Critical Bowei Technology Co ltd
Priority to CN202110178515.0A priority Critical patent/CN112994936B/en
Publication of CN112994936A publication Critical patent/CN112994936A/en
Application granted granted Critical
Publication of CN112994936B publication Critical patent/CN112994936B/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
    • 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
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/02Topology update or discovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • H04L45/745Address table lookup; Address filtering
    • 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
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/50Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate

Abstract

The invention discloses a method, a device, a system and a routing device for displaying networking information, which are applied to a main routing device in a mesh networking, and the method comprises the following steps: receiving sub-routing address information and associated address information sent by each sub-routing device in a target mesh networking, wherein the associated address information comprises a physical address list associated with a non-mesh networking Ethernet interface of the sub-routing device; obtaining networking topology information of a target mesh networking based on the sub-routing address information and the associated address information of each sub-routing device; based on the networking topology information of the target mesh networking, a networking topology map is drawn, and the networking topology map is sent to the user terminal, so that the user terminal can display the networking topology map.

Description

Networking information display method, device and system and routing equipment
Technical Field
The invention relates to the technical field of computer networks, in particular to a networking information display method, device and system and routing equipment.
Background
With the high-speed development of the current internet, the network scale is larger and larger, and the structure is more complex, which brings great challenges to the network operation management. The traditional network is in a form of wireless Access Point + Client (Access Point + Client), and with the development of society and network, a single router cannot provide reliable Wi-Fi coverage in a wide range.
Among them, a Mesh (wireless Mesh) technology network of the related art includes a main routing device and a sub-routing device. Specifically, the device supporting the Mesh technology may access the main routing device to provide the function of accessing into the network, and the device supporting the Mesh technology and being accessible into the network is the sub-routing device. The Mesh technology can realize wireless and/or wired networking through the main routing equipment and the sub-routing equipment, so that the whole network coverage is enlarged.
However, for the current network condition under Mesh networking, the user cannot know the current network condition, which is not beneficial to quickly processing the problems existing in the network or adjusting the network.
Disclosure of Invention
By providing the method, the device, the system and the routing equipment for displaying the networking information, the current networking structure can be clearly displayed to the user by drawing the network topology map of the mesh networking and sending the network topology map to the user terminal, and the user can clearly master the overall network condition.
In a first aspect, the present invention provides the following technical solutions through an embodiment of the present invention:
a networking information display method is applied to a main routing device in a mesh networking, and comprises the following steps: receiving sub-routing address information and associated address information sent by each sub-routing device in a target mesh networking, wherein the associated address information comprises a physical address list associated with a non-mesh networking Ethernet interface of the sub-routing device; obtaining networking topology information of the target mesh networking based on the sub-routing address information and the associated address information sent by each sub-routing device; based on the networking topology information of the target mesh networking, drawing a networking topology map, and sending the networking topology map to a user terminal so as to display the networking topology map to a user through the user terminal.
Preferably, the obtaining networking topology information of the target mesh networking based on the sub-routing address information and the associated address information sent by each sub-routing device includes: determining the hierarchical relationship among the routing devices in the target mesh networking based on the sub-routing address information and the associated address information sent by each sub-routing device; and obtaining networking topology information of the target mesh networking based on the hierarchical relationship among the routing devices.
Preferably, the determining a hierarchical relationship between the routing devices in the target mesh networking based on the sub-routing address information and the associated address information sent by each sub-routing device includes: respectively taking each sub-routing device as a current sub-routing device, traversing other sub-routing devices of the target mesh networking, and if the associated address information of the target sub-routing device contains the sub-routing address information and the associated address information of the current sub-routing device, marking the target sub-routing device as a father node of the current sub-routing device; if not, marking the main routing equipment as a father node of the current child routing equipment.
Preferably, before receiving the sub-routing address information and the associated address information sent by each sub-routing device in the target mesh networking, the method includes: and aiming at each sub-routing device, establishing a first information channel and a second information channel between the sub-routing device and the sub-routing device, wherein the first information channel and the second information channel are both used for carrying out information transmission between the sub-routing device and the corresponding sub-routing device.
In a second aspect, the present invention provides the following technical solutions through an embodiment of the present invention:
a networking information display method is applied to sub-routing equipment in a mesh networking, and comprises the following steps: determining associated address information of the sub-routing equipment, wherein the associated address information comprises a physical address list associated with a non-mesh networking Ethernet interface of the sub-routing equipment; sending the sub-routing address information and the associated address information of the sub-routing device to a main routing device, so that the main routing device obtains networking topology information of the target mesh networking based on the sub-routing address information and the associated address information of each sub-routing device, then draws a networking topology map based on the networking topology information of the target mesh networking, and sends the networking topology map to a user terminal.
Preferably, the determining the associated address information of the sub-routing device includes: for each Ethernet interface of the sub-routing device, detecting whether a physical address list associated with the Ethernet interface contains main routing address information of the main routing device; if not, determining the Ethernet interface as a target Ethernet interface; and determining the associated address information of the sub-routing equipment based on the physical address list associated with the target Ethernet interface.
In a third aspect, the present invention provides the following technical solutions through an embodiment of the present invention:
a kind of network organization information display device, apply to the main route equipment in the mesh network organization, including:
the device comprises a receiving module, a sending module and a sending module, wherein the receiving module is used for receiving sub-routing address information and associated address information sent by each sub-routing device in a target mesh network, and the associated address information comprises a physical address list associated with a non-mesh network Ethernet interface of the sub-routing device;
a topology information obtaining module, configured to obtain networking topology information of the target mesh networking based on the sub-routing address information and the associated address information sent by each sub-routing device;
and the display module is used for drawing a networking topological graph based on the networking topological information of the target mesh networking and sending the networking topological graph to the user terminal so as to display the networking topological graph to the user through the user terminal.
In a fourth aspect, the present invention provides the following technical solutions according to an embodiment of the present invention:
a networking information display device is applied to sub-routing equipment in a mesh networking, and comprises:
a determining module, configured to determine associated address information of the child routing device, where the associated address information includes a physical address list associated with a non-mesh networking ethernet interface of the child routing device;
the sending module is used for sending the sub-routing address information and the associated address information of the sub-routing devices to the main routing device, so that the main routing device obtains the networking topology information of the target mesh networking based on the sub-routing address information and the associated address information of each sub-routing device, then draws a networking topology map based on the networking topology information of the target mesh networking, and sends the networking topology map to the user terminal.
In a fifth aspect, the present invention provides the following technical solutions according to an embodiment of the present invention:
a networking information presentation system, comprising: the mesh networking network comprises a main routing device and a sub-routing device, wherein the main routing device is connected with the sub-routing device, and the main routing device is connected with the user terminal;
the sub-routing device is configured to determine associated address information of the sub-routing device, and send the sub-routing address information and the associated address information of the sub-routing device to the main routing device, where the associated address information includes a physical address list associated with a non-mesh networking ethernet interface of the sub-routing device;
the main routing device is used for obtaining networking topology information of the target mesh networking based on the sub-routing address information and the associated address information of each sub-routing device, drawing a networking topology map based on the networking topology information of the target mesh networking, and sending the networking topology map to a user terminal;
and the user terminal is used for displaying the networking topological graph to a user.
In a sixth aspect, the present invention provides the following technical solutions according to an embodiment of the present invention:
a routing device, comprising: a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the following steps when executing the program: receiving sub-routing address information and associated address information sent by each sub-routing device in a target mesh networking, wherein the associated address information comprises a physical address list associated with a non-mesh networking Ethernet interface of the sub-routing device; obtaining networking topology information of the target mesh networking based on sub-routing address information and associated address information sent by each sub-routing device; based on the networking topology information of the target mesh networking, drawing a networking topology map, and sending the networking topology map to a user terminal so as to display the networking topology map to a user through the user terminal.
One or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages:
the embodiment of the invention provides a method, a device and a system for displaying networking information and a routing device, wherein the method comprises the steps of receiving sub-routing address information sent by each sub-routing device in a target mesh networking and a physical address list associated with a non-mesh networking Ethernet interface of the sub-routing device; and then, based on the received sub-routing address information and a physical address list associated with a non-mesh networking Ethernet interface port of the sub-routing equipment, obtaining networking topology information, further drawing a networking topology map, and then, sending the networking topology map to a user terminal so as to display the networking topology map to a user. Therefore, the user can check the network structure of the target mesh networking in the user terminal as required, and the overall network condition is more clearly mastered, so that the problems existing in the network can be quickly processed or the networking structure can be adjusted according to the actual condition, and the further optimization of the network structure is facilitated.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on the drawings without creative efforts.
Fig. 1 is a schematic diagram of a networking information presentation system in an embodiment of the present invention;
fig. 2 is a flowchart of a method for displaying networking information of a main routing device in the embodiment of the present invention;
FIG. 3 is a diagram illustrating a networking topology according to an embodiment of the present invention;
fig. 4 is a flowchart of a method for displaying networking information of a sub-routing device according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a networking information display device of a main routing device in the embodiment of the present invention;
fig. 6 is a schematic structural diagram of a networking information display apparatus of a sub-routing device in an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a routing device in an embodiment of the present invention.
Detailed Description
By providing the method, the device, the system and the routing equipment for displaying the networking information, the current networking structure can be clearly displayed to the user by drawing the network topology map of the mesh networking and sending the network topology map to the user terminal, and the user can clearly master the overall network condition.
In order to solve the technical problems, the general idea of the embodiment of the application is as follows:
a method, device, system and route device for displaying networking information are applied to a main route device in a mesh networking, and comprise the following steps: firstly, receiving sub-routing address information and associated address information sent by each sub-routing device in a target mesh networking, wherein the associated address information comprises a physical address list associated with a non-mesh networking Ethernet interface of the sub-routing device; then based on the sub-routing address information and the associated address information of each sub-routing device, obtaining networking topology information of the target mesh networking; and drawing a networking topological graph based on the networking topological information of the target mesh networking, and sending the networking topological graph to the user terminal so that the user terminal can display the networking topological graph.
In order to better understand the technical solution, the technical solution will be described in detail with reference to the drawings and the specific embodiments.
Fig. 1 shows a schematic diagram of a networking information presentation system according to an embodiment of the present invention. As shown in fig. 1, the networking information presentation system may include: mesh networking network 101 and user terminal 102, mesh networking network 101 includes main routing device and one or more sub-routing devices. The main routing device and each sub-routing device can establish connection between the main routing device and the sub-routing device through wired and/or wireless networking, and the connection is used for realizing information interaction between the main routing device and each router. The master routing device is wired and/or wirelessly connected with the user terminal 102. The user terminal 102 may be, for example, a PC, a computer, a mobile phone, or the like. The system realizes the display of the network topology structure by the division and cooperation of the main route equipment and the sub route equipment, the sub route collects information, and the main route is responsible for analyzing and drawing the network topology structure.
Specifically, the sub-routing device is configured to determine associated address information of the sub-routing device, and send the address information of the sub-routing device and the associated address information to the main routing device, where the associated address information includes a physical address list associated with a non-mesh networking ethernet interface of the sub-routing device.
And the main routing equipment is used for obtaining networking topology information of the target mesh networking based on the address information and the associated address information of each sub-routing equipment, drawing a networking topology map based on the networking topology information of the target mesh networking, and sending the networking topology map to the user terminal.
And the user terminal is used for displaying the networking topological graph to the user. The user can check the network structure of the target mesh networking in the user terminal according to the requirement, and the overall network condition is more clearly mastered, so that the problems existing in the network can be quickly processed or the networking structure can be adjusted according to the actual condition, and the further optimization of the network structure is facilitated.
For example, in an application scenario, as shown in fig. 1, the networking information presentation system may include a main routing device, a sub-routing device 1, a sub-routing device 2, a sub-routing device 3, and a user terminal. Specifically, the networking information presentation system may be applied to a home network, where each sub-routing device is respectively disposed in a target room, for example, the target room is a living room, a main bed and a sub bed. Thereby achieving coverage of the target room by the wireless signal through the plurality of routing devices.
Fig. 2 shows a flowchart of a method for presenting networking information according to an embodiment of the present invention. The networking information presentation method may be applied to the main routing device in the above networking information presentation system, as shown in fig. 2, the method includes the following steps S201 to S203.
Step S201, receiving sub-routing address information and associated address information sent by each sub-routing device in a target mesh networking, wherein the associated address information comprises a physical address list associated with a non-mesh networking Ethernet interface of the sub-routing device.
Specifically, the target mesh networking represents a networking network with a mesh technology targeted in this embodiment. The sub-routing address information includes a physical address (MAC) of the sub-routing device. Each sub-routing device contains multiple Ethernet interfaces (ETH). The non-mesh networking ETH interface refers to an Ethernet interface which does not contain the MAC address of the main routing equipment in an MAC list associated with the ETH interface in the ETH interface of the sub-routing equipment. Wherein, the ETH interface association MAC list comprises MAC addresses of devices connected with the ETH interface.
It can be understood that, in the implementation process, in order to implement information transfer between the main routing device and the sub-routing device, an information transfer channel between the main routing device and the sub-routing device needs to be established. In an optional implementation manner, the main routing device may establish, for each sub-routing device in the target mesh network, a first information channel and a second information channel with the sub-routing device. The first information channel and the second information channel are used for information transmission with the corresponding sub-routing devices. Therefore, the information can be accurately and timely transmitted between the main routing equipment and the sub-routing equipment.
For example, a Transmission Control Protocol (TCP) channel and a User Datagram Protocol (UDP) channel can be simultaneously established. Wherein, the information transmission channel with TCP can realize the safe and correct transmission of all data to the destination, and the information transmission channel with UDP can realize the simple unreliable information transmission service facing the affairs. Based on the characteristics of TCP and UDP, when the sub-routing equipment sends the MAC list associated with the ETH interface of the non-mesh networking to the main routing equipment, the information can be sent in a mode of real-time sending of a TCP channel and periodic sending of a UDP channel, so that the information can be timely and accurately transmitted. Of course, a mode of TCP channel periodic transmission and UDP channel real-time transmission may also be adopted, or, to simplify the construction of the information transfer channel, the TCP channel and the UDP channel may both adopt the same transmission mode, or both channels follow the same protocol, for example, the first information channel and the second information channel are both TCP channels or both UDP channels.
In addition, before the sub-routing device sends the sub-routing address information and the associated address information to the main routing device, the main routing address information of the main routing device, that is, the MAC address of the main routing device, needs to be obtained first, so as to determine the destination address of the information sending. Specifically, the main routing device may transmit its MAC address to each sub-routing device in advance, or the MAC address of the main routing device may be configured in advance in the sub-routing device in another manner.
For each sub-routing device, after acquiring the main routing address information of the main routing device, the associated address information corresponding to the sub-routing device can be determined based on the main routing address information. The process of determining the associated address information corresponding to the sub-routing device by the sub-route may include: for each Ethernet interface of the sub-routing device, detecting whether a physical address list associated with the Ethernet interface contains main routing address information of the main routing device, and if not, determining the Ethernet interface as a target Ethernet interface; and determining the associated address information of the sub-routing equipment based on the physical address list associated with the target Ethernet interface.
Specifically, the sub-routing device detects an MAC list associated with each ETH interface, and records an MAC address of the associated device learned under each ETH interface, thereby obtaining a mesh networking ETH interface and a non-mesh networking ETH interface under the sub-routing device. The detection mode may be that, if a target ETH interface including the MAC information of the main routing device exists in the sub-routing device, the target ETH interface is the mesh networking ETH interface, and the other ETH interfaces in the sub-routing device are non-mesh networking ETH interfaces. It should be noted that the related device may be a PC, a notebook, or the like, and the specific related device is what kind of device, which is not limited herein.
Step S202, based on the sub-routing address information and the associated address information of each sub-routing device, obtaining networking topology information of the target mesh networking.
Specifically, the master routing device may determine a hierarchical relationship between each routing device in the target mesh network based on the MAC information and the associated MAC list sent by each sub-routing device; and then based on the hierarchical relationship among the routing devices, obtaining networking topology information of the target mesh networking.
In an optional embodiment, in order to quickly acquire the node relationships of all the sub-routing devices, networking topology information of the target mesh networking is obtained. The process of determining the hierarchical relationship between the routing devices in the target mesh network based on the sub-routing address information and the associated address information of each sub-routing device may include: respectively taking each sub-routing device as a current sub-routing device, and traversing other sub-routing devices of the target mesh network; if the associated network address information of the target child routing device contains the child routing address information and the associated address information of the current child routing device, marking the target child routing device as a parent node of the current child routing device; if not, marking the main routing equipment as a father node of the current child routing equipment. It should be noted that, the parent node here indicates a network node whose target child routing device is a previous level of the current child routing device.
Specifically, each sub-routing device is sequentially used as a current sub-routing device, and MAC information and an associated MAC list of the current sub-routing device are used to find out whether an ETH interface including the MAC information and the associated MAC list of the current sub-routing device exists in all ETH interfaces of other sub-routing devices in the target mesh networking. If the ETH interface exists, the target child routing device containing the ETH interface is marked as the parent node of the current child routing device.
For example, the current sub-routing device is sub-routing device a, the MAC information of sub-routing device a is marked as Ma, and the associated MAC list is marked as Mla. Traversing other sub-routes, if the associated MAC list MLx of the sub-routing device X contains Ma and MLa only, marking the sub-routing device X as the parent node of the sub-routing device A. If the parent node of the child routing device a is not found in the above steps, the master routing device is marked as the parent node of the child routing device a.
Certainly, as another alternative embodiment, in order to quickly acquire the node relationships of all the sub-routing devices, the networking topology information of the target mesh networking is obtained. The process of determining the hierarchical relationship between the routing devices in the target mesh network based on the sub-routing address information and the associated address information of each sub-routing device may include: respectively taking each sub-routing device as a current sub-routing device, and traversing other sub-routing devices of the target mesh network; searching whether other sub-routing devices in the target mesh networking exist or not by utilizing the associated MAC list in the target ETH interface under the current sub-routing device, wherein the sub-routing devices only contain the associated MAC list in the target ETH interface under the current sub-routing device; if the MAC information and the associated MAC list of the target sub-routing equipment exist and only the associated MAC list in the target ETH interface under the current sub-routing equipment is contained, marking the target sub-routing equipment as a sub-node of the current sub-routing equipment; if not, the target sub-routing device is marked as a leaf node, namely, a sub-node does not exist under the target sub-routing device and is the end of the node.
For example, the current sub-routing device is sub-routing device a, and the associated MAC list in the target ETH interface under sub-routing device a is marked as Mla. And traversing other sub-routes, and if the MAC information Ma and the associated MAC list MLx of the sub-routing device X exist and only contain MLa in the target ETH interface under the sub-routing device A, marking the sub-routing device X as a sub-node of the sub-routing device A. If the child node of the child routing device a is not found in the above step, the child routing device a is marked as a leaf node. And continuing to take other ETH interfaces under the sub-routing device A as target ETH interfaces, and executing the same operation of the steps.
Step S203, based on the networking topology information of the target mesh networking, drawing a networking topology map, and sending the networking topology map to a user terminal so as to display the networking topology map to a user through the user terminal.
Specifically, in order to clearly show a networking topology diagram of a target mesh networking to a user, according to the obtained networking topology information of the target mesh networking, a main routing device draws a networking topology structure in real time, as shown in fig. 3, the network topology structure includes a main routing device, a sub routing device 1, a sub routing device 2, a sub routing device 3 and a sub routing device 4, wherein the main routing device is a parent node of the sub routing device 1, the sub routing device 1 is a parent node of the sub routing device 2 and the sub routing device 3, the sub routing device 3 is a parent node of the sub routing device 4, and the sub routing device 2 and the sub routing device 4 are leaf nodes. The networking topology clearly reflects the network connection relationship among the main routing device, the sub-routing devices and the associated devices. And sending the networking topological graph to the user terminal to enable the user terminal to display the networking topological graph. Therefore, the current networking structure can be clearly displayed to the user, and the user can more clearly master the overall network condition.
In addition, the networking information display method further enriches the functions of the main routing equipment, namely, the capability that the main routing equipment can analyze and draw the network information to obtain a network topology structure is added, and the optimization of the performance of the main routing equipment is realized.
Further, the target mesh networking may be established through an easy mesh protocol, which may be understood as multiple Wireless Access Point (AP) specifications, and is connected in a manner of comparing a traditional AP + client, where the protocol network may implement a main routing device to manage the entire network, and all sub-routing devices are connected with the main routing device. Of course, as another alternative embodiment, the network management may also be established through other protocols as long as the purpose of controlling the sub-routing device through the main routing device is satisfied, so as to achieve the purpose of network management.
Fig. 4 shows a flowchart of a method for presenting networking information according to an embodiment of the present invention. The networking information presentation method may be applied to each sub-routing device in the above-mentioned networking information presentation system, as shown in fig. 4, and the method includes the following steps S401 to S402.
Step S401, determining the associated network address information of the sub-routing device, wherein the associated network address information comprises a physical address list associated with a non-mesh networking Ethernet interface of the sub-routing device;
step S402, sending the network address information and the associated network address information of the sub-routing devices to a main routing device, so that the main routing device obtains networking topology information of the target mesh networking based on the network address information and the associated network address information of each sub-routing device, then draws a networking topology map based on the networking topology information of the target mesh networking, and sends the networking topology map to a user terminal.
It should be noted that, for the specific implementation process of step S401 and step S402, reference may be made to the corresponding description in the embodiment corresponding to fig. 2, and details are not described here again.
In an optional implementation manner, the determining the associated network address information of the sub-routing device may include: for each Ethernet interface of the sub-routing device, detecting whether a physical address list associated with the Ethernet interface contains main routing address information of the main routing device, and if not, determining the Ethernet interface as a target Ethernet interface; and determining the associated address information of the sub-routing equipment based on the physical address list associated with the target Ethernet interface. The specific implementation process may refer to the corresponding description in the embodiment corresponding to fig. 2, and is not described herein again.
In an optional implementation manner, before sending the network address information of the sub-routing device and the associated network address information to the main routing device, the method further includes: establishing a first information channel and a second information channel between the main routing equipment and the main routing equipment, wherein the first information channel and the second information channel are both used for information transmission between the main routing equipment and the main routing equipment; and receiving the main routing address information sent by the main routing device. The specific implementation process may refer to the corresponding description in the embodiment corresponding to fig. 2, and is not described herein again.
The implementation principle and the generated technical effect of the networking information display method applied to the sub-routing device in the mesh networking provided by the embodiment of the invention are the same as those of the networking information display method applied to the main routing device in the mesh networking. For a brief description, the embodiment of the networking information presentation method of the sub-routing device is not mentioned in this section, and reference may be made to the corresponding contents in the foregoing embodiment of the networking information presentation method of the main routing device.
In summary, according to the method for displaying networking information provided by the embodiment of the present invention, the network port information of the sub-routing device in the network is monitored and transmitted to the main routing device through the private protocol channel, so as to implement a method for displaying topology information of wired networking. Specifically, the mesh networking ETH interface and the non-mesh networking ETH interface may be determined by detecting the ETH interface through the sub-routing device. And the main routing equipment analyzes and draws a complete network topology structure based on the MAC list of the non-mesh networking ETH interface and the MAC information of the sub-routing equipment. And the network topology map is sent to the user terminal, so that the network topology map is displayed to the user, and the user can more clearly understand and master the overall situation of the network. Finally, the user can adjust the networking structure according to the actual situation to realize a better network structure.
Based on the same inventive concept, this embodiment provides a networking information display device, which is applied to a main routing device in a mesh networking, and as shown in fig. 5, the device includes:
a receiving module 501, configured to receive sub-routing address information and associated address information sent by each sub-routing device in a target mesh networking, where the associated address information includes a physical address list associated with a non-mesh networking ethernet interface of the sub-routing device;
an information obtaining module 502, configured to obtain networking topology information of the target mesh networking based on the sub-routing address information and the associated address information of each sub-routing device;
a display module 503, configured to draw a networking topology map based on the networking topology information of the target mesh networking, and send the networking topology map to a user terminal, so that the user terminal displays the networking topology map.
As an alternative embodiment, the information obtaining module 502 includes:
the hierarchy determining module is used for determining the hierarchy relation among the routing devices in the target mesh networking based on the sub-routing address information and the associated address information sent by each sub-routing device; and obtaining networking topology information of the target mesh networking based on the hierarchical relationship among the routing devices.
As an optional embodiment, the hierarchy determining module is configured to respectively use each child routing device as a current child routing device, traverse other child routing devices of the target mesh networking, and mark the target child routing device as a parent node of the current child routing device if the associated address information of the target child routing device includes the child routing address information and the associated address information of the current child routing device; if not, marking the main routing device as the father node of the current child routing device.
As an alternative embodiment, the apparatus further comprises:
and the channel establishing module is used for establishing a first information channel and a second information channel between each sub-routing device and the sub-routing device, and the first information channel and the second information channel are used for information transmission between the first information channel and the corresponding sub-routing device.
The above modules may be implemented by software codes, and in this case, the modules may be stored in a memory of the control device. The above modules may also be implemented by hardware, such as an integrated circuit chip.
The networking information display device provided by the embodiment of the invention is applied to the main routing equipment in the mesh networking, the implementation principle and the generated technical effect are the same as those of the method embodiment, and for the sake of brief description, the corresponding content in the method embodiment can be referred to where the device embodiment is not mentioned.
Based on the same inventive concept, this embodiment provides a networking information display apparatus, which is applied to a sub-routing device in a mesh networking, and as shown in fig. 6, the apparatus includes:
a determining module 601, configured to determine associated address information of the child routing device, where the associated address information includes a physical address list associated with a non-mesh networking ethernet interface of the child routing device;
a sending module 602, configured to send the sub-routing address information and the associated address information of the sub-routing device to a main routing device, so that the main routing device obtains networking topology information of the target mesh networking based on the sub-routing address information and the associated address information of each sub-routing device, and then draws a networking topology map based on the networking topology information of the target mesh networking, and sends the networking topology map to a user terminal.
As an optional embodiment, the determining module 601 is configured to detect, for each ethernet interface of the sub-routing device, whether a physical address list associated with the ethernet interface includes master routing address information of the master routing device; if not, determining the Ethernet interface as a target Ethernet interface; and determining the associated address information of the sub-routing equipment based on the physical address list associated with the target Ethernet interface.
The above modules may be implemented by software codes, and in this case, the modules may be stored in a memory of the control device. The above modules may also be implemented by hardware, such as an integrated circuit chip.
The embodiment of the present invention provides a device for displaying networking information, which is applied to a sub-routing device in a mesh networking, and the implementation principle and the generated technical effect of the device are the same as those of the foregoing method embodiment.
Fig. 7 shows a schematic structural diagram of an exemplary routing device 800. Including one or more of the following: processing components 801, memory 802, power components 803, input/output (I/O) interfaces 806, and communication components 804.
The processing component 801 generally controls the overall operation of the routing device 800. The processing component 301 may include one or more processors 805 to execute instructions to perform all or part of the steps of the networking information presentation method provided in the first embodiment. Further, the processing component 801 may include one or more modules that facilitate interaction between the processing component 801 and other components. For example, the processing component 801 may include a communication component 804 to facilitate interaction between the communication component 804 and the processing component 801.
The memory 802 is configured to store various types of data to support operations at the routing device 800. Examples of such data include instructions for any application or method operating on routing device 800. The memory 802 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power supply component 803 provides power to the various components of the routing device 800. The power components 803 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the routing device 800.
The I/O interface 806 provides an interface between the processing component 801 and peripheral interface modules, which may be network interfaces, buttons, etc. These buttons may include, but are not limited to: a power button and a reset button.
The communication component 804 is configured to facilitate communication between the routing device 800 and other devices in a wired or wireless manner. In an exemplary embodiment, the communication component 804 may implement the communication connection through a direct connection communication manner, i.e., a PPPOE internet access manner, an ADSL virtual dialing manner, or a dynamic IP communication manner, i.e., an IP address is automatically obtained from a network service provider to implement the communication connection, or a static IP communication manner, i.e., a network service provider provides a fixed IP address to implement the communication connection.
The communication component 804 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 804 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies. In an exemplary embodiment, the routing device 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors, or other electronic components for performing the above-described methods.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This invention is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (9)

1. A networking information display method is characterized in that a main routing device applied to a mesh networking comprises the following steps:
receiving sub-routing address information and associated address information sent by each sub-routing device in a target mesh networking, wherein the associated address information comprises a physical address list associated with a non-mesh networking Ethernet interface of the sub-routing device;
obtaining networking topology information of the target mesh networking based on the sub-routing address information and the associated address information sent by each sub-routing device;
based on networking topology information of the target mesh networking, drawing a networking topology map, and sending the networking topology map to a user terminal so as to display the networking topology map to a user through the user terminal;
before receiving the sub-routing address information and the associated address information sent by each sub-routing device in the target mesh networking, the method comprises the following steps:
and aiming at each sub-routing device, establishing a first information channel and a second information channel between each sub-routing device and the sub-routing device, wherein the first information channel and the second information channel are both used for carrying out information transmission between the first information channel and the corresponding sub-routing device, the first information channel is a network communication protocol channel, and the second information channel is a user datagram protocol channel.
2. The method according to claim 1, wherein the obtaining networking topology information of the target mesh networking based on the sub-routing address information and the associated address information sent by each sub-routing device comprises:
determining the hierarchical relationship among the routing devices in the target mesh networking based on the sub-routing address information and the associated address information sent by each sub-routing device;
and obtaining networking topology information of the target mesh networking based on the hierarchical relationship among the routing devices.
3. The method as claimed in claim 2, wherein the determining a hierarchical relationship between the routing devices in the target mesh network based on the sub-routing address information and the associated address information sent by each sub-routing device includes:
respectively taking each sub-routing device as a current sub-routing device, traversing other sub-routing devices of the target mesh networking, and if the associated address information of the target sub-routing device contains the sub-routing address information and the associated address information of the current sub-routing device, marking the target sub-routing device as a father node of the current sub-routing device;
if not, marking the main routing equipment as a father node of the current child routing equipment.
4. A networking information display method is characterized in that a sub-routing device applied to a mesh networking comprises the following steps:
determining associated address information of the sub-routing equipment, wherein the associated address information comprises a physical address list associated with a non-mesh networking Ethernet interface of the sub-routing equipment;
sending the sub-routing address information and the associated address information of the sub-routing device to a main routing device through a first information channel and a second information channel, so that the main routing device obtains networking topology information of a target mesh networking based on the sub-routing address information and the associated address information of each sub-routing device, then draws a networking topology map based on the networking topology information of the target mesh networking, and sends the networking topology map to a user terminal;
the first information channel is a network communication protocol channel, and the second information channel is a user datagram protocol channel.
5. The method of claim 4, wherein said determining the associated address information of the child routing device comprises:
for each Ethernet interface of the sub-routing device, detecting whether a physical address list associated with the Ethernet interface contains main routing address information of the main routing device;
if not, determining the Ethernet interface as a target Ethernet interface;
and determining the associated address information of the sub-routing equipment based on the physical address list associated with the target Ethernet interface.
6. A networking information presentation apparatus, applied to a master routing device in a mesh networking, the apparatus comprising:
the receiving module is used for receiving sub-routing address information and associated address information sent by each sub-routing device in a target mesh network, wherein the associated address information comprises a physical address list associated with a non-mesh network Ethernet interface of the sub-routing device;
the information acquisition module is used for acquiring networking topology information of the target mesh networking based on the sub-routing address information and the associated address information sent by each sub-routing device;
the display module is used for drawing a networking topological graph based on the networking topological information of the target mesh networking and sending the networking topological graph to the user terminal so as to display the networking topological graph to a user through the user terminal;
before receiving the sub-routing address information and the associated address information sent by each sub-routing device in the target mesh networking, the method comprises the following steps:
and aiming at each sub-routing device, establishing a first information channel and a second information channel between each sub-routing device and the sub-routing device, wherein the first information channel and the second information channel are both used for carrying out information transmission between the first information channel and the corresponding sub-routing device, the first information channel is a network communication protocol channel, and the second information channel is a user datagram protocol channel.
7. The utility model provides a networking information display device which characterized in that, is applied to sub-routing equipment in mesh network deployment, includes:
a determining module, configured to determine associated address information of the child routing device, where the associated address information includes a physical address list associated with a non-mesh networking ethernet interface of the child routing device;
a sending module, configured to send the sub-routing address information and the associated address information of the sub-routing device to a main routing device through a first information channel and a second information channel, so that the main routing device obtains networking topology information of a target mesh networking based on the sub-routing address information and the associated address information of each sub-routing device, and then draws a networking topology map based on the networking topology information of the target mesh networking, and sends the networking topology map to a user terminal;
the first information channel is a network communication protocol channel, and the second information channel is a user datagram protocol channel.
8. A networking information presentation system, comprising: the mesh networking network comprises a main routing device and a sub-routing device, wherein the main routing device is connected with the sub-routing device, and the main routing device is connected with the user terminal;
the sub-routing device is configured to determine associated address information of the sub-routing device, and send the sub-routing address information of the sub-routing device and the associated address information to the main routing device through a first information channel and a second information channel, where the associated address information includes a physical address list associated with a non-mesh networking ethernet interface of the sub-routing device, the first information channel is a network communication protocol channel, and the second information channel is a user datagram protocol channel;
the main routing device is used for obtaining networking topology information of a target mesh networking based on the sub-routing address information and the associated address information of each sub-routing device, drawing a networking topology map based on the networking topology information of the target mesh networking, and sending the networking topology map to a user terminal;
and the user terminal is used for displaying the networking topological graph to a user.
9. A routing device comprising a processor and a memory coupled to the processor, the memory storing instructions that, when executed by the processor, cause the routing device to perform the steps of the method of any of claims 1-5.
CN202110178515.0A 2021-02-09 2021-02-09 Networking information display method, device and system and routing equipment Active CN112994936B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110178515.0A CN112994936B (en) 2021-02-09 2021-02-09 Networking information display method, device and system and routing equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110178515.0A CN112994936B (en) 2021-02-09 2021-02-09 Networking information display method, device and system and routing equipment

Publications (2)

Publication Number Publication Date
CN112994936A CN112994936A (en) 2021-06-18
CN112994936B true CN112994936B (en) 2022-08-30

Family

ID=76392800

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110178515.0A Active CN112994936B (en) 2021-02-09 2021-02-09 Networking information display method, device and system and routing equipment

Country Status (1)

Country Link
CN (1) CN112994936B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113872864B (en) * 2021-09-26 2023-02-03 烽火通信科技股份有限公司 Method and device for realizing sub-route web management under mesh networking mode
CN114268940A (en) * 2021-12-22 2022-04-01 深圳市共进电子股份有限公司 Mesh network topological graph display method, system, equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009194444A (en) * 2008-02-12 2009-08-27 Nippon Telegr & Teleph Corp <Ntt> Multicast path specifying method
CN105827488A (en) * 2015-01-04 2016-08-03 济宁智城中科信息技术有限公司 MESH network system applicable to smart home, networking method and communication method

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8200789B2 (en) * 2004-10-12 2012-06-12 International Business Machines Corporation Method, system and program product for automated topology formation in dynamic distributed environments
US7586888B2 (en) * 2005-02-17 2009-09-08 Mobitrum Corporation Method and system for mesh network embedded devices
US7899027B2 (en) * 2005-03-23 2011-03-01 Cisco Technology, Inc. Automatic route configuration in hierarchical wireless mesh networks
US7508787B2 (en) * 2006-05-31 2009-03-24 Cisco Technology, Inc. Graphical selection of information display for wireless mesh hierarchies
US20100027518A1 (en) * 2008-07-31 2010-02-04 Yu Wang Real-time visualization of wireless network status
US7940784B2 (en) * 2008-11-03 2011-05-10 At&T Intellectual Property I, L.P. Methods and apparatus to advertise network routes to implement a hybrid network topology
US7990897B2 (en) * 2009-03-11 2011-08-02 Sony Corporation Method and apparatus for a wireless home mesh network with network topology visualizer
CN104427543B (en) * 2013-09-09 2018-07-06 中国科学院上海高等研究院 A kind of Wireless Mesh node and its network topology structure find system, method
CN112039693B (en) * 2020-08-17 2021-06-29 烽火通信科技股份有限公司 System and method for managing home networking network topology

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009194444A (en) * 2008-02-12 2009-08-27 Nippon Telegr & Teleph Corp <Ntt> Multicast path specifying method
CN105827488A (en) * 2015-01-04 2016-08-03 济宁智城中科信息技术有限公司 MESH network system applicable to smart home, networking method and communication method

Also Published As

Publication number Publication date
CN112994936A (en) 2021-06-18

Similar Documents

Publication Publication Date Title
US10693788B2 (en) Network validation with dynamic tunneling
US20210359906A1 (en) Hierarchical configuration of networked communication devices
CN112994936B (en) Networking information display method, device and system and routing equipment
EP3654550A1 (en) Communication event notification method, apparatus, and system
CN108401037A (en) User terminal and the binding method of equipment, device and system
WO2014205370A1 (en) Context management
US10701623B2 (en) Method and apparatus for Wi-Fi device type identification and device type based diagnostics and optimization
CN104205741A (en) Information processing device, information processing method, and program
CN110324193B (en) Terminal upgrade management method and device
US20140156820A1 (en) Configuration information selection based on extracted information
CN108965036A (en) Configure across public network equipment exchanging visit method, system, server and storage medium
CN109219155A (en) Connection status optimization in mobile environment equipment
EP3682619A1 (en) Service layer message templates in a communications network
CN107070719B (en) Equipment management method and device
CN108390795A (en) Household appliance and its monitoring method, intelligent domestic system and readable storage medium storing program for executing
US20190132888A1 (en) Roaming of a device between stationary devices and mobile devices
CN106899444A (en) A kind of end-probing method and device for many LANs
Yao et al. Design and implementation of IOT gateway based on embedded μTenux operating system
Oliveira et al. Ubiquitous monitoring solution for Wireless Sensor Networks with push notifications and end-to-end connectivity
CN108702799A (en) Method for merging mobile core and IOT data
US20170026307A1 (en) System And Method For Remote Managing Applications In A Network Appliance
Fortuna et al. Software interfaces for control, optimization and update of 5G machine type communication networks
EP4280561A1 (en) Information flow identification method, network chip, and network device
CN106015068B (en) Domestic fan control method, device, domestic fan apparatus and system
KR20160039382A (en) Protocol dynamic configuration system for reflecting network characteristics in service oriented architecture and Method thereof

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
PE01 Entry into force of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: A method, device, system, and routing device for displaying network information

Effective date of registration: 20230629

Granted publication date: 20220830

Pledgee: China Merchants Bank Co.,Ltd. Jiaxing Branch

Pledgor: BOWEI TECHNOLOGY Co.,Ltd.

Registration number: Y2023990000331