CN112532529B - Mesh routing topology networking method and system - Google Patents

Mesh routing topology networking method and system Download PDF

Info

Publication number
CN112532529B
CN112532529B CN202110177678.7A CN202110177678A CN112532529B CN 112532529 B CN112532529 B CN 112532529B CN 202110177678 A CN202110177678 A CN 202110177678A CN 112532529 B CN112532529 B CN 112532529B
Authority
CN
China
Prior art keywords
topological
topology
node
distribution
evaluation index
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
CN202110177678.7A
Other languages
Chinese (zh)
Other versions
CN112532529A (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.)
Yichen Shenzhen Technology Co ltd
Original Assignee
Yichen Shenzhen 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 Yichen Shenzhen Technology Co ltd filed Critical Yichen Shenzhen Technology Co ltd
Priority to CN202110177678.7A priority Critical patent/CN112532529B/en
Publication of CN112532529A publication Critical patent/CN112532529A/en
Application granted granted Critical
Publication of CN112532529B publication Critical patent/CN112532529B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/02Topology update or discovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions

Abstract

The invention relates to the technical field of routing communication, in particular to a mesh routing topology networking method and a mesh routing topology networking system. After tcp long connection is established between a main route and a secondary route, terminal list state acquisition information is issued to each connected secondary route at intervals of set time, so that a communication terminal list of each secondary route is acquired from each secondary route, then the acquired communication terminal list of each secondary route is stored locally, equipment networking topological distribution of the main route and each secondary route is acquired according to the communication terminal list of each secondary route, and finally the equipment networking topological distribution can be displayed on a graphical user interface provided by the main route through a mesh networking topological graph, so that the whole mesh networking can be intuitively mastered.

Description

Mesh routing topology networking method and system
Technical Field
The invention relates to the technical field of routing communication, in particular to a mesh routing topology networking method and a mesh routing topology networking system.
Background
With the increasing requirements of people on networks, a single router cannot meet the network requirements of various occasions, and mesh networking is a novel product which is flexible in wiring, simple and easy to use and gradually enters the market. In some occasions with higher requirements, a plurality of secondary routes are connected for networking expansion, for example, in large enterprises, large shopping malls and the like. When the network speed of the terminal equipment connected with the secondary route is low, unreasonable placement of the equipment or network abnormality of the equipment is not excluded. Meanwhile, the terminal device is connected to the router and cannot determine which device is accessed, so that when the network is abnormal, abnormal investigation is not facilitated. In addition, in a large mesh networking scene, the existing networking mode is difficult to intuitively master the network state of each routing device or each networking unit in the whole networking, and is not favorable for reasonable distribution of network resources.
Disclosure of Invention
Based on the deficiency of the existing design, the embodiment of the invention provides a mesh routing topology networking method, which is applied to a main route in communication connection with a plurality of auxiliary routes, and the method comprises the following steps:
starting a communication process and establishing tcp long connection with the secondary route;
issuing terminal list state acquisition information to each of connected sub-routes at intervals of a set time to acquire a communication terminal list of each sub-route from each of the sub-routes, the communication terminal list of the secondary route comprises a wireless terminal list, a wired terminal list and a wireless mesh interface terminal list, the wireless terminal list comprises wireless terminal equipment which is wirelessly connected with the secondary route to transmit and receive data through the secondary route and equipment states of the wireless terminal equipment, the wired terminal list comprises wired terminal equipment which is wiredly connected with the secondary route to transmit and receive data through the secondary route and equipment states of the wired terminal equipment, and the wireless mesh interface terminal list comprises mesh interface equipment which is connected with the wireless mesh interface of the secondary route to transmit and receive data through the wireless mesh interface of the secondary route and equipment states of the mesh interface equipment;
and storing the obtained communication terminal list of each secondary route to the local, and obtaining the networking topology distribution of the main route and the equipment of each secondary route according to the communication terminal list of each secondary route.
Preferably, the method further comprises:
obtaining a mesh networking topological graph aiming at the main route according to the equipment networking topological distribution of the main route and each auxiliary route;
and when an external terminal accesses the graphical user interface provided by the main route, displaying the mesh networking topological graph through the graphical user interface.
Preferably, the method further comprises:
dividing the networking topology distribution of the main route and the equipment of each auxiliary route into a plurality of topology network units according to a set network topology division rule;
acquiring link data information of each data relay node in each topological network unit according to a set time period aiming at each topological network unit;
obtaining target evaluation index topological distribution and node position topological distribution of the data relay node of each link data type in the topological network unit according to the link data information;
obtaining correlation coefficients of the topological network unit and a preset topological network model according to the target evaluation index topological distribution and the node position topological distribution of the data relay node of each link data type;
and taking the topological network units with the relation number larger than the set parameters as target topological network units, and displaying the target topological network units on the graphical user interface after marking the mesh networking topological graph.
Preferably, the obtaining of the target evaluation index topological distribution and the node position topological distribution of the data relay node of each link data category in the topological network element according to the link data information includes:
for each link data type, obtaining a statistical result of node attributes of the data relay nodes of the link data type in all the node attributes of the data relay nodes according to the link data information;
according to the link data information, acquiring node attributes of the topological network units of the data relay nodes including the link data types from a pre-stored topological network unit reference sequence; the topology network element reference sequence comprises at least two topology network elements;
obtaining a target evaluation index of the data relay node of the link data type in the topological network unit according to the statistical results of the node attributes of the data relay nodes of the link data type in all the data relay nodes, the node attributes of the topological network units of the data relay nodes of the link data type in the topological network unit reference sequence and the node attributes of the topological network units in the topological network unit reference sequence, so as to obtain the target evaluation index of the data relay node of each link data type in the topological network unit;
obtaining a target evaluation index distribution matrix corresponding to the link data type according to a target evaluation index of the data relay node of each link data type in the topological network unit, and taking the target evaluation index distribution matrix as the target evaluation index topological distribution;
obtaining the relative position topological relation between each data relay node and each reference node in a topological network unit according to the link data information;
obtaining a topological position relation matrix of the relative position topological relation between the data relay nodes of the link data type and each reference node of the topological network unit according to the relative position topological relation between each data relay node and each reference node in the topological network unit;
and forming a network topology distribution matrix according to a topology position relation matrix of the relative position topology relation between all the data relay nodes of the link data type and each reference node of the topology network unit, and further respectively obtaining the network topology distribution matrix of the data relay nodes of each link data type in the topology network unit to be used as the node position topology distribution.
Preferably, the dividing, according to a set network topology dividing rule, the device networking topology distribution of the primary route and each secondary route into a plurality of topology network units includes:
node division is carried out on the device networking topological distribution of the main route and each auxiliary route to obtain a plurality of topological nodes; acquiring node position identification information of a plurality of topological nodes and a plurality of target evaluation index parameter sets corresponding to a plurality of continuous data forwarding time points of the topological nodes before a current data forwarding time point, wherein the target evaluation index parameter set of each data forwarding time point comprises target evaluation index parameters of the topological nodes under a plurality of target evaluation index categories;
respectively obtaining a target evaluation index change subset corresponding to each target evaluation index parameter set in a plurality of target evaluation index parameter sets of each topological node; each target evaluation index change subset comprises target evaluation index changes of the topological nodes under a plurality of target evaluation index categories, and each target evaluation index change represents the variation between a current target evaluation index parameter and a previous target evaluation index parameter under one target evaluation index category;
acquiring target evaluation index changes of the topological nodes at the current data forwarding time point according to the node position identification information of the topological nodes and a plurality of target evaluation index change subsets corresponding to a plurality of target evaluation index parameter sets;
the method comprises the steps of updating reference target evaluation indexes corresponding to topology nodes respectively through target evaluation index changes of the topology nodes at the current data forwarding time point, determining the target topology nodes from the topology nodes according to the updated reference target evaluation indexes of the topology nodes, performing node division on the networking topology distribution of the equipment according to the target topology nodes, and obtaining a plurality of topology network units according to node division results.
Preferably, the obtaining of the correlation coefficient between the topological network unit and the preset topological network model according to the target evaluation index topological distribution and the node position topological distribution of the data relay node of each link data category includes:
traversing and analyzing the target evaluation index topological distribution of the topological network unit and the target evaluation index topological distribution of a preset topological network model to obtain a first correlation coefficient; comparing, traversing and analyzing the node position topological distribution of the topological network unit with the node position topological distribution of a preset topological network model to obtain a second correlation coefficient; obtaining a third correlation coefficient of the topological network unit and the preset topological network model according to the first correlation coefficient and the second correlation coefficient, and taking the third correlation coefficient as the correlation coefficient of the topological network unit and the preset topological network model; or
Acquiring neighbor node information in the topological network unit, and acquiring different types of data packet statistical results, preset data type statistical results and preset packet loss type data statistical results of neighbor nodes in the topological network unit according to the neighbor node information; forming neighbor node feature vectors according to different types of data packet statistical results, data type statistical results and preset packet loss type data statistical results of neighbor nodes in a topological network unit, wherein the neighbor node feature vectors are used as neighbor node topological feature distribution of the topological network unit; comparing and analyzing the neighbor node topological feature distribution of the topological network unit with the neighbor node topological feature distribution of a preset topological network model to obtain a fourth correlation coefficient; and obtaining a fifth correlation coefficient of the topological network unit and the preset topological network model according to the first correlation coefficient, the second correlation coefficient and the fourth correlation coefficient, and taking the fifth correlation coefficient as the correlation coefficient of the topological network unit and the preset topological network model.
Preferably, before obtaining the correlation coefficient between the topological network element and the preset topological network model according to the target evaluation index topological distribution and the node position topological distribution of the data relay node of each link data type, the method further includes:
obtaining a target evaluation index corresponding to the link data type of the data relay node of each link data type in the topological network unit according to the target evaluation index topological distribution of the topological network unit;
performing descending order arrangement on the target evaluation indexes corresponding to the link data categories, and acquiring the link data categories of the data relay nodes corresponding to the target evaluation indexes corresponding to the preset number of link data categories with smaller arrangement serial numbers as reference link data categories;
judging whether the link data types of the data relay nodes in the preset topological network model contain all the reference link data types or not; if the link data types of the data relay nodes in the preset topology network model comprise all the reference link data types, executing a step of obtaining correlation coefficients of the topology network unit and the preset topology network model according to target evaluation index topological distribution and node position topological distribution of the data relay nodes of each link data type; and if the link data types of the data relay nodes in the preset topology network model do not contain all the reference link data types, deleting the topology network unit from a pre-stored topology network unit reference sequence so as to update the topology network unit reference sequence.
In addition, an embodiment of the present invention further provides a mesh routing topology networking system, including a main route and a plurality of secondary routes communicatively connected to the main route, where the main route includes a mesh routing topology networking device, a processing unit, and a storage unit, the storage unit is connected to the processing unit, the storage unit is used to store a program, an instruction, or a code, and the processing unit is used to execute the program, the instruction, or the code in the storage unit. The mesh routing topology networking device comprises:
and the connection establishing module is used for starting a communication process to establish tcp long connection with the secondary route. In this embodiment, the primary route may start a jrmdr process to perform communication connection with each of the secondary routes;
a terminal list acquisition module, configured to issue terminal list state acquisition information to each connected secondary route at intervals of a set time, so as to acquire a communication terminal list of each secondary route from each secondary route; the communication terminal list of the secondary route comprises a wireless terminal list, a wired terminal list and a wireless mesh interface terminal list, wherein the wireless terminal list comprises wireless terminal equipment which is wirelessly connected with the secondary route to transmit and receive data through the secondary route and equipment states of the wireless terminal equipment, the wired terminal list comprises wired terminal equipment which is wiredly connected with the secondary route to transmit and receive data through the secondary route and equipment states of the wired terminal equipment, and the wireless mesh interface terminal list comprises mesh interface equipment which is connected with the wireless mesh interface of the secondary route to transmit and receive data through the wireless mesh interface of the secondary route and equipment states of the mesh interface equipment;
the networking topology determining module is used for storing the obtained communication terminal list of each secondary route to the local, obtaining the equipment networking topology distribution of the main route and each secondary route according to the communication terminal list of each secondary route, and obtaining a mesh networking topology map aiming at the main route according to the equipment networking topology distribution of the main route and each secondary route; when the external terminal accesses the graphical user interface provided by the main route, the networking topology determining module is further configured to display the mesh networking topology map through the graphical user interface.
Preferably, the mesh routing topology networking device further includes:
the topological network dividing module is used for dividing the networking topological distribution of the main route and the equipment of each auxiliary route into a plurality of topological network units according to a set network topological dividing rule;
a link data acquisition module, configured to acquire, for each topology network unit, link data information of each data relay node in the topology network unit according to a set time period;
the topological distribution acquisition module is used for acquiring target evaluation index topological distribution and node position topological distribution of the data relay node of each link data type in the topological network unit according to the link data information;
the correlation coefficient calculation module is used for calculating the correlation coefficient of the topological network unit and a preset topological network model according to the target evaluation index topological distribution and the node position topological distribution of the data relay node of each link data type; and
and the target topology determining module is used for taking the topology network unit with the correlation coefficient larger than the set parameter as a target topology network unit, marking the target topology network unit on the mesh networking topology graph, and displaying the marked mesh networking topology graph on the graphical user interface.
Preferably, the topology distribution obtaining module is specifically configured to:
for each link data type, obtaining a statistical result of node attributes of the data relay nodes of the link data type in all the node attributes of the data relay nodes according to the link data information;
according to the link data information, acquiring node attributes of the topological network units of the data relay nodes including the link data types from a pre-stored topological network unit reference sequence; the topology network element reference sequence comprises at least two topology network elements;
obtaining a target evaluation index of the data relay node of the link data type in the topological network unit according to the statistical results of the node attributes of the data relay nodes of the link data type in all the data relay nodes, the node attributes of the topological network units of the data relay nodes of the link data type in the topological network unit reference sequence and the node attributes of the topological network units in the topological network unit reference sequence, so as to obtain the target evaluation index of the data relay node of each link data type in the topological network unit;
obtaining a target evaluation index distribution matrix corresponding to the link data type according to a target evaluation index of the data relay node of each link data type in the topological network unit, and taking the target evaluation index distribution matrix as the target evaluation index topological distribution;
obtaining the relative position topological relation between each data relay node and each reference node in a topological network unit according to the link data information;
obtaining a topological position relation matrix of the relative position topological relation between the data relay nodes of the link data type and each reference node of the topological network unit according to the relative position topological relation between each data relay node and each reference node in the topological network unit;
and forming a network topology distribution matrix according to a topology position relation matrix of the relative position topology relation between all the data relay nodes of the link data type and each reference node of the topology network unit, and further respectively obtaining the network topology distribution matrix of the data relay nodes of each link data type in the topology network unit to be used as the node position topology distribution.
Preferably, the correlation coefficient calculation module is specifically configured to:
traversing and analyzing the target evaluation index topological distribution of the topological network unit and the target evaluation index topological distribution of a preset topological network model to obtain a first correlation coefficient; comparing, traversing and analyzing the node position topological distribution of the topological network unit with the node position topological distribution of a preset topological network model to obtain a second correlation coefficient; obtaining a third correlation coefficient of the topological network unit and the preset topological network model according to the first correlation coefficient and the second correlation coefficient, and taking the third correlation coefficient as the correlation coefficient of the topological network unit and the preset topological network model; or
Acquiring neighbor node information in the topological network unit, and acquiring different types of data packet statistical results, preset data type statistical results and preset packet loss type data statistical results of neighbor nodes in the topological network unit according to the neighbor node information; forming neighbor node feature vectors according to different types of data packet statistical results, data type statistical results and preset packet loss type data statistical results of neighbor nodes in a topological network unit, wherein the neighbor node feature vectors are used as neighbor node topological feature distribution of the topological network unit; comparing and analyzing the neighbor node topological feature distribution of the topological network unit with the neighbor node topological feature distribution of a preset topological network model to obtain a fourth correlation coefficient; and obtaining a fifth correlation coefficient of the topological network unit and the preset topological network model according to the first correlation coefficient, the second correlation coefficient and the fourth correlation coefficient, and taking the fifth correlation coefficient as the correlation coefficient of the topological network unit and the preset topological network model.
Compared with the prior art, the mesh routing topology networking method and system provided by the embodiment of the invention have the advantages that after tcp long connection is established between the main route and the auxiliary route, terminal list state acquisition information is issued to each connected auxiliary route at intervals of set time so as to acquire the communication terminal list of each auxiliary route from each auxiliary route, then the acquired communication terminal list of each auxiliary route is stored locally, the device networking topology distribution of the main route and each auxiliary route is acquired according to the communication terminal list of each auxiliary route, and finally the device networking topology distribution can be displayed on the graphical user interface provided by the main route through the mesh networking topology map, so that the whole mesh networking can be intuitively mastered. Meanwhile, the device networking topology distribution of the main route and each auxiliary route is further divided into a plurality of topology network units according to a set network topology division rule, the topology network units are compared and analyzed with a preset topology network model, a predetermined target topology network unit needing to be monitored is analyzed from the whole mesh networking, and the target topology network unit is marked on the mesh networking topology graph and then displayed on the graphical user interface. Therefore, even if the whole network has target conditions such as abnormity, network congestion, data overload and the like, the target conditions can be conveniently checked, the network state of each routing device or each networking unit in the whole networking can be intuitively mastered, and the reasonable distribution of network resources can be facilitated.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention, and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
Fig. 1 is an exemplary schematic diagram of a mesh routing topology networking system according to an embodiment of the present invention.
Fig. 2 is a schematic flowchart of a mesh routing topology networking method according to an embodiment of the present invention.
Fig. 3 is a second schematic flowchart of the mesh routing topology networking method according to the embodiment of the present invention.
Fig. 4 is a schematic diagram of the main route shown in fig. 1.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be obtained by a person skilled in the art without any inventive step based on the embodiments of the present invention, are within the scope of the present invention.
Fig. 1 is a schematic diagram of an exemplary mesh routing topology networking system according to an embodiment of the present invention. In this embodiment, the mesh routing topology networking system includes a primary route 10 and a plurality of secondary routes 20 communicatively connected to the primary route 10. It should be understood that, in this embodiment, the secondary route 20 may also be configured to be a following secondary route, and serve as a relay node of the other secondary route, which is not limited herein. Each secondary route 20 may access a terminal device 30 to provide services such as data forwarding for each terminal device 30, and each terminal device 30 may connect, through the corresponding secondary route 20, an external network, such as the internet, an intranet, and the like, to which the primary route 10 is accessed. The terminal device may be, but is not limited to, a smart phone, a personal computer, a tablet computer, a notebook computer, etc.
Fig. 2 is a schematic flow chart of a mesh routing topology networking method according to an embodiment of the present invention. In this embodiment, the mesh routing topology networking method may be implemented by the main route 10, and the method includes the following steps S21-S23, and the following steps of the method will be described in detail with reference to fig. 2.
Step S21, the communication process is started to establish tcp (Transmission Control Protocol) long connection with the secondary route. In this embodiment, the primary route may start a jrmdr process to perform communication connection with each of the secondary routes. Accordingly, when each secondary route runs, a jrmds process can be started to establish communication with a jrmdr process of the primary route, so that tcp long connection is established with the primary route.
In step S22, terminal list status acquisition information is issued to each of the connected sub-routes at intervals of a set time to acquire a communication terminal list of each sub-route from each of the sub-routes.
In this embodiment, in order to know the network status of each of the secondary routes and the status of the communication terminal under each of the secondary routes in real time, the primary route may send the terminal list status acquisition information to each of the connected secondary routes at set time intervals (for example, at intervals of 10 minutes, 15 minutes, 20 minutes, 30 minutes, 60 minutes, and the like) to acquire status information of each of the drop devices under each of the secondary routes, such as device information, networking status, network communication status, data transmission and reception status, and the like of each of the terminal devices. Each hanging device of the secondary route can be a device with communication capability, such as a smart phone, a notebook computer and a personal computer. Meanwhile, the drop device of each secondary route may also be another secondary route dropped for networking expansion.
In detail, the communication terminal list of the secondary route includes a wireless terminal list, a wired terminal list, and a wireless mesh interface terminal list, the wireless terminal list includes wireless terminal devices and device states of the wireless terminal devices, which are wirelessly connected to the secondary route for data transmission and reception through the secondary route, the wired terminal list includes wired terminal devices and device states of the wired terminal devices, which are wiredly connected to the secondary route for data transmission and reception through the secondary route, and the wireless mesh interface terminal list includes mesh interface devices and device states of the mesh interface devices, which are connected to the wireless mesh interface of the secondary route for data transmission and reception through the wireless mesh interface of the secondary route.
Step S23, saving the obtained communication terminal list of each secondary route to the local, and obtaining the device networking topology distribution of the primary route and each secondary route according to the communication terminal list of each secondary route.
Further, in this embodiment, after the device networking topology distribution of the main route and each of the secondary routes is obtained, a mesh networking topology map for the main route may be further obtained according to the device networking topology distribution of the main route and each of the secondary routes. For example, in an implementation manner, according to node position topology information of a previous node and a next node of each device in the mesh networking included in the device networking topology distribution, each node (each node may be a device, such as a main route, a secondary route, a drop device, and the like) may be connected by a connection line according to a set network connection rule, so as to obtain the mesh networking topology map.
Based on the above, when the external terminal accesses the graphical user interface provided by the main route, the mesh networking topological graph can be further displayed through the graphical user interface. Therefore, the mesh networking management personnel can visually know the detailed connection state information of each device in the mesh networking and the current state information of each device, and the mesh networking is conveniently managed in a hanging mode. For example, it can be clearly understood whether the mesh networking is specifically a star topology or a chain topology. In addition, the positions of the nodes displayed in the mesh networking topological graph can also comprise the current state information of the nodes. The displayed status information may be preset important status information, or may be a plurality of status information displayed in a dynamic scrolling manner, which is not limited herein.
On the basis of the above content, in order to further understand the special state of a certain specific device or a certain specific topological network unit in the mesh networking architecture, for example, the situations of network busy, data traffic overload, network connection abnormality and the like, the embodiment of the present invention further provides the following method for monitoring the target condition which needs to be grasped in real time.
In detail, referring to fig. 3, the mesh routing topology networking method according to the embodiment of the present invention may further include the contents described in the following steps S24 to S28, which are described in detail below with reference to the accompanying drawings.
Step S24, according to the set network topology division rule, the device networking topology distribution of the primary route and each secondary route is divided into a plurality of topology network units.
Step S25, for each topology network element, obtaining link data information of each data relay node in the topology network element according to a set time period.
Step S26, obtaining target evaluation index topological distribution and node position topological distribution of the data relay node of each link data category in the topological network element according to the link data information.
Step S27, obtaining a correlation coefficient between the topological network element and a preset topological network model according to the target evaluation index topological distribution and the node position topological distribution of the data relay node of each link data type.
And step S28, taking the topological network units with the relation number larger than the set parameters as target topological network units, labeling the target topological network units on the mesh networking topological graph, and displaying the labeled mesh networking topological graph on the graphical user interface.
In this embodiment, in the step S24, the device networking topology distribution of the primary route and each secondary route is divided into a plurality of topology network units according to the set network topology division rule, which may be implemented as follows:
firstly, node division is carried out on the networking topology distribution of the main route and the equipment of each auxiliary route to obtain a plurality of topology nodes; acquiring node position identification information of a plurality of topological nodes and a plurality of target evaluation index parameter sets corresponding to a plurality of continuous data forwarding time points of the topological nodes before a current data forwarding time point, wherein the target evaluation index parameter set of each data forwarding time point comprises target evaluation index parameters of the topological nodes under a plurality of target evaluation index categories;
then, respectively obtaining a target evaluation index change subset corresponding to each target evaluation index parameter set in a plurality of target evaluation index parameter sets of each topological node; each target evaluation index change subset comprises target evaluation index changes of the topological nodes under a plurality of target evaluation index categories, and each target evaluation index change represents the variation between a current target evaluation index parameter and a previous target evaluation index parameter under one target evaluation index category;
then, acquiring target evaluation index changes of the topological nodes at the current data forwarding time point according to node position identification information of the topological nodes and a plurality of target evaluation index change subsets corresponding to a plurality of target evaluation index parameter sets;
and finally, respectively updating reference target evaluation indexes corresponding to the topological nodes through target evaluation index changes of the topological nodes at the current data forwarding time point, determining the target topological nodes from the plurality of topological nodes according to the updated reference target evaluation indexes of the topological nodes, performing node division on the equipment networking topological distribution according to the target topological nodes, and obtaining a plurality of topological network units according to node division results.
Thus, according to the above manner, each topology node may represent one routing device (primary route or secondary route) in the mesh network, the change condition of the target evaluation index parameter of each topology node in the whole mesh network may be dynamically monitored by the real-time change condition of the target evaluation index, the reference target evaluation index corresponding to each topology node in the mesh network is updated by the change condition of the target evaluation index parameter, the target topology node is determined according to the updated reference target evaluation index for node division, and finally, a plurality of topology network units are obtained according to the node division result. Therefore, each topological node in the mesh network can be divided according to the real-time change of the target evaluation index, so that the plurality of topological network units obtained after division are more convenient to monitor specific conditions according to the preset target evaluation index. The reference target evaluation index may be one of a plurality of preset target evaluation indexes, the reference target evaluation index updated by each topology node may be one of the most drastic variation values, and correspondingly, the determined target topology node may be one of the topology nodes with the largest variation value of the corresponding reference target evaluation index, or one of the topology nodes corresponding to the mean variation value. The node division mode can be divided according to the range of the parameters corresponding to the updated reference target evaluation indexes, and the closer the parameters are, the parameters can be divided together to form a topological network unit.
In detail, in the above step S25, in some large mesh networking application scenarios, such as enterprise level, large public place, etc., a mesh networking may include a large number of routing nodes, including a primary route and a secondary route, so that the device networking topology distribution may be divided according to a set network topology division rule (e.g., according to a geographic area, according to different node levels, etc.) to obtain a plurality of topology network units, each topology network unit may include one or more nodes, and each node may be a drop device including a route (primary route or secondary route) and/or a route.
In addition, after the link data information of each data relay node in the topology network unit is obtained, the class information to which the data relay node belongs can be determined through the link data information, and the data relay nodes are subjected to aggregation analysis according to the link data class, so that the data relay nodes of the same link data class are aggregated.
Meanwhile, in the actual operation process of networking, each routing node can cause dynamic changes of the target evaluation index condition of each routing node according to the actual application condition (such as relay data type, routing role conversion and other factors), so that analysis of target evaluation index topological distribution and node position topological distribution can be performed according to a set period to search target topological network units which possibly exist in a mesh networking framework and need to be concerned in advance, such as topological network units with special conditions of possible overload of data volume, high current data relay busyness, abnormal data relay and the like, and then the determined target topological network units are visually displayed on a page. The target evaluation index may be preset according to actual conditions, for example, the type of the target evaluation index may be preset according to special conditions to be grasped in advance, for example, if special conditions of network connection abnormality need to be grasped, the target evaluation index may be set to be an index such as a network packet loss rate, a node response time, an end-to-end delay, a data jitter rate, and the like, but is not limited thereto.
The preset topology network model may be a topology network obtained in advance by performing machine learning and model training according to a large amount of topology network data and used as a reference in the determination process of the target topology network unit, and the preset topology network model may include at least one root routing node, child and grandchild routing nodes hung below the root routing node, and node parameters corresponding to the nodes (including a target evaluation index topology parameter, a node location topology parameter, and the like, so as to be used as a reference for comparative analysis of the target topology network unit).
Further, in this embodiment, in the step S26, obtaining the target evaluation index topological distribution and the node position topological distribution of the data relay node of each link data category in the topological network element according to the link data information may be implemented in the following manner, which is exemplarily described as follows.
(1) And aiming at each link data type, obtaining a statistical result of the node attributes of the data relay nodes in the link data type in the node attributes of all the data relay nodes according to the link data information. The node attribute may include data such as a node position, a node type, a node performance, and a node type of each data relay node.
(2) According to the link data information, acquiring node attributes of the topological network units of the data relay nodes including the link data types from a pre-stored topological network unit reference sequence; the topological network element reference sequence comprises at least two topological network elements.
(3) And obtaining a target evaluation index of the data relay node of the link data type in the topological network unit according to the statistical results of the node attributes of the data relay nodes of the link data type in all the data relay nodes, the node attributes of the topological network units of the data relay nodes of the link data type in the topological network unit reference sequence and the node attributes of the topological network units in the topological network unit reference sequence, so as to respectively obtain the target evaluation index of the data relay node of each link data type in the topological network unit.
(4) And obtaining a target evaluation index distribution matrix corresponding to the link data type according to the target evaluation index of the data relay node of each link data type in the topological network unit, and taking the target evaluation index distribution matrix as the target evaluation index topological distribution. For example, the target evaluation index distribution matrix may be expressed by: { (x 1, a 1), (x 2, a 2), ·, (xi, ai) }, where xi may represent a specific data relay node and ai may represent a target evaluation index of the corresponding data relay node xi. ai may be a specific parameter value, or may be an index sequence including a plurality of index parameters, which is not limited to this.
(5) And obtaining the relative position topological relation between each data relay node and each reference node in the topological network unit according to the link data information.
(6) And obtaining a topological position relation matrix of the relative position topological relation between the data relay nodes of the link data type and each reference node of the topological network unit according to the relative position topological relation between each data relay node and each reference node in the topological network unit. For example, the topological position relationship matrix may include a relative position topological relationship of each reference node, the relative position topological relationship of each reference node may include node position information of the reference node and node position information of other nodes connected with the reference node, and the relative position topological relationship may be expressed in a form of a feature matrix.
(7) And forming a network topology distribution matrix according to a topology position relation matrix of the relative position topology relation between all the data relay nodes of the link data type and each reference node of the topology network unit, and further respectively obtaining the network topology distribution matrix of the data relay nodes of each link data type in the topology network unit to be used as the node position topology distribution.
Based on the above, in the embodiment, the target evaluation index topological relation and the network topology distribution of the data relay node of each link data category in the topology network unit are obtained according to the link data information of the data relay node, for example, the target evaluation index topological relation may be a target evaluation index of the node attribute of the data relay node of each link data category in the topology network unit, or a target evaluation index obtained according to the importance degree of the data relay node of each link data category in the topology network unit, or a target evaluation index obtained according to the administration area (the area corresponding to the drop equipment) of the data relay node of each link data category in the topology network unit, and the network topology distribution may be the network topology condition between the data relay nodes of different link data categories, the network topology distribution can also be obtained according to the position dispersion condition of the data relay nodes of each link data category.
In this embodiment, by analyzing the link data information of the data relay node, the target evaluation index topology distribution and the network topology distribution of the data relay node in the topology network unit are obtained, and the node description information of the data relay node in the topology network unit can be used as the topology feature of the topology network unit.
Further, in step S27, the obtaining of the correlation coefficient between the topological network element and the preset topological network model according to the target evaluation index topological distribution and the node position topological distribution of the data relay node may be implemented in any one of the following two manners.
The first method comprises the following steps: traversing and analyzing the target evaluation index topological distribution of the topological network unit and the target evaluation index topological distribution of a preset topological network model to obtain a first correlation coefficient; comparing, traversing and analyzing the node position topological distribution of the topological network unit with the node position topological distribution of a preset topological network model to obtain a second correlation coefficient; and obtaining a third correlation coefficient of the topological network unit and the preset topological network model according to the first correlation coefficient and the second correlation coefficient, and taking the third correlation coefficient as the correlation coefficient of the topological network unit and the preset topological network model.
And the second method comprises the following steps: acquiring neighbor node information in the topological network unit, and acquiring different types of data packet statistical results, preset data type statistical results and preset packet loss type data statistical results of neighbor nodes in the topological network unit according to the neighbor node information; forming neighbor node feature vectors according to different types of data packet statistical results, data type statistical results and preset packet loss type data statistical results of neighbor nodes in a topological network unit, wherein the neighbor node feature vectors are used as neighbor node topological feature distribution of the topological network unit; comparing and analyzing the neighbor node topological feature distribution of the topological network unit with the neighbor node topological feature distribution of a preset topological network model to obtain a fourth correlation coefficient; and obtaining a fifth correlation coefficient of the topological network unit and the preset topological network model according to the first correlation coefficient, the second correlation coefficient and the fourth correlation coefficient, and taking the fifth correlation coefficient as the correlation coefficient of the topological network unit and the preset topological network model.
In this embodiment, in the first manner, the first relation number may be calculated by performing traversal analysis on the target evaluation index topology distribution of each topology network unit and the target evaluation index topology distribution of the preset topology network model, for example, the correlation coefficient may be obtained by sequentially performing comparison analysis on the target evaluation index of each node in the topology network unit and the target evaluation index of the corresponding node in the preset topology network model one by one.
In addition, in this embodiment, the preset topology network model may have the same number of nodes as the topology network units, and the target evaluation index topology distribution and the node position topology distribution of the data relay nodes of the preset topology network model are also obtained by obtaining link data information of the data relay nodes in the preset topology network model, where the preset topology network model may be a determined target topology network unit in this scheme, and may be obtained by setting in advance. Further, in this embodiment, the correlation coefficients of the target evaluation index topological distribution and the node position topological distribution of the data relay node are obtained by comparing the two target evaluation index topological distributions with the node position topological distribution, the higher the parts of the target evaluation index topological distribution and the node position topological distribution of the data relay node of the two are consistent, the higher the correlation coefficient is, and whether the data distributions are similar or not can be determined by, for example, calculating a variance, a topological position relationship matrix, and a mean square error, for example, the smaller the difference of the topological position relationship matrix, and the smaller the difference of the variance, the more similar the data distributions are.
Further, in this embodiment, before obtaining the correlation coefficient between the topological network element and the preset topological network model according to the target evaluation index topological distribution and the node position topological distribution of the data relay node, the method further includes:
obtaining a target evaluation index corresponding to the link data type of the data relay node of each link data type in the topological network unit according to the target evaluation index topological distribution of the topological network unit;
performing descending order arrangement on the target evaluation indexes corresponding to the link data categories, and acquiring the link data categories of the data relay nodes corresponding to the target evaluation indexes corresponding to the preset number of link data categories with smaller arrangement serial numbers as reference link data categories;
judging whether the link data types of the data relay nodes in the preset topological network model contain all the reference link data types or not; if the link data types of the data relay nodes in the preset topology network model comprise all the reference link data types, executing a step of obtaining correlation coefficients of the topology network unit and the preset topology network model according to target evaluation index topology distribution and node position topology distribution of the data relay nodes; and if the link data types of the data relay nodes in the preset topology network model do not contain all the reference link data types, deleting the topology network unit from a pre-stored topology network unit reference sequence so as to update the topology network unit reference sequence.
Based on the above, in the present embodiment, it is determined whether the link data type of the data relay node in the preset topology network model includes the reference link data type obtained in the above step, and if not, it can be stated that there is no link data class of the data relay node that is important for the topological network element at all in the preset topological network model, that is, there is a data relay node that is not in the preset topology network model in the topology network unit, and the data relay node of the link data type is important for the topology network unit, at this time, in order to reduce the workload and improve the work efficiency, it can be determined that the topological network element is not associated with the predetermined topological network model, it can be directly deleted from said reference sequence of topological network elements, and subsequent monitoring of the target topological network element does not need to be carried out on the topological network element. In the scheme, a plurality of different types of preset topological network models can exist for comparison, so that the topological network unit can be compared with other preset topological network models to determine whether the topological network unit is a target topological network unit.
Referring to fig. 4, a schematic diagram of the main route 10 in fig. 4 is shown. In this embodiment, a schematic block diagram of a host route 10 for executing the mesh routing topology networking method provided by the embodiment of the present invention is shown, where the host route 10 may include a mesh routing topology networking device 101, a storage unit 102, and a processing unit 103.
In this embodiment, the storage unit 102 and the processing unit 103 may be located in the main route 10. The memory unit 102 may also be independent of the host route 10 and accessed by the processing unit 103. The mesh routing topology networking device 101 may include a plurality of functional modules stored in the storage unit 102, for example, each software functional module included in the mesh routing topology networking device 101. When the processing unit 103 executes the software function module in the mesh routing topology networking device 101, the block chain big data processing method provided by the foregoing method embodiment is implemented. The storage unit 102 may be a machine-readable storage medium, and the processing unit 103 may be a Central Processing Unit (CPU), a microprocessor (Micro CPU), or the like, which is not limited herein.
In detail, the mesh routing topology networking device 101 includes a plurality of software functional modules, such as a connection establishing module 1011, a terminal list acquiring module 1012, and a network topology determining module 1013.
The connection establishing module 1011 is configured to start a communication process to establish a tcp long connection with the secondary route. In this embodiment, the primary route may start a jrmdr process to perform communication connection with each of the secondary routes. Accordingly, when each secondary route runs, a jrmds process can be started to establish communication with a jrmdr process of the primary route, so that tcp long connection is established with the primary route.
The terminal list acquiring module 1012 is configured to issue terminal list state acquisition information to each connected secondary route at intervals of a set time, so as to acquire a communication terminal list of each secondary route from each secondary route.
In this embodiment, in order to know the network status of each of the secondary routes and the status of the communication terminal under each of the secondary routes in real time, the primary route may send the terminal list status acquisition information to each of the connected secondary routes at set time intervals (for example, at intervals of 10 minutes, 15 minutes, 20 minutes, 30 minutes, 60 minutes, and the like) to acquire status information of each of the drop devices of each of the secondary routes, for example, device information, networking status, network communication status, data transmission and reception status, and the like of each of the terminal devices, from each of the secondary routes. Each hanging device of the secondary route can be a device with communication capability, such as a smart phone, a notebook computer and a personal computer. Meanwhile, the drop device of each secondary route may also be another secondary route dropped for networking expansion.
In detail, the communication terminal list of the secondary route includes a wireless terminal list, a wired terminal list, and a wireless mesh interface terminal list, the wireless terminal list includes wireless terminal devices and device states of the wireless terminal devices, which are wirelessly connected to the secondary route for data transceiving through the secondary route, the wired terminal list includes wired terminal devices and device states of the wired terminal devices, which are wiredly connected to the secondary route for data transceiving through the secondary route, and the wireless mesh interface terminal list includes mesh interface devices and device states of the mesh interface devices, which are connected to the wireless mesh interface of the secondary route for data transceiving through the wireless mesh interface of the secondary route;
the networking topology determining module 1013 is configured to store the obtained communication terminal list of each secondary route to a local place, and obtain the device networking topology distribution of the primary route and each secondary route according to the communication terminal list of each secondary route.
On the basis of the above content, in order to further understand the special state of a certain specific device or a certain specific topological network unit in the mesh networking architecture, for example, the situations of network busy, data traffic overload, network connection abnormality and the like, the embodiment of the present invention further provides the following method for monitoring the target condition which needs to be grasped in real time.
In detail, to implement the foregoing, the mesh routing topology networking device 101 may further include the following functional modules:
a topology network dividing module 1014, configured to divide the device networking topology distribution of the primary route and each secondary route into a plurality of topology network units according to a set network topology dividing rule.
A link data obtaining module 1015, configured to obtain, for each topology network unit, link data information of each data relay node in the topology network unit according to a set time period;
a topology distribution obtaining module 1016, configured to obtain, according to the link data information, target evaluation index topology distribution and node position topology distribution of the data relay node of each link data category in the topology network unit;
a correlation coefficient calculation module 1017, configured to calculate, according to the target evaluation index topological distribution and the node position topological distribution of the data relay node of each link data category, a correlation coefficient between the topological network unit and a preset topological network model; and
and a target topology determining module 1018, configured to use the topology network units with the relationship number larger than the set parameter as target topology network units, label the target topology network units in the mesh networking topology map, and display the labeled mesh networking topology map on the graphical user interface.
In this embodiment, the topology network partitioning module 1014 may be specifically configured to:
node division is carried out on the device networking topological distribution of the main route and each auxiliary route to obtain a plurality of topological nodes; acquiring node position identification information of a plurality of topological nodes and a plurality of target evaluation index parameter sets corresponding to a plurality of continuous data forwarding time points of the topological nodes before a current data forwarding time point, wherein the target evaluation index parameter set of each data forwarding time point comprises target evaluation index parameters of the topological nodes under a plurality of target evaluation index categories;
respectively obtaining a target evaluation index change subset corresponding to each target evaluation index parameter set in a plurality of target evaluation index parameter sets of each topological node; each target evaluation index change subset comprises target evaluation index changes of the topological nodes under a plurality of target evaluation index categories, and each target evaluation index change represents the variation between a current target evaluation index parameter and a previous target evaluation index parameter under one target evaluation index category;
acquiring target evaluation index changes of the topological nodes at the current data forwarding time point according to the node position identification information of the topological nodes and a plurality of target evaluation index change subsets corresponding to a plurality of target evaluation index parameter sets;
the method comprises the steps of updating reference target evaluation indexes corresponding to topology nodes respectively through target evaluation index changes of the topology nodes at the current data forwarding time point, determining the target topology nodes from the topology nodes according to the updated reference target evaluation indexes of the topology nodes, performing node division on the networking topology distribution of the equipment according to the target topology nodes, and obtaining a plurality of topology network units according to node division results.
In detail, for the above content, for the link data obtaining module 1015, in some large mesh networking application scenarios, such as enterprise level, large public place, and the like, a mesh networking may include a large number of routing nodes, including a primary route and a secondary route, so that the device networking topology distribution may be divided according to a set network topology division rule (e.g., according to a geographic area, according to different node levels, and the like) to obtain a plurality of topology network units, each topology network unit may include one or more nodes, and each node may be a drop device including a route (primary route or secondary route) and/or a route.
Further, in this embodiment, the pair of topology distribution obtaining module 1016 obtains the target evaluation index topology distribution and the node location topology distribution of the data relay node of each link data type in the topological network unit according to the link data information, which may be implemented in the following manner, and an example of which is described below.
(1) And aiming at each link data type, obtaining a statistical result of the node attributes of the data relay nodes in the link data type in the node attributes of all the data relay nodes according to the link data information. The node attribute may include data such as a node position, a node type, a node performance, and a node type of each data relay node.
(2) According to the link data information, acquiring node attributes of the topological network units of the data relay nodes including the link data types from a pre-stored topological network unit reference sequence; the topological network element reference sequence comprises at least two topological network elements.
(3) And obtaining a target evaluation index of the data relay node of the link data type in the topological network unit according to the statistical results of the node attributes of the data relay nodes of the link data type in all the data relay nodes, the node attributes of the topological network units of the data relay nodes of the link data type in the topological network unit reference sequence and the node attributes of the topological network units in the topological network unit reference sequence, so as to respectively obtain the target evaluation index of the data relay node of each link data type in the topological network unit.
(4) And obtaining a target evaluation index distribution matrix corresponding to the link data type according to the target evaluation index of the data relay node of each link data type in the topological network unit, and taking the target evaluation index distribution matrix as the target evaluation index topological distribution. For example, the target evaluation index distribution matrix may be expressed by: { (x 1, a 1), (x 2, a 2), ·, (xi, ai) }, where xi may represent a specific data relay node and ai may represent a target evaluation index of the corresponding data relay node xi. ai may be a specific parameter value, or may be an index sequence including a plurality of index parameters, which is not limited to this.
(5) And obtaining the relative position topological relation between each data relay node and each reference node in the topological network unit according to the link data information.
(6) And obtaining a topological position relation matrix of the relative position topological relation between the data relay nodes of the link data type and each reference node of the topological network unit according to the relative position topological relation between each data relay node and each reference node in the topological network unit.
(7) And forming a network topology distribution matrix according to a topology position relation matrix of the relative position topology relation between all the data relay nodes of the link data type and each reference node of the topology network unit, and further respectively obtaining the network topology distribution matrix of the data relay nodes of each link data type in the topology network unit to be used as the node position topology distribution.
Further, for the correlation coefficient calculation module 1017, the correlation coefficients of the topological network unit and the preset topological network model are obtained according to the target evaluation index topological distribution and the node position topological distribution of the data relay node, and may be implemented in any one of the following two manners.
The first method comprises the following steps: traversing and analyzing the target evaluation index topological distribution of the topological network unit and the target evaluation index topological distribution of a preset topological network model to obtain a first correlation coefficient; comparing, traversing and analyzing the node position topological distribution of the topological network unit with the node position topological distribution of a preset topological network model to obtain a second correlation coefficient; and obtaining a third correlation coefficient of the topological network unit and the preset topological network model according to the first correlation coefficient and the second correlation coefficient, and taking the third correlation coefficient as the correlation coefficient of the topological network unit and the preset topological network model.
And the second method comprises the following steps: acquiring neighbor node information in the topological network unit, and acquiring different types of data packet statistical results, preset data type statistical results and preset packet loss type data statistical results of neighbor nodes in the topological network unit according to the neighbor node information; forming neighbor node feature vectors according to different types of data packet statistical results, data type statistical results and preset packet loss type data statistical results of neighbor nodes in a topological network unit, wherein the neighbor node feature vectors are used as neighbor node topological feature distribution of the topological network unit; comparing and analyzing the neighbor node topological feature distribution of the topological network unit with the neighbor node topological feature distribution of a preset topological network model to obtain a fourth correlation coefficient; and obtaining a fifth correlation coefficient of the topological network unit and the preset topological network model according to the first correlation coefficient, the second correlation coefficient and the fourth correlation coefficient, and taking the fifth correlation coefficient as the correlation coefficient of the topological network unit and the preset topological network model.
It should be noted that, each of the functional modules may be configured to execute each method step corresponding to the mesh routing topology networking method in the embodiment of the present invention, and therefore, for the more detailed description of each of the functional modules, further reference may be made to the description of each corresponding step of the method, which is not described herein again.
In summary, in the mesh routing topology networking method and system provided in the embodiments of the present invention, after tcp long connection is established between a primary route and a secondary route, terminal list state acquisition information is issued to each connected secondary route at intervals of a set time to acquire a communication terminal list of each secondary route from each secondary route, then the acquired communication terminal list of each secondary route is stored locally, device networking topology distribution of the primary route and each secondary route is acquired according to the communication terminal list of each secondary route, and finally the device networking topology distribution can be displayed on a graphical user interface provided by the primary route through a mesh networking topology map, so that the entire mesh networking can be intuitively grasped. Meanwhile, the device networking topology distribution of the main route and each auxiliary route is further divided into a plurality of topology network units according to a set network topology division rule, the topology network units are compared and analyzed with a preset topology network model, a predetermined target topology network unit needing to be monitored is analyzed from the whole mesh networking, and the target topology network unit is marked on the mesh networking topology graph and then displayed on the graphical user interface. Therefore, even if the whole network has target conditions such as abnormity, network congestion, data overload and the like, the target conditions can be conveniently checked, the network state of each routing device or each networking unit in the whole networking can be intuitively mastered, and the reasonable distribution of network resources can be facilitated.
The embodiments described above are only a part of the embodiments of the present invention, and not all of them. The components of embodiments of the present invention generally described and illustrated in the figures can be arranged and designed in a wide variety of different configurations. Therefore, the detailed description of the embodiments of the present invention provided in the drawings is not intended to limit the scope of the present invention, but is merely representative of selected embodiments of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims. Moreover, all other embodiments that can be made available by a person skilled in the art without inventive step based on the embodiments of the present invention shall fall within the scope of protection of the present invention.

Claims (7)

1. A mesh routing topology networking method is applied to a main route which is in communication connection with a plurality of auxiliary routes, and is characterized by comprising the following steps:
starting a communication process and establishing tcp long connection with the secondary route;
issuing terminal list state acquisition information to each connected auxiliary route at intervals of set time so as to acquire a communication terminal list of each auxiliary route from each auxiliary route, wherein the communication terminal list of the auxiliary route comprises a wireless terminal list and a wired terminal list, the wireless terminal list comprises wireless terminal equipment which is wirelessly connected with the auxiliary route so as to transmit and receive data through the auxiliary route and equipment states of each wireless terminal equipment, and the wired terminal list comprises wired terminal equipment which is wirelessly connected with the auxiliary route so as to transmit and receive data through the auxiliary route and equipment states of each wired terminal equipment;
saving the obtained communication terminal list of each secondary route to the local, and obtaining the networking topology distribution of the main route and the equipment of each secondary route according to the communication terminal list of each secondary route;
obtaining a mesh networking topological graph aiming at the main route according to the equipment networking topological distribution of the main route and each auxiliary route;
when an external terminal accesses the graphical user interface provided by the main route, displaying the mesh networking topological graph through the graphical user interface;
dividing the networking topology distribution of the main route and the equipment of each auxiliary route into a plurality of topology network units according to a set network topology division rule;
acquiring link data information of each data relay node in each topological network unit according to a set time period aiming at each topological network unit;
obtaining target evaluation index topological distribution and node position topological distribution of the data relay node of each link data type in the topological network unit according to the link data information;
obtaining correlation coefficients of the topological network unit and a preset topological network model according to the target evaluation index topological distribution and the node position topological distribution of the data relay node of each link data type;
and taking the topological network units with the relation number larger than the set parameters as target topological network units, and displaying the target topological network units on the graphical user interface after marking the mesh networking topological graph.
2. The mesh routing topology networking method according to claim 1, wherein the obtaining of the target evaluation index topology distribution and the node location topology distribution of the data relay node of each link data category in the topology network unit according to the link data information includes:
for each link data type, obtaining a statistical result of node attributes of the data relay nodes of the link data type in all the node attributes of the data relay nodes according to the link data information;
according to the link data information, acquiring node attributes of the topological network units of the data relay nodes including the link data types from a pre-stored topological network unit reference sequence; the topology network element reference sequence comprises at least two topology network elements;
obtaining a target evaluation index of the data relay node of the link data type in the topological network unit according to the statistical results of the node attributes of the data relay nodes of the link data type in all the data relay nodes, the node attributes of the topological network units of the data relay nodes of the link data type in the topological network unit reference sequence and the node attributes of the topological network units in the topological network unit reference sequence, so as to obtain the target evaluation index of the data relay node of each link data type in the topological network unit;
obtaining a target evaluation index distribution matrix corresponding to the link data type according to a target evaluation index of the data relay node of each link data type in the topological network unit, and taking the target evaluation index distribution matrix as the target evaluation index topological distribution;
obtaining the relative position topological relation between each data relay node and each reference node in a topological network unit according to the link data information;
obtaining a topological position relation matrix of the relative position topological relation between the data relay nodes of the link data type and each reference node of the topological network unit according to the relative position topological relation between each data relay node and each reference node in the topological network unit;
and forming a network topology distribution matrix according to a topology position relation matrix of the relative position topology relation between all the data relay nodes of the link data type and each reference node of the topology network unit, and further respectively obtaining the network topology distribution matrix of the data relay nodes of each link data type in the topology network unit to be used as the node position topology distribution.
3. The mesh routing topology networking method according to claim 2, wherein the dividing the device networking topology distribution of the primary route and each secondary route into a plurality of topology network units according to a set network topology division rule comprises:
node division is carried out on the device networking topological distribution of the main route and each auxiliary route to obtain a plurality of topological nodes; acquiring node position identification information of a plurality of topological nodes and a plurality of target evaluation index parameter sets corresponding to a plurality of continuous data forwarding time points of the topological nodes before a current data forwarding time point, wherein the target evaluation index parameter set of each data forwarding time point comprises target evaluation index parameters of the topological nodes under a plurality of target evaluation index categories;
respectively obtaining a target evaluation index change subset corresponding to each target evaluation index parameter set in a plurality of target evaluation index parameter sets of each topological node; each target evaluation index change subset comprises target evaluation index changes of the topological nodes under a plurality of target evaluation index categories, and each target evaluation index change represents the variation between a current target evaluation index parameter and a previous target evaluation index parameter under one target evaluation index category;
acquiring target evaluation index changes of the topological nodes at the current data forwarding time point according to the node position identification information of the topological nodes and a plurality of target evaluation index change subsets corresponding to a plurality of target evaluation index parameter sets;
the method comprises the steps of updating reference target evaluation indexes corresponding to topology nodes respectively through target evaluation index changes of the topology nodes at the current data forwarding time point, determining the target topology nodes from the topology nodes according to the updated reference target evaluation indexes of the topology nodes, performing node division on the networking topology distribution of the equipment according to the target topology nodes, and obtaining a plurality of topology network units according to node division results.
4. The mesh routing topology networking method according to claim 2, wherein obtaining the correlation coefficient between the topology network unit and a preset topology network model according to the target evaluation index topology distribution and the node location topology distribution of the data relay node of each link data category comprises:
traversing and analyzing the target evaluation index topological distribution of the topological network unit and the target evaluation index topological distribution of a preset topological network model to obtain a first correlation coefficient; comparing, traversing and analyzing the node position topological distribution of the topological network unit with the node position topological distribution of a preset topological network model to obtain a second correlation coefficient; obtaining a third correlation coefficient of the topological network unit and the preset topological network model according to the first correlation coefficient and the second correlation coefficient, and taking the third correlation coefficient as the correlation coefficient of the topological network unit and the preset topological network model; or
Acquiring neighbor node information in the topological network unit, and acquiring different types of data packet statistical results, preset data type statistical results and preset packet loss type data statistical results of neighbor nodes in the topological network unit according to the neighbor node information; forming neighbor node feature vectors according to different types of data packet statistical results, data type statistical results and preset packet loss type data statistical results of neighbor nodes in a topological network unit, wherein the neighbor node feature vectors are used as neighbor node topological feature distribution of the topological network unit; comparing and analyzing the neighbor node topological feature distribution of the topological network unit with the neighbor node topological feature distribution of a preset topological network model to obtain a fourth correlation coefficient; and obtaining a fifth correlation coefficient of the topological network unit and the preset topological network model according to the first correlation coefficient, the second correlation coefficient and the fourth correlation coefficient, and taking the fifth correlation coefficient as the correlation coefficient of the topological network unit and the preset topological network model.
5. The mesh routing topology networking method according to claim 1, wherein before obtaining the correlation coefficient between the topology network unit and a preset topology network model according to the target evaluation index topology distribution and the node location topology distribution of the data relay node of each link data category, the method further comprises:
obtaining a target evaluation index corresponding to the link data type of the data relay node of each link data type in the topological network unit according to the target evaluation index topological distribution of the topological network unit;
performing descending order arrangement on the target evaluation indexes corresponding to the link data categories, and acquiring the link data categories of the data relay nodes corresponding to the target evaluation indexes corresponding to the preset number of link data categories with smaller arrangement serial numbers as reference link data categories;
judging whether the link data types of the data relay nodes in the preset topological network model contain all the reference link data types or not; if the link data types of the data relay nodes in the preset topology network model comprise all the reference link data types, executing a step of obtaining correlation coefficients of the topology network unit and the preset topology network model according to target evaluation index topological distribution and node position topological distribution of the data relay nodes of each link data type; and if the link data types of the data relay nodes in the preset topology network model do not contain all the reference link data types, deleting the topology network unit from a pre-stored topology network unit reference sequence so as to update the topology network unit reference sequence.
6. A mesh routing topology networking system, comprising a primary route and a plurality of secondary routes communicatively connected to the primary route, wherein the primary route comprises a mesh routing topology networking device, a processing unit, and a storage unit, the storage unit is connected to the processing unit, the storage unit is used for storing programs, instructions or codes, the processing unit is used for executing the programs, instructions or codes in the storage unit, and the mesh routing topology networking device comprises:
the connection establishing module is used for starting a communication process to establish tcp long connection with the auxiliary route;
a terminal list acquisition module, configured to issue terminal list state acquisition information to each connected secondary route at intervals of a set time, so as to acquire a communication terminal list of each secondary route from each secondary route; the communication terminal list of the secondary route comprises a wireless terminal list and a wired terminal list, the wireless terminal list comprises wireless terminal equipment which is wirelessly connected with the secondary route to transmit and receive data through the secondary route and equipment states of the wireless terminal equipment, and the wired terminal list comprises wired terminal equipment which is wiredly connected with the secondary route to transmit and receive data through the secondary route and equipment states of the wired terminal equipment;
the networking topology determining module is used for storing the obtained communication terminal list of each secondary route to the local, obtaining the equipment networking topology distribution of the main route and each secondary route according to the communication terminal list of each secondary route, and obtaining a mesh networking topology map aiming at the main route according to the equipment networking topology distribution of the main route and each secondary route; when an external terminal accesses the graphical user interface provided by the main route, the networking topology determining module is further used for displaying the mesh networking topology map through the graphical user interface;
the topological network dividing module is used for dividing the networking topological distribution of the main route and the equipment of each auxiliary route into a plurality of topological network units according to a set network topological dividing rule;
a link data acquisition module, configured to acquire, for each topology network unit, link data information of each data relay node in the topology network unit according to a set time period;
the topological distribution acquisition module is used for acquiring target evaluation index topological distribution and node position topological distribution of the data relay node of each link data type in the topological network unit according to the link data information;
the correlation coefficient calculation module is used for calculating the correlation coefficient of the topological network unit and a preset topological network model according to the target evaluation index topological distribution and the node position topological distribution of the data relay node of each link data type; and
and the target topology determining module is used for taking the topology network unit with the correlation coefficient larger than the set parameter as a target topology network unit, marking the target topology network unit on the mesh networking topology graph, and displaying the marked mesh networking topology graph on the graphical user interface.
7. The mesh routing topology networking system according to claim 6, wherein the topology distribution obtaining module is specifically configured to:
for each link data type, obtaining a statistical result of node attributes of the data relay nodes of the link data type in all the node attributes of the data relay nodes according to the link data information;
according to the link data information, acquiring node attributes of the topological network units of the data relay nodes including the link data types from a pre-stored topological network unit reference sequence; the topology network element reference sequence comprises at least two topology network elements;
obtaining a target evaluation index of the data relay node of the link data type in the topological network unit according to the statistical results of the node attributes of the data relay nodes of the link data type in all the data relay nodes, the node attributes of the topological network units of the data relay nodes of the link data type in the topological network unit reference sequence and the node attributes of the topological network units in the topological network unit reference sequence, so as to obtain the target evaluation index of the data relay node of each link data type in the topological network unit;
obtaining a target evaluation index distribution matrix corresponding to the link data type according to a target evaluation index of the data relay node of each link data type in the topological network unit, and taking the target evaluation index distribution matrix as the target evaluation index topological distribution;
obtaining the relative position topological relation between each data relay node and each reference node in a topological network unit according to the link data information;
obtaining a topological position relation matrix of the relative position topological relation between the data relay nodes of the link data type and each reference node of the topological network unit according to the relative position topological relation between each data relay node and each reference node in the topological network unit;
and forming a network topology distribution matrix according to a topology position relation matrix of the relative position topology relation between all the data relay nodes of the link data type and each reference node of the topology network unit, and further respectively obtaining the network topology distribution matrix of the data relay nodes of each link data type in the topology network unit to be used as the node position topology distribution.
CN202110177678.7A 2021-02-09 2021-02-09 Mesh routing topology networking method and system Active CN112532529B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110177678.7A CN112532529B (en) 2021-02-09 2021-02-09 Mesh routing topology networking method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110177678.7A CN112532529B (en) 2021-02-09 2021-02-09 Mesh routing topology networking method and system

Publications (2)

Publication Number Publication Date
CN112532529A CN112532529A (en) 2021-03-19
CN112532529B true CN112532529B (en) 2021-05-11

Family

ID=74975695

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110177678.7A Active CN112532529B (en) 2021-02-09 2021-02-09 Mesh routing topology networking method and system

Country Status (1)

Country Link
CN (1) CN112532529B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114615674B (en) * 2022-03-30 2023-08-29 西安宇飞电子技术有限公司 Wireless Mesh Ad Hoc Network Method and System
CN115842770A (en) * 2022-11-07 2023-03-24 鹏城实验室 Routing method based on depth map neural network and related equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110995599A (en) * 2019-11-29 2020-04-10 电子科技大学 Satellite self-organizing network route anti-damage method based on link survival time
CN111786893A (en) * 2020-07-14 2020-10-16 博为科技有限公司 method and device for synchronizing software versions of wireless routers in mesh networking

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106254254B (en) * 2016-09-19 2020-05-26 复旦大学 Mesh topology structure-based network-on-chip communication method
CN111586676B (en) * 2020-04-22 2023-09-19 惠州高盛达科技有限公司 Method for realizing seamless roaming between routers
CN112019434B (en) * 2020-07-28 2021-08-03 烽火通信科技股份有限公司 WEB centralized management method and device for networking equipment
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
CN110995599A (en) * 2019-11-29 2020-04-10 电子科技大学 Satellite self-organizing network route anti-damage method based on link survival time
CN111786893A (en) * 2020-07-14 2020-10-16 博为科技有限公司 method and device for synchronizing software versions of wireless routers in mesh networking

Also Published As

Publication number Publication date
CN112532529A (en) 2021-03-19

Similar Documents

Publication Publication Date Title
CN110351150B (en) Fault source determination method and device, electronic equipment and readable storage medium
CN112532529B (en) Mesh routing topology networking method and system
CN103761309A (en) Operation data processing method and system
CN112187512B (en) Port automatic expansion method, device and equipment based on flow monitoring
US20170149619A1 (en) Method and device for discovering network topology
US20090164618A1 (en) Network system and method of administrating networks
WO2015176389A1 (en) Method, apparatus and system for collecting device information
CN113176948B (en) Edge gateway, edge computing system and configuration method thereof
CN107769941A (en) A kind of method and device for managing data
CN107094086A (en) A kind of information acquisition method and device
CN112463892A (en) Early warning method and system based on risk situation
JP2002342182A (en) Support system for operation management in network system
CN110061931A (en) Clustering method, device, system and the computer storage medium of industry control agreement
CN114091610A (en) Intelligent decision method and device
CN116361377B (en) Load prediction system, method and medium based on industrial Internet of things service platform
CN104483880B (en) A kind of collecting method and data acquisition server
CN112769620B (en) Network deployment method, equipment and computer readable storage medium
CN102694725B (en) Method for bi-directionally searching paths based on bandwidth
CN114338441A (en) Analysis method for intelligently identifying service link based on service flow
CN107864069B (en) Method for realizing automatic cloud testing of communication equipment
CN103023701B (en) The analytical method of performance parameter and device in network management system
CN114697319B (en) Tenant service management method and device for public cloud
WO2024088025A1 (en) Automated 5gc network element management method and apparatus based on multi-dimensional data
CN116980284A (en) Optical cable fiber distribution box operation and maintenance information transmission method and system based on Internet of things
CN112437137B (en) Internet of things data connection method and system

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