Hybrid routing method and device for wireless sensor network

By evaluating sparsity and constructing candidate sets to optimize routing methods for wireless sensor networks, the problems of uneven energy consumption and transmission errors in traditional methods are solved, achieving low-cost and high-efficiency data transmission.

CN116887370BActive Publication Date: 2026-11-24PIPECHINA SOUTH CHINA CO
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310944780.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-07-28
Publication Date
2026-11-24
Estimated Expiration
2043-07-28

AI Technical Summary

Technical Problem

In existing wireless sensor networks, traditional methods suffer from uneven energy consumption and data transmission errors, especially when the computing capabilities of nodes are heterogeneous. Traditional CS data aggregation methods result in all nodes transmitting M times the size of the original data, causing unnecessary energy consumption and potential errors.

Method used

By evaluating the sparsity of the sampled data, the dominance range of the sensor nodes is determined, a candidate set closest to the sink node is constructed, the minimum node set is found, and the minimum spanning tree and shortest path are constructed to optimize the number of hops between nodes to minimize transmission costs.

Benefits of technology

It achieves low-cost data transmission in wireless sensor networks by rationally dividing computing tasks and designing transmission paths, thereby reducing node energy consumption and improving data recovery accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116887370B_ABST
    Figure CN116887370B_ABST
Patent Text Reader

Abstract

The application provides a hybrid routing method and device of a wireless sensor network, and relates to the technical field of communication protocols, which mainly comprises the following steps: evaluating the sparsity of sampling data, determining the domination range of each sensor node in the wireless sensor network through the sparsity, constructing a candidate set of nodes closest to a sink node, further reducing the nodes in the candidate set, finding a minimum node set, connecting the shortest path, determining the hop number between two domination nodes according to the domination range of the nodes, and selecting the hop number with the minimum total transmission cost as the final hop number; the nodes in the network are divided according to the calculation tasks, and suitable transmission paths are designed for the nodes with different calculation tasks from the whole, so that low-cost data transmission is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention mainly relates to the field of routing technology, specifically to a hybrid routing method and apparatus for wireless sensor networks. Background Technology

[0002] In wireless sensor networks, traditional compressed sensing-based intra-network processing algorithms can be divided into two categories: matrix completion and compressed sensing. The former only uses data from a subset of sensor nodes to calculate the CS matrix, which often results in errors during data recovery. The latter, in cluster networks, typically requires the cluster head to calculate the CS matrix of all nodes within the cluster and transmit the result to the sink node in a single hop, which necessitates that the cluster head possess heterogeneous capabilities.

[0003] Among existing technologies, the most representative method is the CS data aggregation method proposed by Luo et al., which involves all nodes transmitting M times the size of the original data to the sink node for data recovery. This ensures that each node consumes the same amount of energy and is applicable to various network sizes. However, transmitting M times the size of the original data to all nodes is not always effective and is prone to transmission errors. Summary of the Invention

[0004] The technical problem to be solved by the present invention is to provide a hybrid routing method and apparatus for wireless sensor networks, which addresses the shortcomings of the prior art.

[0005] The technical solution of this invention to solve the above-mentioned technical problems is as follows: A hybrid routing method for wireless sensor networks, comprising the following steps: S1. Randomly sample the data and evaluate the sparsity M of the sampled data; S2. Determine the dominance range of each sensor node in the wireless sensor network using the sparsity M; S3. Find the node closest to the sink node and use the found nodes to construct the candidate set U; S4. Find the minimum node set U^' in the candidate set U, provided that the number of hops between any two nodes is greater than the dominance range of any two nodes. S5. Construct the MST minimum spanning tree based on the minimum node set U^', determine the shortest path of the nodes through the edges of the MST minimum spanning tree and connect them, and connect the remaining unconnected nodes to the nearest node in U^' according to the SPT path; S6. Determine the value of the number of hops between connected nodes based on the control range and minimum transmission cost, and use it as the final number of hops.

[0006] Another technical solution of the present invention to solve the above-mentioned technical problems is as follows: A hybrid routing device for wireless sensor networks, comprising: The sparsity evaluation module is used to randomly sample data and evaluate the sparsity M of the sampled data; A processing module is used to determine the dominance range of each sensor node in the wireless sensor network based on the sparsity M. The candidate set construction module is used to find the node closest to the sink node and use the found nodes to construct the candidate set U. The processing module is also used to find the minimum node set U^' in the candidate set U, based on the condition that the number of hops between any two nodes is greater than the dominance range of any two nodes. It is also used to construct an MST minimum spanning tree based on the minimum node set U^', determine the shortest path of the nodes through the edges of the MST minimum spanning tree and connect them, and connect the remaining unconnected nodes to the nearest node in U^' according to the SPT path; It is also used to determine the value of the number of hops between connected nodes based on the control range and minimum transmission cost, as the final number of hops.

[0007] The beneficial effects of this invention are: evaluating the sparsity of sampled data, determining the dominance range of each sensor node in the wireless sensor network through sparsity, constructing a candidate set of nodes closest to the sink node, further reducing the number of nodes in the candidate set, finding the minimum node set, connecting the shortest paths, determining the number of hops between two dominance nodes based on the dominance range of the nodes, and selecting the number of hops with the minimum total transmission cost as the final number of hops; this invention divides the nodes in the network according to computing tasks, and at the same time designs suitable transmission paths for nodes with different computing tasks from an overall perspective, so as to achieve low-cost data transmission. Attached Figure Description

[0008] Figure 1 A flowchart illustrating the hybrid routing method for wireless sensor networks provided in an embodiment of the present invention; Figure 2 This is a block diagram of a hybrid routing device for a wireless sensor network provided in an embodiment of the present invention. Detailed Implementation

[0009] The principles and features of the present invention are described below with reference to the accompanying drawings. The examples given are only for explaining the present invention and are not intended to limit the scope of the present invention.

[0010] Example 1: like Figure 1 As shown, a hybrid routing method for wireless sensor networks includes the following steps: S1. Randomly sample the data and evaluate the sparsity M of the sampled data; S2. Determine the dominance range of each sensor node in the wireless sensor network using the sparsity M; S3. Find the node closest to the sink node and use the found nodes to construct the candidate set U; S4. Find the minimum node set U^' in the candidate set U, provided that the number of hops between any two nodes is greater than the dominance range of any two nodes. S5. Construct the MST minimum spanning tree based on the minimum node set U^', determine the shortest path of the nodes through the edges of the MST minimum spanning tree and connect them, and connect the remaining unconnected nodes to the nearest node in U^' according to the SPT path; S6. Determine the value of the number of hops between connected nodes based on the control range and minimum transmission cost, and use it as the final number of hops.

[0011] It should be understood that in wireless sensor networks, a sink refers to a convergence node, which is mainly responsible for connecting the sensor network to the external network and can be regarded as a gateway node.

[0012] In the above embodiments, the sparsity of the sampled data is evaluated, and the dominance range of each sensor node in the wireless sensor network is determined by the sparsity. A candidate set of nodes closest to the sink node is constructed, and the number of nodes in the candidate set is further reduced to find the minimum node set. The shortest path is then used to connect the nodes. The number of hops between two dominant nodes is determined based on the dominance range of the nodes, and the number of hops with the minimum total transmission cost is selected as the final number of hops. The nodes in the network are divided according to the computing tasks, and suitable transmission paths are designed for nodes with different computing tasks from an overall perspective to achieve low-cost data transmission.

[0013] Specifically, S1 is: Randomly sample the data, recover the original data according to the OMP algorithm, and determine the sparsity M of the sampled data according to the condition that the recovery accuracy is greater than or equal to 90%.

[0014] It should be understood that data is randomly sampled, a suitable sparse basis and measurement matrix are determined, and the OMP algorithm is used to recover the original data. If the data recovery accuracy is above 90%, the data sparsity M is determined at this time.

[0015] Specifically, S2 is: Set node i and set constraints, namely that the number of descendant nodes of the found node is less than the sparsity M and the maximum number of hops of the found node is k hops. Find all nodes that form the dominance range of the SPT route on node i according to the constraints.

[0016] It should be understood that this step is to determine the dominance range of each sensor node. Taking the search for the dominance range of node i as an example, it means finding the maximum range (in terms of hop count to node i) of all nodes forming an SPT route on node i, and with the constraint that the number of descendant nodes of these nodes is less than the sparsity M, the maximum number of hops of these nodes in the SPT is k hops.

[0017] Specifically, S3 is: Define a graph G = (V, E), where V is the set of nodes and E is the set of edges; In graph G=(V,E), find the node closest to the sink node and place the found node in the candidate set U until V=U∪N_ei (U), where N_ei (U) is a set of nodes, and each node in it is a neighbor of a node in U, thus obtaining the candidate set U.

[0018] It should be understood that this step is for constructing a candidate set U. First, in the graph G=(V,E) (where V is the set of nodes and E is the set of edges), find the node closest to the sink (the sink node) and place this node in U. Then, find the node closest to the sink in V\U and place it in U. This operation continues until V=U∪N_ei (U), where N_ei (U) is a set of nodes, and each node in it is a neighbor of a node in U.

[0019] S4, as understood, involves finding a kDS set (k-dominant set) U^' within the candidate set U. To reduce the number of nodes in the candidate set U, this step involves finding a minimum node set U^'⊂U such that the number of hops between each pair of nodes in U^' is greater than the maximum dominance range of the two nodes. This problem is similar to the classic MDS minimum dominance set problem, but instead of restricting the number of hops between two dominant nodes to 1, we determine it based on the dominance range of the nodes, which can significantly reduce data transmission overhead.

[0020] Specifically, S5 is: Construct a virtual graph G^'=(U^',E^'), where E^' is a set of virtual edges connecting each pair of nodes in U^'; The weight of each virtual edge between two nodes is the weight of the shortest path between the two nodes in G; Connect the nodes in U^' using the shortest paths corresponding to the MST minimum spanning tree edges in G^'; Connect the remaining unconnected nodes to the nearest node in U^' using the SPT path.

[0021] It should be understood that this step involves constructing a processing tree based on kDS (k-dominant set). A minimum spanning tree (MST) is constructed, connecting all nodes in U^' through some nodes in V\U^'. To achieve this, first construct a virtual graph G^'=(U^',E^'), where E^' is a set of virtual edges connecting each pair of nodes in U^'. The weight of each virtual edge between two nodes is the weight of the shortest path between those two nodes in G. Then, the MST in G^' is computed, and the nodes in U^' are connected using the shortest paths corresponding to the edges of the MST in G^'. Finally, the remaining unconnected nodes are connected to the nearest node in U^' using SPT paths.

[0022] S6, as understood, sets the value of k (e.g., 1, 2, ...) under the constraint of M, and selects the k with the minimum total transmission cost as the final hop number in the algorithm.

[0023] This method divides nodes in the network into two categories: those that perform compressed sensing and those that do not. Nodes that do not perform compressed sensing simply transmit their data to nodes that perform compressed sensing via relay forwarding.

[0024] It effectively utilizes the principle of compressed sensing algorithm to divide the nodes in the network according to computing tasks, and at the same time, it designs appropriate transmission paths for nodes with different computing tasks from an overall perspective to achieve low-cost data transmission.

[0025] Example 2: like Figure 2 As shown, a hybrid routing device for a wireless sensor network includes: The sparsity evaluation module is used to randomly sample data and evaluate the sparsity M of the sampled data; A processing module is used to determine the dominance range of each sensor node in the wireless sensor network based on the sparsity M. The candidate set construction module is used to find the node closest to the sink node and use the found nodes to construct the candidate set U. The processing module is also used to find the minimum node set U^' in the candidate set U, based on the condition that the number of hops between any two nodes is greater than the dominance range of any two nodes. It is also used to construct an MST minimum spanning tree based on the minimum node set U^', determine the shortest path of the nodes through the edges of the MST minimum spanning tree and connect them, and connect the remaining unconnected nodes to the nearest node in U^' according to the SPT path; It is also used to determine the value of the number of hops between connected nodes based on the control range and minimum transmission cost, as the final number of hops.

[0026] Based on the above embodiments, the sparsity evaluation module is specifically used for: Randomly sample the data, recover the original data according to the OMP algorithm, and determine the sparsity M of the sampled data according to the condition that the recovery accuracy is greater than or equal to 90%.

[0027] Specifically, the processing module is used for: Set node i and set constraints, namely that the number of descendant nodes of the found node is less than the sparsity M and the maximum number of hops of the found node is k hops. Find all nodes that form the dominance range of the SPT route on node i according to the constraints.

[0028] The candidate set construction module is specifically used for: Define a graph G = (V, E), where V is the set of nodes and E is the set of edges; In graph G=(V,E), find the node closest to the sink node and place the found node in the candidate set U until V=U∪N_ei (U), where N_ei (U) is a set of nodes, and each node in it is a neighbor of a node in U, thus obtaining the candidate set U.

[0029] Based on the above embodiments, the processing module is further specifically used for: Construct a virtual graph G^'=(U^',E^'), where E^' is a set of virtual edges connecting each pair of nodes in U^'; The weight of each virtual edge between two nodes is the weight of the shortest path between the two nodes in G; Connect the nodes in U^' using the shortest paths corresponding to the MST minimum spanning tree edges in G^'; Connect the remaining unconnected nodes to the nearest node in U^' using the SPT path.

[0030] This invention evaluates the sparsity of sampled data, determines the dominance range of each sensor node in a wireless sensor network based on the sparsity, constructs a candidate set of nodes closest to the sink node, further reduces the number of nodes in the candidate set, finds the minimum node set, connects them using the shortest path, determines the number of hops between two dominant nodes based on the dominance range of the nodes, and selects the hop count with the minimum total transmission cost as the final hop count. This invention divides the nodes in the network according to computing tasks, and designs suitable transmission paths for nodes with different computing tasks from an overall perspective to achieve low-cost data transmission.

[0031] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or apparatus.

[0032] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the protection scope of the present invention.

Claims

1. A hybrid routing method for wireless sensor networks, characterized in that, Includes the following steps: S1. Randomly sample the data and evaluate the sparsity M of the sampled data; S2. Determine the dominance range of each sensor node in the wireless sensor network using the sparsity M; S3. Find the node closest to the sink node and use the found nodes to construct the candidate set U; S4. Find the minimum node set U^' in the candidate set U, provided that the number of hops between any two nodes is greater than the dominance range of any two nodes. S5. Construct the MST minimum spanning tree based on the minimum node set U^', determine the shortest path of the nodes through the edges of the MST minimum spanning tree and connect them, and connect the remaining unconnected nodes to the nearest nodes in U^' according to the SPT shortest path tree; S6. Determine the value of the number of hops between connected nodes based on the control range and minimum transmission cost, and use it as the final number of hops. In S2, node i is set, and constraints are set. The constraints are that the number of descendant nodes of the found node is less than the sparsity M, and the maximum number of hops of the found node is k hops. Based on the constraints, all nodes are found to form the dominance range of the SPT route on node i. In S4, the number of nodes in the candidate set U is reduced by finding a minimum node set U^'⊂U such that the number of hops between each pair of nodes in U^' is greater than the maximum dominance range of the two nodes. In S6, the value of k is set under the constraint of M, and the k with the minimum total transmission cost is selected as the final hop number in the algorithm.

2. The hybrid routing method for wireless sensor networks according to claim 1, characterized in that, Specifically, S1 is: Data is randomly sampled, and the original data is recovered using the OMP orthogonal matching pursuit algorithm. The sparsity M of the sampled data is determined according to the condition that the recovery accuracy is greater than or equal to 90%.

3. The hybrid routing method for wireless sensor networks according to claim 1, characterized in that, Specifically, S3 is: Define a graph G = (V, E), where V is the set of nodes and E is the set of edges; In graph G=(V,E), find the node closest to the sink node and place the found node in the candidate set U until V=U∪N_ei (U), where N_ei (U) is a set of nodes, and each node in it is a neighbor of a node in U, thus obtaining the candidate set U.

4. The hybrid routing method for wireless sensor networks according to claim 1, characterized in that, Specifically, S5 is: Construct a virtual graph G^'=(U^',E^'), where E^' is a set of virtual edges connecting each pair of nodes in U^'; The weight of each virtual edge between two nodes is the weight of the shortest path between the two nodes in G; Connect the nodes in U^' using the shortest paths corresponding to the MST minimum spanning tree edges in G^'; Connect the remaining unconnected nodes to the nearest node in U^' using the SPT path.

5. A hybrid routing device for wireless sensor networks, characterized in that, include: The sparsity evaluation module is used to randomly sample data and evaluate the sparsity M of the sampled data; A processing module is used to determine the dominance range of each sensor node in the wireless sensor network based on the sparsity M. The candidate set construction module is used to find the node closest to the sink node and use the found nodes to construct the candidate set U. The processing module is also used to find the minimum node set U^' in the candidate set U, based on the condition that the number of hops between any two nodes is greater than the dominance range of any two nodes. It is also used to construct an MST minimum spanning tree based on the minimum node set U^', determine the shortest path of the nodes through the edges of the MST minimum spanning tree and connect them, and connect the remaining unconnected nodes to the nearest node in U^' according to the SPT path; It is also used to determine the number of hops between connected nodes based on the control range and minimum transmission cost, as the final number of hops; The processing module is specifically used for: Set node i and set constraints, namely that the number of descendant nodes of the found node is less than the sparsity M and the maximum number of hops of the found node is k hops. Find all nodes that form the SPT route dominance range on node i according to the constraints. By finding a minimum node set U^'⊂U such that the number of hops between each pair of nodes in U^' is greater than the maximum dominance range of the two nodes, the number of nodes in the candidate set U is reduced. Under the constraint of M, set the value of k, and select the k with the minimum total transmission cost as the final hop number in the algorithm.

6. The hybrid routing device for wireless sensor networks according to claim 5, characterized in that, The sparsity evaluation module is specifically used for: Data is randomly sampled, and the original data is recovered using the OMP orthogonal matching pursuit algorithm. The sparsity M of the sampled data is determined according to the condition that the recovery accuracy is greater than or equal to 90%.

7. The hybrid routing device for wireless sensor networks according to claim 5, characterized in that, The candidate set construction module is specifically used for: Define a graph G = (V, E), where V is the set of nodes and E is the set of edges; In graph G=(V,E), find the node closest to the sink node and place the found node in the candidate set U until V=U∪N_ei (U), where N_ei (U) is a set of nodes, and each node in it is a neighbor of a node in U, thus obtaining the candidate set U.

8. The hybrid routing device for wireless sensor networks according to claim 5, characterized in that, The processing module is also specifically used for: Construct a virtual graph G^'=(U^',E^'), where E^' is a set of virtual edges connecting each pair of nodes in U^'; The weight of each virtual edge between two nodes is the weight of the shortest path between the two nodes in G; Connect the nodes in U^' using the shortest paths corresponding to the MST minimum spanning tree edges in G^'; Connect the remaining unconnected nodes to the nearest node in U^' using the SPT path.