Global visual presentation method and device for routing data
By building and monitoring a panoramic network topology map of routing data, dividing and displaying subnet areas in a differentiated manner, the problem of home users being unfriendly to the router interface is solved, the visual configuration and transformation of network equipment is achieved, and network stability is improved.
Patent Information
- Application Number
- CN202511104742.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-07
- Publication Date
- 2025-10-17
- Estimated Expiration
- 2045-08-07
AI Technical Summary
Home users are not friendly to the router's backend control interface. The complex configuration parameters make network device configuration and topology reconstruction difficult, and communication failures are prone to occur.
Build a panoramic network topology map including the target router, monitor routing data and divide it into subnet areas for differentiated display, provide visual network connectivity and data trends, and support users to configure and transform the network topology.
Users can intuitively understand the network connectivity and data trends of network devices, simplify network configuration and transformation, and improve network stability.
Smart Images

Figure CN120811906A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of data visualization, in particular to a global visualization presentation method and device for routing data. BACKGROUND
[0002] A router is a kind of gateway device, which mainly plays a role of network device addressing and communication data forwarding in a network. With the popularity of home broadband networks and various intelligent communication devices, the router has become one of the indispensable main network communication auxiliary devices for every family. The Internet of Things era is called the era of everything connected, and more and more household appliances rely on network communication to realize their intelligent control functions. With the explosive growth of network-connected devices, limited by the number of accessible devices of access points, the length of wiring of network cables, and the effective coverage distance of wireless network signals, a more complex network topology structure is needed to guarantee the network access capability of network devices and the stability of network communication.
[0003] Since most home users do not have in-depth network knowledge, the background control interface of the traditional router is not user-friendly for most users. Various complex configuration parameters and professional terms bring heavy burden to the user network configuration. Once the device environment, network topology or configuration parameter changes slightly, it is very likely to cause local or global communication failure, making it difficult for users to add network devices or reconfigure network topology. SUMMARY
[0004] The present application is based on the above problems, and proposes a global visualization presentation method and device for routing data, which enables users to intuitively understand and master the network connectivity and network data trend of network devices, and provides a visualization basis for user configuration and transformation of network topology.
[0005] Therefore, the first aspect of the present application proposes a global visualization presentation method for routing data, comprising:
[0006] constructing a network panoramic topology map containing a target router, the network panoramic topology map comprising a first layer reflecting the building plan structure within the building where the target router is located, and a second layer reflecting the network topology structure of the local area network where the target router is located;
[0007] monitoring routing data of the network panoramic topology map, the routing data comprising routing data of each network device in the network panoramic topology map;
[0008] dividing the network panoramic topology map into a plurality of sub-network areas according to the routing data;
[0009] differentially displaying the sub-network areas.
[0010] Further, the step of differentiating the sub-network areas comprises:
[0011] updating the transmission path in the network panoramic topology map periodically;
[0012] In the routing data of the network panoramic topology map, representative data transmission paths of each sub-network area in each transmission path update period are identified, and the representative data transmission paths of the sub-network area can be high-frequency transmission paths in which both the sending network device and the receiving network device are located in the same sub-network area;
[0013] The representative data transmission paths of each sub-network area are dynamically presented in the network panoramic topology map.
[0014] Further, the step of constructing the network panoramic topology map containing the target router comprises:
[0015] constructing a first layer reflecting the building plan structure within the building where the target router is located, the first layer containing the position coordinates of the target router;
[0016] generating a network device list of the local area network where the target router is located;
[0017] generating a second layer reflecting the network topology structure of the local area network where the target router is located, which is superimposed on the first layer, according to the physical positions and adjacent relationships of each network device in the network device list.
[0018] Further, the step of generating a second layer reflecting the network topology structure of the local area network where the target router is located, which is superimposed on the first layer, according to the physical positions and adjacent relationships of each network device in the network device list comprises:
[0019] obtaining the hop count between each network device in the network device list and any other network device;
[0020] determining two network devices with a hop count of 0 as adjacent devices;
[0021] determining the physical positions of each network device in the network device list;
[0022] based on the building plan in the first layer, generating a virtual icon of the corresponding network device at the corresponding physical position, and connecting the virtual icons of adjacent devices by lines to obtain the second layer.
[0023] Further, the step of dividing the network panoramic topology map into several sub-network areas according to the routing data comprises:
[0024] dynamically sampling data packets of network devices in the network panoramic topology map;
[0025] resolving a transmission path of the data packets into a transmission node set composed of network device encoding passed by the transmission path of the data packets;
[0026] converting the transmission node set into a passing area set composed of building area encoding of physical locations of network devices passed by the transmission path of the data packets, and a statistical times number of each building area encoding;
[0027] merging the passing area set according to the statistical times number of intersection elements;
[0028] dividing the network panoramic topology map into a plurality of sub-network areas based on the merged passing area set.
[0029] Further, the step of merging the passing area set according to the statistical times number of intersection elements specifically comprises:
[0030] traversing each passing area set to determine whether there are any two passing area sets having an intersection part;
[0031] when any two passing area sets have an intersection part, determining whether the intersection part meets a merging condition;
[0032] when the intersection part meets the merging condition, merging the two passing area sets having the intersection part into a new passing area set.
[0033] Further, the step of dividing the network panoramic topology map into a plurality of sub-network areas based on the merged passing area set specifically comprises:
[0034] determining a building area in the network panoramic topology map corresponding to building area encoding of a passing area element in each passing area set;
[0035] determining a building area in the network panoramic topology map corresponding to building area encoding of a passing area element in each passing area set;
[0036] Further, after the step of differentiating the sub-network areas, the method further comprises:
[0037] receiving a splitting operation of splitting any one sub-network area in the network panoramic topology map by a user, or a merging operation of merging any two sub-network areas;
[0038] determining an associated router of the splitting operation or the merging operation.
[0039] configuring a routing rule corresponding to the split operation or the merge operation in the associated router.
[0040] Further, after the step of differentiating displaying the subnet area, further comprising:
[0041] receiving a configuration change operation of a user modifying the configuration parameter of any gateway device in the network panoramic topology map;
[0042] determining the associated subnet area of the configuration change operation;
[0043] performing a merge operation or a split operation corresponding to the configuration change operation on the associated subnet area.
[0044] A second aspect of the present application provides a device for globally visualizing and presenting routing data, comprising a memory and a processor, wherein the processor executes a computer program stored in the memory to implement the method for globally visualizing and presenting routing data according to any one of the first aspect of the present application.
[0045] The present application provides a method and a device for globally visualizing and presenting routing data, comprising: constructing a network panoramic topology map containing a target router, wherein the network panoramic topology map comprises a first layer reflecting the building plan structure of a building where the target router is located, and a second layer reflecting the network topology structure of a local area network where the target router is located; monitoring routing data of the network panoramic topology map, wherein the routing data comprises routing data of each network device in the network panoramic topology map; dividing the network panoramic topology map into a plurality of subnet areas according to the routing data; and differentiating displaying the subnet areas, so that a user can intuitively understand and master the network connectivity and network data trend of the network devices, thereby providing a visual basis for the user to configure and transform the network topology. BRIEF DESCRIPTION OF DRAWINGS
[0046] Figure 1 is a flowchart of a method for globally visualizing and presenting routing data according to an embodiment of the present application. DETAILED DESCRIPTION
[0047] In order to more clearly understand the above-mentioned purposes, features and advantages of the present application, the present application will be further described in detail below with reference to the accompanying drawings and specific embodiments. It should be noted that the embodiments of the present application and the features in the embodiments can be combined with each other without conflict.
[0048] In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present application. However, it will be apparent to one skilled in the art that the present application can be practiced without the specific details set forth in this description.
[0049] In the description of the present application, the term "a plurality of" refers to two or more, unless otherwise explicitly defined. The terms "upper", "lower", and the like, indicate the orientation or positional relationship as shown in the drawings, which are for purposes of description only and are not intended to indicate or imply that a described device or element must have a particular orientation, be constructed and operated in a particular orientation, and therefore should not be construed to limit the scope of the present application. The terms "connected", "coupled", "fixed", and the like, should be construed broadly and do not necessarily mean fixedly connected or immovably connected. For example, "connected" can mean fixedly connected, detachably connected, or integrally connected. It can also mean directly connected or indirectly connected via an intermediate medium. Those skilled in the art can understand the specific meaning of the above terms in the present application according to the specific circumstances. In addition, the terms "first", "second", and the like, are used only for the purpose of description and should not be construed to indicate or imply relative importance or imply the number of the technical features indicated. Therefore, the features limited by "first", "second", and the like, can explicitly or implicitly include one or more features. In the description of the present application, the term "a plurality of" means two or more, unless otherwise stated.
[0050] In the description of the present application, the terms "one embodiment", "some embodiments", "a specific embodiment", and the like, mean that the specific features, structures, materials, or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of the present application. In the present specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.
[0051] A method and apparatus for globally visualizing routing data according to some embodiments of the present application are described below with reference to the accompanying drawings.
[0052] As shown in Figure 1 A first aspect of the present application proposes a method for globally visualizing routing data, comprising:
[0053] constructing a network panoramic topology map containing a target router, the network panoramic topology map including a first layer reflecting the building plan structure within the building where the target router is located, and a second layer reflecting the network topology of the local area network where the target router is located;
[0054] monitoring routing data of the network panoramic topology map, the routing data including routing data of each network device in the network panoramic topology map;
[0055] dividing the network panoramic topology map into a plurality of subnet areas according to the routing data;
[0056] differentially displaying the subnet areas.
[0057] The target router is a gateway device in the network panoramic topology map for implementing network device addressing and communication data forwarding, and is also used for monitoring routing data of network devices in a local area network where the target router is located, so as to realize the global visual presentation method of routing data provided by the application. The network devices include various network communication devices in the local area network where the target router is located, including but not limited to devices such as smart lamps, smart home appliances, smart phones and personal computers.
[0058] In the step of monitoring the routing data of the network panoramic topology map, the target router updates the network panoramic topology map in real time according to the routing data, in particular, a second layer of the network panoramic topology map.
[0059] The network panoramic topology map includes at least one gateway node. When the network panoramic topology map has only one gateway node, the target router is the gateway node in the network panoramic topology map. When the network panoramic topology map includes a plurality of gateway nodes, the gateway nodes are connected with each other to jointly constitute a network topology structure of the network panoramic topology map.
[0060] In the technical scheme of some embodiments of the application, the network panoramic topology map includes a plurality of target routers, and the plurality of target routers jointly realize the global visual presentation method of routing data provided by the application through data exchange.
[0061] Further, in the step of monitoring the routing data of the network panoramic topology map, only communication data between intranet devices is monitored, that is, the step of monitoring the routing data of the network panoramic topology map includes:
[0062] excluding routing data with a target address being an extranet device address, and excluding routing data with a source address being an extranet device address.
[0063] The intranet device refers to a network device located in the network panoramic topology map, and the extranet device refers to a network device not located in the network panoramic topology map.
[0064] Further, in the step of dividing the network panoramic topology map into a plurality of subnet areas according to the routing data, the step further includes:
[0065] The subnet segment without inter-network device communication data is divided into a subnet area by a terminal gateway node, which is a gateway node without gateway device in its downstream nodes. The step of dividing the subnet area by the terminal gateway node specifically refers to dividing the building area covered by the subnet segment composed of the downstream network devices connected to the terminal gateway node into a subnet area.
[0066] Further, the step of differentiating the display of the subnet area specifically refers to displaying different subnet areas with different background colors, or differentiating the labeling of different subnet areas with different fonts, symbols, boundary lines, etc.
[0067] Further, the step of differentiating the display of the subnet area specifically includes:
[0068] The transmission path update period in the network panoramic topology map;
[0069] In the routing data of the network panoramic topology map, the representative data transmission path of each subnet area in each transmission path update period is identified. The representative data transmission path of the subnet area can be a high-frequency transmission path in which the sending and receiving network devices are located in the same subnet area range.
[0070] The representative data transmission path of each subnet area is dynamically presented in the network panoramic topology map.
[0071] In a local area network, the transmission range and transmission path of communication data between network devices often do not change much, especially under relatively fixed routing rules. Each network device can usually only communicate with other network devices within a specific subnet range. In this case, the data transmission path between network devices is generally fixed. Therefore, the transmission path update period in the network panoramic topology map can be configured as a relatively long time period, which can be configured as a time period in hours, such as half an hour or 1 hour, etc.
[0072] Each subnet area can have multiple representative data transmission paths, or can have no representative data transmission path. For a subnet area in which data interaction frequently occurs between network devices in one or more subnet segments, it can have multiple representative data transmission paths. For a subnet area in which no data interaction occurs between network devices, the source or target address of its communication data is located in an external network,
[0073] Further, the step of constructing the network panoramic topology map containing the target router specifically includes:
[0074] constructing a first layer reflecting a building plan structure of a building in which the target router is located, the first layer containing a position coordinate of the target router;
[0075] generating a network device list of a local area network in which the target router is located;
[0076] generating a second layer reflecting a network topology of the local area network in which the target router is located, superimposed on the first layer, according to a physical position and a neighboring relationship of each network device in the network device list.
[0077] The network topology of the local area network in which the target router is located is a tree structure, and the network device list of the local area network in which the target router is located is composed of the target router, various upstream gateway nodes and downstream gateway nodes of the target router on the tree structure, and a plurality of network devices in communication connection with the gateway nodes. In the technical solution of the present application, the direction close to the root node of the tree structure is referred to as the upstream direction, and the direction close to the end node (or leaf node) of the tree structure is referred to as the downstream direction. The root node refers to the node with the least number of nodes in the same level in the tree structure (usually only one). When there is only one root node, all nodes of the tree structure are located in the branches divided from the root node. Therefore, when a node is referred to as the upstream node of another node, it means that the node is closer to the root node of the tree structure than the other node. Similarly, when a node is referred to as the downstream node of another node, it means that the node is farther away from the root node of the tree structure than the other node.
[0078] Further, the first layer is a two-dimensional building plan. The physical position of a network device can be represented by the two-dimensional geographic position coordinate of the network device entity in the first layer. The second layer is a topology structure diagram reflecting the network topology of the local area network in which the target router is located, which has a corresponding relationship with the first layer in terms of physical position. The neighboring relationship of a network device refers to the network connection relationship of the network device. When two devices are directly connected through a network cable or a wireless communication network, and the communication data between the two devices does not need to be forwarded through any third device, the two network devices are referred to as adjacent devices. The neighboring relationship of a network device can be represented by the hop count. The two network devices with a hop count of 0 are adjacent devices.
[0079] In some embodiments of the present application, the first layer reflecting the building plan structure of the building in which the target router is located can be constructed by directly importing the building plan of the building in which the target router is located, that is, the user manually marks the position of the target router on the existing building plan to obtain the first layer.
[0080] The physical locations of the network devices in the network panoramic topology map are dynamically positioned by using the positioning data of the network devices, especially mobile devices such as smart phones.
[0081] In the technical scheme of some other embodiments of the present application, the step of constructing the first layer reflecting the building plan structure of the building where the target router is located specifically comprises:
[0082] The network topology map with a tree structure is constructed according to the connection relationship between each gateway node in the network panoramic topology map and the network devices connected to the gateway nodes.
[0083] The mobile devices in the network device list are determined as positioning auxiliary devices.
[0084] The physical locations of each gateway node in the network panoramic topology map are determined by the positioning auxiliary devices.
[0085] The relative distance between the positioning auxiliary devices and the connected gateway devices and the strength of the wireless signals emitted by the gateway devices as wireless hotspots are acquired in real time during the movement of the positioning auxiliary devices.
[0086] The obstruction between the positioning auxiliary devices and the gateway devices is identified according to the relative distance and the strength of the wireless signals, and the location range of the obstruction is calculated.
[0087] The first layer is generated by using the location range of the obstruction.
[0088] Further, the step of generating the second layer reflecting the network topology structure of the local area network where the target router is located and superimposed on the first layer according to the physical locations and adjacent relationships of each network device in the network device list specifically comprises:
[0089] The hop count between each network device in the network device list and any other network device is acquired.
[0090] The two network devices with a hop count of 0 are determined as adjacent devices.
[0091] The physical locations of each network device in the network device list are determined.
[0092] Based on the building plan in the first layer, the virtual icons of the corresponding network devices are generated at the corresponding physical locations, and the virtual icons of the adjacent devices are connected by lines to obtain the second layer.
[0093] Further, in the step of determining the physical location of each network device in the network device list, the physical location of each network device in the network device list can be manually annotated by the user on the first layer, or can be located by a positioning device integrated on the network device, for example, a smart home appliance can be positioned according to the signal strength (RSSI) or channel state information (CSI) of the wireless network signal provided by one or more known location gateway devices detected by the smart home appliance.
[0094] In the technical solution of the above-mentioned embodiment, the second layer in the network panoramic topology map, i.e., the network device distribution in the network topology structure is the same as the actual physical location distribution.
[0095] Further, the step of dividing the network panoramic topology map into a plurality of sub-network areas according to the routing data specifically includes:
[0096] dynamically sampling the data packets of the network devices in the network panoramic topology map;
[0097] analyzing the transmission path of the data packets into a transmission node set, the transmission node set being composed of network device encoding that the transmission path of the data packets passes through;
[0098] converting the transmission node set into a passing area set, the passing area set being composed of building area encoding where the physical location of the network device that the transmission path of the data packets passes through, and the statistical number of each building area encoding;
[0099] merging the passing area set according to the statistical number of the intersection elements;
[0100] dividing the network panoramic topology map into a plurality of sub-network areas based on the merged passing area set.
[0101] Preferably, in the step of dynamically sampling the data packets of the network devices in the network panoramic topology map, only the data packets of the non-gateway type network devices in the network panoramic topology map are dynamically sampled. The dynamic sampling refers to performing data packet sampling in a manner of dynamically adjusting the sampling ratio according to the real-time traffic characteristics of the network devices. According to the different types of network devices and the types of data transmitted and received by the network devices, the traffic characteristics of the network devices will also have great differences. For example, the data packets transmitted and received by the network devices such as smart lamps or smart refrigerators are usually a small amount of control feedback data packets and heartbeat data packets for maintaining the communication state, and the number of data packets transmitted and received per unit time is small, so a higher sampling ratio can be used to sample the data packets transmitted and received by the network devices. The data packets transmitted and received by the network devices such as smart televisions or smart phones may be data packets containing a large amount of multimedia data, and the number of data packets transmitted and received per unit time may be relatively large, so a lower sampling ratio can be used to sample the data packets transmitted and received by the network devices.
[0102] In the technical solution of the above embodiment, a transmission node set is generated for each data packet, the transmission node set is composed of network device encodings of network devices passed through by a transmission path of the data packet, the network devices passed through by the transmission path include the sending device and the receiving device themselves, and the network device encoding is an encoding serving as a unique identity of the network device.
[0103] The passing area set is composed of building area encodings of physical locations of the network devices passed through by the transmission path of the data packet, and a statistical number of each building area encoding. Specifically, the passing area set includes a plurality of passing area elements, and the number of the passing area elements is the same as the number of the transmission nodes passed through by the transmission path of the corresponding data packet. The passing area element is a combination element including a building area encoding and a statistical number of the building area encoding, which can be represented in the form of a key-value pair or an array.
[0104] Further, before the step of dividing the network panoramic topology map into a plurality of sub-network areas according to the routing data, the method further includes:
[0105] dividing a building plan of a building in which the target router is located into a plurality of building areas, the building areas being geographical areas separated by walls, partitions or other obstructions;
[0106] allocating a building area encoding serving as a unique identity of each building area.
[0107] Further, the step of converting the transmission node set into a passing area set specifically includes:
[0108] query the building area code of the network device corresponding to each transmission node in the transmission node set of each data packet;
[0109] replace each network device code in the transmission node set with the corresponding building area code to generate a candidate passing area set, and the statistical number of the building area code contained in each passing area element in the candidate passing area set is 1;
[0110] merge the same candidate passing area set to obtain the passing area set, and the statistical number of the building area code contained in each passing area element in the passing area set is obtained by accumulating the statistical number of the building area code contained in each passing area element in the same candidate passing area set.
[0111] Further, the step of merging the passing area set according to the statistical number of the intersection element specifically includes:
[0112] traverse each passing area set to determine whether there are any two passing area sets having an intersection part;
[0113] when any two passing area sets have an intersection part, determine whether the intersection part meets the merging condition;
[0114] when the intersection part meets the merging condition, merge the two passing area sets having the intersection part into a new passing area set.
[0115] Specifically, in the step of determining whether there are any two passing area sets having an intersection part, when the two passing area sets contain passing area elements with the same building area code, it is determined that the two passing area sets have an intersection part.
[0116] In the technical solution of the above embodiment, the steps of determining whether there are any two passing area sets having an intersection part and determining whether the intersection part meets the merging condition are continuously performed until there are no two passing area sets having an intersection part, or there are two or more passing area sets having an intersection part, but the intersection part of any two passing area sets does not meet the merging condition.
[0117] Further, the step of determining whether the intersection part meets the merging condition specifically includes:
[0118] obtain a pre-configured merging number threshold;
[0119] determine the two passing area sets having the intersection part as a first passing area and a second passing area, respectively;
[0120] determining a first passage area element as the passage area element belonging to the intersection part in the first passage area, and determining a second passage area element as the passage area element belonging to the intersection part in the second passage area;
[0121] determining whether the statistical number of times in the first passage area element and the second passage area element is greater than the merging number threshold value;
[0122] when the statistical number of times in the first passage area element and the second passage area element is greater than the merging number threshold value, determining that the intersection part meets the merging condition.
[0123] It should be understood that the first passage area element can be one or more, the number of the first passage area element and the second passage area element is the same, when the first passage area element is more than one, the second passage area element is also more than one. When the first passage area element and the second passage area element are more than one, the step of determining whether the statistical number of times in the first passage area element and the second passage area element is greater than the merging number threshold value is specifically determining whether the statistical number of times of each first passage area element and second passage area element is greater than the merging number threshold value, and only when the statistical number of times of each first passage area element and second passage area element is greater than the merging number threshold value, it is determined that the intersection part meets the merging condition.
[0124] Further, after the step of merging the passage area set according to the statistical number of times of the intersection element, it further includes:
[0125] determining whether there is any passage area set as a subset of another passage area set;
[0126] when there is any passage area set as a subset of another passage area set, merging the passage area set as a subset into the passage area set as a parent set regardless of whether the statistical number of times of the passage area element meets the merging condition.
[0127] Further, the step of dividing the network panoramic topology map into a plurality of sub-network areas based on the merged passage area set specifically includes:
[0128] determining the building area in the network panoramic topology map corresponding to the building area code of the passage area element in each passage area set;
[0129] determining a sub-network area as the building area covered by one passage area set in the network panoramic topology map.
[0130] The merged path region set in the above embodiment includes a path region set obtained by merging due to the existence of an intersection part and the intersection part meeting the merging condition, and also includes other path region sets without an intersection part or with an intersection part but not meeting the merging condition.
[0131] More specifically, after the step of converting the transmission node set into a path region set, a first path region set pool containing a plurality of path region sets is obtained, and the number of path region sets in the first path region set pool is the same as the number of transmission node sets, i.e., the same as the number of sampled data packets.
[0132] After the step of merging the path region sets according to the statistical number of intersection elements, a second path region set pool containing a plurality of path region sets is obtained, and the number of path region sets in the second path region set pool changes according to whether the path region sets are merged and the number of merged path region sets. Whether the path region sets in the first path region set pool are merged or not, they are all included in the second path region set pool, with the only difference being that the merged path region sets exist in the second path region set pool in the form of merged path region sets, while the unmerged path region sets directly enter the second path region set pool. Therefore, the number of path region sets in the second path region set pool is less than or equal to the number of path region sets in the first path region set pool.
[0133] With the technical solutions of the above embodiment, there may be a case where one subnet region overlaps with another subnet region. There are two reasons for this overlap. One is that the network devices included in the two subnet regions do not overlap on the routing path, but one or more network devices of one subnet region and the network devices of another subnet region are arranged in the same building area. The other case is that the two subnet regions that overlap communicate with the gateway device of the upper level through the same gateway device, which is a common case.
[0134] Further, after the step of differentiating the subnet regions, it further includes:
[0135] receiving a splitting operation of splitting any one subnet region in the network panoramic topology map by a user, or a merging operation of merging any two subnet regions;
[0136] determining an associated router of the splitting operation or the merging operation;
[0137] configuring a routing rule corresponding to the splitting operation or the merging operation in the associated router.
[0138] When the user operation is a split operation, the subnetwork area that the user needs to split is represented as a target subnetwork area; when the user operation is a merge operation, two or more subnetwork areas that the user needs to merge are represented as target subnetwork areas. The associated router of the target subnetwork area refers to the router that is the most upstream gateway node in each subnetwork segment in the target subnetwork area.
[0139] Further, the step of configuring the route rule corresponding to the split operation or the merge operation in the associated router specifically includes configuring the static route and / or subnet mask of the associated router.
[0140] Further, after the step of differentiating the display of the subnetwork area, the method further includes:
[0141] receiving a configuration change operation of the user modifying the configuration parameter of any gateway device in the network panoramic topology map;
[0142] determining the associated subnetwork area of the configuration change operation;
[0143] performing a merge operation or a split operation corresponding to the configuration change operation on the associated subnetwork area.
[0144] In the technical solution of the above embodiment, the user can directly manually modify the specific configuration parameter of the gateway device such as the target router in the network panoramic topology map.
[0145] Further, after the step of receiving the configuration change operation of the user modifying the configuration parameter of any gateway device in the network panoramic topology map, the method further includes:
[0146] judging whether the configuration parameter modified by the user affects the communication capability between different subnetwork areas or between different subnetwork segments of the same subnetwork area;
[0147] When the configuration parameter modified by the user affects the communication capability between different subnetwork areas or between different subnetwork segments of the same subnetwork area, performing a merge operation or a split operation corresponding to the configuration change operation on the associated subnetwork area.
[0148] For example, when the user modifies any of the parameters such as the IP address, the routing table, the ACL (Access Control Lists), or the firewall policy of the gateway device, it will cause the communication capability between different subnetwork areas or between different subnetwork segments of the same subnetwork area to change, so that a merge operation or a split operation corresponding to the configuration change operation needs to be performed on the associated subnetwork area.
[0149] A second aspect of the present application provides a device for globally visualizing routing data, comprising a memory and a processor, wherein the processor executes a computer program stored in the memory to implement the method for globally visualizing routing data according to any one of the first aspect of the present application.
[0150] It should be noted that, in the present document, relational terms such as first and second and the like can be used solely to distinguish one entity or action from another entity or action without necessarily implying any actual relationship or order between such entities or actions. Moreover, the terms "comprises", "comprising", or any other variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but can include other elements not expressly listed or inherent to such process, method, article, or apparatus. An element proceeded by "comprises... a" does not, without more constraints, exclude the existence of additional identical elements in the process, method, article, or apparatus that comprises the element.
[0151] In accordance with the practices of the present application, such embodiments as have been described above are not meant to be exhaustive or limiting of the application. Many modifications and variations of the described embodiments are possible in light of the above teachings. It is contemplated that those skilled in the art, in adaptation of the specific designs and embodiments disclosed, can produce a still further embodiment of the present application without departing from the spirit and scope of the application. The present application is limited only as defined in the appended claims and equivalents thereof.
Claims
1. A global visualization method for routing data, characterized in that: include: Constructing a network topology map including a target router, the network topology map including a first layer reflecting a building plan structure within a building where the target router is located, and a second layer reflecting a network topology structure of a local area network where the target router is located; Monitoring routing data of the network topology map, wherein the routing data includes routing data of each network device in the network topology map; Dividing the network topology map into a plurality of subnet areas according to the routing data; The subnet areas are displayed in a differentiated manner.
2. The global visualization presentation method of routing data according to claim 1, characterized in that: The steps of displaying the subnet areas in a differentiated manner specifically include: Matching the transmission path update cycle in the network panoramic topology map; In the routing data of the network panoramic topology map, a representative data transmission path of each subnet area in each transmission path update cycle is identified. The representative data transmission path of the subnet area can be a high-frequency transmission path in which the network devices sending and receiving data are both located within the same subnet area; The representative data transmission paths of each subnet area are dynamically presented in the network panoramic topology map.
3. The global visualization presentation method of routing data according to claim 1, characterized in that: The steps for building a panoramic network topology map including the target router include: Constructing a first layer reflecting the building plan structure of the building where the target router is located, wherein the first layer includes the location coordinates of the target router; Generate a network device list of the local area network where the target router is located; A second layer reflecting the network topology structure of the local area network where the target router is located is generated and superimposed on the first layer according to the physical location and adjacent relationship of each network device in the network device list.
4. The global visualization presentation method of routing data according to claim 3, characterized in that: The step of generating a second layer superimposed on the first layer based on the physical location and neighbor relationship of each network device in the network device list and reflecting the network topology structure of the local area network where the target router is located specifically includes: Obtaining the number of hops between each network device and any other network device in the network device list; Determine two network devices with a hop count of 0 as adjacent devices; Determining the physical location of each network device in the network device list; Based on the building plan in the first layer, virtual icons of corresponding network devices are generated at corresponding physical locations, and the virtual icons of adjacent devices are connected by lines to obtain the second layer.
5. The global visualization presentation method of routing data according to claim 1, characterized in that: The step of dividing the network topology map into a plurality of subnet areas according to the routing data specifically includes: Dynamically sampling data packets of network devices in the network panoramic topology map; Parsing the transmission path of the data packet into a set of transmission nodes, wherein the set of transmission nodes is composed of network device codes that the transmission path of the data packet passes through; Converting the transmission node set into a set of transit areas, wherein the set of transit areas is composed of building area codes of physical locations of network devices passed by the transmission path of the data packet and the statistical number of times each building area code is passed; Merging the set of passing areas according to the statistical number of intersection elements; The network panoramic topology map is divided into a plurality of subnet areas based on the merged set of passing areas.
6. The global visualization presentation method of routing data according to claim 5, characterized in that: The step of merging the set of passed areas according to the statistical number of intersection elements specifically includes: Traverse each set of passing areas to determine whether any two sets of passing areas have an intersection; When any two set of transit areas have an intersection, determining whether the intersection satisfies a merging condition; When the intersection part meets the merging condition, the two passing area sets with the intersection part are merged into a new passing area set.
7. The global visualization presentation method of routing data according to claim 5, characterized in that: The step of dividing the network panoramic topology map into a plurality of subnet areas based on the merged set of route areas specifically includes: Determine the building area in the network panoramic topology map corresponding to the building area code of the passing area element in each passing area set; The building area covered by a set of passing areas in the network panoramic topology map is determined as a subnet area.
8. The global visualization presentation method of routing data according to claim 1, characterized in that: After the step of displaying the subnet areas in a differentiated manner, the method further includes: receiving a user's splitting operation for splitting any subnet area in the network panoramic topology map, or a merging operation for merging any two subnet areas; Determining an associated router for the split operation or the merge operation; A routing rule corresponding to the split operation or the merge operation is configured in the associated router.
9. The global visualization presentation method of routing data according to claim 1, characterized in that: After the step of displaying the subnet areas in a differentiated manner, the method further includes: Receiving a configuration change operation from a user to modify configuration parameters of any gateway device in the network panoramic topology map; Determining the associated subnet area of the configuration change operation; A merge operation or a split operation corresponding to the configuration change operation is performed on the associated subnet area.
10. A global visualization presentation device for routing data, characterized in that: The method comprises a memory and a processor, wherein the processor executes a computer program stored in the memory to implement the global visualization presentation method of routing data according to any one of claims 1 to 9.
Citation Information
Patent Citations
Control system user interface
CN102985915A
Method of performing automatic commissioning of a network
CN103250378A
Multi-channel adaptive communication controller based on STM32 platform
CN119835204A
Communication signal processing method and communication receiver
CN119996499A
Method and apparatus for a wireless home mesh network with network topology visualizer
US20100232317A1