Transmission optimization method and system in WIFI mesh network, and storage medium
By building a multicast tree and using graph neural networks to optimize the data transmission links of the WiFi Mesh network, the problems of link interference and low transmission performance are solved, more efficient data transmission and load balancing are achieved, and network performance is improved.
Patent Information
- Application Number
- PCT/CN2024/080607
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-03-14
- Filing Date
- 2024-03-07
- Publication Date
- 2024-09-19
AI Technical Summary
WiFi Mesh networks are susceptible to link interference during data transmission, have low transmission performance, and cannot quickly adapt to real-time network status changes, resulting in uneven network resource configuration and affecting the efficiency of multicast transmission such as video streaming.
By constructing multicast trees and undirected heterogeneous graphs, graph neural networks are used to obtain transmission link status information, identify business flows and convert them into unicast data, select the best transmission link for data transmission, optimize data transmission paths, and reduce transmission overhead and improve network performance.
It improves the overall throughput of the WiFi Mesh network, improves the load balancing of the transmission link, and improves network performance and efficiency.
Smart Images

Figure CN2024080607_19092024_PF_FP_ABST
Abstract
Description
A WiFi Mesh network propagation optimization method, system and storage medium Technical Field
[0001] The present invention relates to the field of wireless communication technologies, and more specifically, to a WiFi Mesh networking propagation optimization method, system, and storage medium. Background Art
[0002] In recent years, WiFi technology has been widely used in wireless communications due to its ease of use and fast transmission speeds. It has become the preferred mobile gateway due to its flexible deployment, low costs, high bandwidth, and excellent user experience. WiFi Mesh networks, a type of wireless mesh network that integrates WiFi technology, boast self-organizing, self-configuring, and self-healing properties. They can easily and cost-effectively expand WLAN coverage. Compared to traditional WLAN networks, they offer advantages such as wide coverage, convenient networking, and flexible architecture, making them a key research focus in the wireless communications field. Therefore, research on data transmission optimization in WiFi Mesh networks, based on real-world application scenarios, is of great practical value.
[0003] Currently, Wi-Fi Mesh networks can only use wireless nodes for data transmission. However, compared to wired links, wireless links are susceptible to interference and have lower transmission bandwidth. These links are unable to quickly adapt to changing network conditions, which can easily lead to uneven and inadequate allocation of network resources. Multicast transmission is widely used in everyday scenarios such as video streaming. However, multicast data is transmitted as a broadcast in Wi-Fi Mesh networks by default, resulting in high transmission overhead and low transmission performance. Therefore, addressing issues such as link interference and low node transmission performance during network transmission, it is urgent to provide a Wi-Fi Mesh network transmission optimization method to optimize data transmission and improve overall throughput.
[0004] Summary of the Invention
[0005] In order to solve the above technical problems, the present invention proposes a WiFi Mesh networking propagation optimization method, system and storage medium.
[0006] A first aspect of the present invention provides a WiFi Mesh network propagation optimization method, comprising:
[0007] Build a multicast tree based on the source nodes, routing nodes and STA nodes in the WiFi Mesh network;
[0008] Constructing an undirected heterogeneous graph of multicast data transmission links through the multicast tree, learning and representing the undirected heterogeneous graph based on a graph neural network, and obtaining status information of all transmission links;
[0009] The multicast service end obtains the service flow of the multicast data, identifies the service flow, and converts the multicast data into unicast data when the category of the service flow meets the preset standard;
[0010] According to the status information of all transmission links and the target STA node, the queue load and interference information of each transmission link are obtained, and the optimal transmission link for unicast data is selected for data transmission.
[0011] In this solution, a multicast tree is constructed based on the source nodes, routing nodes, and STA nodes in the WiFi Mesh network. Specifically:
[0012] Obtain the topology of each source node, routing node, and STA node in the current WiFi Mesh network, mark the location information of each node in the topology, and obtain the Euclidean distance of each node in the topology;
[0013] Nodes are clustered based on their Euclidean distances. Nodes with Euclidean distances less than a preset first distance threshold are grouped into the same cluster. A cluster head node is selected from the clusters. Inter-node communication is verified based on multicast message communication within the cluster. An intra-cluster multicast tree is constructed using the verified communication paths.
[0014] Select adjacent nodes whose node distance between each intra-cluster multicast tree and the adjacent intra-cluster multicast tree is less than a second distance threshold, use the connected nodes to establish multiple intermediate communication paths, obtain the optimal intermediate communication path based on the path minimum principle, and establish the communication path between cluster head nodes through the optimal intermediate communication path;
[0015] Establish information exchange between the multicast trees within each cluster according to the communication path between the cluster head nodes, build an inter-cluster multicast tree, and generate the final multicast tree of the current WiFi Mesh network through the intra-cluster multicast tree and the inter-cluster multicast tree;
[0016] And obtain the transmission link from the source node to the STA node through the final multicast tree of the current WiFi Mesh network.
[0017] In this solution, an undirected heterogeneous graph of multicast data transmission links is constructed through the multicast tree. The undirected heterogeneous graph is learned and represented based on a graph neural network to obtain the status information of all transmission links. Specifically,
[0018] An undirected heterogeneous graph G = (V, E) is constructed based on the source nodes, routing nodes, STA nodes, and propagation links in the WiFi Mesh network, where V represents the set of source nodes, routing nodes, and STA nodes, and E represents the connection relationship between nodes.
[0019] Constructing a graph convolutional neural network to perform representation learning on the undirected heterogeneous graph, and obtaining a feature vector of the node through the message passing and neighbor aggregation mechanism of the graph convolutional neural network. The feature vector includes transmission delay, transmission link bandwidth, transmission packet loss rate, and transmission flow;
[0020] Obtain each transmission link from the source node to the STA node in the final multicast tree of the current WiFi Mesh network, and determine the state information of the transmission link based on the feature vector of each node in the transmission link;
[0021] Perform node clustering analysis based on node feature vectors in the WiFi Mesh network, set node type labels based on node types, assign initial weights to nodes based on type labels, and divide node states into a preset number of status levels;
[0022] Randomly select the initial cluster center from the routing nodes and STA nodes, and after iteration, obtain the Euclidean distance of each node to the initial cluster center. Combine the Euclidean distance with the initial weight to obtain the final distance. Generate the cluster result by assigning the node to the cluster center with the closest final distance, and select the new cluster center.
[0023] After the iteration is completed, the final clustering result is output. The state information corresponding to each node is obtained according to the final clustering result. The state information of each node is aggregated according to the transmission link to generate the state information of each transmission link.
[0024] In this solution, the multicast server obtains the service flow of multicast data and identifies the service flow, specifically:
[0025] Obtaining the service flow of multicast data from the multicast server, extracting content tags of the service flow, establishing a retrieval task based on the content tags, and identifying the service flow through similarity calculation;
[0026] Obtaining the similarity between the content label of the service flow and the preset data, sorting them according to the similarity, and selecting the data type corresponding to the preset data with the highest similarity as the data type of the service flow for labeling;
[0027] When the data type of the service flow meets the preset standard, the destination address of the service flow is obtained, the destination node of the service flow is obtained through the destination address, and the target STA node is searched in the address translation table to perform address translation on the destination address of the service flow;
[0028] A service flow multicast-to-unicast solution is established through the destination address after address translation, converting multicast data into unicast data.
[0029] In this solution, based on the status information of all transmission links and the target STA node, the queue load and interference information of each transmission link are obtained, and the optimal transmission link for unicast data is selected for data transmission. Specifically:
[0030] Based on the status information of all transmission links, the transmission link with the best status information is obtained based on the graph convolutional neural network and marked;
[0031] Determine the interference range of nodes based on the location information and propagation range of each node in the current WiFi Mesh network, count the situations where each node in the marked transmission link falls into the interference range of other nodes, and obtain real-time interference information of the marked transmission link based on the interference situation of each node;
[0032] If the real-time interference information meets the preset standard, the status information of each node in the tag transmission link and the corresponding processor and memory utilization are obtained, and the maximum load that the tag transmission link can provide when transmitting the service flow is calculated;
[0033] The receiving time of the target STA node is preset according to the timeliness of the business flow, and the average load of the business flow is obtained based on the time difference information between sending and receiving. It is determined whether the maximum load is greater than or equal to the average load. If it is greater than or equal to, the transmission link will be marked as the optimal transmission link. Otherwise, the transmission link will be adjusted according to the average load.
[0034] This solution also includes: when the maximum load of the transmission link does not meet the standard, the multicast server obtains the service flow of the multicast data, identifies it, and sends it to the main routing node in a multicast manner. If the main routing node has a directly connected target STA node, the connected target STA node is temporarily regarded as a slave routing node;
[0035] The master routing node forwards the data stream to the slave routing node and the target STA node regarded as the slave routing node through multicast. The slave routing node queries the address translation table, replaces the destination address with the target STA node address, and unicasts the service stream to reduce the unicast transmission path.
[0036] A second aspect of the present invention further provides a WiFi Mesh network propagation optimization system, the system comprising: a memory and a processor, the memory comprising a WiFi Mesh network propagation optimization method program, the WiFi Mesh network propagation optimization method program, when executed by the processor, implementing the following steps:
[0037] Build a multicast tree based on the source nodes, routing nodes and STA nodes in the WiFi Mesh network;
[0038] Constructing an undirected heterogeneous graph of multicast data transmission links through the multicast tree, learning and representing the undirected heterogeneous graph based on a graph neural network, and obtaining status information of all transmission links;
[0039] The multicast service end obtains the service flow of the multicast data, identifies the service flow, and converts the multicast data into unicast data when the category of the service flow meets the preset standard;
[0040] According to the status information of all transmission links and the target STA node, the queue load and interference information of each transmission link are obtained, and the optimal transmission link for unicast data is selected for data transmission.
[0041] A third aspect of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium includes a WiFi Mesh network propagation optimization method program. When the WiFi Mesh network propagation optimization method program is executed by a processor, the steps of the WiFi Mesh network propagation optimization method as described in any one of the above items are implemented.
[0042] The present invention discloses a WiFi Mesh network transmission optimization method, system, and storage medium, comprising: constructing a multicast tree based on source nodes, routing nodes, and STA nodes in a WiFi Mesh network; constructing an undirected heterogeneous graph of multicast data transmission links using the multicast tree; learning and representing the undirected heterogeneous graph based on a graph neural network to obtain status information of all transmission links; obtaining service flows of multicast data at a multicast server; identifying the service flows; and converting the multicast data into unicast data when the service flow category meets preset standards; obtaining queue loads and interference information of each transmission link based on the status information of all transmission links and the target STA node, and selecting the optimal transmission link for unicast data transmission. The present invention, based on a data transmission scheme with a hierarchical structure of a multicast tree, reduces transmission overhead while improving overall network transmission performance, improves load balancing of each transmission link, and enhances network performance. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] FIG1 shows a flow chart of a WiFi Mesh network propagation optimization method according to the present invention;
[0044] FIG2 shows a flow chart of a method for obtaining status information of all transmission links according to the present invention;
[0045] FIG3 shows a flow chart of a method for selecting an optimal transmission link for unicast data for data transmission according to the present invention;
[0046] FIG4 shows a block diagram of a WiFi Mesh networking propagation optimization system according to the present invention. DETAILED DESCRIPTION
[0047] In order to more clearly understand the above-mentioned objects, features and advantages of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that, in the absence of conflict, the embodiments of the present application and the features therein can be combined with each other.
[0048] In the following description, many specific details are set forth to facilitate a full understanding of the present invention. However, the present invention may also be implemented in other ways different from those described herein. Therefore, the scope of protection of the present invention is not limited to the specific embodiments disclosed below.
[0049] FIG1 shows a flow chart of a WiFi Mesh networking propagation optimization method according to the present invention.
[0050] As shown in FIG1 , the first aspect of the present invention provides a method for optimizing WiFi Mesh network transmission, including:
[0051] S102, building a multicast tree based on the source nodes, routing nodes, and STA nodes in the WiFi Mesh network;
[0052] S104, constructing an undirected heterogeneous graph of multicast data transmission links using the multicast tree, learning and representing the undirected heterogeneous graph based on a graph neural network, and obtaining status information of all transmission links;
[0053] S106, obtaining a service flow of multicast data at the multicast server, identifying the service flow, and converting the multicast data into unicast data when the category of the service flow meets a preset standard;
[0054] S108 , obtaining queue load and interference information of each transmission link based on the status information of all transmission links in combination with the target STA node, and selecting the best transmission link for unicast data for data transmission.
[0055] It should be noted that due to the real-time dynamics of the network, the corresponding multicast tree will also be adjusted accordingly. When the STA node exits the WiFi Mesh network, it sends a message to the multicast tree within the cluster to notify other nodes, and other nodes perform corresponding processing. When the node fails, the information corresponding to the ordinary node in the multicast tree will be deleted. When the cluster head node fails, the cluster head node will be re-elected and the corresponding cluster multicast tree will be re-established. The construction of the multicast tree corresponding to the WiFi Mesh network is specifically as follows: obtaining the topological structure of each source node, routing node and STA node in the current WiFi Mesh network, marking the location information of each node in the topological structure, and obtaining the Euclidean distance of each node in the topological structure; clustering the nodes according to the Euclidean distance of each node, classifying the nodes with Euclidean distance less than a preset first distance threshold into the same cluster, selecting a cluster head node in the cluster, verifying the communication between the nodes according to the multicast message communication of the nodes in the cluster, and constructing the intra-cluster multicast tree through the verified communication path; selecting adjacent nodes with a node distance less than a second distance threshold between each intra-cluster multicast tree and the adjacent intra-cluster multicast tree, establishing multiple intermediate communication paths using the connected nodes, obtaining the optimal intermediate communication path based on the path minimum principle, and establishing the communication path between the cluster head nodes through the optimal intermediate communication path; establishing information exchange between the intra-cluster multicast trees according to the communication path between the cluster head nodes, constructing the inter-cluster multicast tree, and generating the final multicast tree of the current WiFi Mesh network through the intra-cluster multicast tree and the inter-cluster multicast tree; and The final multicast tree of the Mesh network obtains the transmission link from the source node to the STA node.
[0056] FIG2 shows a flow chart of a method for acquiring status information of all transmission links according to the present invention.
[0057] According to an embodiment of the present invention, an undirected heterogeneous graph of multicast data transmission links is constructed by using the multicast tree, and the undirected heterogeneous graph is learned and represented based on a graph neural network to obtain status information of all transmission links, specifically:
[0058] S202: Construct an undirected heterogeneous graph G = (V, E) based on the source nodes, routing nodes, STA nodes, and propagation links in the WiFi Mesh network, where V represents the set of source nodes, routing nodes, and STA nodes, and E represents the connection relationship between the nodes.
[0059] S204: constructing a graph convolutional neural network to perform representation learning on the undirected heterogeneous graph, and obtaining a feature vector of a node through the message passing and neighbor aggregation mechanism of the graph convolutional neural network, wherein the feature vector includes transmission delay, transmission link bandwidth, transmission packet loss rate, and transmission flow;
[0060] S206, obtaining each transmission link from the source node to the STA node in the final multicast tree of the current WiFi Mesh network, and determining the state information of the transmission link according to the characteristic vector of each node in the transmission link;
[0061] S208, performing a cluster analysis of nodes in the WiFi Mesh network based on their feature vectors, setting node type labels based on their types, assigning initial weights to the nodes based on the type labels, and dividing the node states into a preset number of state levels;
[0062] S210, randomly selecting an initial cluster center from the routing nodes and STA nodes, performing iterations, obtaining the Euclidean distance of each node to the initial cluster center, combining the Euclidean distance with the initial weight to obtain a final distance, assigning the node to the cluster center with the closest final distance to generate a clustering result, and selecting a new cluster center;
[0063] S212: After the iteration is completed, a final clustering result is output, and state information corresponding to each node is obtained according to the final clustering result. The state information of each node is aggregated according to the transmission link to generate state information of each transmission link.
[0064] It should be noted that the undirected heterogeneous graph is convolved through a graph convolutional neural network to obtain the feature vector of the node. Multi-layer perception of node features is performed in the undirected heterogeneous graph, and the status information of the nodes in each transmission link in the WiFi Mesh network is aggregated. The fully connected layer is connected and the transmission links in the multicast tree are adjusted through the softmax function to obtain the transmission link with the best status.
[0065] When performing cluster analysis on nodes based on node feature vectors, the Euclidean distance between each node and the cluster center is obtained, and the node is assigned to the category of the cluster center closest to it to form the cluster result M. (t) , t is the number of iterations; when all nodes are divided, the clustering result M is obtained (t) The mean of each cluster in is used as the new cluster center Let Z n is the total number of samples in the nth cluster, x ni For the i-th sample of this cluster, the method for obtaining the cluster center point is as follows:
[0066] Select the standard measure function σ c and the maximum number of iterations T max ,like Or the number of iterations is greater than or equal to T max , end the clustering process, take the last operation result as the final clustering result, select the last operation result as the final clustering result, otherwise set t = t + 1 and continue iterative clustering.
[0067] It should be noted that the business flow of multicast data of the multicast server is obtained, the content label of the business flow is extracted, a retrieval task is established according to the content label, and the business flow is identified by similarity calculation; the similarity between the content label of the business flow and the preset data is obtained, sorted according to the similarity, and the data type corresponding to the preset data with the highest similarity is selected as the data type of the business flow for labeling; when the data type of the business flow meets the preset standard, the destination address of the business flow is obtained, the destination node of the business flow is obtained through the destination address, and the target STA node is queried in the address conversion table to convert the destination address of the business flow; a solution for converting the business flow multicast to unicast is established through the destination address after the address conversion, and the multicast data is converted into unicast data.
[0068] FIG3 shows a flow chart of a method for selecting an optimal transmission link for unicast data for data transmission according to the present invention.
[0069] According to an embodiment of the present invention, based on the status information of all transmission links and the target STA node, the queue load and interference information of each transmission link are obtained, and the optimal transmission link for unicast data is selected for data transmission. Specifically,
[0070] S302: Obtain the transmission link with the best status information based on the graph convolutional neural network according to the status information of all transmission links, and mark it;
[0071] S304: Determine the interference range of the nodes based on the location information and propagation range of each node in the current WiFi Mesh network, collect statistics on the situation where each node in the marked transmission link falls into the interference range of other nodes, and obtain real-time interference information of the marked transmission link based on the interference situation of each node;
[0072] S306, if the real-time interference information meets the preset standard, obtain the status information of each node in the tag transmission link and the corresponding processor and memory utilization, and calculate the maximum load that the tag transmission link can provide when transmitting the service flow;
[0073] S308, preset the receiving time of the target STA node according to the timeliness of the service flow, and obtain the average load of the service flow based on the time difference between sending and receiving;
[0074] S310: Determine whether the maximum load is greater than or equal to the average load. If so, mark the transmission link as the optimal transmission link. Otherwise, adjust the transmission link according to the average load.
[0075] It should be noted that the total load of the marked transmission link is calculated based on the status information of each node and the optimal values corresponding to the processor and memory utilization. The maximum load that the marked transmission link can provide for business flow transmission is calculated based on the total load minus the queue load in the current marked transmission link. When the maximum load of the transmission link does not meet the standard, the business flow of the multicast data is obtained at the multicast server for identification and sent to the main routing node in a multicast manner. When the main routing node has a directly connected target STA node, the connected target STA node is temporarily regarded as a slave routing node; the main routing node forwards the data flow to the slave routing node and the target STA node regarded as a slave routing node through multicast, and queries the address translation table from the routing node, replaces the destination address with the target STA node address, and unicasts the business flow to reduce the unicast transmission path.
[0076] According to an embodiment of the present invention, load balancing is performed on multiple transmission links, specifically as follows:
[0077] If there are multiple service flow tasks in the current WiFi Mesh network, and the multiple service flow tasks correspond to multiple transmission links, perform an intersection operation on the multiple transmission links to obtain the common nodes passed by two or more of the multiple transmission links;
[0078] Determine whether the node load of the public node is greater than the preset load threshold. If so, select the service flow with high timeliness requirements based on the service flow task queue and give priority to passing through the public node. Subsequent service flows search for idle nodes within the preset range in the current WiFi Mesh network through multicast;
[0079] Forwarding subsequent service flows through the idle nodes, replacing public nodes with idle nodes, and forwarding subsequent service flows to the original transmission link through the idle nodes;
[0080] At the same time, the highest-load transmission link and the lowest-load transmission link among the multiple transmission links are obtained, and the two transmission links are differentially and complementaryly scheduled through task flow migration and forwarding until the difference is lower than a preset difference threshold.
[0081] FIG4 shows a block diagram of a WiFi Mesh networking propagation optimization system according to the present invention.
[0082] A second aspect of the present invention further provides a WiFi Mesh network propagation optimization system 4, comprising: a memory 41 and a processor 42, wherein the memory includes a WiFi Mesh network propagation optimization method program, and when the WiFi Mesh network propagation optimization method program is executed by the processor, the following steps are implemented:
[0083] Build a multicast tree based on the source nodes, routing nodes and STA nodes in the WiFi Mesh network;
[0084] Constructing an undirected heterogeneous graph of multicast data transmission links through the multicast tree, learning and representing the undirected heterogeneous graph based on a graph neural network, and obtaining status information of all transmission links;
[0085] The multicast service end obtains the service flow of the multicast data, identifies the service flow, and converts the multicast data into unicast data when the category of the service flow meets the preset standard;
[0086] According to the status information of all transmission links and the target STA node, the queue load and interference information of each transmission link are obtained, and the optimal transmission link for unicast data is selected for data transmission.
[0087] It should be noted that due to the real-time dynamics of the network, the corresponding multicast tree will also be adjusted accordingly. When the STA node exits the WiFi Mesh network, it sends a message to the multicast tree within the cluster to notify other nodes, and other nodes perform corresponding processing. When the node fails, the information corresponding to the ordinary node in the multicast tree will be deleted. When the cluster head node fails, the cluster head node will be re-elected and the corresponding cluster multicast tree will be re-established. The construction of the multicast tree corresponding to the WiFi Mesh network is specifically as follows: obtaining the topological structure of each source node, routing node and STA node in the current WiFi Mesh network, marking the location information of each node in the topological structure, and obtaining the Euclidean distance of each node in the topological structure; clustering the nodes according to the Euclidean distance of each node, classifying the nodes with Euclidean distance less than a preset first distance threshold into the same cluster, selecting a cluster head node in the cluster, verifying the communication between the nodes according to the multicast message communication of the nodes in the cluster, and constructing the intra-cluster multicast tree through the verified communication path; selecting adjacent nodes with a node distance less than a second distance threshold between each intra-cluster multicast tree and the adjacent intra-cluster multicast tree, establishing multiple intermediate communication paths using the connected nodes, obtaining the optimal intermediate communication path based on the path minimum principle, and establishing the communication path between the cluster head nodes through the optimal intermediate communication path; establishing information exchange between the intra-cluster multicast trees according to the communication path between the cluster head nodes, constructing the inter-cluster multicast tree, and generating the final multicast tree of the current WiFi Mesh network through the intra-cluster multicast tree and the inter-cluster multicast tree; and The final multicast tree of the Mesh network obtains the transmission link from the source node to the STA node.
[0088] According to an embodiment of the present invention, an undirected heterogeneous graph of multicast data transmission links is constructed by the multicast tree, and the undirected heterogeneous graph is learned and represented based on a graph neural network to obtain status information of all transmission links, specifically:
[0089] An undirected heterogeneous graph G = (V, E) is constructed based on the source nodes, routing nodes, STA nodes, and propagation links in the WiFi Mesh network, where V represents the set of source nodes, routing nodes, and STA nodes, and E represents the connection relationship between nodes.
[0090] Constructing a graph convolutional neural network to perform representation learning on the undirected heterogeneous graph, and obtaining a feature vector of the node through the message passing and neighbor aggregation mechanism of the graph convolutional neural network. The feature vector includes transmission delay, transmission link bandwidth, transmission packet loss rate, and transmission flow;
[0091] Obtain each transmission link from the source node to the STA node in the final multicast tree of the current WiFi Mesh network, and determine the state information of the transmission link based on the feature vector of each node in the transmission link;
[0092] Perform node clustering analysis based on node feature vectors in the WiFi Mesh network, set node type labels based on node types, assign initial weights to nodes based on type labels, and divide node states into a preset number of status levels;
[0093] Randomly select the initial cluster center from the routing nodes and STA nodes, and after iteration, obtain the Euclidean distance of each node to the initial cluster center. Combine the Euclidean distance with the initial weight to obtain the final distance. Generate the cluster result by assigning the node to the cluster center with the closest final distance, and select the new cluster center.
[0094] After the iteration is completed, the final clustering result is output. The state information corresponding to each node is obtained according to the final clustering result. The state information of each node is aggregated according to the transmission link to generate the state information of each transmission link.
[0095] It should be noted that the undirected heterogeneous graph is convolved through a graph convolutional neural network to obtain the feature vector of the node. Multi-layer perception of node features is performed in the undirected heterogeneous graph, and the status information of the nodes in each transmission link in the WiFi Mesh network is aggregated. The fully connected layer is connected and the transmission links in the multicast tree are adjusted through the softmax function to obtain the transmission link with the best status.
[0096] When performing cluster analysis on nodes based on node feature vectors, the Euclidean distance between each node and the cluster center is obtained, and the node is assigned to the category of the cluster center closest to it to form the cluster result M. (t) , t is the number of iterations; when all nodes are divided, the clustering result M is obtained (t) The mean of each cluster in is used as the new cluster center Let Z n is the total number of samples in the nth cluster, x niFor the i-th sample of this cluster, the method for obtaining the cluster center point is as follows:
[0097] Select the standard measure function σ c and the maximum number of iterations T max ,like Or the number of iterations is greater than or equal to T max , end the clustering process, take the last operation result as the final clustering result, select the last operation result as the final clustering result, otherwise set t = t + 1 and continue iterative clustering.
[0098] It should be noted that the business flow of multicast data of the multicast server is obtained, the content label of the business flow is extracted, a retrieval task is established according to the content label, and the business flow is identified by similarity calculation; the similarity between the content label of the business flow and the preset data is obtained, sorted according to the similarity, and the data type corresponding to the preset data with the highest similarity is selected as the data type of the business flow for labeling; when the data type of the business flow meets the preset standard, the destination address of the business flow is obtained, the destination node of the business flow is obtained through the destination address, and the target STA node is queried in the address conversion table to convert the destination address of the business flow; a solution for converting the business flow multicast to unicast is established through the destination address after the address conversion, and the multicast data is converted into unicast data.
[0099] According to an embodiment of the present invention, based on the status information of all transmission links and the target STA node, the queue load and interference information of each transmission link are obtained, and the optimal transmission link for unicast data is selected for data transmission. Specifically,
[0100] Based on the status information of all transmission links, the transmission link with the best status information is obtained based on the graph convolutional neural network and marked;
[0101] Determine the interference range of nodes based on the location information and propagation range of each node in the current WiFi Mesh network, count the situations where each node in the marked transmission link falls into the interference range of other nodes, and obtain real-time interference information of the marked transmission link based on the interference situation of each node;
[0102] If the real-time interference information meets the preset standard, the status information of each node in the tag transmission link and the corresponding processor and memory utilization are obtained, and the maximum load that the tag transmission link can provide when transmitting the service flow is calculated;
[0103] The receiving time of the target STA node is preset according to the timeliness of the business flow, and the average load of the business flow is obtained based on the time difference information between sending and receiving. It is determined whether the maximum load is greater than or equal to the average load. If it is greater than or equal to, the transmission link will be marked as the optimal transmission link. Otherwise, the transmission link will be adjusted according to the average load.
[0104] It should be noted that the total load of the marked transmission link is calculated based on the status information of each node and the optimal values corresponding to the processor and memory utilization. The maximum load that the marked transmission link can provide for business flow transmission is calculated based on the total load minus the queue load in the current marked transmission link. When the maximum load of the transmission link does not meet the standard, the business flow of the multicast data is obtained at the multicast server for identification and sent to the main routing node in a multicast manner. When the main routing node has a directly connected target STA node, the connected target STA node is temporarily regarded as a slave routing node; the main routing node forwards the data flow to the slave routing node and the target STA node regarded as a slave routing node through multicast, and queries the address translation table from the routing node, replaces the destination address with the target STA node address, and unicasts the business flow to reduce the unicast transmission path.
[0105] A third aspect of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium includes a WiFi Mesh network propagation optimization method program. When the WiFi Mesh network propagation optimization method program is executed by a processor, the steps of the WiFi Mesh network propagation optimization method as described in any one of the above items are implemented.
[0106] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is merely a logical function division. In actual implementation, there may be other division methods, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.
[0107] The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units; they may be located in one place or distributed across multiple network units; some or all of the units may be selected according to actual needs to achieve the purpose of the scheme of this embodiment.
[0108] In addition, all functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately used as a unit, or two or more units may be integrated into one unit; the above-mentioned integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0109] Those skilled in the art will appreciate that all or part of the steps of the above-mentioned method embodiments may be implemented by hardware associated with program instructions, and the aforementioned program may be stored in a computer-readable storage medium. When the program is executed, the program executes the steps of the above-mentioned method embodiments. The aforementioned storage medium includes various media that can store program codes, such as mobile storage devices, read-only memories (ROMs), random access memories (RAMs), magnetic disks, or optical disks.
[0110] Alternatively, if the above-mentioned integrated unit of the present invention is implemented in the form of a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes a number of instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROM, RAM, magnetic disks or optical disks.
[0111] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any modifications or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in the present invention should be included within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be based on the scope of protection of the claims.
Claims
1. A WiFi Mesh network propagation optimization method, characterized in that: The following steps are involved: Construct a multicast tree based on the source nodes, routing nodes and STA nodes in the WiFi Mesh network; An undirected heterogeneous graph of multicast data transmission links is constructed through the multicast tree, and the undirected heterogeneous graph is learned and represented based on a graph neural network to obtain status information of all transmission links; The service flow of the multicast data is obtained at the multicast service end, and the service flow is identified. When the category of the service flow meets the preset standard, the multicast data is converted into unicast data; According to the status information of all transmission links, the queue load and interference information of each transmission link are obtained in combination with the target STA node, and the best transmission link for unicast data is selected for data transmission.
2. A WiFi Mesh networking propagation optimization method according to claim 1, characterized in that: Construct a multicast tree based on the source nodes, routing nodes, and STA nodes in the WiFi Mesh network. Specifically: Obtain the topological structure of each source node, routing node and STA node in the current WiFi Mesh network, mark the location information of each node in the topological structure, and obtain the Euclidean distance of each node in the topological structure; Cluster the nodes according to the Euclidean distance of each node, classify the nodes whose Euclidean distance is less than the preset first distance threshold into the same cluster, select the cluster head node in the cluster, verify the communication between the nodes according to the multicast message communication of the nodes in the cluster, and build the multicast tree in the cluster through the verified communication path; Select adjacent nodes whose node distance between each intra-cluster multicast tree and the adjacent intra-cluster multicast tree is less than a second distance threshold, use the connected nodes to establish multiple intermediate communication paths, obtain the optimal intermediate communication path based on the path minimum principle, and establish the communication path between cluster head nodes through the optimal intermediate communication path; Establish information exchange among the multicast trees within each cluster according to the communication path between the cluster head nodes, construct an inter-cluster multicast tree, and generate a final multicast tree of the current WiFi Mesh network through the intra-cluster multicast tree and the inter-cluster multicast tree; And obtain the transmission link from the source node to the STA node through the final multicast tree of the current WiFi Mesh network.
3. A WiFi Mesh networking propagation optimization method according to claim 1, characterized in that: An undirected heterogeneous graph of multicast data transmission links is constructed through the multicast tree, and the undirected heterogeneous graph is learned and represented based on a graph neural network to obtain the status information of all transmission links, specifically: According to the source nodes, routing nodes, STA nodes and propagation links in the WiFi Mesh network, an undirected heterogeneous graph G = (V, E) is constructed, where V represents the set of source nodes, routing nodes, and STA nodes, and E represents the connection relationship between nodes; Constructing a graph convolutional neural network to perform representation learning on the undirected heterogeneous graph, and obtaining a feature vector of a node through the message passing and neighbor aggregation mechanism of the graph convolutional neural network, wherein the feature vector includes transmission delay, transmission link bandwidth, transmission packet loss rate, and transmission flow; Obtain each transmission link from the source node to the STA node in the final multicast tree of the current WiFi Mesh network, and determine the state information of the transmission link according to the feature vector of each node in the transmission link; Perform node clustering analysis based on node feature vectors in the WiFi Mesh network, set node type labels based on node types, assign initial weights to nodes based on type labels, and divide node states into a preset number of state levels; Randomly select the initial cluster center from the routing nodes and STA nodes, and after iteration, obtain the Euclidean distance from each node to the initial cluster center, combine the Euclidean distance with the initial weight to obtain the final distance, assign the node to the cluster center with the closest final distance to generate a clustering result, and select a new cluster center; After the iteration is completed, the final clustering result is output, and the state information corresponding to each node is obtained according to the final clustering result. The state information of each node is aggregated according to the transmission link to generate the state information of each transmission link.
4. A WiFi Mesh networking propagation optimization method according to claim 1, characterized in that: The service flow of the multicast data is obtained at the multicast server, and the service flow is identified, specifically: Acquire the service flow of multicast data of the multicast server, extract the content tag of the service flow, establish a retrieval task according to the content tag, and identify the service flow by similarity calculation; Obtain the similarity between the content label of the service flow and the preset data, and sort them according to the similarity. Select the data type corresponding to the preset data with the highest similarity as the data type of the business flow for marking; When the data type of the service flow meets the preset standard, the destination address of the service flow is obtained, the destination node of the service flow is obtained through the destination address, and the target STA node is searched in the address conversion table to perform address conversion on the destination address of the service flow; A service flow multicast-to-unicast solution is established through the destination address after address translation, and multicast data is converted into unicast data.
5. A WiFi Mesh networking propagation optimization method according to claim 1, characterized in that: According to the status information of all transmission links, the queue load and interference information of each transmission link are obtained in combination with the target STA node, and the best transmission link for unicast data is selected for data transmission. Specifically: According to the status information of all transmission links, the transmission link with the best status information is obtained based on the graph convolutional neural network and marked; Determine the interference range of nodes according to the location information and propagation range of each node in the current WiFi Mesh network, count the situations where each node in the marked transmission link falls into the interference range of other nodes, and obtain the real-time interference information of the marked transmission link through the interference situation of each node; If the real-time interference information meets the preset standard, the status information of each node in the tag transmission link and the corresponding processor and memory utilization are obtained, and the maximum load that can be provided by the tag transmission link when transmitting the service flow is calculated; The receiving time of the target STA node is preset according to the timeliness of the business flow, and the average load of the business flow is obtained according to the time difference information between sending and receiving. It is determined whether the maximum load is greater than or equal to the average load. If so, the transmission link is marked as the optimal transmission link. Otherwise, the transmission link is adjusted according to the average load.
6. A WiFi Mesh networking propagation optimization method according to claim 1, characterized in that: Also includes: When the maximum load of the transmission link does not meet the standard, the business of obtaining multicast data on the multicast server After the service flow is identified, it is sent to the main routing node in a multicast manner. When the main routing node has a directly connected target STA node, the connected target STA node is temporarily regarded as a slave routing node; The master routing node forwards the data stream to the slave routing node and the target STA node regarded as the slave routing node through multicast. The slave routing node queries the address translation table, replaces the destination address with the target STA node address, and unicasts the service stream to reduce the unicast transmission path.
7. A WiFi Mesh networking transmission optimization system, characterized in that: The system includes: a memory and a processor, wherein the memory includes a WiFi Mesh networking propagation optimization method program, and when the WiFi Mesh networking propagation optimization method program is executed by the processor, the following steps are implemented: Construct a multicast tree based on the source nodes, routing nodes and STA nodes in the WiFi Mesh network; An undirected heterogeneous graph of multicast data transmission links is constructed through the multicast tree, and the undirected heterogeneous graph is learned and represented based on a graph neural network to obtain status information of all transmission links; The service flow of the multicast data is obtained at the multicast service end, and the service flow is identified. When the category of the service flow meets the preset standard, the multicast data is converted into unicast data; According to the status information of all transmission links, the queue load and interference information of each transmission link are obtained in combination with the target STA node, and the best transmission link for unicast data is selected for data transmission.
8. A WiFi Mesh networking transmission optimization system according to claim 7, characterized in that: An undirected heterogeneous graph of multicast data transmission links is constructed through the multicast tree, and the undirected heterogeneous graph is learned and represented based on a graph neural network to obtain the status information of all transmission links, specifically: According to the source nodes, routing nodes, STA nodes and propagation links in the WiFi Mesh network, an undirected heterogeneous graph G = (V, E) is constructed, where V represents the set of source nodes, routing nodes, and STA nodes, and E represents the connection relationship between nodes; Constructing a graph convolutional neural network to perform representation learning on the undirected heterogeneous graph, and obtaining a feature vector of a node through the message passing and neighbor aggregation mechanism of the graph convolutional neural network, wherein the feature vector includes transmission delay, transmission link bandwidth, transmission packet loss rate, and transmission flow; Obtain each transmission link from the source node to the STA node in the final multicast tree of the current WiFi Mesh network, and determine the state information of the transmission link according to the feature vector of each node in the transmission link; Perform node clustering analysis based on node feature vectors in the WiFi Mesh network, set node type labels based on node types, assign initial weights to nodes based on type labels, and divide node states into a preset number of state levels; Randomly select the initial cluster center from the routing nodes and STA nodes, and after iteration, obtain the Euclidean distance from each node to the initial cluster center, combine the Euclidean distance with the initial weight to obtain the final distance, assign the node to the cluster center with the closest final distance to generate a clustering result, and select a new cluster center; After the iteration is completed, the final clustering result is output, and the state information corresponding to each node is obtained according to the final clustering result. The state information of each node is aggregated according to the transmission link to generate the state information of each transmission link.
9. A WiFi Mesh networking transmission optimization system according to claim 7, characterized in that: According to the status information of all transmission links, the queue load and interference information of each transmission link are obtained in combination with the target STA node, and the best transmission link for unicast data is selected for data transmission. Specifically: According to the status information of all transmission links, the transmission link with the best status information is obtained based on the graph convolutional neural network and marked; Determine the interference range of nodes according to the location information and propagation range of each node in the current WiFi Mesh network, count the situations where each node in the marked transmission link falls into the interference range of other nodes, and obtain the real-time interference information of the marked transmission link through the interference situation of each node; If the real-time interference information meets the preset standard, the status information of each node in the tag transmission link and the corresponding processor and memory utilization are obtained, and the maximum load that can be provided by the tag transmission link when transmitting the service flow is calculated; According to the timeliness of the service flow, the receiving time of the target STA node is preset, and the average load of the service flow is obtained according to the time difference information between sending and receiving. It is determined whether the maximum load is greater than or equal to the average load. If it is greater than or equal to, the marked transmission link is used as the best transmission link. Otherwise, it is selected according to the average load. Adjustment of transmission links.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a WiFi Mesh networking propagation optimization method program. When the WiFi Mesh networking propagation optimization method program is executed by a processor, the WiFi Mesh networking propagation optimization method steps as described in any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Method and device for transmitting video stream in WiFi mesh network
CN112118541A
Communication method, device and equipment based on WiFi Mesh network and computer readable medium
CN112188639A
WiFi Mesh networking propagation optimization method and system, and storage medium
CN116405956A
Method and Apparatus for Multicast Implementation In a Routed Ethernet Mesh Network
US20100284309A1
Cited By
High-reliability optimization method and system for industrial-grade communication and medium
CN119155181A
MBB multipath local aggregation superposition transmission method and system
CN119485497A
Distributed storage heterogeneous data recovery method and system based on cloud edge collaboration
CN119645739A
Electricity utilization safety supervision method and system
CN119893692A
Enterprise data importance grading prediction method based on heterogeneous graph neural network
CN120725295A
